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
610 MAINTAINER_MODE_FALSE
663 INSTALL_STRIP_PROGRAM
724 program_transform_name
737 enable_option_checking
738 enable_dependency_tracking
748 enable_maintainer_mode
750 enable_build_warnings
752 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir |
--docdir |
--docdi |
--doc |
--do)
883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
891 -enable-* |
--enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures gprof 2.26.51 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/gprof]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1365 --build=BUILD configure
for building on BUILD
[guessed
]
1366 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1371 if test -n "$ac_init_help"; then
1372 case $ac_init_help in
1373 short | recursive
) echo "Configuration of gprof 2.26.51:";;
1378 --disable-option-checking ignore unrecognized
--enable/--with options
1379 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1380 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1381 --disable-dependency-tracking speeds up one-time build
1382 --enable-dependency-tracking do not reject slow dependency extractors
1383 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1384 --enable-static[=PKGS
] build static libraries
[default
=yes]
1385 --enable-fast-install[=PKGS
]
1386 optimize
for fast installation
[default
=yes]
1387 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1388 --enable-plugins Enable support
for plugins
1389 --disable-largefile omit support
for large files
1390 --disable-nls do not use Native Language Support
1391 --enable-maintainer-mode enable make rules and dependencies not useful
1392 (and sometimes confusing
) to the casual installer
1393 --enable-werror treat compile warnings as errors
1394 --enable-build-warnings enable build-time compiler warnings
1397 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1398 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1399 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1401 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1403 Some influential environment variables
:
1404 CC C compiler
command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1407 nonstandard directory
<lib dir
>
1408 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1409 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1410 you have headers
in a nonstandard directory
<include dir
>
1413 Use these variables to override the choices made by
`configure' or to help
1414 it to find libraries and programs with nonstandard names/locations.
1416 Report bugs to the package provider.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1446 .) # We are building in place.
1448 ac_top_srcdir=$ac_top_builddir_sub
1449 ac_abs_top_srcdir=$ac_pwd ;;
1450 [\\/]* | ?:[\\/]* ) # Absolute name.
1451 ac_srcdir=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir=$srcdir
1453 ac_abs_top_srcdir=$srcdir ;;
1455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" || { ac_status=$?; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" || { ac_status=$?; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1479 gprof configure 2.26.51
1480 generated by GNU Autoconf 2.64
1482 Copyright (C) 2009 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1489 ## ------------------------ ##
1490 ## Autoconf initialization. ##
1491 ## ------------------------ ##
1493 # ac_fn_c_try_compile LINENO
1494 # --------------------------
1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_compile ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 rm -f conftest.$ac_objext
1500 if { { ac_try="$ac_compile"
1502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1503 *) ac_try_echo
=$ac_try;;
1505 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507 (eval "$ac_compile") 2>conftest.err
1509 if test -s conftest.err
; then
1510 grep -v '^ *+' conftest.err
>conftest.er1
1511 cat conftest.er1
>&5
1512 mv -f conftest.er1 conftest.err
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && {
1516 test -z "$ac_c_werror_flag" ||
1517 test ! -s conftest.err
1518 } && test -s conftest.
$ac_objext; then :
1521 $as_echo "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.
$ac_ext >&5
1526 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1529 } # ac_fn_c_try_compile
1531 # ac_fn_c_try_link LINENO
1532 # -----------------------
1533 # Try to link conftest.$ac_ext, and return whether this succeeded.
1536 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1537 rm -f conftest.
$ac_objext conftest
$ac_exeext
1538 if { { ac_try
="$ac_link"
1540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_link") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } && {
1554 test -z "$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1556 } && test -s conftest$ac_exeext && {
1557 test "$cross_compiling" = yes ||
1558 $as_test_x conftest$ac_exeext
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1568 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1569 # interfere with the next link command; also delete a directory that is
1570 # left behind by Apple's compiler. We do this before executing the actions.
1571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 } # ac_fn_c_try_link
1577 # ac_fn_c_try_cpp LINENO
1578 # ----------------------
1579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 if { { ac_try="$ac_cpp conftest.$ac_ext"
1585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1586 *) ac_try_echo
=$ac_try;;
1588 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1592 if test -s conftest.err
; then
1593 grep -v '^ *+' conftest.err
>conftest.er1
1594 cat conftest.er1
>&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } >/dev
/null
&& {
1599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.
$ac_ext >&5
1609 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1614 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1617 # the include files in INCLUDES and setting the cache variable VAR
1619 ac_fn_c_check_header_mongrel
()
1621 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1622 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1626 $as_echo_n "(cached) " >&6
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630 $as_echo "$ac_res" >&6; }
1632 # Is the header compilable?
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1634 $as_echo_n "checking $2 usability... " >&6; }
1635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1640 if ac_fn_c_try_compile
"$LINENO"; then :
1641 ac_header_compiler
=yes
1643 ac_header_compiler
=no
1645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1647 $as_echo "$ac_header_compiler" >&6; }
1649 # Is the header present?
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1651 $as_echo_n "checking $2 presence... " >&6; }
1652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1656 if ac_fn_c_try_cpp
"$LINENO"; then :
1657 ac_header_preproc
=yes
1659 ac_header_preproc
=no
1661 rm -f conftest.err conftest.
$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1663 $as_echo "$ac_header_preproc" >&6; }
1665 # So? What about this header?
1666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1669 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1675 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1677 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1679 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1681 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1689 $as_echo_n "(cached) " >&6
1691 eval "$3=\$ac_header_compiler"
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1699 } # ac_fn_c_check_header_mongrel
1701 # ac_fn_c_try_run LINENO
1702 # ----------------------
1703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1704 # that executables *can* be run.
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 if { { ac_try
="$ac_link"
1710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_link") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1719 { { case "(($ac_try" in
1720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1721 *) ac_try_echo
=$ac_try;;
1723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_try") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; }; }; then :
1731 $as_echo "$as_me: program exited with status $ac_status" >&5
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.
$ac_ext >&5
1735 ac_retval
=$ac_status
1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1743 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1744 # -------------------------------------------------------
1745 # Tests whether HEADER exists and can be compiled using the include files in
1746 # INCLUDES, setting the cache variable VAR accordingly.
1747 ac_fn_c_check_header_compile
()
1749 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1753 $as_echo_n "(cached) " >&6
1755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1760 if ac_fn_c_try_compile
"$LINENO"; then :
1765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1772 } # ac_fn_c_check_header_compile
1774 # ac_fn_c_check_func LINENO FUNC VAR
1775 # ----------------------------------
1776 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1777 ac_fn_c_check_func
()
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 $as_echo_n "(cached) " >&6
1785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1787 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1789 #define $2 innocuous_$2
1791 /* System header to define __stub macros and hopefully few prototypes,
1792 which can conflict with char $2 (); below.
1793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1794 <limits.h> exists even on freestanding compilers. */
1797 # include <limits.h>
1799 # include <assert.h>
1804 /* Override any GCC internal prototype to avoid an error.
1805 Use char because int might match the return type of a GCC
1806 builtin and then its argument prototype would still apply. */
1811 /* The GNU C library defines this for functions which it implements
1812 to always fail with ENOSYS. Some functions are actually named
1813 something starting with __ and the normal name is an alias. */
1814 #if defined __stub_$2 || defined __stub___$2
1826 if ac_fn_c_try_link
"$LINENO"; then :
1831 rm -f core conftest.err conftest.
$ac_objext \
1832 conftest
$ac_exeext conftest.
$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1839 } # ac_fn_c_check_func
1840 cat >config.log
<<_ACEOF
1841 This file contains any messages produced by compilers while
1842 running configure, to aid debugging if configure makes a mistake.
1844 It was created by gprof $as_me 2.26.51, which was
1845 generated by GNU Autoconf 2.64. Invocation command line was
1857 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1858 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1859 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1860 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1861 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1863 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1864 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1866 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1867 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1868 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1869 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1870 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1871 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1872 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir
=.
1881 $as_echo "PATH: $as_dir"
1897 # Keep a trace of the command line.
1898 # Strip out --no-create and --no-recursion so they do not pile up.
1899 # Strip out --silent because we don't want to record it for future runs.
1900 # Also quote any args containing shell meta-characters.
1901 # Make two passes to allow for proper duplicate-argument suppression.
1905 ac_must_keep_next
=false
1911 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1912 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1913 |
-silent |
--silent |
--silen |
--sile |
--sil)
1916 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1919 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1921 as_fn_append ac_configure_args1
" '$ac_arg'"
1922 if test $ac_must_keep_next = true
; then
1923 ac_must_keep_next
=false
# Got value, back to normal.
1926 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1927 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1928 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1929 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1930 case "$ac_configure_args0 " in
1931 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1934 -* ) ac_must_keep_next
=true
;;
1937 as_fn_append ac_configure_args
" '$ac_arg'"
1942 { ac_configure_args0
=; unset ac_configure_args0
;}
1943 { ac_configure_args1
=; unset ac_configure_args1
;}
1945 # When interrupted or exit'd, cleanup temporary files, and complete
1946 # config.log. We remove comments because anyway the quotes in there
1947 # would cause problems or look ugly.
1948 # WARNING: Use '\'' to represent an apostrophe within the trap.
1949 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1950 trap 'exit_status=$?
1951 # Save into config.log some information that might help in debugging.
1956 ## ---------------- ##
1957 ## Cache variables. ##
1958 ## ---------------- ##
1961 # The following way of writing the cache mishandles newlines in values,
1963 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1964 eval ac_val=\$$ac_var
1968 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1969 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1972 _ | IFS | as_nl) ;; #(
1973 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1974 *) { eval $ac_var=; unset $ac_var;} ;;
1979 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1980 *${as_nl}ac_space=\ *)
1982 "s/'\''/'\''\\\\'\'''\''/g;
1983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1994 ## ----------------- ##
1995 ## Output variables. ##
1996 ## ----------------- ##
1999 for ac_var in $ac_subst_vars
2001 eval ac_val=\$$ac_var
2003 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005 $as_echo "$ac_var='\''$ac_val'\''"
2009 if test -n "$ac_subst_files"; then
2011 ## ------------------- ##
2012 ## File substitutions. ##
2013 ## ------------------- ##
2016 for ac_var
in $ac_subst_files
2018 eval ac_val
=\$
$ac_var
2020 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2022 $as_echo "$ac_var='\''$ac_val'\''"
2027 if test -s confdefs.h; then
2037 test "$ac_signal" != 0 &&
2038 $as_echo "$as_me: caught signal $ac_signal"
2039 $as_echo "$as_me: exit $exit_status"
2041 rm -f core *.core core.conftest.* &&
2042 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2045 for ac_signal
in 1 2 13 15; do
2046 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2050 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2051 rm -f -r conftest
* confdefs.h
2053 $as_echo "/* confdefs.h */" > confdefs.h
2055 # Predefined preprocessor variables.
2057 cat >>confdefs.h
<<_ACEOF
2058 #define PACKAGE_NAME "$PACKAGE_NAME"
2061 cat >>confdefs.h
<<_ACEOF
2062 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2065 cat >>confdefs.h
<<_ACEOF
2066 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2069 cat >>confdefs.h
<<_ACEOF
2070 #define PACKAGE_STRING "$PACKAGE_STRING"
2073 cat >>confdefs.h
<<_ACEOF
2074 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2077 cat >>confdefs.h
<<_ACEOF
2078 #define PACKAGE_URL "$PACKAGE_URL"
2082 # Let the site file select an alternate cache file if it wants to.
2083 # Prefer an explicitly selected file to automatically selected ones.
2086 if test -n "$CONFIG_SITE"; then
2087 ac_site_file1
=$CONFIG_SITE
2088 elif test "x$prefix" != xNONE
; then
2089 ac_site_file1
=$prefix/share
/config.site
2090 ac_site_file2
=$prefix/etc
/config.site
2092 ac_site_file1
=$ac_default_prefix/share
/config.site
2093 ac_site_file2
=$ac_default_prefix/etc
/config.site
2095 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2097 test "x$ac_site_file" = xNONE
&& continue
2098 if test -r "$ac_site_file"; then
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2100 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2101 sed 's/^/| /' "$ac_site_file" >&5
2106 if test -r "$cache_file"; then
2107 # Some versions of bash will fail to source /dev/null (special
2108 # files actually), so we avoid doing that.
2109 if test -f "$cache_file"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2111 $as_echo "$as_me: loading cache $cache_file" >&6;}
2113 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2114 *) .
"./$cache_file";;
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2119 $as_echo "$as_me: creating cache $cache_file" >&6;}
2123 # Check that the precious variables saved in the cache have kept the same
2125 ac_cache_corrupted
=false
2126 for ac_var
in $ac_precious_vars; do
2127 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2128 eval ac_new_set
=\
$ac_env_${ac_var}_set
2129 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2130 eval ac_new_val
=\
$ac_env_${ac_var}_value
2131 case $ac_old_set,$ac_new_set in
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2134 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2135 ac_cache_corrupted
=: ;;
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2138 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2139 ac_cache_corrupted
=: ;;
2142 if test "x$ac_old_val" != "x$ac_new_val"; then
2143 # differences in whitespace do not lead to failure.
2144 ac_old_val_w
=`echo x $ac_old_val`
2145 ac_new_val_w
=`echo x $ac_new_val`
2146 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2148 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2149 ac_cache_corrupted
=:
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2152 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2153 eval $ac_var=\
$ac_old_val
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2156 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2158 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2161 # Pass precious variables to config.status.
2162 if test "$ac_new_set" = set; then
2164 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2165 *) ac_arg
=$ac_var=$ac_new_val ;;
2167 case " $ac_configure_args " in
2168 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2169 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2173 if $ac_cache_corrupted; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2177 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2178 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2180 ## -------------------- ##
2181 ## Main body of script. ##
2182 ## -------------------- ##
2185 ac_cpp
='$CPP $CPPFLAGS'
2186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2197 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2198 for ac_t
in install-sh
install.sh shtool
; do
2199 if test -f "$ac_dir/$ac_t"; then
2201 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2206 if test -z "$ac_aux_dir"; then
2207 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2210 # These three variables are undocumented and unsupported,
2211 # and are intended to be withdrawn in a future Autoconf release.
2212 # They can cause serious problems if a builder's source tree is in a directory
2213 # whose full name contains unusual characters.
2214 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2215 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2216 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2219 # Make sure we can run config.sub.
2220 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2221 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2224 $as_echo_n "checking build system type... " >&6; }
2225 if test "${ac_cv_build+set}" = set; then :
2226 $as_echo_n "(cached) " >&6
2228 ac_build_alias
=$build_alias
2229 test "x$ac_build_alias" = x
&&
2230 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2231 test "x$ac_build_alias" = x
&&
2232 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2233 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2234 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2238 $as_echo "$ac_cv_build" >&6; }
2239 case $ac_cv_build in
2241 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2244 ac_save_IFS
=$IFS; IFS
='-'
2250 # Remember, the first character of IFS is used to create $*,
2251 # except with old shells:
2254 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2258 $as_echo_n "checking host system type... " >&6; }
2259 if test "${ac_cv_host+set}" = set; then :
2260 $as_echo_n "(cached) " >&6
2262 if test "x$host_alias" = x
; then
2263 ac_cv_host
=$ac_cv_build
2265 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2266 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2271 $as_echo "$ac_cv_host" >&6; }
2274 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2277 ac_save_IFS
=$IFS; IFS
='-'
2283 # Remember, the first character of IFS is used to create $*,
2284 # except with old shells:
2287 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2291 $as_echo_n "checking target system type... " >&6; }
2292 if test "${ac_cv_target+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 if test "x$target_alias" = x
; then
2296 ac_cv_target
=$ac_cv_host
2298 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2299 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2304 $as_echo "$ac_cv_target" >&6; }
2305 case $ac_cv_target in
2307 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2309 target
=$ac_cv_target
2310 ac_save_IFS
=$IFS; IFS
='-'
2316 # Remember, the first character of IFS is used to create $*,
2317 # except with old shells:
2320 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2323 # The aliases save the names the user supplied, while $host etc.
2324 # will get canonicalized.
2325 test -n "$target_alias" &&
2326 test "$program_prefix$program_suffix$program_transform_name" = \
2328 program_prefix
=${target_alias}-
2330 ac_cpp
='$CPP $CPPFLAGS'
2331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2336 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2338 $as_echo_n "checking for $ac_word... " >&6; }
2339 if test "${ac_cv_prog_CC+set}" = set; then :
2340 $as_echo_n "(cached) " >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC
="$CC" # Let the user override the test.
2345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir
=.
2350 for ac_exec_ext
in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$CC"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2365 $as_echo "$CC" >&6; }
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2368 $as_echo "no" >&6; }
2373 if test -z "$ac_cv_prog_CC"; then
2375 # Extract the first word of "gcc", so it can be a program name with args.
2376 set dummy gcc
; ac_word
=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$ac_ct_CC"; then
2383 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_ac_ct_CC
="gcc"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2403 if test -n "$ac_ct_CC"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2405 $as_echo "$ac_ct_CC" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2411 if test "x$ac_ct_CC" = x
; then
2414 case $cross_compiling:$ac_tool_warned in
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2418 ac_tool_warned
=yes ;;
2426 if test -z "$CC"; then
2427 if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2429 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2431 $as_echo_n "checking for $ac_word... " >&6; }
2432 if test "${ac_cv_prog_CC+set}" = set; then :
2433 $as_echo_n "(cached) " >&6
2435 if test -n "$CC"; then
2436 ac_cv_prog_CC
="$CC" # Let the user override the test.
2438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir
=.
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 if test -n "$CC"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2458 $as_echo "$CC" >&6; }
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2467 if test -z "$CC"; then
2468 # Extract the first word of "cc", so it can be a program name with args.
2469 set dummy cc
; ac_word
=$2
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471 $as_echo_n "checking for $ac_word... " >&6; }
2472 if test "${ac_cv_prog_CC+set}" = set; then :
2473 $as_echo_n "(cached) " >&6
2475 if test -n "$CC"; then
2476 ac_cv_prog_CC
="$CC" # Let the user override the test.
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 for ac_exec_ext
in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2486 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2487 ac_prog_rejected
=yes
2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 if test $ac_prog_rejected = yes; then
2499 # We found a bogon in the path, so make sure we never use it.
2500 set dummy
$ac_cv_prog_CC
2502 if test $# != 0; then
2503 # We chose a different compiler from the bogus one.
2504 # However, it has the same basename, so the bogon will be chosen
2505 # first if we set CC to just the basename; use the full file name.
2507 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2513 if test -n "$CC"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2515 $as_echo "$CC" >&6; }
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2518 $as_echo "no" >&6; }
2523 if test -z "$CC"; then
2524 if test -n "$ac_tool_prefix"; then
2525 for ac_prog
in cl.exe
2527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2528 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if test "${ac_cv_prog_CC+set}" = set; then :
2532 $as_echo_n "(cached) " >&6
2534 if test -n "$CC"; then
2535 ac_cv_prog_CC
="$CC" # Let the user override the test.
2537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir
=.
2542 for ac_exec_ext
in '' $ac_executable_extensions; do
2543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 if test -n "$CC"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2557 $as_echo "$CC" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2564 test -n "$CC" && break
2567 if test -z "$CC"; then
2569 for ac_prog
in cl.exe
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy
$ac_prog; ac_word
=$2
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_exec_ext
in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 ac_cv_prog_ac_ct_CC
="$ac_prog"
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2599 if test -n "$ac_ct_CC"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2601 $as_echo "$ac_ct_CC" >&6; }
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2608 test -n "$ac_ct_CC" && break
2611 if test "x$ac_ct_CC" = x
; then
2614 case $cross_compiling:$ac_tool_warned in
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2618 ac_tool_warned
=yes ;;
2627 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 as_fn_error
"no acceptable C compiler found in \$PATH
2630 See \`config.log' for more details." "$LINENO" 5; }
2632 # Provide some information about the compiler.
2633 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2636 for ac_option
in --version -v -V -qversion; do
2637 { { ac_try
="$ac_compiler $ac_option >&5"
2639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2643 $as_echo "$ac_try_echo"; } >&5
2644 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2646 if test -s conftest.err; then
2648 ... rest of stderr output deleted ...
2649 10q' conftest.err >conftest.er1
2650 cat conftest.er1 >&5
2651 rm -f conftest.er1 conftest.err
2653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2654 test $ac_status = 0; }
2657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2668 ac_clean_files_save=$ac_clean_files
2669 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2670 # Try to create an executable without -o first, disregard a.out.
2671 # It will help us diagnose broken compilers, and finding out an intuition
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2674 $as_echo_n "checking for C compiler default output file name... " >&6; }
2675 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2677 # The possible output files:
2678 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2681 for ac_file in $ac_files
2684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2685 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2690 if { { ac_try="$ac_link_default"
2692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2693 *) ac_try_echo
=$ac_try;;
2695 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link_default") 2>&5
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; }; then :
2701 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2702 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2703 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2704 # so that the user can short-circuit this test for compilers unknown to
2706 for ac_file
in $ac_files ''
2708 test -f "$ac_file" ||
continue
2710 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2713 # We found the default executable, but exeext='' is most
2717 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2719 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2721 # We set ac_cv_exeext here because the later test for it is not
2722 # safe: cross compilers may not add the suffix if given an `-o'
2723 # argument, so we may need to know it at that point already.
2724 # Even if this section looks crufty: it has the advantage of
2731 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2737 $as_echo "$ac_file" >&6; }
2738 if test -z "$ac_file"; then :
2739 $as_echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.
$ac_ext >&5
2742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744 { as_fn_set_status
77
2745 as_fn_error
"C compiler cannot create executables
2746 See \`config.log' for more details." "$LINENO" 5; }; }
2748 ac_exeext
=$ac_cv_exeext
2750 # Check that the compiler produces executables we can run. If not, either
2751 # the compiler is broken, or we cross compile.
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2753 $as_echo_n "checking whether the C compiler works... " >&6; }
2754 # If not cross compiling, check that we can run a simple program.
2755 if test "$cross_compiling" != yes; then
2756 if { ac_try
='./$ac_file'
2757 { { case "(($ac_try" in
2758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763 (eval "$ac_try") 2>&5
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; }; }; then
2769 if test "$cross_compiling" = maybe; then
2772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2774 as_fn_error "cannot run C compiled programs.
2775 If you meant to cross compile
, use \
`--host'.
2776 See \`config.log
' for more details." "$LINENO" 5; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781 $as_echo "yes" >&6; }
2783 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2784 ac_clean_files=$ac_clean_files_save
2785 # Check that the compiler produces executables we can run. If not, either
2786 # the compiler is broken, or we cross compile.
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2788 $as_echo_n "checking whether we are cross compiling... " >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2790 $as_echo "$cross_compiling" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2793 $as_echo_n "checking for suffix of executables... " >&6; }
2794 if { { ac_try="$ac_link"
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 $as_echo "$ac_try_echo"; } >&5
2801 (eval "$ac_link") 2>&5
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; }; then :
2805 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2806 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2807 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2809 for ac_file
in conftest.exe conftest conftest.
*; do
2810 test -f "$ac_file" ||
continue
2812 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2813 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." "$LINENO" 5; }
2824 rm -f conftest
$ac_cv_exeext
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2826 $as_echo "$ac_cv_exeext" >&6; }
2828 rm -f conftest.
$ac_ext
2829 EXEEXT
=$ac_cv_exeext
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2832 $as_echo_n "checking for suffix of object files... " >&6; }
2833 if test "${ac_cv_objext+set}" = set; then :
2834 $as_echo_n "(cached) " >&6
2836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2847 rm -f conftest.o conftest.obj
2848 if { { ac_try
="$ac_compile"
2850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 $as_echo "$ac_try_echo"; } >&5
2855 (eval "$ac_compile") 2>&5
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; }; then :
2859 for ac_file in conftest.o conftest.obj conftest.*; do
2860 test -f "$ac_file" || continue;
2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2863 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2868 $as_echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2873 as_fn_error "cannot compute suffix of object files
: cannot compile
2874 See \
`config.log' for more details." "$LINENO" 5; }
2876 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2879 $as_echo "$ac_cv_objext" >&6; }
2880 OBJEXT=$ac_cv_objext
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2883 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2884 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2901 if ac_fn_c_try_compile "$LINENO"; then :
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2911 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2912 if test $ac_compiler_gnu = yes; then
2917 ac_test_CFLAGS=${CFLAGS+set}
2918 ac_save_CFLAGS=$CFLAGS
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2920 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2921 if test "${ac_cv_prog_cc_g+set}" = set; then :
2922 $as_echo_n "(cached) " >&6
2924 ac_save_c_werror_flag=$ac_c_werror_flag
2925 ac_c_werror_flag=yes
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2939 if ac_fn_c_try_compile "$LINENO"; then :
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2944 /* end confdefs.h. */
2954 if ac_fn_c_try_compile "$LINENO"; then :
2957 ac_c_werror_flag=$ac_save_c_werror_flag
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2970 if ac_fn_c_try_compile "$LINENO"; then :
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 ac_c_werror_flag=$ac_save_c_werror_flag
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2981 $as_echo "$ac_cv_prog_cc_g" >&6; }
2982 if test "$ac_test_CFLAGS" = set; then
2983 CFLAGS=$ac_save_CFLAGS
2984 elif test $ac_cv_prog_cc_g = yes; then
2985 if test "$GCC" = yes; then
2991 if test "$GCC" = yes; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2998 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2999 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3000 $as_echo_n "(cached) " >&6
3002 ac_cv_prog_cc_c89=no
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 #include <sys/types.h>
3009 #include <sys/stat.h>
3010 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3011 struct buf { int x; };
3012 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3013 static char *e (p, i)
3019 static char *f (char * (*g) (char **, int), char **p, ...)
3024 s = g (p, va_arg (v,int));
3029 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3030 function prototypes and stuff, but not '\xHH' hex character constants.
3031 These don't provoke an error unfortunately, instead are silently treated
3032 as 'x'. The following induces an error, until -std is added to get
3033 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3034 array size at least. It's necessary to write '\x00'==0 to get something
3035 that's true only with -std. */
3036 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3038 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3039 inside strings and character constants. */
3041 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3043 int test (int i, double x);
3044 struct s1 {int (*f) (int a);};
3045 struct s2 {int (*f) (double a);};
3046 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3052 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3057 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3058 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3060 CC="$ac_save_CC $ac_arg"
3061 if ac_fn_c_try_compile "$LINENO"; then :
3062 ac_cv_prog_cc_c89=$ac_arg
3064 rm -f core conftest.err conftest.$ac_objext
3065 test "x$ac_cv_prog_cc_c89" != "xno" && break
3067 rm -f conftest.$ac_ext
3072 case "x$ac_cv_prog_cc_c89" in
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3075 $as_echo "none needed" >&6; } ;;
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3078 $as_echo "unsupported" >&6; } ;;
3080 CC="$CC $ac_cv_prog_cc_c89"
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3082 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3084 if test "x$ac_cv_prog_cc_c89" != xno; then :
3089 ac_cpp='$CPP $CPPFLAGS'
3090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3096 $as_echo_n "checking for library containing strerror... " >&6; }
3097 if test "${ac_cv_search_strerror+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 ac_func_search_save_LIBS=$LIBS
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 /* Override any GCC internal prototype to avoid an error.
3105 Use char because int might match the return type of a GCC
3106 builtin and then its argument prototype would still apply. */
3119 for ac_lib in '' cposix; do
3120 if test -z "$ac_lib"; then
3121 ac_res="none required"
3124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3126 if ac_fn_c_try_link "$LINENO"; then :
3127 ac_cv_search_strerror=$ac_res
3129 rm -f core conftest.err conftest.$ac_objext \
3131 if test "${ac_cv_search_strerror+set}" = set; then :
3135 if test "${ac_cv_search_strerror+set}" = set; then :
3138 ac_cv_search_strerror=no
3141 LIBS=$ac_func_search_save_LIBS
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3144 $as_echo "$ac_cv_search_strerror" >&6; }
3145 ac_res=$ac_cv_search_strerror
3146 if test "$ac_res" != no; then :
3147 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3152 am__api_version='1.11'
3154 # Find a good install program. We prefer a C program (faster),
3155 # so one script is as good as another. But avoid the broken or
3156 # incompatible versions:
3157 # SysV /etc/install, /usr/sbin/install
3158 # SunOS /usr/etc/install
3159 # IRIX /sbin/install
3161 # AmigaOS /C/install, which installs bootblocks on floppy discs
3162 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3163 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3164 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3165 # OS/2's system install, which has a completely different semantic
3166 # ./install, which can be erroneously created by make from ./install.sh.
3167 # Reject install programs that cannot install multiple files.
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3169 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3170 if test -z "$INSTALL"; then
3171 if test "${ac_cv_path_install+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir=.
3179 # Account for people who put trailing slashes in PATH elements.
3180 case $as_dir/ in #((
3181 ./ | .// | /[cC]/* | \
3182 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3183 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3186 # OSF1 and SCO ODT 3.0 have their own names for install.
3187 # Don't use installbsd from OSF since it installs stuff as root
3189 for ac_prog in ginstall scoinst install; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3192 if test $ac_prog = install &&
3193 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194 # AIX install. It has an incompatible calling convention.
3196 elif test $ac_prog = install &&
3197 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3198 # program-specific install script used by HP pwplus--don't use.
3201 rm -rf conftest.one conftest.two conftest.dir
3202 echo one > conftest.one
3203 echo two > conftest.two
3205 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3206 test -s conftest.one && test -s conftest.two &&
3207 test -s conftest.dir/conftest.one &&
3208 test -s conftest.dir/conftest.two
3210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3223 rm -rf conftest.one conftest.two conftest.dir
3226 if test "${ac_cv_path_install+set}" = set; then
3227 INSTALL=$ac_cv_path_install
3229 # As a last resort, use the slow shell script. Don't cache a
3230 # value for INSTALL within a source directory, because that will
3231 # break other packages using the cache if that directory is
3232 # removed, or if the value is a relative name.
3233 INSTALL=$ac_install_sh
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3237 $as_echo "$INSTALL" >&6; }
3239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3240 # It thinks the first close brace ends the variable substitution.
3241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3248 $as_echo_n "checking whether build environment is sane... " >&6; }
3251 echo timestamp > conftest.file
3252 # Reject unsafe characters in $srcdir or the absolute working directory
3253 # name. Accept space and tab only in the latter.
3257 *[\\\"\#\$\&\'\`$am_lf]*)
3258 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3261 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3262 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3265 # Do `set' in a subshell so we don't clobber the current shell's
3266 # arguments. Must try -L first in case configure is actually a
3267 # symlink; some systems play weird games with the mod time of symlinks
3268 # (eg FreeBSD returns the mod time of the symlink's containing
3271 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3272 if test "$*" = "X"; then
3274 set X
`ls -t "$srcdir/configure" conftest.file`
3277 if test "$*" != "X $srcdir/configure conftest.file" \
3278 && test "$*" != "X conftest.file $srcdir/configure"; then
3280 # If neither matched, then we have a broken ls. This can happen
3281 # if, for instance, CONFIG_SHELL is bash and it inherits a
3282 # broken ls alias from the environment. This has actually
3283 # happened. Such a system could not be considered "sane".
3284 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3285 alias in your environment" "$LINENO" 5
3288 test "$2" = conftest.
file
3294 as_fn_error
"newly created file is older than distributed files!
3295 Check your system clock" "$LINENO" 5
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3299 test "$program_prefix" != NONE
&&
3300 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3301 # Use a double $ so make ignores it.
3302 test "$program_suffix" != NONE
&&
3303 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3304 # Double any \ or $.
3305 # By default was `s,x,x', remove it if useless.
3306 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3307 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3309 # expand $ac_aux_dir to an absolute path
3310 am_aux_dir
=`cd $ac_aux_dir && pwd`
3312 if test x
"${MISSING+set}" != xset
; then
3315 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3317 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3320 # Use eval to expand $SHELL
3321 if eval "$MISSING --run true"; then
3322 am_missing_run
="$MISSING --run "
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3326 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3329 if test x
"${install_sh}" != xset
; then
3332 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3334 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3338 # Installed binaries are usually stripped using `strip' when the user
3339 # run `make install-strip'. However `strip' might not be the right
3340 # tool to use in cross-compilation environments, therefore Automake
3341 # will honor the `STRIP' environment variable to overrule this program.
3342 if test "$cross_compiling" != no
; then
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3345 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_STRIP+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$STRIP"; then
3352 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir
=.
3359 for ac_exec_ext
in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 STRIP
=$ac_cv_prog_STRIP
3372 if test -n "$STRIP"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3374 $as_echo "$STRIP" >&6; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_STRIP"; then
3384 # Extract the first word of "strip", so it can be a program name with args.
3385 set dummy strip
; ac_word
=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$ac_ct_STRIP"; then
3392 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir
=.
3399 for ac_exec_ext
in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_STRIP
="strip"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3412 if test -n "$ac_ct_STRIP"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3414 $as_echo "$ac_ct_STRIP" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_STRIP" = x
; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned
=yes ;;
3432 STRIP
="$ac_cv_prog_STRIP"
3436 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3439 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3440 if test -z "$MKDIR_P"; then
3441 if test "${ac_cv_path_mkdir+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3445 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3448 test -z "$as_dir" && as_dir
=.
3449 for ac_prog
in mkdir gmkdir
; do
3450 for ac_exec_ext
in '' $ac_executable_extensions; do
3451 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3452 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3453 'mkdir (GNU coreutils) '* | \
3454 'mkdir (coreutils) '* | \
3455 'mkdir (fileutils) '4.1*)
3456 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3466 if test "${ac_cv_path_mkdir+set}" = set; then
3467 MKDIR_P
="$ac_cv_path_mkdir -p"
3469 # As a last resort, use the slow shell script. Don't cache a
3470 # value for MKDIR_P within a source directory, because that will
3471 # break other packages using the cache if that directory is
3472 # removed, or if the value is a relative name.
3473 test -d .
/--version && rmdir .
/--version
3474 MKDIR_P
="$ac_install_sh -d"
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3478 $as_echo "$MKDIR_P" >&6; }
3482 [\\/$
]* | ?
:[\\/]*) ;;
3483 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3486 for ac_prog
in gawk mawk nawk
awk
3488 # Extract the first word of "$ac_prog", so it can be a program name with args.
3489 set dummy
$ac_prog; ac_word
=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if test "${ac_cv_prog_AWK+set}" = set; then :
3493 $as_echo_n "(cached) " >&6
3495 if test -n "$AWK"; then
3496 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3502 test -z "$as_dir" && as_dir
=.
3503 for ac_exec_ext
in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_AWK
="$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 if test -n "$AWK"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3518 $as_echo "$AWK" >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$AWK" && break
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3529 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3531 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3532 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3533 $as_echo_n "(cached) " >&6
3535 cat >conftest.
make <<\_ACEOF
3538 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3540 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3541 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3543 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3545 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3549 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3551 $as_echo "yes" >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 SET_MAKE
="MAKE=${MAKE-make}"
3559 rm -rf .tst
2>/dev
/null
3560 mkdir .tst
2>/dev
/null
3561 if test -d .tst
; then
3566 rmdir .tst
2>/dev
/null
3568 DEPDIR
="${am__leading_dot}deps"
3570 ac_config_commands
="$ac_config_commands depfiles"
3573 am_make
=${MAKE-make}
3574 cat > confinc
<< 'END'
3576 @
echo this is the am__doit target
3579 # If we don't find an include directive, just comment out the code.
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3581 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3585 # First try GNU make style include.
3586 echo "include confinc" > confmf
3587 # Ignore all kinds of additional output from `make'.
3588 case `$am_make -s -f confmf 2> /dev/null` in #(
3589 *the\ am__doit\ target
*)
3595 # Now try BSD make style include.
3596 if test "$am__include" = "#"; then
3597 echo '.include "confinc"' > confmf
3598 case `$am_make -s -f confmf 2> /dev/null` in #(
3599 *the\ am__doit\ target
*)
3600 am__include
=.include
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3609 $as_echo "$_am_result" >&6; }
3610 rm -f confinc confmf
3612 # Check whether --enable-dependency-tracking was given.
3613 if test "${enable_dependency_tracking+set}" = set; then :
3614 enableval
=$enable_dependency_tracking;
3617 if test "x$enable_dependency_tracking" != xno
; then
3618 am_depcomp
="$ac_aux_dir/depcomp"
3621 if test "x$enable_dependency_tracking" != xno; then
3630 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3631 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3632 # is not polluted with repeated "-I."
3633 am__isrc
=' -I$(srcdir)'
3634 # test to see if srcdir already configured
3635 if test -f $srcdir/config.status
; then
3636 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3640 # test whether we have cygpath
3641 if test -z "$CYGPATH_W"; then
3642 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3643 CYGPATH_W
='cygpath -w'
3650 # Define the identity of the package.
3655 cat >>confdefs.h
<<_ACEOF
3656 #define PACKAGE "$PACKAGE"
3660 cat >>confdefs.h
<<_ACEOF
3661 #define VERSION "$VERSION"
3664 # Some tools Automake needs.
3666 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3669 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3672 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3675 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3678 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3680 # We need awk for the "check" target. The system "awk" is bad on
3682 # Always define AMTAR for backward compatibility.
3684 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3686 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3691 depcc
="$CC" am_compiler_list
=
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3694 $as_echo_n "checking dependency style of $depcc... " >&6; }
3695 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3699 # We make a subdir and do the tests there. Otherwise we can end up
3700 # making bogus files that we don't know about and never remove. For
3701 # instance it was reported that on HP-UX the gcc test will end up
3702 # making a dummy file named `D' -- because `-MD' means `put the output
3705 # Copy depcomp to subdir because otherwise we won't find it if we're
3706 # using a relative directory.
3707 cp "$am_depcomp" conftest.dir
3709 # We will build objects and dependencies in a subdirectory because
3710 # it helps to detect inapplicable dependency modes. For instance
3711 # both Tru64's cc and ICC support -MD to output dependencies as a
3712 # side effect of compilation, but ICC will put the dependencies in
3713 # the current directory while Tru64 will put them in the object
3717 am_cv_CC_dependencies_compiler_type
=none
3718 if test "$am_compiler_list" = ""; then
3719 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3722 case " $depcc " in #(
3723 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3726 for depmode
in $am_compiler_list; do
3727 # Setup a source with many dependencies, because some compilers
3728 # like to wrap large dependency lists on column 80 (with \), and
3729 # we should not choose a depcomp mode which is confused by this.
3731 # We need to recreate these files for each test, as the compiler may
3732 # overwrite some of them when testing with obscure command lines.
3733 # This happens at least with the AIX C compiler.
3735 for i
in 1 2 3 4 5 6; do
3736 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3737 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3738 # Solaris 8's {/usr,}/bin/sh.
3739 touch sub
/conftst
$i.h
3741 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3743 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3744 # mode. It turns out that the SunPro C++ compiler does not properly
3745 # handle `-M -o', and we need to detect this. Also, some Intel
3746 # versions had trouble with output in subdirs
3747 am__obj
=sub
/conftest.
${OBJEXT-o}
3748 am__minus_obj
="-o $am__obj"
3751 # This depmode causes a compiler race in universal mode.
3752 test "$am__universal" = false ||
continue
3755 # after this tag, mechanisms are not by side-effect, so they'll
3756 # only be used when explicitly requested
3757 if test "x$enable_dependency_tracking" = xyes
; then
3763 msvisualcpp | msvcmsys
)
3764 # This compiler won't grok `-c -o', but also, the minuso test has
3765 # not run yet. These depmodes are late enough in the game, and
3766 # so weak that their functioning should not be impacted.
3767 am__obj
=conftest.
${OBJEXT-o}
3772 if depmode
=$depmode \
3773 source=sub
/conftest.c object
=$am__obj \
3774 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3775 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3776 >/dev
/null
2>conftest.err
&&
3777 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3778 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3779 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3780 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3781 # icc doesn't choke on unknown options, it will just issue warnings
3782 # or remarks (even with -Werror). So we grep stderr for any message
3783 # that says an option was ignored or not supported.
3784 # When given -MP, icc 7.0 and 7.1 complain thusly:
3785 # icc: Command line warning: ignoring option '-M'; no argument required
3786 # The diagnosis changed in icc 8.0:
3787 # icc: Command line remark: option '-MP' not supported
3788 if (grep 'ignoring option' conftest.err ||
3789 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3790 am_cv_CC_dependencies_compiler_type
=$depmode
3799 am_cv_CC_dependencies_compiler_type
=none
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3804 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3805 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3808 test "x$enable_dependency_tracking" != xno \
3809 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3811 am__fastdepCC_FALSE
='#'
3813 am__fastdepCC_TRUE
='#'
3814 am__fastdepCC_FALSE
=
3820 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
3824 ac_cpp
='$CPP $CPPFLAGS'
3825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3830 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_prog_CC+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC
="$CC" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3867 if test -z "$ac_cv_prog_CC"; then
3869 # Extract the first word of "gcc", so it can be a program name with args.
3870 set dummy gcc
; ac_word
=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$ac_ct_CC"; then
3877 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir
=.
3884 for ac_exec_ext
in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_ac_ct_CC
="gcc"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3897 if test -n "$ac_ct_CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3899 $as_echo "$ac_ct_CC" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3905 if test "x$ac_ct_CC" = x
; then
3908 case $cross_compiling:$ac_tool_warned in
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3912 ac_tool_warned
=yes ;;
3920 if test -z "$CC"; then
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3923 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if test "${ac_cv_prog_CC+set}" = set; then :
3927 $as_echo_n "(cached) " >&6
3929 if test -n "$CC"; then
3930 ac_cv_prog_CC
="$CC" # Let the user override the test.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 if test -n "$CC"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3952 $as_echo "$CC" >&6; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3961 if test -z "$CC"; then
3962 # Extract the first word of "cc", so it can be a program name with args.
3963 set dummy cc
; ac_word
=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if test "${ac_cv_prog_CC+set}" = set; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC
="$CC" # Let the user override the test.
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3981 ac_prog_rejected
=yes
3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 if test $ac_prog_rejected = yes; then
3993 # We found a bogon in the path, so make sure we never use it.
3994 set dummy
$ac_cv_prog_CC
3996 if test $# != 0; then
3997 # We chose a different compiler from the bogus one.
3998 # However, it has the same basename, so the bogon will be chosen
3999 # first if we set CC to just the basename; use the full file name.
4001 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4007 if test -n "$CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4009 $as_echo "$CC" >&6; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4017 if test -z "$CC"; then
4018 if test -n "$ac_tool_prefix"; then
4019 for ac_prog
in cl.exe
4021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if test "${ac_cv_prog_CC+set}" = set; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC
="$CC" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4038 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 if test -n "$CC"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4051 $as_echo "$CC" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$CC" && break
4061 if test -z "$CC"; then
4063 for ac_prog
in cl.exe
4065 # Extract the first word of "$ac_prog", so it can be a program name with args.
4066 set dummy
$ac_prog; ac_word
=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 if test -n "$ac_ct_CC"; then
4073 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4082 ac_cv_prog_ac_ct_CC
="$ac_prog"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4093 if test -n "$ac_ct_CC"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4095 $as_echo "$ac_ct_CC" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4102 test -n "$ac_ct_CC" && break
4105 if test "x$ac_ct_CC" = x
; then
4108 case $cross_compiling:$ac_tool_warned in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned
=yes ;;
4121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error
"no acceptable C compiler found in \$PATH
4124 See \`config.log' for more details." "$LINENO" 5; }
4126 # Provide some information about the compiler.
4127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4130 for ac_option
in --version -v -V -qversion; do
4131 { { ac_try
="$ac_compiler $ac_option >&5"
4133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4140 if test -s conftest.err; then
4142 ... rest of stderr output deleted ...
4143 10q' conftest.err >conftest.er1
4144 cat conftest.er1 >&5
4145 rm -f conftest.er1 conftest.err
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4152 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4153 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4170 if ac_fn_c_try_compile "$LINENO"; then :
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4180 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4181 if test $ac_compiler_gnu = yes; then
4186 ac_test_CFLAGS=${CFLAGS+set}
4187 ac_save_CFLAGS=$CFLAGS
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4189 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4190 if test "${ac_cv_prog_cc_g+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4193 ac_save_c_werror_flag=$ac_c_werror_flag
4194 ac_c_werror_flag=yes
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile "$LINENO"; then :
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4223 if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4239 if ac_fn_c_try_compile "$LINENO"; then :
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4250 $as_echo "$ac_cv_prog_cc_g" >&6; }
4251 if test "$ac_test_CFLAGS" = set; then
4252 CFLAGS=$ac_save_CFLAGS
4253 elif test $ac_cv_prog_cc_g = yes; then
4254 if test "$GCC" = yes; then
4260 if test "$GCC" = yes; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4268 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4271 ac_cv_prog_cc_c89=no
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4277 #include <sys/types.h>
4278 #include <sys/stat.h>
4279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4280 struct buf { int x; };
4281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4282 static char *e (p, i)
4288 static char *f (char * (*g) (char **, int), char **p, ...)
4293 s = g (p, va_arg (v,int));
4298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4299 function prototypes and stuff, but not '\xHH' hex character constants.
4300 These don't provoke an error unfortunately, instead are silently treated
4301 as 'x'. The following induces an error, until -std is added to get
4302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4303 array size at least. It's necessary to write '\x00'==0 to get something
4304 that's true only with -std. */
4305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4308 inside strings and character constants. */
4310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4312 int test (int i, double x);
4313 struct s1 {int (*f) (int a);};
4314 struct s2 {int (*f) (double a);};
4315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4326 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4329 CC="$ac_save_CC $ac_arg"
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 ac_cv_prog_cc_c89=$ac_arg
4333 rm -f core conftest.err conftest.$ac_objext
4334 test "x$ac_cv_prog_cc_c89" != "xno" && break
4336 rm -f conftest.$ac_ext
4341 case "x$ac_cv_prog_cc_c89" in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344 $as_echo "none needed" >&6; } ;;
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 $as_echo "unsupported" >&6; } ;;
4349 CC="$CC $ac_cv_prog_cc_c89"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4353 if test "x$ac_cv_prog_cc_c89" != xno; then :
4358 ac_cpp='$CPP $CPPFLAGS'
4359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364 ac_cpp='$CPP $CPPFLAGS'
4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4369 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4370 # On Suns, sometimes $CPP names a directory.
4371 if test -n "$CPP" && test -d "$CPP"; then
4374 if test -z "$CPP"; then
4375 if test "${ac_cv_prog_CPP+set}" = set; then :
4376 $as_echo_n "(cached) " >&6
4378 # Double quotes because CPP needs to be expanded
4379 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4382 for ac_c_preproc_warn_flag in '' yes
4384 # Use a header file that comes with gcc, so configuring glibc
4385 # with a fresh cross-compiler works.
4386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4387 # <limits.h> exists even on freestanding compilers.
4388 # On the NeXT, cc -E runs the code through the compiler's parser,
4389 # not just through cpp. "Syntax error" is here to catch this case.
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4393 # include <limits.h>
4395 # include <assert.h>
4399 if ac_fn_c_try_cpp "$LINENO"; then :
4402 # Broken: fails on valid input.
4405 rm -f conftest.err conftest.$ac_ext
4407 # OK, works on sane cases. Now check whether nonexistent headers
4408 # can be detected and how.
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <ac_nonexistent.h>
4413 if ac_fn_c_try_cpp "$LINENO"; then :
4414 # Broken: success on invalid input.
4417 # Passes both tests.
4421 rm -f conftest.err conftest.$ac_ext
4424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4425 rm -f conftest.err conftest.
$ac_ext
4426 if $ac_preproc_ok; then :
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4439 $as_echo "$CPP" >&6; }
4441 for ac_c_preproc_warn_flag
in '' yes
4443 # Use a header file that comes with gcc, so configuring glibc
4444 # with a fresh cross-compiler works.
4445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4446 # <limits.h> exists even on freestanding compilers.
4447 # On the NeXT, cc -E runs the code through the compiler's parser,
4448 # not just through cpp. "Syntax error" is here to catch this case.
4449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4452 # include <limits.h>
4454 # include <assert.h>
4458 if ac_fn_c_try_cpp
"$LINENO"; then :
4461 # Broken: fails on valid input.
4464 rm -f conftest.err conftest.
$ac_ext
4466 # OK, works on sane cases. Now check whether nonexistent headers
4467 # can be detected and how.
4468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4470 #include <ac_nonexistent.h>
4472 if ac_fn_c_try_cpp
"$LINENO"; then :
4473 # Broken: success on invalid input.
4476 # Passes both tests.
4480 rm -f conftest.err conftest.
$ac_ext
4483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4484 rm -f conftest.err conftest.
$ac_ext
4485 if $ac_preproc_ok; then :
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4490 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4491 See \`config.log' for more details." "$LINENO" 5; }
4495 ac_cpp
='$CPP $CPPFLAGS'
4496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4502 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4503 if test "${ac_cv_path_GREP+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4506 if test -z "$GREP"; then
4507 ac_path_GREP_found
=false
4508 # Loop through the user's path and test for each of PROGNAME-LIST
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_prog
in grep ggrep
; do
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4517 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4518 # Check for GNU ac_path_GREP and select it if it is found.
4519 # Check for GNU $ac_path_GREP
4520 case `"$ac_path_GREP" --version 2>&1` in
4522 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4525 $as_echo_n 0123456789 >"conftest.in"
4528 cat "conftest.in" "conftest.in" >"conftest.tmp"
4529 mv "conftest.tmp" "conftest.in"
4530 cp "conftest.in" "conftest.nl"
4531 $as_echo 'GREP' >> "conftest.nl"
4532 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4533 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4534 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4535 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4536 # Best one so far, save it but keep looking for a better one
4537 ac_cv_path_GREP
="$ac_path_GREP"
4538 ac_path_GREP_max
=$ac_count
4540 # 10*(2^10) chars as input seems more than enough
4541 test $ac_count -gt 10 && break
4543 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4546 $ac_path_GREP_found && break 3
4551 if test -z "$ac_cv_path_GREP"; then
4552 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4555 ac_cv_path_GREP
=$GREP
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4560 $as_echo "$ac_cv_path_GREP" >&6; }
4561 GREP
="$ac_cv_path_GREP"
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4565 $as_echo_n "checking for egrep... " >&6; }
4566 if test "${ac_cv_path_EGREP+set}" = set; then :
4567 $as_echo_n "(cached) " >&6
4569 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4570 then ac_cv_path_EGREP
="$GREP -E"
4572 if test -z "$EGREP"; then
4573 ac_path_EGREP_found
=false
4574 # Loop through the user's path and test for each of PROGNAME-LIST
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4576 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_prog
in egrep; do
4581 for ac_exec_ext
in '' $ac_executable_extensions; do
4582 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4583 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4584 # Check for GNU ac_path_EGREP and select it if it is found.
4585 # Check for GNU $ac_path_EGREP
4586 case `"$ac_path_EGREP" --version 2>&1` in
4588 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4591 $as_echo_n 0123456789 >"conftest.in"
4594 cat "conftest.in" "conftest.in" >"conftest.tmp"
4595 mv "conftest.tmp" "conftest.in"
4596 cp "conftest.in" "conftest.nl"
4597 $as_echo 'EGREP' >> "conftest.nl"
4598 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4599 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4600 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4601 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4602 # Best one so far, save it but keep looking for a better one
4603 ac_cv_path_EGREP
="$ac_path_EGREP"
4604 ac_path_EGREP_max
=$ac_count
4606 # 10*(2^10) chars as input seems more than enough
4607 test $ac_count -gt 10 && break
4609 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4612 $ac_path_EGREP_found && break 3
4617 if test -z "$ac_cv_path_EGREP"; then
4618 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4621 ac_cv_path_EGREP
=$EGREP
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4627 $as_echo "$ac_cv_path_EGREP" >&6; }
4628 EGREP
="$ac_cv_path_EGREP"
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4632 $as_echo_n "checking for ANSI C header files... " >&6; }
4633 if test "${ac_cv_header_stdc+set}" = set; then :
4634 $as_echo_n "(cached) " >&6
4636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4651 if ac_fn_c_try_compile
"$LINENO"; then :
4652 ac_cv_header_stdc
=yes
4654 ac_cv_header_stdc
=no
4656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4658 if test $ac_cv_header_stdc = yes; then
4659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4666 $EGREP "memchr" >/dev
/null
2>&1; then :
4669 ac_cv_header_stdc
=no
4675 if test $ac_cv_header_stdc = yes; then
4676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4683 $EGREP "free" >/dev
/null
2>&1; then :
4686 ac_cv_header_stdc
=no
4692 if test $ac_cv_header_stdc = yes; then
4693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4694 if test "$cross_compiling" = yes; then :
4697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4701 #if ((' ' & 0x0FF) == 0x020)
4702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4705 # define ISLOWER(c) \
4706 (('a' <= (c) && (c) <= 'i') \
4707 || ('j' <= (c) && (c) <= 'r') \
4708 || ('s' <= (c) && (c) <= 'z'))
4709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4717 for (i = 0; i < 256; i++)
4718 if (XOR (islower (i), ISLOWER (i))
4719 || toupper (i) != TOUPPER (i))
4724 if ac_fn_c_try_run
"$LINENO"; then :
4727 ac_cv_header_stdc
=no
4729 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4730 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4736 $as_echo "$ac_cv_header_stdc" >&6; }
4737 if test $ac_cv_header_stdc = yes; then
4739 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4744 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4745 inttypes.h stdint.h unistd.h
4747 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4748 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4750 eval as_val
=\$
$as_ac_Header
4751 if test "x$as_val" = x
""yes; then :
4752 cat >>confdefs.h
<<_ACEOF
4753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4762 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4763 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4770 if test "$MINIX" = yes; then
4772 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4775 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4778 $as_echo "#define _MINIX 1" >>confdefs.h
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4784 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4785 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4791 # define __EXTENSIONS__ 1
4792 $ac_includes_default
4801 if ac_fn_c_try_compile
"$LINENO"; then :
4802 ac_cv_safe_to_define___extensions__
=yes
4804 ac_cv_safe_to_define___extensions__
=no
4806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4809 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4810 test $ac_cv_safe_to_define___extensions__ = yes &&
4811 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4813 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4815 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4817 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4819 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4829 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4834 macro_version
='2.2.7a'
4835 macro_revision
='1.3134'
4849 ltmain
="$ac_aux_dir/ltmain.sh"
4851 # Backslashify metacharacters that are still active within
4852 # double-quoted strings.
4853 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4855 # Same as above, but do not quote variable references.
4856 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4858 # Sed substitution to delay expansion of an escaped shell variable in a
4859 # double_quote_subst'ed string.
4860 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4862 # Sed substitution to delay expansion of an escaped single quote.
4863 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4865 # Sed substitution to avoid accidental globbing in evaled expressions
4866 no_glob_subst
='s/\*/\\\*/g'
4868 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4869 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4870 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4873 $as_echo_n "checking how to print strings... " >&6; }
4874 # Test print first, because it will be a builtin if present.
4875 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4876 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4878 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4881 # Use this function as a fallback that always works.
4882 func_fallback_echo ()
4884 eval 'cat <<_LTECHO_EOF
4888 ECHO='func_fallback_echo
'
4891 # func_echo_all arg...
4892 # Invoke $ECHO with all args, space-separated.
4899 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4900 $as_echo "printf" >&6; } ;;
4901 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4902 $as_echo "print -r" >&6; } ;;
4903 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4904 $as_echo "cat" >&6; } ;;
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4921 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4922 if test "${ac_cv_path_SED+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4926 for ac_i in 1 2 3 4 5 6 7; do
4927 ac_script="$ac_script$as_nl$ac_script"
4929 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4930 { ac_script=; unset ac_script;}
4931 if test -z "$SED"; then
4932 ac_path_SED_found=false
4933 # Loop through the user's path and
test for each of PROGNAME-LIST
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_prog
in sed gsed
; do
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4942 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4943 # Check for GNU ac_path_SED and select it if it is found.
4944 # Check for GNU $ac_path_SED
4945 case `"$ac_path_SED" --version 2>&1` in
4947 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4950 $as_echo_n 0123456789 >"conftest.in"
4953 cat "conftest.in" "conftest.in" >"conftest.tmp"
4954 mv "conftest.tmp" "conftest.in"
4955 cp "conftest.in" "conftest.nl"
4956 $as_echo '' >> "conftest.nl"
4957 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4958 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4959 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4960 if test $ac_count -gt ${ac_path_SED_max-0}; then
4961 # Best one so far, save it but keep looking for a better one
4962 ac_cv_path_SED
="$ac_path_SED"
4963 ac_path_SED_max
=$ac_count
4965 # 10*(2^10) chars as input seems more than enough
4966 test $ac_count -gt 10 && break
4968 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4971 $ac_path_SED_found && break 3
4976 if test -z "$ac_cv_path_SED"; then
4977 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4985 $as_echo "$ac_cv_path_SED" >&6; }
4986 SED
="$ac_cv_path_SED"
4989 test -z "$SED" && SED
=sed
4990 Xsed
="$SED -e 1s/^X//"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5003 $as_echo_n "checking for fgrep... " >&6; }
5004 if test "${ac_cv_path_FGREP+set}" = set; then :
5005 $as_echo_n "(cached) " >&6
5007 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5008 then ac_cv_path_FGREP
="$GREP -F"
5010 if test -z "$FGREP"; then
5011 ac_path_FGREP_found
=false
5012 # Loop through the user's path and test for each of PROGNAME-LIST
5013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5017 test -z "$as_dir" && as_dir
=.
5018 for ac_prog
in fgrep
; do
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5021 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5022 # Check for GNU ac_path_FGREP and select it if it is found.
5023 # Check for GNU $ac_path_FGREP
5024 case `"$ac_path_FGREP" --version 2>&1` in
5026 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5029 $as_echo_n 0123456789 >"conftest.in"
5032 cat "conftest.in" "conftest.in" >"conftest.tmp"
5033 mv "conftest.tmp" "conftest.in"
5034 cp "conftest.in" "conftest.nl"
5035 $as_echo 'FGREP' >> "conftest.nl"
5036 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5037 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5038 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5039 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5040 # Best one so far, save it but keep looking for a better one
5041 ac_cv_path_FGREP
="$ac_path_FGREP"
5042 ac_path_FGREP_max
=$ac_count
5044 # 10*(2^10) chars as input seems more than enough
5045 test $ac_count -gt 10 && break
5047 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5050 $ac_path_FGREP_found && break 3
5055 if test -z "$ac_cv_path_FGREP"; then
5056 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5059 ac_cv_path_FGREP
=$FGREP
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5065 $as_echo "$ac_cv_path_FGREP" >&6; }
5066 FGREP
="$ac_cv_path_FGREP"
5069 test -z "$GREP" && GREP
=grep
5089 # Check whether --with-gnu-ld was given.
5090 if test "${with_gnu_ld+set}" = set; then :
5091 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5097 if test "$GCC" = yes; then
5098 # Check if gcc -print-prog-name=ld gives a path.
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5100 $as_echo_n "checking for ld used by $CC... " >&6; }
5103 # gcc leaves a trailing carriage return which upsets mingw
5104 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5106 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5109 # Accept absolute paths.
5111 re_direlt
='/[^/][^/]*/\.\./'
5112 # Canonicalize the pathname of ld
5113 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5114 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5115 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5117 test -z "$LD" && LD
="$ac_prog"
5120 # If it fails, then pretend we aren't using GCC.
5124 # If it is relative, then search for the first ld in PATH.
5128 elif test "$with_gnu_ld" = yes; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5130 $as_echo_n "checking for GNU ld... " >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5133 $as_echo_n "checking for non-GNU ld... " >&6; }
5135 if test "${lt_cv_path_LD+set}" = set; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -z "$LD"; then
5139 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5140 for ac_dir
in $PATH; do
5142 test -z "$ac_dir" && ac_dir
=.
5143 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5144 lt_cv_path_LD
="$ac_dir/$ac_prog"
5145 # Check to see if the program is GNU ld. I'd rather use --version,
5146 # but apparently some variants of GNU ld only accept -v.
5147 # Break only if it was the GNU/non-GNU ld that we prefer.
5148 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5149 *GNU
* |
*'with BFD'*)
5150 test "$with_gnu_ld" != no
&& break
5153 test "$with_gnu_ld" != yes && break
5160 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5165 if test -n "$LD"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5167 $as_echo "$LD" >&6; }
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5172 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5174 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5175 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5178 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5179 case `$LD -v 2>&1 </dev/null` in
5180 *GNU
* |
*'with BFD'*)
5181 lt_cv_prog_gnu_ld
=yes
5184 lt_cv_prog_gnu_ld
=no
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5189 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5190 with_gnu_ld
=$lt_cv_prog_gnu_ld
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5201 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5202 if test "${lt_cv_path_NM+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$NM"; then
5206 # Let the user override the test.
5209 lt_nm_to_check
="${ac_tool_prefix}nm"
5210 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5211 lt_nm_to_check
="$lt_nm_to_check nm"
5213 for lt_tmp_nm
in $lt_nm_to_check; do
5214 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5215 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5217 test -z "$ac_dir" && ac_dir
=.
5218 tmp_nm
="$ac_dir/$lt_tmp_nm"
5219 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5220 # Check to see if the nm accepts a BSD-compat flag.
5221 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5222 # nm: unknown option "B" ignored
5223 # Tru64's nm complains that /dev/null is an invalid object file
5224 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5225 */dev
/null
* |
*'Invalid file or object type'*)
5226 lt_cv_path_NM
="$tmp_nm -B"
5230 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5232 lt_cv_path_NM
="$tmp_nm -p"
5236 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5237 continue # so that we can try to find one that supports BSD flags
5246 : ${lt_cv_path_NM=no}
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5250 $as_echo "$lt_cv_path_NM" >&6; }
5251 if test "$lt_cv_path_NM" != "no"; then
5254 # Didn't find any BSD compatible name lister, look for dumpbin.
5255 if test -n "$DUMPBIN"; then :
5256 # Let the user override the test.
5258 if test -n "$ac_tool_prefix"; then
5259 for ac_prog
in dumpbin
"link -dump"
5261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5262 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$DUMPBIN"; then
5269 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 DUMPBIN
=$ac_cv_prog_DUMPBIN
5289 if test -n "$DUMPBIN"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5291 $as_echo "$DUMPBIN" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5298 test -n "$DUMPBIN" && break
5301 if test -z "$DUMPBIN"; then
5302 ac_ct_DUMPBIN
=$DUMPBIN
5303 for ac_prog
in dumpbin
"link -dump"
5305 # Extract the first word of "$ac_prog", so it can be a program name with args.
5306 set dummy
$ac_prog; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -n "$ac_ct_DUMPBIN"; then
5313 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5333 if test -n "$ac_ct_DUMPBIN"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5335 $as_echo "$ac_ct_DUMPBIN" >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5342 test -n "$ac_ct_DUMPBIN" && break
5345 if test "x$ac_ct_DUMPBIN" = x
; then
5348 case $cross_compiling:$ac_tool_warned in
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5352 ac_tool_warned
=yes ;;
5354 DUMPBIN
=$ac_ct_DUMPBIN
5358 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5360 DUMPBIN
="$DUMPBIN -symbols"
5368 if test "$DUMPBIN" != ":"; then
5372 test -z "$NM" && NM
=nm
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5380 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5381 if test "${lt_cv_nm_interface+set}" = set; then :
5382 $as_echo_n "(cached) " >&6
5384 lt_cv_nm_interface
="BSD nm"
5385 echo "int some_variable = 0;" > conftest.
$ac_ext
5386 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5387 (eval "$ac_compile" 2>conftest.err
)
5388 cat conftest.err
>&5
5389 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5390 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5391 cat conftest.err
>&5
5392 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5393 cat conftest.out
>&5
5394 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5395 lt_cv_nm_interface
="MS dumpbin"
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5400 $as_echo "$lt_cv_nm_interface" >&6; }
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5403 $as_echo_n "checking whether ln -s works... " >&6; }
5405 if test "$LN_S" = "ln -s"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5407 $as_echo "yes" >&6; }
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5410 $as_echo "no, using $LN_S" >&6; }
5413 # find the maximum length of command line arguments
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5415 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5416 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5417 $as_echo_n "(cached) " >&6
5424 # On DJGPP, this test can blow up pretty badly due to problems in libc
5425 # (any single argument exceeding 2000 bytes causes a buffer overrun
5426 # during glob expansion). Even if it were fixed, the result of this
5427 # check would be larger than it should be.
5428 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5432 # Under GNU Hurd, this test is not required because there is
5433 # no limit to the length of command line arguments.
5434 # Libtool will interpret -1 as no limit whatsoever
5435 lt_cv_sys_max_cmd_len
=-1;
5438 cygwin
* | mingw
* | cegcc
*)
5439 # On Win9x/ME, this test blows up -- it succeeds, but takes
5440 # about 5 minutes as the teststring grows exponentially.
5441 # Worse, since 9x/ME are not pre-emptively multitasking,
5442 # you end up with a "frozen" computer, even though with patience
5443 # the test eventually succeeds (with a max line length of 256k).
5444 # Instead, let's just punt: use the minimum linelength reported by
5445 # all of the supported platforms: 8192 (on NT/2K/XP).
5446 lt_cv_sys_max_cmd_len
=8192;
5450 # On MiNT this can take a long time and run out of memory.
5451 lt_cv_sys_max_cmd_len
=8192;
5455 # On AmigaOS with pdksh, this test takes hours, literally.
5456 # So we just punt and use a minimum line length of 8192.
5457 lt_cv_sys_max_cmd_len
=8192;
5460 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5461 # This has been around since 386BSD, at least. Likely further.
5462 if test -x /sbin
/sysctl
; then
5463 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5464 elif test -x /usr
/sbin
/sysctl
; then
5465 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5467 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5469 # And add a safety zone
5470 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5471 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5475 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5476 lt_cv_sys_max_cmd_len
=196608
5480 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5481 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5482 # nice to cause kernel panics so lets avoid the loop below.
5483 # First set a reasonable default.
5484 lt_cv_sys_max_cmd_len
=16384
5486 if test -x /sbin
/sysconfig
; then
5487 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5488 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5493 lt_cv_sys_max_cmd_len
=102400
5495 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5496 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5497 if test -n "$kargmax"; then
5498 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5500 lt_cv_sys_max_cmd_len
=32768
5504 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5505 if test -n "$lt_cv_sys_max_cmd_len"; then
5506 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5507 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5509 # Make teststring a little bigger before we do anything with it.
5510 # a 1K string should be a reasonable start.
5511 for i
in 1 2 3 4 5 6 7 8 ; do
5512 teststring
=$teststring$teststring
5514 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5515 # If test is not a shell built-in, we'll probably end up computing a
5516 # maximum length that is only half of the actual maximum length, but
5518 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5519 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5520 test $i != 17 # 1/2 MB should be enough
5523 teststring
=$teststring$teststring
5525 # Only check the string length outside the loop.
5526 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5528 # Add a significant safety factor because C++ compilers can tack on
5529 # massive amounts of additional arguments before passing them to the
5530 # linker. It appears as though 1/2 is a usable value.
5531 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5538 if test -n $lt_cv_sys_max_cmd_len ; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5540 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5543 $as_echo "none" >&6; }
5545 max_cmd_len
=$lt_cv_sys_max_cmd_len
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5557 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5558 # Try some XSI features
5561 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5563 && eval 'test $(( 1 + 1 )) -eq 2 \
5564 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5567 $as_echo "$xsi_shell" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5571 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5573 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5575 && lt_shell_append=yes
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5577 $as_echo "$lt_shell_append" >&6; }
5580 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5590 # test EBCDIC or ASCII
5591 case `echo X|tr X '\101'` in
5592 A) # ASCII based system
5593 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5594 lt_SP2NL='tr \040 \012'
5595 lt_NL2SP='tr \015\012 \040\040'
5597 *) # EBCDIC based system
5598 lt_SP2NL='tr \100 \n'
5599 lt_NL2SP='tr \r\n \100\100'
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5612 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5613 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5614 $as_echo_n "(cached
) " >&6
5616 lt_cv_ld_reload_flag='-r'
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5619 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5620 reload_flag=$lt_cv_ld_reload_flag
5621 case $reload_flag in
5623 *) reload_flag=" $reload_flag" ;;
5625 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5628 if test "$GCC" = yes; then
5629 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5631 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5644 if test -n "$ac_tool_prefix"; then
5645 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5646 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5648 $as_echo_n "checking
for $ac_word...
" >&6; }
5649 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5650 $as_echo_n "(cached
) " >&6
5652 if test -n "$OBJDUMP"; then
5653 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5672 OBJDUMP=$ac_cv_prog_OBJDUMP
5673 if test -n "$OBJDUMP"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5675 $as_echo "$OBJDUMP" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5678 $as_echo "no
" >&6; }
5683 if test -z "$ac_cv_prog_OBJDUMP"; then
5684 ac_ct_OBJDUMP=$OBJDUMP
5685 # Extract the first word of "objdump
", so it can be a program name with args.
5686 set dummy objdump; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5688 $as_echo_n "checking
for $ac_word...
" >&6; }
5689 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5690 $as_echo_n "(cached
) " >&6
5692 if test -n "$ac_ct_OBJDUMP"; then
5693 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5712 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5713 if test -n "$ac_ct_OBJDUMP"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5715 $as_echo "$ac_ct_OBJDUMP" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5718 $as_echo "no
" >&6; }
5721 if test "x
$ac_ct_OBJDUMP" = x; then
5724 case $cross_compiling:$ac_tool_warned in
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5727 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5728 ac_tool_warned=yes ;;
5730 OBJDUMP=$ac_ct_OBJDUMP
5733 OBJDUMP="$ac_cv_prog_OBJDUMP"
5736 test -z "$OBJDUMP" && OBJDUMP=objdump
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5747 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5748 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5749 $as_echo_n "(cached
) " >&6
5751 lt_cv_file_magic_cmd='$MAGIC_CMD'
5752 lt_cv_file_magic_test_file=
5753 lt_cv_deplibs_check_method='unknown'
5754 # Need to set the preceding variable on all platforms that support
5755 # interlibrary dependencies.
5756 # 'none' -- dependencies not supported.
5757 # `unknown' -- same as none, but documents that we really don't know.
5758 # 'pass_all' -- all dependencies passed with no checks.
5759 # 'test_compile' -- check by making test program.
5760 # 'file_magic [[regex]]' -- check by looking for files in library path
5761 # which responds to the $file_magic_cmd with a given extended regex.
5762 # If you have `file' or equivalent on your system and you're not sure
5763 # whether `pass_all' will *always* work, you probably want this one.
5767 lt_cv_deplibs_check_method=pass_all
5771 lt_cv_deplibs_check_method=pass_all
5775 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5776 lt_cv_file_magic_cmd='/usr/bin/file -L'
5777 lt_cv_file_magic_test_file=/shlib/libc.so
5781 # func_win32_libid is a shell function defined in ltmain.sh
5782 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5783 lt_cv_file_magic_cmd='func_win32_libid'
5787 # Base MSYS/MinGW do not provide the 'file' command needed by
5788 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5789 # unless we find 'file', for example because we are cross-compiling.
5790 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5791 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5792 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5793 lt_cv_file_magic_cmd='func_win32_libid'
5795 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5796 lt_cv_file_magic_cmd='$OBJDUMP -f'
5801 # use the weaker test based on 'objdump'. See mingw*.
5802 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5803 lt_cv_file_magic_cmd='$OBJDUMP -f'
5806 darwin* | rhapsody*)
5807 lt_cv_deplibs_check_method=pass_all
5810 freebsd* | dragonfly*)
5811 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5814 # Not sure whether the presence of OpenBSD here was a mistake.
5815 # Let's accept both of them until this is cleared up.
5816 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5817 lt_cv_file_magic_cmd=/usr/bin/file
5818 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5822 lt_cv_deplibs_check_method=pass_all
5827 lt_cv_deplibs_check_method=pass_all
5831 lt_cv_deplibs_check_method=pass_all
5834 hpux10.20* | hpux11*)
5835 lt_cv_file_magic_cmd=/usr/bin/file
5838 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5839 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5842 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]'
5843 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5846 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5847 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5853 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5854 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5857 irix5* | irix6* | nonstopux*)
5859 *-32|*"-32 ") libmagic=32-bit;;
5860 *-n32|*"-n32 ") libmagic=N32;;
5861 *-64|*"-64 ") libmagic=64-bit;;
5862 *) libmagic=never-match;;
5864 lt_cv_deplibs_check_method=pass_all
5867 # This must be Linux ELF.
5868 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5869 lt_cv_deplibs_check_method=pass_all
5873 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5874 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5876 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5881 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5882 lt_cv_file_magic_cmd=/usr/bin/file
5883 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5887 lt_cv_deplibs_check_method=pass_all
5891 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5892 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5894 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5898 osf3* | osf4* | osf5*)
5899 lt_cv_deplibs_check_method=pass_all
5903 lt_cv_deplibs_check_method=pass_all
5907 lt_cv_deplibs_check_method=pass_all
5910 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5911 lt_cv_deplibs_check_method=pass_all
5915 case $host_vendor in
5917 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]'
5918 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5921 lt_cv_deplibs_check_method=pass_all
5924 lt_cv_file_magic_cmd='/bin/file'
5925 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5928 lt_cv_file_magic_cmd='/bin/file'
5929 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5930 lt_cv_file_magic_test_file=/lib/libc.so
5933 lt_cv_deplibs_check_method=pass_all
5936 lt_cv_deplibs_check_method=pass_all
5942 lt_cv_deplibs_check_method=pass_all
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5948 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5949 file_magic_cmd=$lt_cv_file_magic_cmd
5950 deplibs_check_method=$lt_cv_deplibs_check_method
5951 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5964 if test -n "$ac_tool_prefix"; then
5965 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5966 set dummy ${ac_tool_prefix}ar; ac_word=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5968 $as_echo_n "checking
for $ac_word...
" >&6; }
5969 if test "${ac_cv_prog_AR+set}" = set; then :
5970 $as_echo_n "(cached
) " >&6
5972 if test -n "$AR"; then
5973 ac_cv_prog_AR="$AR" # Let the user override the test.
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 test -z "$as_dir" && as_dir=.
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982 ac_cv_prog_AR="${ac_tool_prefix}ar"
5983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5993 if test -n "$AR"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5995 $as_echo "$AR" >&6; }
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5998 $as_echo "no
" >&6; }
6003 if test -z "$ac_cv_prog_AR"; then
6005 # Extract the first word of "ar", so it can be a program name with args.
6006 set dummy ar; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6008 $as_echo_n "checking
for $ac_word...
" >&6; }
6009 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6010 $as_echo_n "(cached
) " >&6
6012 if test -n "$ac_ct_AR"; then
6013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6022 ac_cv_prog_ac_ct_AR="ar"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6032 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6033 if test -n "$ac_ct_AR"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6035 $as_echo "$ac_ct_AR" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6038 $as_echo "no
" >&6; }
6041 if test "x
$ac_ct_AR" = x; then
6044 case $cross_compiling:$ac_tool_warned in
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6047 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6048 ac_tool_warned=yes ;;
6056 test -z "$AR" && AR=ar
6057 test -z "$AR_FLAGS" && AR_FLAGS=cru
6069 if test -n "$ac_tool_prefix"; then
6070 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6071 set dummy ${ac_tool_prefix}strip; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6073 $as_echo_n "checking
for $ac_word...
" >&6; }
6074 if test "${ac_cv_prog_STRIP+set}" = set; then :
6075 $as_echo_n "(cached
) " >&6
6077 if test -n "$STRIP"; then
6078 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 test -z "$as_dir" && as_dir=.
6085 for ac_exec_ext in '' $ac_executable_extensions; do
6086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6087 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6097 STRIP=$ac_cv_prog_STRIP
6098 if test -n "$STRIP"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6100 $as_echo "$STRIP" >&6; }
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6103 $as_echo "no
" >&6; }
6108 if test -z "$ac_cv_prog_STRIP"; then
6110 # Extract the first word of "strip
", so it can be a program name with args.
6111 set dummy strip; ac_word=$2
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6113 $as_echo_n "checking
for $ac_word...
" >&6; }
6114 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6115 $as_echo_n "(cached
) " >&6
6117 if test -n "$ac_ct_STRIP"; then
6118 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 test -z "$as_dir" && as_dir=.
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6127 ac_cv_prog_ac_ct_STRIP="strip
"
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6137 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6138 if test -n "$ac_ct_STRIP"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6140 $as_echo "$ac_ct_STRIP" >&6; }
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6143 $as_echo "no
" >&6; }
6146 if test "x
$ac_ct_STRIP" = x; then
6149 case $cross_compiling:$ac_tool_warned in
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6152 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6153 ac_tool_warned=yes ;;
6158 STRIP="$ac_cv_prog_STRIP"
6161 test -z "$STRIP" && STRIP=:
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6172 $as_echo_n "checking
for $ac_word...
" >&6; }
6173 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6174 $as_echo_n "(cached
) " >&6
6176 if test -n "$RANLIB"; then
6177 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6196 RANLIB=$ac_cv_prog_RANLIB
6197 if test -n "$RANLIB"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6199 $as_echo "$RANLIB" >&6; }
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6202 $as_echo "no
" >&6; }
6207 if test -z "$ac_cv_prog_RANLIB"; then
6208 ac_ct_RANLIB=$RANLIB
6209 # Extract the first word of "ranlib
", so it can be a program name with args.
6210 set dummy ranlib; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6212 $as_echo_n "checking
for $ac_word...
" >&6; }
6213 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6214 $as_echo_n "(cached
) " >&6
6216 if test -n "$ac_ct_RANLIB"; then
6217 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6236 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6237 if test -n "$ac_ct_RANLIB"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6239 $as_echo "$ac_ct_RANLIB" >&6; }
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6242 $as_echo "no
" >&6; }
6245 if test "x
$ac_ct_RANLIB" = x; then
6248 case $cross_compiling:$ac_tool_warned in
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6251 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6252 ac_tool_warned=yes ;;
6254 RANLIB=$ac_ct_RANLIB
6257 RANLIB="$ac_cv_prog_RANLIB"
6260 test -z "$RANLIB" && RANLIB=:
6267 # Determine commands to create old-style static archives.
6268 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6269 old_postinstall_cmds='chmod 644 $oldlib'
6270 old_postuninstall_cmds=
6272 if test -n "$RANLIB"; then
6275 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6278 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6281 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6286 lock_old_archive_extraction=yes ;;
6288 lock_old_archive_extraction=no ;;
6329 # If no C compiler was specified, use CC.
6332 # If no C compiler flags were specified, use CFLAGS.
6333 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6335 # Allow CC to be a program name with arguments.
6339 # Check for command to grab the raw symbol name followed by C symbol from nm.
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6341 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6342 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6343 $as_echo_n "(cached
) " >&6
6346 # These are sane defaults that work on at least a few old systems.
6347 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6349 # Character class describing NM global symbol codes.
6350 symcode='[BCDEGRST]'
6352 # Regexp to match symbols that can be accessed directly from C.
6353 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6355 # Define system-specific variables.
6360 cygwin* | mingw* | pw32* | cegcc*)
6361 symcode='[ABCDGISTW]'
6364 if test "$host_cpu" = ia64; then
6365 symcode='[ABCDEGRST]'
6369 symcode='[BCDEGRST]'
6372 symcode='[BCDEGQRST]'
6383 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6391 # If we're using GNU nm, then use its standard symbol codes.
6392 case `$NM -V 2>&1` in
6393 *GNU* | *'with BFD'*)
6394 symcode='[ABCDGIRSTW]' ;;
6397 # Transform an extracted symbol line into a proper C declaration.
6398 # Some systems (esp. on ia64) link data and code symbols differently,
6399 # so use this general approach.
6400 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6402 # Transform an extracted symbol line into symbol name and symbol address
6403 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6404 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'"
6406 # Handle CRLF in mingw tool chain
6410 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6414 # Try without a prefix underscore, then with it.
6415 for ac_symprfx in "" "_
"; do
6417 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6418 symxfrm="\\1 $ac_symprfx\\2 \\2"
6420 # Write the raw and C identifiers.
6421 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6422 # Fake it for dumpbin and say T for any non-static function
6423 # and D for any global variable.
6424 # Also find C++ and __fastcall symbols from MSVC++,
6425 # which start with @ or ?.
6426 lt_cv_sys_global_symbol_pipe="$AWK '"\
6427 " {last_section=section; section=\$ 3};"\
6428 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6429 " \$ 0!~/External *\|/{next};"\
6430 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6431 " {if(hide[section]) next};"\
6432 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6433 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6434 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6435 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6436 " ' prfx
=^
$ac_symprfx"
6438 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6441 # Check to see that the pipe works correctly.
6445 cat > conftest.$ac_ext <<_LT_EOF
6450 void nm_test_func(void);
6451 void nm_test_func(void){}
6455 int main(){nm_test_var='a';nm_test_func();return(0);}
6458 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6459 (eval $ac_compile) 2>&5
6461 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6462 test $ac_status = 0; }; then
6463 # Now try to grab the symbols.
6465 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6466 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6468 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6469 test $ac_status = 0; } && test -s "$nlist"; then
6470 # Try sorting and uniquifying the output.
6471 if sort "$nlist" | uniq > "$nlist"T; then
6472 mv -f "$nlist"T "$nlist"
6477 # Make sure that we snagged all the symbols we need.
6478 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6479 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6480 cat <<_LT_EOF > conftest.$ac_ext
6486 # Now generate the symbol file.
6487 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6489 cat <<_LT_EOF >> conftest.$ac_ext
6491 /* The mapping between symbol names and symbols. */
6496 lt__PROGRAM__LTX_preloaded_symbols[] =
6498 { "@PROGRAM@
", (void *) 0 },
6500 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6501 cat <<\_LT_EOF >> conftest.$ac_ext
6505 /* This works around a problem in FreeBSD linker */
6506 #ifdef FREEBSD_WORKAROUND
6507 static const void *lt_preloaded_setup() {
6508 return lt__PROGRAM__LTX_preloaded_symbols;
6516 # Now try linking the two files.
6517 mv conftest.$ac_objext conftstm.$ac_objext
6518 lt_save_LIBS="$LIBS"
6519 lt_save_CFLAGS="$CFLAGS"
6520 LIBS="conftstm.
$ac_objext"
6521 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6522 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6523 (eval $ac_link) 2>&5
6525 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6526 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6529 LIBS="$lt_save_LIBS"
6530 CFLAGS="$lt_save_CFLAGS"
6532 echo "cannot
find nm_test_func
in $nlist" >&5
6535 echo "cannot
find nm_test_var
in $nlist" >&5
6538 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6541 echo "$progname: failed program was
:" >&5
6542 cat conftest.$ac_ext >&5
6544 rm -rf conftest* conftst*
6546 # Do not use the global_symbol_pipe unless it works.
6547 if test "$pipe_works" = yes; then
6550 lt_cv_sys_global_symbol_pipe=
6556 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6557 lt_cv_sys_global_symbol_to_cdecl=
6559 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6561 $as_echo "failed
" >&6; }
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6564 $as_echo "ok
" >&6; }
6588 # Check whether --enable-libtool-lock was given.
6589 if test "${enable_libtool_lock+set}" = set; then :
6590 enableval=$enable_libtool_lock;
6593 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6595 # Some flags need to be propagated to the compiler or linker for good
6599 # Find out which ABI we are using.
6600 echo 'int i;' > conftest.$ac_ext
6601 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6602 (eval $ac_compile) 2>&5
6604 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6605 test $ac_status = 0; }; then
6606 case `/usr/bin/file conftest.$ac_objext` in
6618 # Find out which ABI we are using.
6619 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6620 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6621 (eval $ac_compile) 2>&5
6623 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6624 test $ac_status = 0; }; then
6625 if test "$lt_cv_prog_gnu_ld" = yes; then
6626 case `/usr/bin/file conftest.$ac_objext` in
6628 LD="${LD-ld} -melf32bsmip"
6631 LD="${LD-ld} -melf32bmipn32"
6634 LD="${LD-ld} -melf64bmip"
6638 case `/usr/bin/file conftest.$ac_objext` in
6654 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6655 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6656 # Find out which ABI we are using.
6657 echo 'int i;' > conftest.$ac_ext
6658 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6659 (eval $ac_compile) 2>&5
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6662 test $ac_status = 0; }; then
6663 case `/usr/bin/file conftest.o` in
6666 x86_64-*kfreebsd*-gnu)
6667 LD="${LD-ld} -m elf_i386_fbsd
"
6670 case `/usr/bin/file conftest.o` in
6672 LD="${LD-ld} -m elf32_x86_64
"
6675 LD="${LD-ld} -m elf_i386
"
6679 powerpc64le-*linux*)
6680 LD="${LD-ld} -m elf32lppclinux
"
6683 LD="${LD-ld} -m elf32ppclinux
"
6686 LD="${LD-ld} -m elf_s390
"
6689 LD="${LD-ld} -m elf32_sparc
"
6695 x86_64-*kfreebsd*-gnu)
6696 LD="${LD-ld} -m elf_x86_64_fbsd
"
6699 LD="${LD-ld} -m elf_x86_64
"
6702 LD="${LD-ld} -m elf64lppc
"
6705 LD="${LD-ld} -m elf64ppc
"
6707 s390*-*linux*|s390*-*tpf*)
6708 LD="${LD-ld} -m elf64_s390
"
6711 LD="${LD-ld} -m elf64_sparc
"
6721 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6722 SAVE_CFLAGS="$CFLAGS"
6723 CFLAGS="$CFLAGS -belf"
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6725 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6726 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6727 $as_echo_n "(cached
) " >&6
6730 ac_cpp='$CPP $CPPFLAGS'
6731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6746 if ac_fn_c_try_link "$LINENO"; then :
6747 lt_cv_cc_needs_belf=yes
6749 lt_cv_cc_needs_belf=no
6751 rm -f core conftest.err conftest.$ac_objext \
6752 conftest$ac_exeext conftest.$ac_ext
6754 ac_cpp='$CPP $CPPFLAGS'
6755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6761 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6762 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6763 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6764 CFLAGS="$SAVE_CFLAGS"
6768 # Find out which ABI we are using.
6769 echo 'int i;' > conftest.$ac_ext
6770 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771 (eval $ac_compile) 2>&5
6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6774 test $ac_status = 0; }; then
6775 case `/usr/bin/file conftest.o` in
6777 case $lt_cv_prog_gnu_ld in
6778 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6780 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6792 need_locks="$enable_libtool_lock"
6796 rhapsody* | darwin*)
6797 if test -n "$ac_tool_prefix"; then
6798 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6799 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6801 $as_echo_n "checking
for $ac_word...
" >&6; }
6802 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6803 $as_echo_n "(cached
) " >&6
6805 if test -n "$DSYMUTIL"; then
6806 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6825 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6826 if test -n "$DSYMUTIL"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6828 $as_echo "$DSYMUTIL" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6831 $as_echo "no
" >&6; }
6836 if test -z "$ac_cv_prog_DSYMUTIL"; then
6837 ac_ct_DSYMUTIL=$DSYMUTIL
6838 # Extract the first word of "dsymutil
", so it can be a program name with args.
6839 set dummy dsymutil; ac_word=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6841 $as_echo_n "checking
for $ac_word...
" >&6; }
6842 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6843 $as_echo_n "(cached
) " >&6
6845 if test -n "$ac_ct_DSYMUTIL"; then
6846 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6865 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6866 if test -n "$ac_ct_DSYMUTIL"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6868 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6871 $as_echo "no
" >&6; }
6874 if test "x
$ac_ct_DSYMUTIL" = x; then
6877 case $cross_compiling:$ac_tool_warned in
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6880 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6881 ac_tool_warned=yes ;;
6883 DSYMUTIL=$ac_ct_DSYMUTIL
6886 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6891 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6893 $as_echo_n "checking
for $ac_word...
" >&6; }
6894 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6895 $as_echo_n "(cached
) " >&6
6897 if test -n "$NMEDIT"; then
6898 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir=.
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6907 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6917 NMEDIT=$ac_cv_prog_NMEDIT
6918 if test -n "$NMEDIT"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6920 $as_echo "$NMEDIT" >&6; }
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6923 $as_echo "no
" >&6; }
6928 if test -z "$ac_cv_prog_NMEDIT"; then
6929 ac_ct_NMEDIT=$NMEDIT
6930 # Extract the first word of "nmedit
", so it can be a program name with args.
6931 set dummy nmedit; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6933 $as_echo_n "checking
for $ac_word...
" >&6; }
6934 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6935 $as_echo_n "(cached
) " >&6
6937 if test -n "$ac_ct_NMEDIT"; then
6938 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir=.
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6958 if test -n "$ac_ct_NMEDIT"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6960 $as_echo "$ac_ct_NMEDIT" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6963 $as_echo "no
" >&6; }
6966 if test "x
$ac_ct_NMEDIT" = x; then
6969 case $cross_compiling:$ac_tool_warned in
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6972 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6973 ac_tool_warned=yes ;;
6975 NMEDIT=$ac_ct_NMEDIT
6978 NMEDIT="$ac_cv_prog_NMEDIT"
6981 if test -n "$ac_tool_prefix"; then
6982 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6983 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6985 $as_echo_n "checking
for $ac_word...
" >&6; }
6986 if test "${ac_cv_prog_LIPO+set}" = set; then :
6987 $as_echo_n "(cached
) " >&6
6989 if test -n "$LIPO"; then
6990 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir=.
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7009 LIPO=$ac_cv_prog_LIPO
7010 if test -n "$LIPO"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7012 $as_echo "$LIPO" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7015 $as_echo "no
" >&6; }
7020 if test -z "$ac_cv_prog_LIPO"; then
7022 # Extract the first word of "lipo
", so it can be a program name with args.
7023 set dummy lipo; ac_word=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7025 $as_echo_n "checking
for $ac_word...
" >&6; }
7026 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7027 $as_echo_n "(cached
) " >&6
7029 if test -n "$ac_ct_LIPO"; then
7030 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_prog_ac_ct_LIPO="lipo
"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7049 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7050 if test -n "$ac_ct_LIPO"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7052 $as_echo "$ac_ct_LIPO" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7055 $as_echo "no
" >&6; }
7058 if test "x
$ac_ct_LIPO" = x; then
7061 case $cross_compiling:$ac_tool_warned in
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7064 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7065 ac_tool_warned=yes ;;
7070 LIPO="$ac_cv_prog_LIPO"
7073 if test -n "$ac_tool_prefix"; then
7074 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7075 set dummy ${ac_tool_prefix}otool; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7077 $as_echo_n "checking
for $ac_word...
" >&6; }
7078 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7079 $as_echo_n "(cached
) " >&6
7081 if test -n "$OTOOL"; then
7082 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir=.
7089 for ac_exec_ext in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7101 OTOOL=$ac_cv_prog_OTOOL
7102 if test -n "$OTOOL"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7104 $as_echo "$OTOOL" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7107 $as_echo "no
" >&6; }
7112 if test -z "$ac_cv_prog_OTOOL"; then
7114 # Extract the first word of "otool
", so it can be a program name with args.
7115 set dummy otool; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7117 $as_echo_n "checking
for $ac_word...
" >&6; }
7118 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7119 $as_echo_n "(cached
) " >&6
7121 if test -n "$ac_ct_OTOOL"; then
7122 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_ac_ct_OTOOL="otool
"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7141 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7142 if test -n "$ac_ct_OTOOL"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7144 $as_echo "$ac_ct_OTOOL" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7147 $as_echo "no
" >&6; }
7150 if test "x
$ac_ct_OTOOL" = x; then
7153 case $cross_compiling:$ac_tool_warned in
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7156 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7157 ac_tool_warned=yes ;;
7162 OTOOL="$ac_cv_prog_OTOOL"
7165 if test -n "$ac_tool_prefix"; then
7166 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7167 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7169 $as_echo_n "checking
for $ac_word...
" >&6; }
7170 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7171 $as_echo_n "(cached
) " >&6
7173 if test -n "$OTOOL64"; then
7174 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7193 OTOOL64=$ac_cv_prog_OTOOL64
7194 if test -n "$OTOOL64"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7196 $as_echo "$OTOOL64" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7199 $as_echo "no
" >&6; }
7204 if test -z "$ac_cv_prog_OTOOL64"; then
7205 ac_ct_OTOOL64=$OTOOL64
7206 # Extract the first word of "otool64
", so it can be a program name with args.
7207 set dummy otool64; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7209 $as_echo_n "checking
for $ac_word...
" >&6; }
7210 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7211 $as_echo_n "(cached
) " >&6
7213 if test -n "$ac_ct_OTOOL64"; then
7214 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7223 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7233 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7234 if test -n "$ac_ct_OTOOL64"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7236 $as_echo "$ac_ct_OTOOL64" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7239 $as_echo "no
" >&6; }
7242 if test "x
$ac_ct_OTOOL64" = x; then
7245 case $cross_compiling:$ac_tool_warned in
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7248 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7249 ac_tool_warned=yes ;;
7251 OTOOL64=$ac_ct_OTOOL64
7254 OTOOL64="$ac_cv_prog_OTOOL64"
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7284 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7285 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7286 $as_echo_n "(cached
) " >&6
7288 lt_cv_apple_cc_single_mod=no
7289 if test -z "${LT_MULTI_MODULE}"; then
7290 # By default we will add the -single_module flag. You can override
7291 # by either setting the environment variable LT_MULTI_MODULE
7292 # non-empty at configure time, or by adding -multi_module to the
7294 rm -rf libconftest.dylib*
7295 echo "int foo
(void
){return 1;}" > conftest.c
7296 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7297 -dynamiclib -Wl,-single_module conftest.c
" >&5
7298 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7299 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7301 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7302 lt_cv_apple_cc_single_mod=yes
7304 cat conftest.err >&5
7306 rm -rf libconftest.dylib*
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7311 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7313 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7314 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7315 $as_echo_n "(cached
) " >&6
7317 lt_cv_ld_exported_symbols_list=no
7318 save_LDFLAGS=$LDFLAGS
7319 echo "_main
" > conftest.sym
7320 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7332 if ac_fn_c_try_link "$LINENO"; then :
7333 lt_cv_ld_exported_symbols_list=yes
7335 lt_cv_ld_exported_symbols_list=no
7337 rm -f core conftest.err conftest.$ac_objext \
7338 conftest$ac_exeext conftest.$ac_ext
7339 LDFLAGS="$save_LDFLAGS"
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7343 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7345 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7346 if test "${lt_cv_ld_force_load+set}" = set; then :
7347 $as_echo_n "(cached
) " >&6
7349 lt_cv_ld_force_load=no
7350 cat > conftest.c << _LT_EOF
7351 int forced_loaded() { return 2;}
7353 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7354 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7355 echo "$AR cru libconftest.a conftest.o
" >&5
7356 $AR cru libconftest.a conftest.o 2>&5
7357 cat > conftest.c << _LT_EOF
7358 int main() { return 0;}
7360 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7361 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7363 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7364 lt_cv_ld_force_load=yes
7366 cat conftest.err >&5
7368 rm -f conftest.err libconftest.a conftest conftest.c
7369 rm -rf conftest.dSYM
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7373 $as_echo "$lt_cv_ld_force_load" >&6; }
7375 rhapsody* | darwin1.[012])
7376 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7378 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7379 darwin*) # darwin 5.x on
7380 # if running on 10.5 or later, the deployment target defaults
7381 # to the OS version, if on x86, and 10.4, the deployment
7382 # target defaults to 10.4. Don't you love it?
7383 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7384 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7385 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7387 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7389 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7393 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7394 _lt_dar_single_mod='$single_module'
7396 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7397 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7399 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7401 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7402 _lt_dsymutil='~$DSYMUTIL $lib || :'
7409 for ac_header in dlfcn.h
7411 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7413 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7414 cat >>confdefs.h <<_ACEOF
7415 #define HAVE_DLFCN_H 1
7436 # Check whether --enable-shared was given.
7437 if test "${enable_shared+set}" = set; then :
7438 enableval=$enable_shared; p=${PACKAGE-default}
7440 yes) enable_shared=yes ;;
7441 no) enable_shared=no ;;
7444 # Look at the argument we got. We use all the common list separators.
7445 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7446 for pkg in $enableval; do
7448 if test "X
$pkg" = "X
$p"; then
7467 # Check whether --enable-static was given.
7468 if test "${enable_static+set}" = set; then :
7469 enableval=$enable_static; p=${PACKAGE-default}
7471 yes) enable_static=yes ;;
7472 no) enable_static=no ;;
7475 # Look at the argument we got. We use all the common list separators.
7476 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7477 for pkg in $enableval; do
7479 if test "X
$pkg" = "X
$p"; then
7499 # Check whether --with-pic was given.
7500 if test "${with_pic+set}" = set; then :
7501 withval=$with_pic; pic_mode="$withval"
7507 test -z "$pic_mode" && pic_mode=default
7515 # Check whether --enable-fast-install was given.
7516 if test "${enable_fast_install+set}" = set; then :
7517 enableval=$enable_fast_install; p=${PACKAGE-default}
7519 yes) enable_fast_install=yes ;;
7520 no) enable_fast_install=no ;;
7522 enable_fast_install=no
7523 # Look at the argument we got. We use all the common list separators.
7524 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7525 for pkg in $enableval; do
7527 if test "X
$pkg" = "X
$p"; then
7528 enable_fast_install=yes
7535 enable_fast_install=yes
7548 # This can be used to rebuild libtool when needed
7549 LIBTOOL_DEPS="$ltmain"
7551 # Always use our own libtool.
7552 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7579 test -z "$LN_S" && LN_S="ln -s"
7594 if test -n "${ZSH_VERSION+set}" ; then
7595 setopt NO_GLOB_SUBST
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7599 $as_echo_n "checking
for objdir...
" >&6; }
7600 if test "${lt_cv_objdir+set}" = set; then :
7601 $as_echo_n "(cached
) " >&6
7603 rm -f .libs 2>/dev/null
7604 mkdir .libs 2>/dev/null
7605 if test -d .libs; then
7608 # MS-DOS does not allow filenames that begin with a dot.
7611 rmdir .libs 2>/dev/null
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7614 $as_echo "$lt_cv_objdir" >&6; }
7615 objdir=$lt_cv_objdir
7621 cat >>confdefs.h <<_ACEOF
7622 #define LT_OBJDIR "$lt_cv_objdir/"
7630 # AIX sometimes has problems with the GCC collect2 program. For some
7631 # reason, if we set the COLLECT_NAMES environment variable, the problems
7632 # vanish in a puff of smoke.
7633 if test "X
${COLLECT_NAMES+set}" != Xset; then
7635 export COLLECT_NAMES
7642 can_build_shared=yes
7644 # All known linkers require a `.a' archive for static linking (except MSVC,
7645 # which needs '.lib').
7648 with_gnu_ld="$lt_cv_prog_gnu_ld"
7651 old_CFLAGS="$CFLAGS"
7653 # Set sane defaults for various variables
7654 test -z "$CC" && CC=cc
7655 test -z "$LTCC" && LTCC=$CC
7656 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7657 test -z "$LD" && LD=ld
7658 test -z "$ac_objext" && ac_objext=o
7660 for cc_temp in $compiler""; do
7662 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7663 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7668 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7671 # Only perform the check for file, if the check method requires it
7672 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7673 case $deplibs_check_method in
7675 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7677 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7678 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7679 $as_echo_n "(cached
) " >&6
7683 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7686 lt_save_MAGIC_CMD="$MAGIC_CMD"
7687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7688 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7689 for ac_dir in $ac_dummy; do
7691 test -z "$ac_dir" && ac_dir=.
7692 if test -f $ac_dir/${ac_tool_prefix}file; then
7693 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7694 if test -n "$file_magic_test_file"; then
7695 case $deplibs_check_method in
7697 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7698 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7699 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7700 $EGREP "$file_magic_regex" > /dev/null; then
7705 *** Warning: the command libtool uses to detect shared libraries,
7706 *** $file_magic_cmd, produces output that libtool cannot recognize.
7707 *** The result is that libtool may fail to recognize shared libraries
7708 *** as such. This will affect the creation of libtool libraries that
7709 *** depend on shared libraries, but programs linked with such libtool
7710 *** libraries will work regardless of this problem. Nevertheless, you
7711 *** may want to report the problem to your system manager and/or to
7712 *** bug-libtool@gnu.org
7722 MAGIC_CMD="$lt_save_MAGIC_CMD"
7727 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7728 if test -n "$MAGIC_CMD"; then
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7730 $as_echo "$MAGIC_CMD" >&6; }
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7733 $as_echo "no
" >&6; }
7740 if test -z "$lt_cv_path_MAGIC_CMD"; then
7741 if test -n "$ac_tool_prefix"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7743 $as_echo_n "checking
for file...
" >&6; }
7744 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7745 $as_echo_n "(cached
) " >&6
7749 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7752 lt_save_MAGIC_CMD="$MAGIC_CMD"
7753 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7754 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7755 for ac_dir in $ac_dummy; do
7757 test -z "$ac_dir" && ac_dir=.
7758 if test -f $ac_dir/file; then
7759 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7760 if test -n "$file_magic_test_file"; then
7761 case $deplibs_check_method in
7763 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7764 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7765 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7766 $EGREP "$file_magic_regex" > /dev/null; then
7771 *** Warning: the command libtool uses to detect shared libraries,
7772 *** $file_magic_cmd, produces output that libtool cannot recognize.
7773 *** The result is that libtool may fail to recognize shared libraries
7774 *** as such. This will affect the creation of libtool libraries that
7775 *** depend on shared libraries, but programs linked with such libtool
7776 *** libraries will work regardless of this problem. Nevertheless, you
7777 *** may want to report the problem to your system manager and/or to
7778 *** bug-libtool@gnu.org
7788 MAGIC_CMD="$lt_save_MAGIC_CMD"
7793 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7794 if test -n "$MAGIC_CMD"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7796 $as_echo "$MAGIC_CMD" >&6; }
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7799 $as_echo "no
" >&6; }
7812 # Use C for the default configuration in the libtool script
7816 ac_cpp='$CPP $CPPFLAGS'
7817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7822 # Source file extension for C test sources.
7825 # Object file extension for compiled C test sources.
7829 # Code to be used in simple compile tests
7830 lt_simple_compile_test_code="int some_variable
= 0;"
7832 # Code to be used in simple link tests
7833 lt_simple_link_test_code='int main(){return(0);}'
7841 # If no C compiler was specified, use CC.
7844 # If no C compiler flags were specified, use CFLAGS.
7845 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7847 # Allow CC to be a program name with arguments.
7850 # Save the default compiler, since it gets overwritten when the other
7851 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7852 compiler_DEFAULT=$CC
7854 # save warnings/boilerplate of simple test code
7855 ac_outfile=conftest.$ac_objext
7856 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7857 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7858 _lt_compiler_boilerplate=`cat conftest.err`
7861 ac_outfile=conftest.$ac_objext
7862 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7863 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7864 _lt_linker_boilerplate=`cat conftest.err`
7869 ## There is no encapsulation within the following macros, do not change
7870 ## the running order or otherwise move them around unless you know exactly
7871 ## what you are doing...
7872 if test -n "$compiler"; then
7874 lt_prog_compiler_no_builtin_flag=
7876 if test "$GCC" = yes; then
7877 case $cc_basename in
7879 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7881 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7885 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7886 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7887 $as_echo_n "(cached
) " >&6
7889 lt_cv_prog_compiler_rtti_exceptions=no
7890 ac_outfile=conftest.$ac_objext
7891 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7892 lt_compiler_flag="-fno-rtti -fno-exceptions"
7893 # Insert the option either (1) after the last *FLAGS variable, or
7894 # (2) before a word containing "conftest.
", or (3) at the end.
7895 # Note that $ac_compile itself does not contain backslashes and begins
7896 # with a dollar sign (not a hyphen), so the echo should work correctly.
7897 # The option is referenced via a variable to avoid confusing sed.
7898 lt_compile=`echo "$ac_compile" | $SED \
7899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7901 -e 's:$: $lt_compiler_flag:'`
7902 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7903 (eval "$lt_compile" 2>conftest.err)
7905 cat conftest.err >&5
7906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7907 if (exit $ac_status) && test -s "$ac_outfile"; then
7908 # The compiler can only warn and ignore the option if not recognized
7909 # So say no if there are warnings other than the usual output.
7910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7911 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7912 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7913 lt_cv_prog_compiler_rtti_exceptions=yes
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7920 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7922 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7923 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7935 lt_prog_compiler_wl=
7936 lt_prog_compiler_pic=
7937 lt_prog_compiler_static=
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7940 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7942 if test "$GCC" = yes; then
7943 lt_prog_compiler_wl='-Wl,'
7944 lt_prog_compiler_static='-static'
7948 # All AIX code is PIC.
7949 if test "$host_cpu" = ia64; then
7950 # AIX 5 now supports IA64 processor
7951 lt_prog_compiler_static='-Bstatic'
7953 lt_prog_compiler_pic='-fPIC'
7959 # see comment about AmigaOS4 .so support
7960 lt_prog_compiler_pic='-fPIC'
7963 # FIXME: we need at least 68020 code to build shared libraries, but
7964 # adding the `-m68020' flag to GCC prevents building anything better,
7966 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7971 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7972 # PIC is the default for these OSes.
7975 mingw* | cygwin* | pw32* | os2* | cegcc*)
7976 # This hack is so that the source file can tell whether it is being
7977 # built for inclusion in a dll (and should export symbols for example).
7978 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7979 # (--disable-auto-import) libraries
7980 lt_prog_compiler_pic='-DDLL_EXPORT'
7983 darwin* | rhapsody*)
7984 # PIC is the default on this platform
7985 # Common symbols not allowed in MH_DYLIB files
7986 lt_prog_compiler_pic='-fno-common'
7990 # PIC is the default for Haiku.
7991 # The "-static" flag exists, but is broken.
7992 lt_prog_compiler_static=
7996 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7997 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7998 # sets the default TLS model and affects inlining.
8004 lt_prog_compiler_pic='-fPIC'
8010 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8011 # Instead, we relocate shared libraries at runtime.
8015 # Just because we use GCC doesn't mean we suddenly get shared libraries
8016 # on systems that don't support them.
8017 lt_prog_compiler_can_build_shared=no
8022 # QNX uses GNU C++, but need to define -shared option too, otherwise
8024 lt_prog_compiler_pic='-fPIC -shared'
8028 if test -d /usr/nec; then
8029 lt_prog_compiler_pic=-Kconform_pic
8034 lt_prog_compiler_pic='-fPIC'
8038 case $cc_basename in
8039 nvcc*) # Cuda Compiler Driver 2.2
8040 lt_prog_compiler_wl='-Xlinker '
8041 lt_prog_compiler_pic='-Xcompiler -fPIC'
8045 # PORTME Check for flag to pass linker flags through the system compiler.
8048 lt_prog_compiler_wl='-Wl,'
8049 if test "$host_cpu" = ia64; then
8050 # AIX 5 now supports IA64 processor
8051 lt_prog_compiler_static='-Bstatic'
8053 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8057 mingw* | cygwin* | pw32* | os2* | cegcc*)
8058 # This hack is so that the source file can tell whether it is being
8059 # built for inclusion in a dll (and should export symbols for example).
8060 lt_prog_compiler_pic='-DDLL_EXPORT'
8063 hpux9* | hpux10* | hpux11*)
8064 lt_prog_compiler_wl='-Wl,'
8065 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8072 lt_prog_compiler_pic='+Z'
8075 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8076 lt_prog_compiler_static='${wl}-a ${wl}archive'
8079 irix5* | irix6* | nonstopux*)
8080 lt_prog_compiler_wl='-Wl,'
8081 # PIC (with -KPIC) is the default.
8082 lt_prog_compiler_static='-non_shared'
8085 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8086 case $cc_basename in
8087 # old Intel for x86_64 which still supported -KPIC.
8089 lt_prog_compiler_wl='-Wl,'
8090 lt_prog_compiler_pic='-KPIC'
8091 lt_prog_compiler_static='-static'
8093 # icc used to be incompatible with GCC.
8094 # ICC 10 doesn't accept -KPIC any more.
8096 lt_prog_compiler_wl='-Wl,'
8097 lt_prog_compiler_pic='-fPIC'
8098 lt_prog_compiler_static='-static'
8100 # Lahey Fortran 8.1.
8102 lt_prog_compiler_wl='-Wl,'
8103 lt_prog_compiler_pic='--shared'
8104 lt_prog_compiler_static='--static'
8106 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8107 # Portland Group compilers (*not* the Pentium gcc compiler,
8108 # which looks to be a dead project)
8109 lt_prog_compiler_wl='-Wl,'
8110 lt_prog_compiler_pic='-fpic'
8111 lt_prog_compiler_static='-Bstatic'
8114 lt_prog_compiler_wl='-Wl,'
8115 # All Alpha code is PIC.
8116 lt_prog_compiler_static='-non_shared'
8118 xl* | bgxl* | bgf* | mpixl*)
8119 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8120 lt_prog_compiler_wl='-Wl,'
8121 lt_prog_compiler_pic='-qpic'
8122 lt_prog_compiler_static='-qstaticlink'
8125 case `$CC -V 2>&1 | sed 5q` in
8126 *Sun\ F* | *Sun*Fortran*)
8127 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8128 lt_prog_compiler_pic='-KPIC'
8129 lt_prog_compiler_static='-Bstatic'
8130 lt_prog_compiler_wl=''
8134 lt_prog_compiler_pic='-KPIC'
8135 lt_prog_compiler_static='-Bstatic'
8136 lt_prog_compiler_wl='-Wl,'
8144 lt_prog_compiler_pic='-KPIC'
8145 lt_prog_compiler_static='-Bstatic'
8149 # QNX uses GNU C++, but need to define -shared option too, otherwise
8151 lt_prog_compiler_pic='-fPIC -shared'
8154 osf3* | osf4* | osf5*)
8155 lt_prog_compiler_wl='-Wl,'
8156 # All OSF/1 code is PIC.
8157 lt_prog_compiler_static='-non_shared'
8161 lt_prog_compiler_static='-non_shared'
8165 lt_prog_compiler_pic='-KPIC'
8166 lt_prog_compiler_static='-Bstatic'
8167 case $cc_basename in
8169 lt_prog_compiler_wl='-Qoption ld ';;
8171 lt_prog_compiler_wl='-Wl,';;
8176 lt_prog_compiler_wl='-Qoption ld '
8177 lt_prog_compiler_pic='-PIC'
8178 lt_prog_compiler_static='-Bstatic'
8181 sysv4 | sysv4.2uw2* | sysv4.3*)
8182 lt_prog_compiler_wl='-Wl,'
8183 lt_prog_compiler_pic='-KPIC'
8184 lt_prog_compiler_static='-Bstatic'
8188 if test -d /usr/nec ;then
8189 lt_prog_compiler_pic='-Kconform_pic'
8190 lt_prog_compiler_static='-Bstatic'
8194 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8195 lt_prog_compiler_wl='-Wl,'
8196 lt_prog_compiler_pic='-KPIC'
8197 lt_prog_compiler_static='-Bstatic'
8201 lt_prog_compiler_wl='-Wl,'
8202 lt_prog_compiler_can_build_shared=no
8206 lt_prog_compiler_pic='-pic'
8207 lt_prog_compiler_static='-Bstatic'
8211 lt_prog_compiler_can_build_shared=no
8217 # For platforms which do not support PIC, -DPIC is meaningless:
8219 lt_prog_compiler_pic=
8222 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8226 $as_echo "$lt_prog_compiler_pic" >&6; }
8234 # Check to make sure the PIC flag actually works.
8236 if test -n "$lt_prog_compiler_pic"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8238 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8239 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8240 $as_echo_n "(cached
) " >&6
8242 lt_cv_prog_compiler_pic_works=no
8243 ac_outfile=conftest.$ac_objext
8244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8245 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8246 # Insert the option either (1) after the last *FLAGS variable, or
8247 # (2) before a word containing "conftest.
", or (3) at the end.
8248 # Note that $ac_compile itself does not contain backslashes and begins
8249 # with a dollar sign (not a hyphen), so the echo should work correctly.
8250 # The option is referenced via a variable to avoid confusing sed.
8251 lt_compile=`echo "$ac_compile" | $SED \
8252 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8253 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8254 -e 's:$: $lt_compiler_flag:'`
8255 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8256 (eval "$lt_compile" 2>conftest.err)
8258 cat conftest.err >&5
8259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8260 if (exit $ac_status) && test -s "$ac_outfile"; then
8261 # The compiler can only warn and ignore the option if not recognized
8262 # So say no if there are warnings other than the usual output.
8263 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8264 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8265 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8266 lt_cv_prog_compiler_pic_works=yes
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8273 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8275 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8276 case $lt_prog_compiler_pic in
8278 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8281 lt_prog_compiler_pic=
8282 lt_prog_compiler_can_build_shared=no
8293 # Check to make sure the static flag actually works.
8295 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8297 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8298 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8299 $as_echo_n "(cached
) " >&6
8301 lt_cv_prog_compiler_static_works=no
8302 save_LDFLAGS="$LDFLAGS"
8303 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8304 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8305 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8306 # The linker can only warn and ignore the option if not recognized
8307 # So say no if there are warnings
8308 if test -s conftest.err; then
8309 # Append any errors to the config.log.
8310 cat conftest.err 1>&5
8311 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8312 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8313 if diff conftest.exp conftest.er2 >/dev/null; then
8314 lt_cv_prog_compiler_static_works=yes
8317 lt_cv_prog_compiler_static_works=yes
8321 LDFLAGS="$save_LDFLAGS"
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8325 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8327 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8330 lt_prog_compiler_static=
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8340 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8341 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8342 $as_echo_n "(cached
) " >&6
8344 lt_cv_prog_compiler_c_o=no
8345 $RM -r conftest 2>/dev/null
8349 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8351 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8352 # Insert the option either (1) after the last *FLAGS variable, or
8353 # (2) before a word containing "conftest.
", or (3) at the end.
8354 # Note that $ac_compile itself does not contain backslashes and begins
8355 # with a dollar sign (not a hyphen), so the echo should work correctly.
8356 lt_compile=`echo "$ac_compile" | $SED \
8357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8359 -e 's:$: $lt_compiler_flag:'`
8360 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8361 (eval "$lt_compile" 2>out/conftest.err)
8363 cat out/conftest.err >&5
8364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8365 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8367 # The compiler can only warn and ignore the option if not recognized
8368 # So say no if there are warnings
8369 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8370 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8371 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8372 lt_cv_prog_compiler_c_o=yes
8377 # SGI C++ compiler will create directory out/ii_files/ for
8378 # template instantiation
8379 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8380 $RM out/* && rmdir out
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8387 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8395 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8396 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8397 $as_echo_n "(cached
) " >&6
8399 lt_cv_prog_compiler_c_o=no
8400 $RM -r conftest 2>/dev/null
8404 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8406 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8407 # Insert the option either (1) after the last *FLAGS variable, or
8408 # (2) before a word containing "conftest.
", or (3) at the end.
8409 # Note that $ac_compile itself does not contain backslashes and begins
8410 # with a dollar sign (not a hyphen), so the echo should work correctly.
8411 lt_compile=`echo "$ac_compile" | $SED \
8412 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8414 -e 's:$: $lt_compiler_flag:'`
8415 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8416 (eval "$lt_compile" 2>out/conftest.err)
8418 cat out/conftest.err >&5
8419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8420 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8422 # The compiler can only warn and ignore the option if not recognized
8423 # So say no if there are warnings
8424 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8425 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8426 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8427 lt_cv_prog_compiler_c_o=yes
8432 # SGI C++ compiler will create directory out/ii_files/ for
8433 # template instantiation
8434 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8435 $RM out/* && rmdir out
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8442 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8447 hard_links="nottested
"
8448 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8449 # do not overwrite the value of need_locks provided by the user
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8451 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8454 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8456 ln conftest.a conftest.b 2>&5 || hard_links=no
8457 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8459 $as_echo "$hard_links" >&6; }
8460 if test "$hard_links" = no; then
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8462 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8475 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8478 allow_undefined_flag=
8479 always_export_symbols=no
8481 archive_expsym_cmds=
8482 compiler_needs_object=no
8483 enable_shared_with_static_runtimes=no
8484 export_dynamic_flag_spec=
8485 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8486 hardcode_automatic=no
8488 hardcode_direct_absolute=no
8489 hardcode_libdir_flag_spec=
8490 hardcode_libdir_flag_spec_ld=
8491 hardcode_libdir_separator=
8493 hardcode_shlibpath_var=unsupported
8495 link_all_deplibs=unknown
8498 old_archive_from_new_cmds=
8499 old_archive_from_expsyms_cmds=
8500 thread_safe_flag_spec=
8501 whole_archive_flag_spec=
8502 # include_expsyms should be a list of space-separated symbols to be *always*
8503 # included in the symbol list
8505 # exclude_expsyms can be an extended regexp of symbols to exclude
8506 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8507 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8508 # as well as any symbol that contains `d'.
8509 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8510 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8511 # platforms (ab)use it in PIC code, but their linkers get confused if
8512 # the symbol is explicitly referenced. Since portable code cannot
8513 # rely on this symbol name, it's probably fine to never include it in
8514 # preloaded symbol tables.
8515 # Exclude shared library initialization/finalization symbols.
8516 extract_expsyms_cmds=
8519 cygwin* | mingw* | pw32* | cegcc*)
8520 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8521 # When not using gcc, we currently assume that we are using
8522 # Microsoft Visual C++.
8523 if test "$GCC" != yes; then
8528 # we just hope/assume this is gcc and not c89 (= MSVC++)
8538 # On some targets, GNU ld is compatible enough with the native linker
8539 # that we're better off using the native interface for both.
8540 lt_use_gnu_ld_interface=no
8541 if test "$with_gnu_ld" = yes; then
8544 # The AIX port of GNU ld has always aspired to compatibility
8545 # with the native linker. However, as the warning in the GNU ld
8546 # block says, versions before 2.19.5* couldn't really create working
8547 # shared libraries, regardless of the interface used.
8548 case `$LD -v 2>&1` in
8549 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8550 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8551 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8553 lt_use_gnu_ld_interface=yes
8558 lt_use_gnu_ld_interface=yes
8563 if test "$lt_use_gnu_ld_interface" = yes; then
8564 # If archive_cmds runs LD, not CC, wlarc should be empty
8567 # Set some defaults for GNU ld with shared library support. These
8568 # are reset later if shared libraries are not supported. Putting them
8569 # here allows them to be overridden if necessary.
8570 runpath_var=LD_RUN_PATH
8571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8572 export_dynamic_flag_spec='${wl}--export-dynamic'
8573 # ancient GNU ld didn't support --whole-archive et. al.
8574 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8575 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8577 whole_archive_flag_spec=
8579 supports_anon_versioning=no
8580 case `$LD -v 2>&1` in
8581 *GNU\ gold*) supports_anon_versioning=yes ;;
8582 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8583 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8584 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8585 *\ 2.11.*) ;; # other 2.11 versions
8586 *) supports_anon_versioning=yes ;;
8589 # See if GNU ld supports shared libraries.
8592 # On AIX/PPC, the GNU linker is very broken
8593 if test "$host_cpu" != ia64; then
8597 *** Warning: the GNU linker, at least up to release 2.19, is reported
8598 *** to be unable to reliably create shared libraries on AIX.
8599 *** Therefore, libtool is disabling shared libraries support. If you
8600 *** really care for shared libraries, you may want to install binutils
8601 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8602 *** You will then need to restart the configuration process.
8611 # see comment about AmigaOS4 .so support
8612 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8613 archive_expsym_cmds=''
8616 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)'
8617 hardcode_libdir_flag_spec
='-L$libdir'
8618 hardcode_minus_L
=yes
8624 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8625 allow_undefined_flag
=unsupported
8626 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8627 # support --undefined. This deserves some investigation. FIXME
8628 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8634 cygwin
* | mingw
* | pw32
* | cegcc
*)
8635 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8636 # as there is no search path for DLLs.
8637 hardcode_libdir_flag_spec
='-L$libdir'
8638 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8639 allow_undefined_flag
=unsupported
8640 always_export_symbols
=no
8641 enable_shared_with_static_runtimes
=yes
8642 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8644 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8645 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8646 # If the export-symbols file already is a .def file (1st line
8647 # is EXPORTS), use it as is; otherwise, prepend...
8648 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8649 cp $export_symbols $output_objdir/$soname.def;
8651 echo EXPORTS > $output_objdir/$soname.def;
8652 cat $export_symbols >> $output_objdir/$soname.def;
8654 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8661 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8662 link_all_deplibs
=yes
8667 hardcode_shlibpath_var
=no
8668 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8669 export_dynamic_flag_spec
='${wl}-E'
8670 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8671 # Instead, shared libraries are loaded at an image base (0x10000000 by
8672 # default) and relocated if they conflict, which is a slow very memory
8673 # consuming and fragmenting process. To avoid this, we pick a random,
8674 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8675 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8676 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8677 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'
8680 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8682 if test "$host_os" = linux-dietlibc
; then
8683 case $cc_basename in
8684 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8687 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8688 && test "$tmp_diet" = no
8690 tmp_addflag
=' $pic_flag'
8691 tmp_sharedflag
='-shared'
8692 case $cc_basename,$host_cpu in
8693 pgcc
*) # Portland Group C compiler
8694 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'
8695 tmp_addflag
=' $pic_flag'
8697 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8698 # Portland Group f77 and f90 compilers
8699 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'
8700 tmp_addflag
=' $pic_flag -Mnomain' ;;
8701 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8702 tmp_addflag
=' -i_dynamic' ;;
8703 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8704 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8705 ifc
* | ifort
*) # Intel Fortran compiler
8706 tmp_addflag
=' -nofor_main' ;;
8707 lf95
*) # Lahey Fortran 8.1
8708 whole_archive_flag_spec
=
8709 tmp_sharedflag
='--shared' ;;
8710 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8711 tmp_sharedflag
='-qmkshrobj'
8713 nvcc
*) # Cuda Compiler Driver 2.2
8714 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'
8715 compiler_needs_object
=yes
8718 case `$CC -V 2>&1 | sed 5q` in
8719 *Sun\ C
*) # Sun C 5.9
8720 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'
8721 compiler_needs_object
=yes
8722 tmp_sharedflag
='-G' ;;
8723 *Sun\ F
*) # Sun Fortran 8.3
8724 tmp_sharedflag
='-G' ;;
8726 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8728 if test "x$supports_anon_versioning" = xyes
; then
8729 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8730 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8731 echo "local: *; };" >> $output_objdir/$libname.ver~
8732 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8735 case $cc_basename in
8736 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8737 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8738 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8739 hardcode_libdir_flag_spec
=
8740 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8741 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8742 if test "x$supports_anon_versioning" = xyes
; then
8743 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8744 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8745 echo "local: *; };" >> $output_objdir/$libname.ver~
8746 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8756 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8757 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8760 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8761 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8766 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8770 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8771 *** create shared libraries on Solaris systems. Therefore, libtool
8772 *** is disabling shared libraries support. We urge you to upgrade GNU
8773 *** binutils to release 2.9.1 or newer. Another option is to modify
8774 *** your PATH or compiler configuration so that the native linker is
8775 *** used, and then restart.
8778 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8779 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8780 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8786 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8787 case `$LD -v 2>&1` in
8788 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8792 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8793 *** reliably create shared libraries on SCO systems. Therefore, libtool
8794 *** is disabling shared libraries support. We urge you to upgrade GNU
8795 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8796 *** your PATH or compiler configuration so that the native linker is
8797 *** used, and then restart.
8802 # For security reasons, it is highly recommended that you always
8803 # use absolute paths for naming shared libraries, and exclude the
8804 # DT_RUNPATH tag from executables and libraries. But doing so
8805 # requires that you compile everything twice, which is a pain.
8806 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8807 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8808 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8809 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8818 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8821 hardcode_shlibpath_var
=no
8825 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8826 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8827 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8834 if test "$ld_shlibs" = no
; then
8836 hardcode_libdir_flag_spec
=
8837 export_dynamic_flag_spec
=
8838 whole_archive_flag_spec
=
8841 # PORTME fill in a description of your system's linker (not GNU ld)
8844 allow_undefined_flag
=unsupported
8845 always_export_symbols
=yes
8846 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'
8847 # Note: this linker hardcodes the directories in LIBPATH if there
8848 # are no directories specified by -L.
8849 hardcode_minus_L
=yes
8850 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8851 # Neither direct hardcoding nor static linking is supported with a
8853 hardcode_direct
=unsupported
8858 if test "$host_cpu" = ia64
; then
8859 # On IA64, the linker does run time linking by default, so we don't
8860 # have to do anything special.
8861 aix_use_runtimelinking
=no
8862 exp_sym_flag
='-Bexport'
8865 # If we're using GNU nm, then we don't want the "-C" option.
8866 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8867 # Also, AIX nm treats weak defined symbols like other global
8868 # defined symbols, whereas GNU nm marks them as "W".
8869 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8870 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'
8872 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8874 aix_use_runtimelinking
=no
8876 # Test if we are trying to use run time linking or normal
8877 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8878 # need to do runtime linking.
8879 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8880 for ld_flag
in $LDFLAGS; do
8881 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8882 aix_use_runtimelinking
=yes
8889 exp_sym_flag
='-bexport'
8890 no_entry_flag
='-bnoentry'
8893 # When large executables or shared objects are built, AIX ld can
8894 # have problems creating the table of contents. If linking a library
8895 # or program results in "error TOC overflow" add -mminimal-toc to
8896 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8897 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8901 hardcode_direct_absolute
=yes
8902 hardcode_libdir_separator
=':'
8903 link_all_deplibs
=yes
8904 file_list_spec
='${wl}-f,'
8906 if test "$GCC" = yes; then
8907 case $host_os in aix4.
[012]|aix4.
[012].
*)
8908 # We only want to do this on AIX 4.2 and lower, the check
8909 # below for broken collect2 doesn't work under 4.3+
8910 collect2name
=`${CC} -print-prog-name=collect2`
8911 if test -f "$collect2name" &&
8912 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8914 # We have reworked collect2
8917 # We have old collect2
8918 hardcode_direct
=unsupported
8919 # It fails to find uninstalled libraries when the uninstalled
8920 # path is not listed in the libpath. Setting hardcode_minus_L
8921 # to unsupported forces relinking
8922 hardcode_minus_L
=yes
8923 hardcode_libdir_flag_spec
='-L$libdir'
8924 hardcode_libdir_separator
=
8928 shared_flag
='-shared'
8929 if test "$aix_use_runtimelinking" = yes; then
8930 shared_flag
="$shared_flag "'${wl}-G'
8934 if test "$host_cpu" = ia64
; then
8935 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8936 # chokes on -Wl,-G. The following line is correct:
8939 if test "$aix_use_runtimelinking" = yes; then
8940 shared_flag
='${wl}-G'
8942 shared_flag
='${wl}-bM:SRE'
8947 export_dynamic_flag_spec
='${wl}-bexpall'
8948 # It seems that -bexpall does not export symbols beginning with
8949 # underscore (_), so it is better to generate a list of symbols to export.
8950 always_export_symbols
=yes
8951 if test "$aix_use_runtimelinking" = yes; then
8952 # Warning - without using the other runtime loading flags (-brtl),
8953 # -berok will link without error, but may produce a broken library.
8954 allow_undefined_flag
='-berok'
8955 # Determine the default libpath from the value encoded in an
8957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8958 /* end confdefs.h. */
8968 if ac_fn_c_try_link
"$LINENO"; then :
8970 lt_aix_libpath_sed
='
8971 /Import File Strings/,/^$/ {
8977 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8978 # Check for a 64-bit object if we didn't find anything.
8979 if test -z "$aix_libpath"; then
8980 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8983 rm -f core conftest.err conftest.
$ac_objext \
8984 conftest
$ac_exeext conftest.
$ac_ext
8985 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8987 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8988 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"
8990 if test "$host_cpu" = ia64
; then
8991 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8992 allow_undefined_flag
="-z nodefs"
8993 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"
8995 # Determine the default libpath from the value encoded in an
8997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
9008 if ac_fn_c_try_link
"$LINENO"; then :
9010 lt_aix_libpath_sed
='
9011 /Import File Strings/,/^$/ {
9017 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9018 # Check for a 64-bit object if we didn't find anything.
9019 if test -z "$aix_libpath"; then
9020 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9023 rm -f core conftest.err conftest.
$ac_objext \
9024 conftest
$ac_exeext conftest.
$ac_ext
9025 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9027 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9028 # Warning - without using the other run time loading flags,
9029 # -berok will link without error, but may produce a broken library.
9030 no_undefined_flag
=' ${wl}-bernotok'
9031 allow_undefined_flag
=' ${wl}-berok'
9032 if test "$with_gnu_ld" = yes; then
9033 # We only use this code for GNU lds that support --whole-archive.
9034 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9036 # Exported symbols can be pulled into shared objects from archives
9037 whole_archive_flag_spec
='$convenience'
9039 archive_cmds_need_lc
=yes
9040 # This is similar to how AIX traditionally builds its shared libraries.
9041 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'
9049 # see comment about AmigaOS4 .so support
9050 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9051 archive_expsym_cmds
=''
9054 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)'
9055 hardcode_libdir_flag_spec
='-L$libdir'
9056 hardcode_minus_L
=yes
9062 export_dynamic_flag_spec
=-rdynamic
9065 cygwin
* | mingw
* | pw32
* | cegcc
*)
9066 # When not using gcc, we currently assume that we are using
9067 # Microsoft Visual C++.
9068 # hardcode_libdir_flag_spec is actually meaningless, as there is
9069 # no search path for DLLs.
9070 hardcode_libdir_flag_spec
=' '
9071 allow_undefined_flag
=unsupported
9072 # Tell ltmain to make .lib files, not .a files.
9074 # Tell ltmain to make .dll files, not .so files.
9076 # FIXME: Setting linknames here is a bad hack.
9077 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9078 # The linker will automatically build a .lib file if we build a DLL.
9079 old_archive_from_new_cmds
='true'
9080 # FIXME: Should let the user specify the lib program.
9081 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9082 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9083 enable_shared_with_static_runtimes
=yes
9086 darwin
* | rhapsody
*)
9089 archive_cmds_need_lc
=no
9091 hardcode_automatic
=yes
9092 hardcode_shlibpath_var
=unsupported
9093 if test "$lt_cv_ld_force_load" = "yes"; then
9094 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\"`'
9096 whole_archive_flag_spec
=''
9098 link_all_deplibs
=yes
9099 allow_undefined_flag
="$_lt_dar_allow_undefined"
9100 case $cc_basename in
9101 ifort
*) _lt_dar_can_shared
=yes ;;
9102 *) _lt_dar_can_shared
=$GCC ;;
9104 if test "$_lt_dar_can_shared" = "yes"; then
9105 output_verbose_link_cmd
=func_echo_all
9106 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9107 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9108 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}"
9109 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}"
9118 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9119 hardcode_libdir_flag_spec
='-L$libdir'
9120 hardcode_shlibpath_var
=no
9123 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9124 # support. Future versions do this automatically, but an explicit c++rt0.o
9125 # does not break anything, and helps significantly (at the cost of a little
9128 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9129 hardcode_libdir_flag_spec
='-R$libdir'
9131 hardcode_shlibpath_var
=no
9134 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9136 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9138 hardcode_minus_L
=yes
9139 hardcode_shlibpath_var
=no
9142 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9143 freebsd
* | dragonfly
*)
9144 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9145 hardcode_libdir_flag_spec
='-R$libdir'
9147 hardcode_shlibpath_var
=no
9151 if test "$GCC" = yes; then
9152 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'
9154 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'
9156 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9157 hardcode_libdir_separator
=:
9160 # hardcode_minus_L: Not really in the search PATH,
9161 # but as the default location of the library.
9162 hardcode_minus_L
=yes
9163 export_dynamic_flag_spec
='${wl}-E'
9167 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9168 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9170 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9172 if test "$with_gnu_ld" = no
; then
9173 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9174 hardcode_libdir_flag_spec_ld
='+b $libdir'
9175 hardcode_libdir_separator
=:
9177 hardcode_direct_absolute
=yes
9178 export_dynamic_flag_spec
='${wl}-E'
9179 # hardcode_minus_L: Not really in the search PATH,
9180 # but as the default location of the library.
9181 hardcode_minus_L
=yes
9186 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9189 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9192 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9195 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9201 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9204 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9208 # Older versions of the 11.00 compiler do not understand -b yet
9209 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9211 $as_echo_n "checking if $CC understands -b... " >&6; }
9212 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9213 $as_echo_n "(cached) " >&6
9215 lt_cv_prog_compiler__b
=no
9216 save_LDFLAGS
="$LDFLAGS"
9217 LDFLAGS
="$LDFLAGS -b"
9218 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9219 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9220 # The linker can only warn and ignore the option if not recognized
9221 # So say no if there are warnings
9222 if test -s conftest.err
; then
9223 # Append any errors to the config.log.
9224 cat conftest.err
1>&5
9225 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9226 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9227 if diff conftest.exp conftest.er2
>/dev
/null
; then
9228 lt_cv_prog_compiler__b
=yes
9231 lt_cv_prog_compiler__b
=yes
9235 LDFLAGS
="$save_LDFLAGS"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9239 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9241 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9242 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9244 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9250 if test "$with_gnu_ld" = no
; then
9251 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9252 hardcode_libdir_separator
=:
9257 hardcode_shlibpath_var
=no
9261 hardcode_direct_absolute
=yes
9262 export_dynamic_flag_spec
='${wl}-E'
9264 # hardcode_minus_L: Not really in the search PATH,
9265 # but as the default location of the library.
9266 hardcode_minus_L
=yes
9272 irix5
* | irix6
* | nonstopux
*)
9273 if test "$GCC" = yes; then
9274 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'
9275 # Try to use the -exported_symbol ld option, if it does not
9276 # work, assume that -exports_file does not work either and
9277 # implicitly export all symbols.
9278 save_LDFLAGS
="$LDFLAGS"
9279 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9284 if ac_fn_c_try_link
"$LINENO"; then :
9285 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'
9288 rm -f core conftest.err conftest.
$ac_objext \
9289 conftest
$ac_exeext conftest.
$ac_ext
9290 LDFLAGS
="$save_LDFLAGS"
9292 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'
9293 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'
9295 archive_cmds_need_lc
='no'
9296 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9297 hardcode_libdir_separator
=:
9299 link_all_deplibs
=yes
9303 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9304 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9306 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9308 hardcode_libdir_flag_spec
='-R$libdir'
9310 hardcode_shlibpath_var
=no
9314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9317 hardcode_libdir_separator
=:
9318 hardcode_shlibpath_var
=no
9325 if test -f /usr
/libexec
/ld.so
; then
9327 hardcode_shlibpath_var
=no
9328 hardcode_direct_absolute
=yes
9329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9330 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9331 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9332 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9333 export_dynamic_flag_spec
='${wl}-E'
9336 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9337 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9338 hardcode_libdir_flag_spec
='-R$libdir'
9341 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9342 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9352 hardcode_libdir_flag_spec
='-L$libdir'
9353 hardcode_minus_L
=yes
9354 allow_undefined_flag
=unsupported
9355 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'
9356 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9360 if test "$GCC" = yes; then
9361 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9362 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'
9364 allow_undefined_flag
=' -expect_unresolved \*'
9365 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'
9367 archive_cmds_need_lc
='no'
9368 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9369 hardcode_libdir_separator
=:
9372 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9373 if test "$GCC" = yes; then
9374 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9375 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'
9376 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9378 allow_undefined_flag
=' -expect_unresolved \*'
9379 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'
9380 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~
9381 $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'
9383 # Both c and cxx compiler support -rpath directly
9384 hardcode_libdir_flag_spec
='-rpath $libdir'
9386 archive_cmds_need_lc
='no'
9387 hardcode_libdir_separator
=:
9391 no_undefined_flag
=' -z defs'
9392 if test "$GCC" = yes; then
9394 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9395 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9396 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9398 case `$CC -V 2>&1` in
9401 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9402 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9403 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9407 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9408 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9409 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9413 hardcode_libdir_flag_spec
='-R$libdir'
9414 hardcode_shlibpath_var
=no
9416 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9418 # The compiler driver will combine and reorder linker options,
9419 # but understands `-z linker_flag'. GCC discards it without `$wl',
9420 # but is careful enough not to reorder.
9421 # Supported since Solaris 2.6 (maybe 2.5.1?)
9422 if test "$GCC" = yes; then
9423 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9425 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9429 link_all_deplibs
=yes
9433 if test "x$host_vendor" = xsequent
; then
9434 # Use $CC to link under sequent, because it throws in some extra .o
9435 # files that make .init and .fini sections work.
9436 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9438 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9440 hardcode_libdir_flag_spec
='-L$libdir'
9442 hardcode_minus_L
=yes
9443 hardcode_shlibpath_var
=no
9447 case $host_vendor in
9449 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9450 hardcode_direct
=yes # is this really true???
9453 ## LD is ld it makes a PLAMLIB
9454 ## CC just makes a GrossModule.
9455 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9456 reload_cmds
='$CC -r -o $output$reload_objs'
9460 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9461 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9464 runpath_var
='LD_RUN_PATH'
9465 hardcode_shlibpath_var
=no
9469 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9470 hardcode_shlibpath_var
=no
9471 export_dynamic_flag_spec
='-Bexport'
9475 if test -d /usr
/nec
; then
9476 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9477 hardcode_shlibpath_var
=no
9478 runpath_var
=LD_RUN_PATH
9479 hardcode_runpath_var
=yes
9484 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9485 no_undefined_flag
='${wl}-z,text'
9486 archive_cmds_need_lc
=no
9487 hardcode_shlibpath_var
=no
9488 runpath_var
='LD_RUN_PATH'
9490 if test "$GCC" = yes; then
9491 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9492 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9495 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9499 sysv5
* | sco3.2v5
* | sco5v6
*)
9500 # Note: We can NOT use -z defs as we might desire, because we do not
9501 # link with -lc, and that would cause any symbols used from libc to
9502 # always be unresolved, which means just about no library would
9503 # ever link correctly. If we're not using GNU ld we use -z text
9504 # though, which does catch some bad symbols but isn't as heavy-handed
9506 no_undefined_flag
='${wl}-z,text'
9507 allow_undefined_flag
='${wl}-z,nodefs'
9508 archive_cmds_need_lc
=no
9509 hardcode_shlibpath_var
=no
9510 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9511 hardcode_libdir_separator
=':'
9512 link_all_deplibs
=yes
9513 export_dynamic_flag_spec
='${wl}-Bexport'
9514 runpath_var
='LD_RUN_PATH'
9516 if test "$GCC" = yes; then
9517 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9518 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9521 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9527 hardcode_libdir_flag_spec
='-L$libdir'
9528 hardcode_shlibpath_var
=no
9536 if test x
$host_vendor = xsni
; then
9538 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9539 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9546 $as_echo "$ld_shlibs" >&6; }
9547 test "$ld_shlibs" = no
&& can_build_shared
=no
9549 with_gnu_ld
=$with_gnu_ld
9566 # Do we need to explicitly link libc?
9568 case "x$archive_cmds_need_lc" in
9570 # Assume -lc should be added
9571 archive_cmds_need_lc
=yes
9573 if test "$enable_shared" = yes && test "$GCC" = yes; then
9574 case $archive_cmds in
9576 # FIXME: we may have to deal with multi-command sequences.
9579 # Test whether the compiler implicitly links with -lc since on some
9580 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9581 # to ld, don't add -lc before -lgcc.
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9583 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9584 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9585 $as_echo_n "(cached) " >&6
9588 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9591 (eval $ac_compile) 2>&5
9593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9594 test $ac_status = 0; } 2>conftest.err
; then
9597 libobjs
=conftest.
$ac_objext
9599 wl
=$lt_prog_compiler_wl
9600 pic_flag
=$lt_prog_compiler_pic
9606 lt_save_allow_undefined_flag
=$allow_undefined_flag
9607 allow_undefined_flag
=
9608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9609 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9612 test $ac_status = 0; }
9614 lt_cv_archive_cmds_need_lc
=no
9616 lt_cv_archive_cmds_need_lc
=yes
9618 allow_undefined_flag
=$lt_save_allow_undefined_flag
9620 cat conftest.err
1>&5
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9626 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9627 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9791 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9793 if test "$GCC" = yes; then
9795 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9796 *) lt_awk_arg
="/^libraries:/" ;;
9799 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9800 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9802 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9803 case $lt_search_path_spec in
9805 # if the path contains ";" then we assume it to be the separator
9806 # otherwise default to the standard path separator (i.e. ":") - it is
9807 # assumed that no part of a normal pathname contains ";" but that should
9808 # okay in the real world where ";" in dirpaths is itself problematic.
9809 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9812 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9815 # Ok, now we have the path, separated by spaces, we can step through it
9816 # and add multilib dir if necessary.
9817 lt_tmp_lt_search_path_spec
=
9818 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9819 for lt_sys_path
in $lt_search_path_spec; do
9820 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9821 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9823 test -d "$lt_sys_path" && \
9824 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9827 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9828 BEGIN {RS=" "; FS="/|\n";} {
9831 for (lt_i = NF; lt_i > 0; lt_i--) {
9832 if ($lt_i != "" && $lt_i != ".") {
9833 if ($lt_i == "..") {
9836 if (lt_count == 0) {
9837 lt_foo="/" $lt_i lt_foo;
9844 if (lt_foo != "") { lt_freq[lt_foo]++; }
9845 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9847 # AWK program above erroneously prepends '/' to C:/dos/paths
9850 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9851 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9853 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9855 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9858 libname_spec
='lib$name'
9866 shlibpath_overrides_runpath
=unknown
9868 dynamic_linker
="$host_os ld.so"
9869 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9870 need_lib_prefix
=unknown
9871 hardcode_into_libs
=no
9873 # when you set need_version to no, make sure it does not cause -set_version
9874 # flags to be left without arguments
9875 need_version
=unknown
9880 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9881 shlibpath_var
=LIBPATH
9883 # AIX 3 has no versioning support, so we append a major version to the name.
9884 soname_spec
='${libname}${release}${shared_ext}$major'
9891 hardcode_into_libs
=yes
9892 if test "$host_cpu" = ia64
; then
9893 # AIX 5 supports IA64
9894 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9895 shlibpath_var
=LD_LIBRARY_PATH
9897 # With GCC up to 2.95.x, collect2 would create an import file
9898 # for dependence libraries. The import file would start with
9899 # the line `#! .'. This would cause the generated library to
9900 # depend on `.', always an invalid library. This was fixed in
9901 # development snapshots of GCC prior to 3.0.
9903 aix4 | aix4.
[01] | aix4.
[01].
*)
9904 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9906 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9913 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9914 # soname into executable. Probably we can add versioning support to
9915 # collect2, so additional links can be useful in future.
9916 if test "$aix_use_runtimelinking" = yes; then
9917 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9918 # instead of lib<name>.a to let people know that these are not
9919 # typical AIX shared libraries.
9920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9922 # We preserve .a as extension for shared libraries through AIX4.2
9923 # and later when we are not doing run time linking.
9924 library_names_spec
='${libname}${release}.a $libname.a'
9925 soname_spec
='${libname}${release}${shared_ext}$major'
9927 shlibpath_var
=LIBPATH
9934 # Since July 2007 AmigaOS4 officially supports .so libraries.
9935 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9939 library_names_spec
='$libname.ixlibrary $libname.a'
9940 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9941 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'
9947 library_names_spec
='${libname}${shared_ext}'
9948 dynamic_linker
="$host_os ld.so"
9949 shlibpath_var
=LIBRARY_PATH
9955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9956 soname_spec
='${libname}${release}${shared_ext}$major'
9957 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9958 shlibpath_var
=LD_LIBRARY_PATH
9959 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9960 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9961 # the default ld.so.conf also contains /usr/contrib/lib and
9962 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9963 # libtool to hard-code these into programs
9966 cygwin
* | mingw
* | pw32
* | cegcc
*)
9967 version_type
=windows
9972 case $GCC,$host_os in
9973 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9974 library_names_spec
='$libname.dll.a'
9975 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9976 postinstall_cmds
='base_file=`basename \${file}`~
9977 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9978 dldir=$destdir/`dirname \$dlpath`~
9979 test -d \$dldir || mkdir -p \$dldir~
9980 $install_prog $dir/$dlname \$dldir/$dlname~
9981 chmod a+x \$dldir/$dlname~
9982 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9983 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9985 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9986 dlpath=$dir/\$dldll~
9988 shlibpath_overrides_runpath
=yes
9992 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9993 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9995 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9998 # MinGW DLLs use traditional 'lib' prefix
9999 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10002 # pw32 DLLs use 'pw' prefix rather than 'lib'
10003 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10009 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10012 dynamic_linker
='Win32 ld.exe'
10013 # FIXME: first we should search . and the directory the executable is in
10017 darwin
* | rhapsody
*)
10018 dynamic_linker
="$host_os dyld"
10019 version_type
=darwin
10022 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10023 soname_spec
='${libname}${release}${major}$shared_ext'
10024 shlibpath_overrides_runpath
=yes
10025 shlibpath_var
=DYLD_LIBRARY_PATH
10026 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10028 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10029 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10037 soname_spec
='${libname}${release}${shared_ext}$major'
10038 shlibpath_var
=LD_LIBRARY_PATH
10041 freebsd
* | dragonfly
*)
10042 # DragonFly does not have aout. When/if they implement a new
10043 # versioning mechanism, adjust this.
10044 if test -x /usr
/bin
/objformat
; then
10045 objformat
=`/usr/bin/objformat`
10048 freebsd
[23].
*) objformat
=aout
;;
10049 *) objformat
=elf
;;
10052 version_type
=freebsd-
$objformat
10053 case $version_type in
10055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10060 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10064 shlibpath_var
=LD_LIBRARY_PATH
10067 shlibpath_overrides_runpath
=yes
10069 freebsd3.
[01]* | freebsdelf3.
[01]*)
10070 shlibpath_overrides_runpath
=yes
10071 hardcode_into_libs
=yes
10073 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10074 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10075 shlibpath_overrides_runpath
=no
10076 hardcode_into_libs
=yes
10078 *) # from 4.6 on, and DragonFly
10079 shlibpath_overrides_runpath
=yes
10080 hardcode_into_libs
=yes
10089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10090 soname_spec
='${libname}${release}${shared_ext}$major'
10091 shlibpath_var
=LD_LIBRARY_PATH
10092 hardcode_into_libs
=yes
10099 dynamic_linker
="$host_os runtime_loader"
10100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10101 soname_spec
='${libname}${release}${shared_ext}$major'
10102 shlibpath_var
=LIBRARY_PATH
10103 shlibpath_overrides_runpath
=yes
10104 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10105 hardcode_into_libs
=yes
10108 hpux9
* | hpux10
* | hpux11
*)
10109 # Give a soname corresponding to the major version so that dld.sl refuses to
10110 # link against other versions.
10117 hardcode_into_libs
=yes
10118 dynamic_linker
="$host_os dld.so"
10119 shlibpath_var
=LD_LIBRARY_PATH
10120 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10122 soname_spec
='${libname}${release}${shared_ext}$major'
10123 if test "X$HPUX_IA64_MODE" = X32
; then
10124 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10126 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10128 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10132 hardcode_into_libs
=yes
10133 dynamic_linker
="$host_os dld.sl"
10134 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10135 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137 soname_spec
='${libname}${release}${shared_ext}$major'
10138 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10139 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10143 dynamic_linker
="$host_os dld.sl"
10144 shlibpath_var
=SHLIB_PATH
10145 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10147 soname_spec
='${libname}${release}${shared_ext}$major'
10150 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10151 postinstall_cmds
='chmod 555 $lib'
10152 # or fails outright, so override atomically:
10153 install_override_mode
=555
10160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10161 soname_spec
='${libname}${release}${shared_ext}$major'
10162 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10163 shlibpath_var
=LD_LIBRARY_PATH
10164 shlibpath_overrides_runpath
=no
10165 hardcode_into_libs
=yes
10168 irix5
* | irix6
* | nonstopux
*)
10170 nonstopux
*) version_type
=nonstopux
;;
10172 if test "$lt_cv_prog_gnu_ld" = yes; then
10180 soname_spec
='${libname}${release}${shared_ext}$major'
10181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10183 irix5
* | nonstopux
*)
10184 libsuff
= shlibsuff
=
10187 case $LD in # libtool.m4 will add one of these switches to LD
10188 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10189 libsuff
= shlibsuff
= libmagic
=32-bit;;
10190 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10191 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10192 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10193 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10194 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10198 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10199 shlibpath_overrides_runpath
=no
10200 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10201 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10202 hardcode_into_libs
=yes
10205 # No shared lib support for Linux oldld, aout, or coff.
10206 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10210 # This must be Linux ELF.
10211 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10216 soname_spec
='${libname}${release}${shared_ext}$major'
10217 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10218 shlibpath_var
=LD_LIBRARY_PATH
10219 shlibpath_overrides_runpath
=no
10221 # Some binutils ld are patched to set DT_RUNPATH
10222 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10223 $as_echo_n "(cached) " >&6
10225 lt_cv_shlibpath_overrides_runpath
=no
10226 save_LDFLAGS
=$LDFLAGS
10227 save_libdir
=$libdir
10228 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10229 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10241 if ac_fn_c_try_link
"$LINENO"; then :
10242 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10243 lt_cv_shlibpath_overrides_runpath
=yes
10246 rm -f core conftest.err conftest.
$ac_objext \
10247 conftest
$ac_exeext conftest.
$ac_ext
10248 LDFLAGS
=$save_LDFLAGS
10249 libdir
=$save_libdir
10253 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10255 # This implies no fast_install, which is unacceptable.
10256 # Some rework will be needed to allow for fast_install
10257 # before this can be enabled.
10258 hardcode_into_libs
=yes
10260 # Append ld.so.conf contents to the search path
10261 if test -f /etc
/ld.so.conf
; then
10262 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' ' '`
10263 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10266 # We used to test for /lib/ld.so.1 and disable shared libraries on
10267 # powerpc, because MkLinux only supported shared libraries with the
10268 # GNU dynamic linker. Since this was broken with cross compilers,
10269 # most powerpc-linux boxes support dynamic linking these days and
10270 # people can always --disable-shared, the test was removed, and we
10271 # assume the GNU/Linux dynamic linker is in use.
10272 dynamic_linker
='GNU/Linux ld.so'
10279 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10281 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10282 dynamic_linker
='NetBSD (a.out) ld.so'
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10285 soname_spec
='${libname}${release}${shared_ext}$major'
10286 dynamic_linker
='NetBSD ld.elf_so'
10288 shlibpath_var
=LD_LIBRARY_PATH
10289 shlibpath_overrides_runpath
=yes
10290 hardcode_into_libs
=yes
10295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10296 shlibpath_var
=LD_LIBRARY_PATH
10297 shlibpath_overrides_runpath
=yes
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 soname_spec
='${libname}${release}${shared_ext}$major'
10306 shlibpath_var
=LD_LIBRARY_PATH
10307 shlibpath_overrides_runpath
=no
10308 hardcode_into_libs
=yes
10309 dynamic_linker
='ldqnx.so'
10314 sys_lib_dlsearch_path_spec
="/usr/lib"
10316 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10318 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10319 *) need_version
=no
;;
10321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10322 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10323 shlibpath_var
=LD_LIBRARY_PATH
10324 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10326 openbsd2.
[89] | openbsd2.
[89].
*)
10327 shlibpath_overrides_runpath
=no
10330 shlibpath_overrides_runpath
=yes
10334 shlibpath_overrides_runpath
=yes
10339 libname_spec
='$name'
10342 library_names_spec
='$libname${shared_ext} $libname.a'
10343 dynamic_linker
='OS/2 ld.exe'
10344 shlibpath_var
=LIBPATH
10347 osf3
* | osf4
* | osf5
*)
10351 soname_spec
='${libname}${release}${shared_ext}$major'
10352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10353 shlibpath_var
=LD_LIBRARY_PATH
10354 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10355 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367 soname_spec
='${libname}${release}${shared_ext}$major'
10368 shlibpath_var
=LD_LIBRARY_PATH
10369 shlibpath_overrides_runpath
=yes
10370 hardcode_into_libs
=yes
10371 # ldd complains unless libraries are executable
10372 postinstall_cmds
='chmod +x $lib'
10377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10378 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10379 shlibpath_var
=LD_LIBRARY_PATH
10380 shlibpath_overrides_runpath
=yes
10381 if test "$with_gnu_ld" = yes; then
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10390 soname_spec
='${libname}${release}${shared_ext}$major'
10391 shlibpath_var
=LD_LIBRARY_PATH
10392 case $host_vendor in
10394 shlibpath_overrides_runpath
=no
10396 runpath_var
=LD_RUN_PATH
10404 shlibpath_overrides_runpath
=no
10405 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10411 if test -d /usr
/nec
;then
10413 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10414 soname_spec
='$libname${shared_ext}.$major'
10415 shlibpath_var
=LD_LIBRARY_PATH
10419 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10420 version_type
=freebsd-elf
10423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10424 soname_spec
='${libname}${release}${shared_ext}$major'
10425 shlibpath_var
=LD_LIBRARY_PATH
10426 shlibpath_overrides_runpath
=yes
10427 hardcode_into_libs
=yes
10428 if test "$with_gnu_ld" = yes; then
10429 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10431 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10434 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10438 sys_lib_dlsearch_path_spec
='/usr/lib'
10442 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10447 shlibpath_var
=LD_LIBRARY_PATH
10448 shlibpath_overrides_runpath
=no
10449 hardcode_into_libs
=yes
10454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10455 soname_spec
='${libname}${release}${shared_ext}$major'
10456 shlibpath_var
=LD_LIBRARY_PATH
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10464 $as_echo "$dynamic_linker" >&6; }
10465 test "$dynamic_linker" = no
&& can_build_shared
=no
10467 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10468 if test "$GCC" = yes; then
10469 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10472 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10473 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10475 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10476 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10571 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10573 if test -n "$hardcode_libdir_flag_spec" ||
10574 test -n "$runpath_var" ||
10575 test "X$hardcode_automatic" = "Xyes" ; then
10577 # We can hardcode non-existent directories.
10578 if test "$hardcode_direct" != no
&&
10579 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10580 # have to relink, otherwise we might link with an installed library
10581 # when we should be linking with a yet-to-be-installed one
10582 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10583 test "$hardcode_minus_L" != no
; then
10584 # Linking always hardcodes the temporary library directory.
10585 hardcode_action
=relink
10587 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10588 hardcode_action
=immediate
10591 # We cannot hardcode anything, or else we can only hardcode existing
10593 hardcode_action
=unsupported
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10596 $as_echo "$hardcode_action" >&6; }
10598 if test "$hardcode_action" = relink ||
10599 test "$inherit_rpath" = yes; then
10600 # Fast installation is not supported
10601 enable_fast_install
=no
10602 elif test "$shlibpath_overrides_runpath" = yes ||
10603 test "$enable_shared" = no
; then
10604 # Fast installation is not necessary
10605 enable_fast_install
=needless
10613 if test "x$enable_dlopen" != xyes
; then
10614 enable_dlopen
=unknown
10615 enable_dlopen_self
=unknown
10616 enable_dlopen_self_static
=unknown
10623 lt_cv_dlopen
="load_add_on"
10625 lt_cv_dlopen_self
=yes
10628 mingw
* | pw32
* | cegcc
*)
10629 lt_cv_dlopen
="LoadLibrary"
10634 lt_cv_dlopen
="dlopen"
10639 # if libdl is installed we need to link against it
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10641 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10642 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10643 $as_echo_n "(cached) " >&6
10645 ac_check_lib_save_LIBS
=$LIBS
10647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10665 if ac_fn_c_try_link
"$LINENO"; then :
10666 ac_cv_lib_dl_dlopen
=yes
10668 ac_cv_lib_dl_dlopen
=no
10670 rm -f core conftest.err conftest.
$ac_objext \
10671 conftest
$ac_exeext conftest.
$ac_ext
10672 LIBS
=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10675 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10676 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10677 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10680 lt_cv_dlopen
="dyld"
10682 lt_cv_dlopen_self
=yes
10689 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10690 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10691 lt_cv_dlopen
="shl_load"
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10694 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10695 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10696 $as_echo_n "(cached) " >&6
10698 ac_check_lib_save_LIBS
=$LIBS
10700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10713 return shl_load ();
10718 if ac_fn_c_try_link
"$LINENO"; then :
10719 ac_cv_lib_dld_shl_load
=yes
10721 ac_cv_lib_dld_shl_load
=no
10723 rm -f core conftest.err conftest.
$ac_objext \
10724 conftest
$ac_exeext conftest.
$ac_ext
10725 LIBS
=$ac_check_lib_save_LIBS
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10728 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10729 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10730 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10732 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10733 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10734 lt_cv_dlopen
="dlopen"
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10737 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10738 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10739 $as_echo_n "(cached) " >&6
10741 ac_check_lib_save_LIBS
=$LIBS
10743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10744 /* end confdefs.h. */
10746 /* Override any GCC internal prototype to avoid an error.
10747 Use char because int might match the return type of a GCC
10748 builtin and then its argument prototype would still apply. */
10761 if ac_fn_c_try_link
"$LINENO"; then :
10762 ac_cv_lib_dl_dlopen
=yes
10764 ac_cv_lib_dl_dlopen
=no
10766 rm -f core conftest.err conftest.
$ac_objext \
10767 conftest
$ac_exeext conftest.
$ac_ext
10768 LIBS
=$ac_check_lib_save_LIBS
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10771 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10772 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10773 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10776 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10777 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10778 $as_echo_n "(cached) " >&6
10780 ac_check_lib_save_LIBS
=$LIBS
10781 LIBS
="-lsvld $LIBS"
10782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10785 /* Override any GCC internal prototype to avoid an error.
10786 Use char because int might match the return type of a GCC
10787 builtin and then its argument prototype would still apply. */
10800 if ac_fn_c_try_link
"$LINENO"; then :
10801 ac_cv_lib_svld_dlopen
=yes
10803 ac_cv_lib_svld_dlopen
=no
10805 rm -f core conftest.err conftest.
$ac_objext \
10806 conftest
$ac_exeext conftest.
$ac_ext
10807 LIBS
=$ac_check_lib_save_LIBS
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10810 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10811 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10812 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10815 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10816 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10817 $as_echo_n "(cached) " >&6
10819 ac_check_lib_save_LIBS
=$LIBS
10821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10834 return dld_link ();
10839 if ac_fn_c_try_link
"$LINENO"; then :
10840 ac_cv_lib_dld_dld_link
=yes
10842 ac_cv_lib_dld_dld_link
=no
10844 rm -f core conftest.err conftest.
$ac_objext \
10845 conftest
$ac_exeext conftest.
$ac_ext
10846 LIBS
=$ac_check_lib_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10849 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10850 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10851 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10872 if test "x$lt_cv_dlopen" != xno
; then
10878 case $lt_cv_dlopen in
10880 save_CPPFLAGS
="$CPPFLAGS"
10881 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10883 save_LDFLAGS
="$LDFLAGS"
10884 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10887 LIBS
="$lt_cv_dlopen_libs $LIBS"
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10890 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10891 if test "${lt_cv_dlopen_self+set}" = set; then :
10892 $as_echo_n "(cached) " >&6
10894 if test "$cross_compiling" = yes; then :
10895 lt_cv_dlopen_self
=cross
10897 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10898 lt_status
=$lt_dlunknown
10899 cat > conftest.
$ac_ext <<_LT_EOF
10900 #line 10900 "configure"
10901 #include "confdefs.h"
10910 # define LT_DLGLOBAL RTLD_GLOBAL
10913 # define LT_DLGLOBAL DL_GLOBAL
10915 # define LT_DLGLOBAL 0
10919 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10920 find out it does not work in some platform. */
10921 #ifndef LT_DLLAZY_OR_NOW
10923 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10926 # define LT_DLLAZY_OR_NOW DL_LAZY
10929 # define LT_DLLAZY_OR_NOW RTLD_NOW
10932 # define LT_DLLAZY_OR_NOW DL_NOW
10934 # define LT_DLLAZY_OR_NOW 0
10941 /* When -fvisbility=hidden is used, assume the code has been annotated
10942 correspondingly for the symbols needed. */
10943 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10944 void fnord () __attribute__((visibility("default")));
10947 void fnord () { int i=42; }
10950 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10951 int status = $lt_dlunknown;
10955 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10958 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10959 else puts (dlerror ());
10961 /* dlclose (self); */
10969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10970 (eval $ac_link) 2>&5
10972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10973 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10974 (.
/conftest
; exit; ) >&5 2>/dev
/null
10976 case x
$lt_status in
10977 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10978 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10979 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10982 # compilation failed
10983 lt_cv_dlopen_self
=no
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10991 $as_echo "$lt_cv_dlopen_self" >&6; }
10993 if test "x$lt_cv_dlopen_self" = xyes
; then
10994 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10996 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10997 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10998 $as_echo_n "(cached) " >&6
11000 if test "$cross_compiling" = yes; then :
11001 lt_cv_dlopen_self_static
=cross
11003 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11004 lt_status
=$lt_dlunknown
11005 cat > conftest.
$ac_ext <<_LT_EOF
11006 #line 11006 "configure"
11007 #include "confdefs.h"
11016 # define LT_DLGLOBAL RTLD_GLOBAL
11019 # define LT_DLGLOBAL DL_GLOBAL
11021 # define LT_DLGLOBAL 0
11025 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11026 find out it does not work in some platform. */
11027 #ifndef LT_DLLAZY_OR_NOW
11029 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11032 # define LT_DLLAZY_OR_NOW DL_LAZY
11035 # define LT_DLLAZY_OR_NOW RTLD_NOW
11038 # define LT_DLLAZY_OR_NOW DL_NOW
11040 # define LT_DLLAZY_OR_NOW 0
11047 /* When -fvisbility=hidden is used, assume the code has been annotated
11048 correspondingly for the symbols needed. */
11049 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11050 void fnord () __attribute__((visibility("default")));
11053 void fnord () { int i=42; }
11056 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11057 int status = $lt_dlunknown;
11061 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11064 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11065 else puts (dlerror ());
11067 /* dlclose (self); */
11075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11076 (eval $ac_link) 2>&5
11078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11079 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11080 (.
/conftest
; exit; ) >&5 2>/dev
/null
11082 case x
$lt_status in
11083 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11084 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11085 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11088 # compilation failed
11089 lt_cv_dlopen_self_static
=no
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11097 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11100 CPPFLAGS
="$save_CPPFLAGS"
11101 LDFLAGS
="$save_LDFLAGS"
11106 case $lt_cv_dlopen_self in
11107 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11108 *) enable_dlopen_self
=unknown
;;
11111 case $lt_cv_dlopen_self_static in
11112 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11113 *) enable_dlopen_self_static
=unknown
;;
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11136 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11137 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11138 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11139 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11141 $as_echo "yes" >&6; }
11143 # FIXME - insert some real tests, host_os isn't really good enough
11146 if test -n "$STRIP" ; then
11147 striplib
="$STRIP -x"
11148 old_striplib
="$STRIP -S"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11150 $as_echo "yes" >&6; }
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11153 $as_echo "no" >&6; }
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11158 $as_echo "no" >&6; }
11174 # Report which library types will actually be built
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11176 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11178 $as_echo "$can_build_shared" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11181 $as_echo_n "checking whether to build shared libraries... " >&6; }
11182 test "$can_build_shared" = "no" && enable_shared
=no
11184 # On AIX, shared libraries and static libraries use the same namespace, and
11185 # are all built from PIC.
11188 test "$enable_shared" = yes && enable_static
=no
11189 if test -n "$RANLIB"; then
11190 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11191 postinstall_cmds
='$RANLIB $lib'
11196 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11197 test "$enable_shared" = yes && enable_static
=no
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11202 $as_echo "$enable_shared" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11205 $as_echo_n "checking whether to build static libraries... " >&6; }
11206 # Make sure either enable_shared or enable_static is yes.
11207 test "$enable_shared" = yes || enable_static
=yes
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11209 $as_echo "$enable_static" >&6; }
11216 ac_cpp
='$CPP $CPPFLAGS'
11217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11235 ac_config_commands
="$ac_config_commands libtool"
11240 # Only expand once:
11244 # The tests for host and target for $enable_largefile require
11249 # As the $enable_largefile decision depends on --enable-plugins we must set it
11250 # even in directories otherwise not depending on the $plugins option.
11254 for ac_header
in dlfcn.h
11256 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11258 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
11259 cat >>confdefs.h
<<_ACEOF
11260 #define HAVE_DLFCN_H 1
11267 for ac_header
in windows.h
11269 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11271 if test "x$ac_cv_header_windows_h" = x
""yes; then :
11272 cat >>confdefs.h
<<_ACEOF
11273 #define HAVE_WINDOWS_H 1
11281 # Check whether --enable-plugins was given.
11282 if test "${enable_plugins+set}" = set; then :
11283 enableval
=$enable_plugins; case "${enableval}" in
11286 if test "$maybe_plugins" != "yes" ; then
11287 as_fn_error
"Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11291 plugins
=$maybe_plugins
11295 if test "$plugins" = "yes"; then
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11297 $as_echo_n "checking for library containing dlopen... " >&6; }
11298 if test "${ac_cv_search_dlopen+set}" = set; then :
11299 $as_echo_n "(cached) " >&6
11301 ac_func_search_save_LIBS
=$LIBS
11302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11320 for ac_lib
in '' dl
; do
11321 if test -z "$ac_lib"; then
11322 ac_res
="none required"
11325 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11327 if ac_fn_c_try_link
"$LINENO"; then :
11328 ac_cv_search_dlopen
=$ac_res
11330 rm -f core conftest.err conftest.
$ac_objext \
11332 if test "${ac_cv_search_dlopen+set}" = set; then :
11336 if test "${ac_cv_search_dlopen+set}" = set; then :
11339 ac_cv_search_dlopen
=no
11341 rm conftest.
$ac_ext
11342 LIBS
=$ac_func_search_save_LIBS
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11345 $as_echo "$ac_cv_search_dlopen" >&6; }
11346 ac_res
=$ac_cv_search_dlopen
11347 if test "$ac_res" != no
; then :
11348 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11356 sparc-
*-solaris*|i
[3-7]86-*-solaris*)
11357 # On native 32bit sparc and ia32 solaris, large-file and procfs support
11358 # are mutually exclusive; and without procfs support, the bfd/ elf module
11359 # cannot provide certain routines such as elfcore_write_prpsinfo
11360 # or elfcore_write_prstatus. So unless the user explicitly requested
11361 # large-file support through the --enable-largefile switch, disable
11362 # large-file support in favor of procfs support.
11363 test "${target}" = "${host}" -a "x$plugins" = xno \
11364 && : ${enable_largefile="no"}
11368 # Check whether --enable-largefile was given.
11369 if test "${enable_largefile+set}" = set; then :
11370 enableval
=$enable_largefile;
11373 if test "$enable_largefile" != no
; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11376 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11377 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11378 $as_echo_n "(cached) " >&6
11380 ac_cv_sys_largefile_CC
=no
11381 if test "$GCC" != yes; then
11384 # IRIX 6.2 and later do not support large files by default,
11385 # so use the C compiler's -n32 option if that helps.
11386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11388 #include <sys/types.h>
11389 /* Check that off_t can represent 2**63 - 1 correctly.
11390 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11391 since some C++ compilers masquerading as C compilers
11392 incorrectly reject 9223372036854775807. */
11393 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11394 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11395 && LARGE_OFF_T % 2147483647 == 1)
11405 if ac_fn_c_try_compile
"$LINENO"; then :
11408 rm -f core conftest.err conftest.
$ac_objext
11410 if ac_fn_c_try_compile
"$LINENO"; then :
11411 ac_cv_sys_largefile_CC
=' -n32'; break
11413 rm -f core conftest.err conftest.
$ac_objext
11417 rm -f conftest.
$ac_ext
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11421 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11422 if test "$ac_cv_sys_largefile_CC" != no
; then
11423 CC
=$CC$ac_cv_sys_largefile_CC
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11427 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11428 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11434 #include <sys/types.h>
11435 /* Check that off_t can represent 2**63 - 1 correctly.
11436 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11437 since some C++ compilers masquerading as C compilers
11438 incorrectly reject 9223372036854775807. */
11439 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11440 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11441 && LARGE_OFF_T % 2147483647 == 1)
11451 if ac_fn_c_try_compile
"$LINENO"; then :
11452 ac_cv_sys_file_offset_bits
=no
; break
11454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11457 #define _FILE_OFFSET_BITS 64
11458 #include <sys/types.h>
11459 /* Check that off_t can represent 2**63 - 1 correctly.
11460 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11461 since some C++ compilers masquerading as C compilers
11462 incorrectly reject 9223372036854775807. */
11463 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11464 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11465 && LARGE_OFF_T % 2147483647 == 1)
11475 if ac_fn_c_try_compile
"$LINENO"; then :
11476 ac_cv_sys_file_offset_bits
=64; break
11478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11479 ac_cv_sys_file_offset_bits
=unknown
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11484 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11485 case $ac_cv_sys_file_offset_bits in #(
11488 cat >>confdefs.h
<<_ACEOF
11489 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11494 if test $ac_cv_sys_file_offset_bits = unknown
; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11496 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11497 if test "${ac_cv_sys_large_files+set}" = set; then :
11498 $as_echo_n "(cached) " >&6
11501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 #include <sys/types.h>
11504 /* Check that off_t can represent 2**63 - 1 correctly.
11505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11506 since some C++ compilers masquerading as C compilers
11507 incorrectly reject 9223372036854775807. */
11508 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11510 && LARGE_OFF_T % 2147483647 == 1)
11520 if ac_fn_c_try_compile
"$LINENO"; then :
11521 ac_cv_sys_large_files
=no
; break
11523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h. */
11526 #define _LARGE_FILES 1
11527 #include <sys/types.h>
11528 /* Check that off_t can represent 2**63 - 1 correctly.
11529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11530 since some C++ compilers masquerading as C compilers
11531 incorrectly reject 9223372036854775807. */
11532 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11534 && LARGE_OFF_T % 2147483647 == 1)
11544 if ac_fn_c_try_compile
"$LINENO"; then :
11545 ac_cv_sys_large_files
=1; break
11547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11548 ac_cv_sys_large_files
=unknown
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11553 $as_echo "$ac_cv_sys_large_files" >&6; }
11554 case $ac_cv_sys_large_files in #(
11557 cat >>confdefs.h
<<_ACEOF
11558 #define _LARGE_FILES $ac_cv_sys_large_files
11568 for ac_func
in setmode
11570 ac_fn_c_check_func
"$LINENO" "setmode" "ac_cv_func_setmode"
11571 if test "x$ac_cv_func_setmode" = x
""yes; then :
11572 cat >>confdefs.h
<<_ACEOF
11573 #define HAVE_SETMODE 1
11580 ALL_LINGUAS
="fr tr sv es id da pt_BR de vi rw ga ms fi nl bg eo ja sr hu"
11581 # If we haven't got the data from the intl directory,
11582 # assume NLS is disabled.
11591 if test -f ..
/intl
/config.intl
; then
11592 . ..
/intl
/config.intl
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11595 $as_echo_n "checking whether NLS is requested... " >&6; }
11596 if test x
"$USE_NLS" != xyes
; then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11598 $as_echo "no" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11601 $as_echo "yes" >&6; }
11603 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11607 $as_echo_n "checking for catalogs to be installed... " >&6; }
11608 # Look for .po and .gmo files in the source directory.
11611 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11612 # If there aren't any .gmo files the shell will give us the
11613 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11615 case "$cat" in *\
**)
11618 # The quadruple backslash is collapsed to a double backslash
11619 # by the backticks, then collapsed again by the double quotes,
11620 # leaving us with one backslash in the sed expression (right
11621 # before the dot that mustn't act as a wildcard).
11622 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11623 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11624 # The user is allowed to set LINGUAS to a list of languages to
11625 # install catalogs for. If it's empty that means "all of them."
11626 if test "x$LINGUAS" = x
; then
11627 CATALOGS
="$CATALOGS $cat"
11628 XLINGUAS
="$XLINGUAS $lang"
11630 case "$LINGUAS" in *$lang*)
11631 CATALOGS
="$CATALOGS $cat"
11632 XLINGUAS
="$XLINGUAS $lang"
11637 LINGUAS
="$XLINGUAS"
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11639 $as_echo "$LINGUAS" >&6; }
11653 if test -n "$ac_aux_dir"; then
11654 case "$ac_aux_dir" in
11655 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11656 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11659 if test -z "$MKINSTALLDIRS"; then
11660 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11666 $as_echo_n "checking whether NLS is requested... " >&6; }
11667 # Check whether --enable-nls was given.
11668 if test "${enable_nls+set}" = set; then :
11669 enableval
=$enable_nls; USE_NLS
=$enableval
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11675 $as_echo "$USE_NLS" >&6; }
11682 # Prepare PATH_SEPARATOR.
11683 # The user is always right.
11684 if test "${PATH_SEPARATOR+set}" != set; then
11685 echo "#! /bin/sh" >conf$$.sh
11686 echo "exit 0" >>conf$$.sh
11688 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11696 # Find out how to test for executable files. Don't use a zero-byte file,
11697 # as systems may use methods other than mode bits to determine executability.
11698 cat >conf$$.
file <<_ASEOF
11702 chmod +x conf$$.
file
11703 if test -x conf$$.
file >/dev
/null
2>&1; then
11704 ac_executable_p
="test -x"
11706 ac_executable_p
="test -f"
11710 # Extract the first word of "msgfmt", so it can be a program name with args.
11711 set dummy msgfmt
; ac_word
=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11715 $as_echo_n "(cached) " >&6
11719 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11722 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11723 for ac_dir
in $PATH; do
11725 test -z "$ac_dir" && ac_dir
=.
11726 for ac_exec_ext
in '' $ac_executable_extensions; do
11727 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11728 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11729 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11730 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11737 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11741 MSGFMT
="$ac_cv_path_MSGFMT"
11742 if test "$MSGFMT" != ":"; then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11744 $as_echo "$MSGFMT" >&6; }
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11747 $as_echo "no" >&6; }
11750 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11751 set dummy gmsgfmt
; ac_word
=$2
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11753 $as_echo_n "checking for $ac_word... " >&6; }
11754 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11755 $as_echo_n "(cached) " >&6
11759 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11763 for as_dir
in $PATH
11766 test -z "$as_dir" && as_dir
=.
11767 for ac_exec_ext
in '' $ac_executable_extensions; do
11768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11769 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11777 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11781 GMSGFMT
=$ac_cv_path_GMSGFMT
11782 if test -n "$GMSGFMT"; then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11784 $as_echo "$GMSGFMT" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11793 # Prepare PATH_SEPARATOR.
11794 # The user is always right.
11795 if test "${PATH_SEPARATOR+set}" != set; then
11796 echo "#! /bin/sh" >conf$$.sh
11797 echo "exit 0" >>conf$$.sh
11799 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11807 # Find out how to test for executable files. Don't use a zero-byte file,
11808 # as systems may use methods other than mode bits to determine executability.
11809 cat >conf$$.
file <<_ASEOF
11813 chmod +x conf$$.
file
11814 if test -x conf$$.
file >/dev
/null
2>&1; then
11815 ac_executable_p
="test -x"
11817 ac_executable_p
="test -f"
11821 # Extract the first word of "xgettext", so it can be a program name with args.
11822 set dummy xgettext
; ac_word
=$2
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11824 $as_echo_n "checking for $ac_word... " >&6; }
11825 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11828 case "$XGETTEXT" in
11830 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11833 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11834 for ac_dir
in $PATH; do
11836 test -z "$ac_dir" && ac_dir
=.
11837 for ac_exec_ext
in '' $ac_executable_extensions; do
11838 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11839 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11840 (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
11841 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11848 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11852 XGETTEXT
="$ac_cv_path_XGETTEXT"
11853 if test "$XGETTEXT" != ":"; then
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11855 $as_echo "$XGETTEXT" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11858 $as_echo "no" >&6; }
11864 # Prepare PATH_SEPARATOR.
11865 # The user is always right.
11866 if test "${PATH_SEPARATOR+set}" != set; then
11867 echo "#! /bin/sh" >conf$$.sh
11868 echo "exit 0" >>conf$$.sh
11870 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11878 # Find out how to test for executable files. Don't use a zero-byte file,
11879 # as systems may use methods other than mode bits to determine executability.
11880 cat >conf$$.
file <<_ASEOF
11884 chmod +x conf$$.
file
11885 if test -x conf$$.
file >/dev
/null
2>&1; then
11886 ac_executable_p
="test -x"
11888 ac_executable_p
="test -f"
11892 # Extract the first word of "msgmerge", so it can be a program name with args.
11893 set dummy msgmerge
; ac_word
=$2
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11895 $as_echo_n "checking for $ac_word... " >&6; }
11896 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11897 $as_echo_n "(cached) " >&6
11899 case "$MSGMERGE" in
11901 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11904 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11905 for ac_dir
in $PATH; do
11907 test -z "$ac_dir" && ac_dir
=.
11908 for ac_exec_ext
in '' $ac_executable_extensions; do
11909 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11910 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11911 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11918 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11922 MSGMERGE
="$ac_cv_path_MSGMERGE"
11923 if test "$MSGMERGE" != ":"; then
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11925 $as_echo "$MSGMERGE" >&6; }
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11928 $as_echo "no" >&6; }
11932 if test "$GMSGFMT" != ":"; then
11933 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11934 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11937 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11939 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11944 if test "$XGETTEXT" != ":"; then
11945 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11946 (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
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11950 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11956 ac_config_commands
="$ac_config_commands default-1"
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11962 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11963 # Check whether --enable-maintainer-mode was given.
11964 if test "${enable_maintainer_mode+set}" = set; then :
11965 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11967 USE_MAINTAINER_MODE
=no
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11971 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11972 if test $USE_MAINTAINER_MODE = yes; then
11973 MAINTAINER_MODE_TRUE
=
11974 MAINTAINER_MODE_FALSE
='#'
11976 MAINTAINER_MODE_TRUE
='#'
11977 MAINTAINER_MODE_FALSE
=
11980 MAINT
=$MAINTAINER_MODE_TRUE
11984 GENINSRC_NEVER_TRUE
=
11985 GENINSRC_NEVER_FALSE
='#'
11987 GENINSRC_NEVER_TRUE
='#'
11988 GENINSRC_NEVER_FALSE
=
11993 for ac_header
in sys
/gmon_out.h
11995 ac_fn_c_check_header_mongrel
"$LINENO" "sys/gmon_out.h" "ac_cv_header_sys_gmon_out_h" "$ac_includes_default"
11996 if test "x$ac_cv_header_sys_gmon_out_h" = x
""yes; then :
11997 cat >>confdefs.h
<<_ACEOF
11998 #define HAVE_SYS_GMON_OUT_H 1
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
12007 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
12008 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then :
12009 $as_echo_n "(cached) " >&6
12011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12013 #include <unistd.h>
12017 extern int getopt (int, char *const*, const char *);
12022 if ac_fn_c_try_compile
"$LINENO"; then :
12023 gprof_cv_decl_getopt_unistd_h
=yes
12025 gprof_cv_decl_getopt_unistd_h
=no
12027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_decl_getopt_unistd_h" >&5
12031 $as_echo "$gprof_cv_decl_getopt_unistd_h" >&6; }
12032 if test $gprof_cv_decl_getopt_unistd_h = yes; then
12034 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
12038 # Some systems have fabs only in -lm, not in -lc.
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
12040 $as_echo_n "checking for library containing fabs... " >&6; }
12041 if test "${ac_cv_search_fabs+set}" = set; then :
12042 $as_echo_n "(cached) " >&6
12044 ac_func_search_save_LIBS
=$LIBS
12045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12063 for ac_lib
in '' m
; do
12064 if test -z "$ac_lib"; then
12065 ac_res
="none required"
12068 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12070 if ac_fn_c_try_link
"$LINENO"; then :
12071 ac_cv_search_fabs
=$ac_res
12073 rm -f core conftest.err conftest.
$ac_objext \
12075 if test "${ac_cv_search_fabs+set}" = set; then :
12079 if test "${ac_cv_search_fabs+set}" = set; then :
12082 ac_cv_search_fabs
=no
12084 rm conftest.
$ac_ext
12085 LIBS
=$ac_func_search_save_LIBS
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
12088 $as_echo "$ac_cv_search_fabs" >&6; }
12089 ac_res
=$ac_cv_search_fabs
12090 if test "$ac_res" != no
; then :
12091 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12097 # Set the 'development' global.
12098 .
$srcdir/..
/bfd
/development.sh
12100 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12102 /* end confdefs.h. */
12105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12106 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
12109 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
12114 # Check whether --enable-werror was given.
12115 if test "${enable_werror+set}" = set; then :
12116 enableval
=$enable_werror; case "${enableval}" in
12117 yes | y
) ERROR_ON_WARNING
="yes" ;;
12118 no | n
) ERROR_ON_WARNING
="no" ;;
12119 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12124 # Disable -Wformat by default when using gcc on mingw
12127 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12128 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
12134 # Enable -Werror by default when using gcc. Turn it off for releases.
12135 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
12136 ERROR_ON_WARNING
=yes
12140 if test "${ERROR_ON_WARNING}" = yes ; then
12141 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
12142 NO_WERROR
="-Wno-error"
12145 if test "${GCC}" = yes ; then
12146 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
12149 # Check whether --enable-build-warnings was given.
12150 if test "${enable_build_warnings+set}" = set; then :
12151 enableval
=$enable_build_warnings; case "${enableval}" in
12152 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
12153 no
) if test "${GCC}" = yes ; then
12156 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12157 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
12158 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
12159 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
12160 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12165 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
12166 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12178 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12180 cat >confcache
<<\_ACEOF
12181 # This file is a shell script that caches the results of configure
12182 # tests run on this system so they can be shared between configure
12183 # scripts and configure runs, see configure's option --config-cache.
12184 # It is not useful on other systems. If it contains results you don't
12185 # want to keep, you may remove or edit it.
12187 # config.status only pays attention to the cache file if you give it
12188 # the --recheck option to rerun configure.
12190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12192 # following values.
12196 # The following way of writing the cache mishandles newlines in values,
12197 # but we know of no workaround that is simple, portable, and efficient.
12198 # So, we kill variables containing newlines.
12199 # Ultrix sh set writes to stderr and can't be redirected directly,
12200 # and sets the high bit in the cache file unless we assign to the vars.
12202 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12203 eval ac_val
=\$
$ac_var
12207 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12211 _ | IFS | as_nl
) ;; #(
12212 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12213 *) { eval $ac_var=; unset $ac_var;} ;;
12219 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12220 *${as_nl}ac_space
=\
*)
12221 # `set' does not quote correctly, so add quotes: double-quote
12222 # substitution turns \\\\ into \\, and sed turns \\ into \.
12225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12228 # `set' quotes correctly as required by POSIX, so do not add quotes.
12229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12242 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12243 if test -w "$cache_file"; then
12244 test "x$cache_file" != "x/dev/null" &&
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12246 $as_echo "$as_me: updating cache $cache_file" >&6;}
12247 cat confcache
>$cache_file
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12250 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12255 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12256 # Let make expand exec_prefix.
12257 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12259 DEFS
=-DHAVE_CONFIG_H
12263 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12264 # 1. Remove the extension, and $U if already installed.
12265 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12266 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12267 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12268 # will be set to the directory where LIBOBJS objects are built.
12269 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12270 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12272 LIBOBJS
=$ac_libobjs
12274 LTLIBOBJS
=$ac_ltlibobjs
12277 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12278 as_fn_error
"conditional \"AMDEP\" was never defined.
12279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12281 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12282 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12285 if test -n "$EXEEXT"; then
12287 am__EXEEXT_FALSE
='#'
12289 am__EXEEXT_TRUE
='#'
12293 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12294 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12297 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12298 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
12299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12302 : ${CONFIG_STATUS=./config.status}
12304 ac_clean_files_save
=$ac_clean_files
12305 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12307 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12309 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12311 # Generated by $as_me.
12312 # Run this file to recreate the current configuration.
12313 # Compiler output produced by configure, useful for debugging
12314 # configure, is in config.log if it exists.
12317 ac_cs_recheck=false
12320 SHELL=\${CONFIG_SHELL-$SHELL}
12323 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12324 ## -------------------- ##
12325 ## M4sh Initialization. ##
12326 ## -------------------- ##
12328 # Be more Bourne compatible
12329 DUALCASE
=1; export DUALCASE
# for MKS sh
12330 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12334 # is contrary to our usage. Disable this feature.
12335 alias -g '${1+"$@"}'='"$@"'
12336 setopt NO_GLOB_SUBST
12338 case `(set -o) 2>/dev/null` in #(
12350 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12351 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12352 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12354 # Prefer a ksh shell builtin over an external printf program on Solaris,
12355 # but without wasting forks for bash or zsh.
12356 if test -z "$BASH_VERSION$ZSH_VERSION" \
12357 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12358 as_echo='print
-r --'
12359 as_echo_n='print
-rn --'
12360 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12361 as_echo='printf %s
\n'
12362 as_echo_n='printf %s
'
12364 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12365 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12366 as_echo_n='/usr
/ucb
/echo -n'
12368 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12369 as_echo_n_body='eval
12373 expr "X$arg" : "X\\(.*\\)$as_nl";
12374 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12376 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12378 export as_echo_n_body
12379 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12381 export as_echo_body
12382 as_echo='sh
-c $as_echo_body as_echo
'
12385 # The user is always right.
12386 if test "${PATH_SEPARATOR+set}" != set; then
12388 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12389 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12396 # We need space, tab and new line, in precisely that order. Quoting is
12397 # there to prevent editors from complaining about space-tab.
12398 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12399 # splitting by setting IFS to empty value.)
12402 # Find who we are. Look in the path if we contain no directory separator.
12404 *[\\/]* ) as_myself=$0 ;;
12405 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12406 for as_dir in $PATH
12409 test -z "$as_dir" && as_dir=.
12410 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12416 # We did not find ourselves, most probably we were run as `sh COMMAND'
12417 # in which case we are not to be found in the path.
12418 if test "x$as_myself" = x
; then
12421 if test ! -f "$as_myself"; then
12422 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12426 # Unset variables that we do not need and which cause bugs (e.g. in
12427 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12428 # suppresses any "Segmentation fault" message there. '((' could
12429 # trigger a bug in pdksh 5.2.14.
12430 for as_var
in BASH_ENV ENV MAIL MAILPATH
12431 do eval test x\
${$as_var+set} = xset \
12432 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12445 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12448 # as_fn_error ERROR [LINENO LOG_FD]
12449 # ---------------------------------
12450 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12451 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12452 # script with status $?, using 1 if that was 0.
12455 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12457 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12458 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12460 $as_echo "$as_me: error: $1" >&2
12461 as_fn_exit
$as_status
12465 # as_fn_set_status STATUS
12466 # -----------------------
12467 # Set $? to STATUS, without forking.
12468 as_fn_set_status
()
12471 } # as_fn_set_status
12473 # as_fn_exit STATUS
12474 # -----------------
12475 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12479 as_fn_set_status
$1
12485 # Portably unset VAR.
12488 { eval $1=; unset $1;}
12490 as_unset
=as_fn_unset
12491 # as_fn_append VAR VALUE
12492 # ----------------------
12493 # Append the text in VALUE to the end of the definition contained in VAR. Take
12494 # advantage of any shell optimizations that allow amortized linear growth over
12495 # repeated appends, instead of the typical quadratic growth present in naive
12497 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12498 eval 'as_fn_append ()
12509 # as_fn_arith ARG...
12510 # ------------------
12511 # Perform arithmetic evaluation on the ARGs, and store the result in the
12512 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12513 # must be portable across $(()) and expr.
12514 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12515 eval 'as_fn_arith ()
12522 as_val
=`expr "$@" || test $? -eq 1`
12527 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12528 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12534 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12535 as_basename
=basename
12540 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12546 as_me
=`$as_basename -- "$0" ||
12547 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12548 X"$0" : 'X\(//\)$' \| \
12549 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12551 sed '/^.*\/\([^/][^/]*\)\/*$/{
12565 # Avoid depending upon Character Ranges.
12566 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12567 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12568 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12569 as_cr_digits
='0123456789'
12570 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12572 ECHO_C
= ECHO_N
= ECHO_T
=
12573 case `echo -n x` in #(((((
12575 case `echo 'xy\c'` in
12576 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12578 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12585 rm -f conf$$ conf$$.exe conf$$.
file
12586 if test -d conf$$.dir
; then
12587 rm -f conf$$.dir
/conf$$.
file
12590 mkdir conf$$.dir
2>/dev
/null
12592 if (echo >conf$$.
file) 2>/dev
/null
; then
12593 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12595 # ... but there are two gotchas:
12596 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12597 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12598 # In both cases, we have to default to `cp -p'.
12599 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12601 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12609 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12610 rmdir conf$$.dir
2>/dev
/null
12615 # Create "$as_dir" as a directory, including parents if necessary.
12620 -*) as_dir
=.
/$as_dir;;
12622 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12626 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12627 *) as_qdir
=$as_dir;;
12629 as_dirs
="'$as_qdir' $as_dirs"
12630 as_dir
=`$as_dirname -- "$as_dir" ||
12631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12632 X"$as_dir" : 'X\(//\)[^/]' \| \
12633 X"$as_dir" : 'X\(//\)$' \| \
12634 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12635 $as_echo X"$as_dir" |
12636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12640 /^X\(\/\/\)[^/].*/{
12653 test -d "$as_dir" && break
12655 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12656 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12660 if mkdir
-p .
2>/dev
/null
; then
12661 as_mkdir_p
='mkdir -p "$as_dir"'
12663 test -d .
/-p && rmdir .
/-p
12667 if test -x / >/dev
/null
2>&1; then
12668 as_test_x
='test -x'
12670 if ls -dL / >/dev
/null
2>&1; then
12677 if test -d "$1"; then
12683 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12684 ???[sx]*):;;*)false;;esac;fi
12688 as_executable_p
=$as_test_x
12690 # Sed expression to map a string onto a valid CPP name.
12691 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12693 # Sed expression to map a string onto a valid variable name.
12694 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12698 ## ----------------------------------- ##
12699 ## Main body of $CONFIG_STATUS script. ##
12700 ## ----------------------------------- ##
12702 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12705 # Save the log message, to keep $0 and so on meaningful, and to
12706 # report actual input values of CONFIG_FILES etc. instead of their
12707 # values after options handling.
12709 This file was extended by gprof $as_me 2.26.51, which was
12710 generated by GNU Autoconf 2.64. Invocation command line was
12712 CONFIG_FILES = $CONFIG_FILES
12713 CONFIG_HEADERS = $CONFIG_HEADERS
12714 CONFIG_LINKS = $CONFIG_LINKS
12715 CONFIG_COMMANDS = $CONFIG_COMMANDS
12718 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12723 case $ac_config_files in *"
12724 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12727 case $ac_config_headers in *"
12728 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12733 # Files that config.status was made for.
12734 config_files="$ac_config_files"
12735 config_headers="$ac_config_headers"
12736 config_commands="$ac_config_commands"
12740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12742 \`$as_me' instantiates files and other configuration actions
12743 from templates according to the current configuration. Unless the files
12744 and actions are specified as TAGs, all are instantiated by default.
12746 Usage: $0 [OPTION]... [TAG]...
12748 -h, --help print this help, then exit
12749 -V, --version print version number and configuration settings, then exit
12750 -q, --quiet, --silent
12751 do not print progress messages
12752 -d, --debug don't remove temporary files
12753 --recheck update $as_me by reconfiguring in the same conditions
12754 --file=FILE[:TEMPLATE]
12755 instantiate the configuration file FILE
12756 --header=FILE[:TEMPLATE]
12757 instantiate the configuration header FILE
12759 Configuration files:
12762 Configuration headers:
12765 Configuration commands:
12768 Report bugs to the package provider."
12771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12773 gprof config.status 2.26.51
12774 configured by $0, generated by GNU Autoconf 2.64,
12775 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12777 Copyright (C) 2009 Free Software Foundation, Inc.
12778 This config.status script is free software; the Free Software Foundation
12779 gives unlimited permission to copy, distribute and modify it."
12786 test -n "\$AWK" || AWK=awk
12789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12790 # The default lists apply if the user does not specify any file.
12796 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12797 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12808 # Handling of the options.
12809 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12811 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12812 $as_echo "$ac_cs_version"; exit ;;
12813 --debug |
--debu |
--deb |
--de |
--d |
-d )
12815 --file |
--fil |
--fi |
--f )
12818 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12820 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12821 ac_need_defaults
=false
;;
12822 --header |
--heade |
--head |
--hea )
12825 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12827 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12828 ac_need_defaults
=false
;;
12830 # Conflict between --help and --header
12831 as_fn_error
"ambiguous option: \`$1'
12832 Try \`$0 --help' for more information.";;
12833 --help |
--hel |
-h )
12834 $as_echo "$ac_cs_usage"; exit ;;
12835 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12836 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12839 # This is an error.
12840 -*) as_fn_error
"unrecognized option: \`$1'
12841 Try \`$0 --help' for more information." ;;
12843 *) as_fn_append ac_config_targets
" $1"
12844 ac_need_defaults
=false
;;
12850 ac_configure_extra_args
=
12852 if $ac_cs_silent; then
12854 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12859 if \$ac_cs_recheck; then
12860 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12862 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12863 CONFIG_SHELL='$SHELL'
12864 export CONFIG_SHELL
12869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12873 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12874 ## Running $as_me. ##
12880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12884 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12887 # The HP-UX ksh and POSIX shell print the target directory to stdout
12888 # if CDPATH is set.
12889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12891 sed_quote_subst='$sed_quote_subst'
12892 double_quote_subst='$double_quote_subst'
12893 delay_variable_subst='$delay_variable_subst'
12894 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12895 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12896 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12897 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12898 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12899 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12900 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12901 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12902 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12903 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12904 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12905 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12906 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12907 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12908 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12909 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12910 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12911 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12912 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12913 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12914 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12915 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12916 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12917 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12918 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12919 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12920 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12921 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12922 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12923 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12924 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12925 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12926 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12927 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12928 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12929 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12930 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12931 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12932 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12933 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12934 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12935 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12936 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12937 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12938 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12939 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12940 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12941 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12942 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"`'
12943 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12944 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12945 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12946 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12947 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12948 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12949 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12950 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12951 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12952 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12953 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12954 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12955 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12956 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12957 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12958 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12959 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12960 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12961 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12962 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12963 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12964 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12965 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12966 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12967 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12968 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12969 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12970 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12971 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12972 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12973 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12974 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12975 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12976 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12977 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12978 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12979 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12980 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12981 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12982 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12983 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12984 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12985 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12986 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12987 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12988 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12989 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12990 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12991 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12992 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12993 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12994 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12995 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12996 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12997 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12998 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12999 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13000 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13001 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13002 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13003 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13004 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13005 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13006 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13007 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13008 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13009 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13010 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13011 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13012 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13013 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13016 LTCFLAGS='$LTCFLAGS'
13017 compiler='$compiler_DEFAULT'
13019 # A function that is used when there is no print builtin or printf.
13020 func_fallback_echo ()
13022 eval 'cat <<_LTECHO_EOF
13027 # Quote evaled strings.
13041 deplibs_check_method \
13050 lt_cv_sys_global_symbol_pipe \
13051 lt_cv_sys_global_symbol_to_cdecl \
13052 lt_cv_sys_global_symbol_to_c_name_address \
13053 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13054 lt_prog_compiler_no_builtin_flag \
13055 lt_prog_compiler_wl \
13056 lt_prog_compiler_pic \
13057 lt_prog_compiler_static \
13058 lt_cv_prog_compiler_c_o \
13066 export_dynamic_flag_spec \
13067 whole_archive_flag_spec \
13068 compiler_needs_object \
13070 allow_undefined_flag \
13071 no_undefined_flag \
13072 hardcode_libdir_flag_spec \
13073 hardcode_libdir_flag_spec_ld \
13074 hardcode_libdir_separator \
13079 variables_saved_for_relink \
13081 library_names_spec \
13083 install_override_mode \
13087 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13088 *[\\\\\\\`\\"\\\$]*)
13089 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13092 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13097 # Double-quote double-evaled strings.
13098 for var in reload_cmds \
13099 old_postinstall_cmds \
13100 old_postuninstall_cmds \
13102 extract_expsyms_cmds \
13103 old_archive_from_new_cmds \
13104 old_archive_from_expsyms_cmds \
13106 archive_expsym_cmds \
13108 module_expsym_cmds \
13109 export_symbols_cmds \
13112 postuninstall_cmds \
13114 sys_lib_search_path_spec \
13115 sys_lib_dlsearch_path_spec; do
13116 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13117 *[\\\\\\\`\\"\\\$]*)
13118 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13121 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13126 ac_aux_dir='$ac_aux_dir'
13127 xsi_shell='$xsi_shell'
13128 lt_shell_append='$lt_shell_append'
13130 # See if we are running on zsh, and set the options which allow our
13131 # commands through without removal of \ escapes INIT.
13132 if test -n "\${ZSH_VERSION+set}" ; then
13133 setopt NO_GLOB_SUBST
13139 TIMESTAMP='$TIMESTAMP'
13145 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13146 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13148 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13149 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13150 LINGUAS="${LINGUAS-%UNSET%}"
13155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13157 # Handling of arguments.
13158 for ac_config_target
in $ac_config_targets
13160 case $ac_config_target in
13161 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13162 "gconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
13163 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13164 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13165 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13166 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13168 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13173 # If the user did not use the arguments to specify the items to instantiate,
13174 # then the envvar interface is used. Set only those that are not.
13175 # We use the long form for the default assignment because of an extremely
13176 # bizarre bug on SunOS 4.1.3.
13177 if $ac_need_defaults; then
13178 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13179 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13180 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13183 # Have a temporary directory for convenience. Make it in the build tree
13184 # simply because there is no reason against having it here, and in addition,
13185 # creating and moving files from /tmp can sometimes cause problems.
13186 # Hook for its removal unless debugging.
13187 # Note that there is a small window in which the directory will not be cleaned:
13188 # after its creation but before its name has been assigned to `$tmp'.
13192 trap 'exit_status=$?
13193 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13195 trap 'as_fn_exit 1' 1 2 13 15
13197 # Create a (secure) tmp directory for tmp files.
13200 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13201 test -n "$tmp" && test -d "$tmp"
13204 tmp
=.
/conf$$
-$RANDOM
13205 (umask 077 && mkdir
"$tmp")
13206 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13208 # Set up the scripts for CONFIG_FILES section.
13209 # No need to generate them if there are no CONFIG_FILES.
13210 # This happens for instance with `./config.status config.h'.
13211 if test -n "$CONFIG_FILES"; then
13214 ac_cr
=`echo X | tr X '\015'`
13215 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13216 # But we know of no other shell where ac_cr would be empty at this
13217 # point, so we can use a bashism as a fallback.
13218 if test "x$ac_cr" = x
; then
13219 eval ac_cr
=\$
\'\\r
\'
13221 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13222 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13225 ac_cs_awk_cr
=$ac_cr
13228 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13233 echo "cat >conf$$subs.awk <<_ACEOF" &&
13234 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13236 } >conf$$subs.sh ||
13237 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13238 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13240 for ac_last_try in false false false false false :; do
13241 . ./conf$$subs.sh ||
13242 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13244 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13245 if test $ac_delim_n = $ac_delim_num; then
13247 elif $ac_last_try; then
13248 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13250 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13253 rm -f conf$$subs.sh
13255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13256 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13260 s/^/S["/; s
/!.
*/"]=/
13270 s/\(.\{148\}\).*/\1/
13272 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13277 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13284 s/\(.\{148\}\).*/\1/
13286 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13290 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13295 ' <conf$$subs.awk | sed '
13300 ' >>$CONFIG_STATUS || ac_write_fail=1
13301 rm -f conf$$subs.awk
13302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13304 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13305 for (key in S) S_is_set[key] = 1
13311 nfields = split(line, field, "@
")
13313 len = length(field[1])
13314 for (i = 2; i < nfields; i++) {
13316 keylen = length(key)
13317 if (S_is_set[key]) {
13319 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13320 len += length(value) + length(field[++i])
13331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13332 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13333 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13336 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13337 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13340 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13341 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13342 # trailing colons and then remove the whole line if VPATH becomes empty
13343 # (actually we leave an empty line to preserve line numbers).
13344 if test "x
$srcdir" = x.; then
13345 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13346 s/:*\$(srcdir):*/:/
13347 s/:*\${srcdir}:*/:/
13349 s/^\([^=]*=[ ]*\):*/\1/
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13356 fi # test -n "$CONFIG_FILES"
13358 # Set up the scripts for CONFIG_HEADERS section.
13359 # No need to generate them if there are no CONFIG_HEADERS.
13360 # This happens for instance with `./config.status Makefile'.
13361 if test -n "$CONFIG_HEADERS"; then
13362 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13366 # Transform confdefs.h into an awk script `defines.awk', embedded as
13367 # here-document in config.status, that substitutes the proper values into
13368 # config.h.in to produce config.h.
13370 # Create a delimiter string that does not exist in confdefs.h, to ease
13371 # handling of long lines.
13373 for ac_last_try in false false :; do
13374 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13375 if test -z "$ac_t"; then
13377 elif $ac_last_try; then
13378 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13380 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13384 # For the awk script, D is an array of macro values keyed by name,
13385 # likewise P contains macro parameters if any. Preserve backslash
13386 # newline sequences.
13388 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13390 s/.\{148\}/&'"$ac_delim"'/g
13393 s/^[ ]*#[ ]*define[ ][ ]*/ /
13400 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13402 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13406 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13407 D["\
1"]=" \
3\\\\\\n
"\\/p
13409 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13414 s/.\{148\}/&'"$ac_delim"'/g
13419 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13422 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13424 ' <confdefs.h | sed '
13425 s/'"$ac_delim"'/"\\\
13426 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13429 for (key in D) D_is_set[key] = 1
13432 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13434 split(line, arg, " ")
13435 if (arg[1] == "#") {
13439 defundef
= substr
(arg
[1], 2)
13442 split(mac1
, mac2
, "(") #)
13444 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13445 if (D_is_set
[macro
]) {
13446 # Preserve the white space surrounding the "#".
13447 print prefix
"define", macro P
[macro
] D
[macro
]
13450 # Replace #undef with comments. This is necessary, for example,
13451 # in the case of _POSIX_SOURCE, which is predefined and required
13452 # on some systems where configure will not decide to define it.
13453 if (defundef
== "undef") {
13454 print
"/*", prefix defundef
, macro
, "*/"
13462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13463 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13464 fi # test -n "$CONFIG_HEADERS"
13467 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13472 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13474 case $ac_mode$ac_tag in
13476 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13477 :[FH
]-) ac_tag
=-:-;;
13478 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13495 -) ac_f
="$tmp/stdin";;
13496 *) # Look for the file first in the build tree, then in the source tree
13497 # (if the path is not absolute). The absolute path cannot be DOS-style,
13498 # because $ac_f cannot contain `:'.
13502 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13504 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13506 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13507 as_fn_append ac_file_inputs
" '$ac_f'"
13510 # Let's still pretend it is `configure' which instantiates (i.e., don't
13511 # use $as_me), people would be surprised to read:
13512 # /* config.h. Generated by config.status. */
13513 configure_input
='Generated from '`
13514 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13516 if test x
"$ac_file" != x-
; then
13517 configure_input
="$ac_file. $configure_input"
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13519 $as_echo "$as_me: creating $ac_file" >&6;}
13521 # Neutralize special characters interpreted by sed in replacement strings.
13522 case $configure_input in #(
13523 *\
&* |
*\|
* |
*\\* )
13524 ac_sed_conf_input
=`$as_echo "$configure_input" |
13525 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13526 *) ac_sed_conf_input
=$configure_input;;
13530 *:-:* |
*:-) cat >"$tmp/stdin" \
13531 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13536 ac_dir
=`$as_dirname -- "$ac_file" ||
13537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13538 X"$ac_file" : 'X\(//\)[^/]' \| \
13539 X"$ac_file" : 'X\(//\)$' \| \
13540 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13541 $as_echo X"$ac_file" |
13542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13546 /^X\(\/\/\)[^/].*/{
13559 as_dir
="$ac_dir"; as_fn_mkdir_p
13563 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13565 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13566 # A ".." for each directory in $ac_dir_suffix.
13567 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13568 case $ac_top_builddir_sub in
13569 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13570 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13573 ac_abs_top_builddir
=$ac_pwd
13574 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13575 # for backward compatibility:
13576 ac_top_builddir
=$ac_top_build_prefix
13579 .
) # We are building in place.
13581 ac_top_srcdir
=$ac_top_builddir_sub
13582 ac_abs_top_srcdir
=$ac_pwd ;;
13583 [\\/]* | ?
:[\\/]* ) # Absolute name.
13584 ac_srcdir
=$srcdir$ac_dir_suffix;
13585 ac_top_srcdir
=$srcdir
13586 ac_abs_top_srcdir
=$srcdir ;;
13587 *) # Relative name.
13588 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13589 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13590 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13592 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13602 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13603 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13605 ac_MKDIR_P
=$MKDIR_P
13607 [\\/$
]* | ?
:[\\/]* ) ;;
13608 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13613 # If the template does not know about datarootdir, expand it.
13614 # FIXME: This hack should be removed a few years after 2.60.
13615 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13626 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13627 *datarootdir
*) ac_datarootdir_seen
=yes;;
13628 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13630 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13633 ac_datarootdir_hack='
13634 s&@datadir@&$datadir&g
13635 s&@docdir@&$docdir&g
13636 s&@infodir@&$infodir&g
13637 s&@localedir@&$localedir&g
13638 s&@mandir@&$mandir&g
13639 s&\\\${datarootdir}&$datarootdir&g' ;;
13643 # Neutralize VPATH when `$srcdir' = `.'.
13644 # Shell code in configure.ac might set extrasub.
13645 # FIXME: do we really want to maintain this feature?
13646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13647 ac_sed_extra="$ac_vpsub
13650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13652 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13653 s|@configure_input@|
$ac_sed_conf_input|
;t t
13654 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13655 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13656 s
&@srcdir@
&$ac_srcdir&;t t
13657 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13658 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13659 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13660 s
&@builddir@
&$ac_builddir&;t t
13661 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13662 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13663 s
&@INSTALL@
&$ac_INSTALL&;t t
13664 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13665 $ac_datarootdir_hack
13667 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13668 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13670 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13671 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13672 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13674 which seems to be undefined. Please make sure it is defined." >&5
13675 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13676 which seems to be undefined. Please make sure it is defined." >&2;}
13680 -) cat "$tmp/out" && rm -f "$tmp/out";;
13681 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13683 || as_fn_error "could not create $ac_file" "$LINENO" 5
13689 if test x"$ac_file" != x-; then
13691 $as_echo "/* $configure_input */" \
13692 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13693 } >"$tmp/config.h" \
13694 || as_fn_error "could not create $ac_file" "$LINENO" 5
13695 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13697 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13700 mv "$tmp/config.h" "$ac_file" \
13701 || as_fn_error "could not create $ac_file" "$LINENO" 5
13704 $as_echo "/* $configure_input */" \
13705 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13706 || as_fn_error "could not create -" "$LINENO" 5
13708 # Compute "$ac_file"'s index
in $config_headers.
13711 for _am_header
in $config_headers :; do
13712 case $_am_header in
13713 $_am_arg |
$_am_arg:* )
13716 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13719 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13720 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13721 X"$_am_arg" : 'X\(//\)[^/]' \| \
13722 X"$_am_arg" : 'X\(//\)$' \| \
13723 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13724 $as_echo X"$_am_arg" |
13725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13729 /^X\(\/\/\)[^/].*/{
13741 s/.*/./; q'`/stamp-h
$_am_stamp_count
13744 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13745 $as_echo "$as_me: executing $ac_file commands" >&6;}
13750 case $ac_file$ac_mode in
13751 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13752 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13753 # are listed without --file. Let's play safe and only enable the eval
13754 # if we detect the quoting.
13755 case $CONFIG_FILES in
13756 *\'*) eval set x
"$CONFIG_FILES" ;;
13757 *) set x
$CONFIG_FILES ;;
13762 # Strip MF so we end up with the name of the file.
13763 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13764 # Check whether this is an Automake generated Makefile or not.
13765 # We used to match only the files named `Makefile.in', but
13766 # some people rename them; so instead we look at the file content.
13767 # Grep'ing the first line is not enough: some people post-process
13768 # each Makefile.in and add a new line on top of each file to say so.
13769 # Grep'ing the whole file is not good either: AIX grep has a line
13770 # limit of 2048, but all sed's we know have understand at least 4000.
13771 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13772 dirpart
=`$as_dirname -- "$mf" ||
13773 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13774 X"$mf" : 'X\(//\)[^/]' \| \
13775 X"$mf" : 'X\(//\)$' \| \
13776 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13782 /^X\(\/\/\)[^/].*/{
13798 # Extract the definition of DEPDIR, am__include, and am__quote
13799 # from the Makefile without running `make'.
13800 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13801 test -z "$DEPDIR" && continue
13802 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13803 test -z "am__include" && continue
13804 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13805 # When using ansi2knr, U may be empty or an underscore; expand it
13806 U
=`sed -n 's/^U = //p' < "$mf"`
13807 # Find all dependency output files, they are included files with
13808 # $(DEPDIR) in their names. We invoke sed twice because it is the
13809 # simplest approach to changing $(DEPDIR) to its actual value in the
13811 for file in `sed -n "
13812 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13813 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13814 # Make sure the directory exists.
13815 test -f "$dirpart/$file" && continue
13816 fdir
=`$as_dirname -- "$file" ||
13817 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13818 X"$file" : 'X\(//\)[^/]' \| \
13819 X"$file" : 'X\(//\)$' \| \
13820 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13821 $as_echo X"$file" |
13822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13826 /^X\(\/\/\)[^/].*/{
13839 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13840 # echo "creating $dirpart/$file"
13841 echo '# dummy' > "$dirpart/$file"
13848 # See if we are running on zsh, and set the options which allow our
13849 # commands through without removal of \ escapes.
13850 if test -n "${ZSH_VERSION+set}" ; then
13851 setopt NO_GLOB_SUBST
13854 cfgfile
="${ofile}T"
13855 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13858 cat <<_LT_EOF >> "$cfgfile"
13861 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13862 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13863 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13864 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13866 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13867 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13868 # Written by Gordon Matzigkeit, 1996
13870 # This file is part of GNU Libtool.
13872 # GNU Libtool is free software; you can redistribute it and/or
13873 # modify it under the terms of the GNU General Public License as
13874 # published by the Free Software Foundation; either version 2 of
13875 # the License, or (at your option) any later version.
13877 # As a special exception to the GNU General Public License,
13878 # if you distribute this file as part of a program or library that
13879 # is built using GNU Libtool, you may include this file under the
13880 # same distribution terms that you use for the rest of that program.
13882 # GNU Libtool is distributed in the hope that it will be useful,
13883 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13884 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13885 # GNU General Public License for more details.
13887 # You should have received a copy of the GNU General Public License
13888 # along with GNU Libtool; see the file COPYING. If not, a copy
13889 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13890 # obtained by writing to the Free Software Foundation, Inc.,
13891 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13894 # The names of the tagged configurations supported by this script.
13897 # ### BEGIN LIBTOOL CONFIG
13899 # Which release of libtool.m4 was used?
13900 macro_version=$macro_version
13901 macro_revision=$macro_revision
13903 # Whether or not to build shared libraries.
13904 build_libtool_libs=$enable_shared
13906 # Whether or not to build static libraries.
13907 build_old_libs=$enable_static
13909 # What type of objects to build.
13912 # Whether or not to optimize for fast installation.
13913 fast_install=$enable_fast_install
13915 # Shell to use when invoking shell scripts.
13918 # An echo program that protects backslashes.
13922 host_alias=$host_alias
13926 # The build system.
13927 build_alias=$build_alias
13931 # A sed program that does not truncate output.
13934 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13935 Xsed="\$SED -e 1s/^X//"
13937 # A grep program that handles long lines.
13943 # A literal string matcher.
13946 # A BSD- or MS-compatible name lister.
13949 # Whether we need soft or hard links.
13952 # What is the maximum length of a command?
13953 max_cmd_len=$max_cmd_len
13955 # Object file suffix (normally "o").
13958 # Executable file suffix (normally "").
13961 # whether the shell understands "unset".
13964 # turn spaces into newlines.
13967 # turn newlines into spaces.
13970 # An object symbol dumper.
13971 OBJDUMP=$lt_OBJDUMP
13973 # Method to check whether dependent libraries are shared objects.
13974 deplibs_check_method=$lt_deplibs_check_method
13976 # Command to use when deplibs_check_method == "file_magic".
13977 file_magic_cmd=$lt_file_magic_cmd
13981 AR_FLAGS=$lt_AR_FLAGS
13983 # A symbol stripping program.
13986 # Commands used to install an old-style archive.
13988 old_postinstall_cmds=$lt_old_postinstall_cmds
13989 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13991 # Whether to use a lock for old archive extraction.
13992 lock_old_archive_extraction=$lock_old_archive_extraction
13997 # LTCC compiler flags.
13998 LTCFLAGS=$lt_CFLAGS
14000 # Take the output of nm and produce a listing of raw symbols and C names.
14001 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14003 # Transform the output of nm in a proper C declaration.
14004 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14006 # Transform the output of nm in a C name address pair.
14007 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14009 # Transform the output of nm in a C name address pair when lib prefix is needed.
14010 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14012 # The name of the directory that contains temporary libtool files.
14015 # Used to examine libraries when file_magic_cmd begins with "file".
14016 MAGIC_CMD=$MAGIC_CMD
14018 # Must we lock files when doing compilation?
14019 need_locks=$lt_need_locks
14021 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14022 DSYMUTIL=$lt_DSYMUTIL
14024 # Tool to change global to local symbols on Mac OS X.
14027 # Tool to manipulate fat objects and archives on Mac OS X.
14030 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14033 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14034 OTOOL64=$lt_OTOOL64
14036 # Old archive suffix (normally "a").
14039 # Shared library suffix (normally ".so").
14040 shrext_cmds=$lt_shrext_cmds
14042 # The commands to extract the exported symbol list from a shared archive.
14043 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14045 # Variables whose values should be saved in libtool wrapper scripts and
14046 # restored at link time.
14047 variables_saved_for_relink=$lt_variables_saved_for_relink
14049 # Do we need the "lib" prefix for modules?
14050 need_lib_prefix=$need_lib_prefix
14052 # Do we need a version for libraries?
14053 need_version=$need_version
14055 # Library versioning type.
14056 version_type=$version_type
14058 # Shared library runtime path variable.
14059 runpath_var=$runpath_var
14061 # Shared library path variable.
14062 shlibpath_var=$shlibpath_var
14064 # Is shlibpath searched before the hard-coded library search path?
14065 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14067 # Format of library name prefix.
14068 libname_spec=$lt_libname_spec
14070 # List of archive names. First name is the real one, the rest are links.
14071 # The last name is the one that the linker finds with -lNAME
14072 library_names_spec=$lt_library_names_spec
14074 # The coded name of the library, if different from the real name.
14075 soname_spec=$lt_soname_spec
14077 # Permission mode override for installation of shared libraries.
14078 install_override_mode=$lt_install_override_mode
14080 # Command to use after installation of a shared archive.
14081 postinstall_cmds=$lt_postinstall_cmds
14083 # Command to use after uninstallation of a shared archive.
14084 postuninstall_cmds=$lt_postuninstall_cmds
14086 # Commands used to finish a libtool library installation in a directory.
14087 finish_cmds=$lt_finish_cmds
14089 # As "finish_cmds", except a single script fragment to be evaled but
14091 finish_eval=$lt_finish_eval
14093 # Whether we should hardcode library paths into libraries.
14094 hardcode_into_libs=$hardcode_into_libs
14096 # Compile-time system search path for libraries.
14097 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14099 # Run-time system search path for libraries.
14100 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14102 # Whether dlopen is supported.
14103 dlopen_support=$enable_dlopen
14105 # Whether dlopen of programs is supported.
14106 dlopen_self=$enable_dlopen_self
14108 # Whether dlopen of statically linked programs is supported.
14109 dlopen_self_static=$enable_dlopen_self_static
14111 # Commands to strip libraries.
14112 old_striplib=$lt_old_striplib
14113 striplib=$lt_striplib
14116 # The linker used to build libraries.
14119 # How to create reloadable object files.
14120 reload_flag=$lt_reload_flag
14121 reload_cmds=$lt_reload_cmds
14123 # Commands used to build an old-style archive.
14124 old_archive_cmds=$lt_old_archive_cmds
14126 # A language specific compiler.
14129 # Is the compiler the GNU compiler?
14132 # Compiler flag to turn off builtin functions.
14133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14135 # How to pass a linker flag through the compiler.
14136 wl=$lt_lt_prog_compiler_wl
14138 # Additional compiler flags for building library objects.
14139 pic_flag=$lt_lt_prog_compiler_pic
14141 # Compiler flag to prevent dynamic linking.
14142 link_static_flag=$lt_lt_prog_compiler_static
14144 # Does compiler simultaneously support -c and -o options?
14145 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14147 # Whether or not to add -lc for building shared libraries.
14148 build_libtool_need_lc=$archive_cmds_need_lc
14150 # Whether or not to disallow shared libs when runtime libs are static.
14151 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14153 # Compiler flag to allow reflexive dlopens.
14154 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14156 # Compiler flag to generate shared objects directly from archives.
14157 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14159 # Whether the compiler copes with passing no objects directly.
14160 compiler_needs_object=$lt_compiler_needs_object
14162 # Create an old-style archive from a shared archive.
14163 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14165 # Create a temporary old-style archive to link instead of a shared archive.
14166 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14168 # Commands used to build a shared archive.
14169 archive_cmds=$lt_archive_cmds
14170 archive_expsym_cmds=$lt_archive_expsym_cmds
14172 # Commands used to build a loadable module if different from building
14173 # a shared archive.
14174 module_cmds=$lt_module_cmds
14175 module_expsym_cmds=$lt_module_expsym_cmds
14177 # Whether we are building with GNU ld or not.
14178 with_gnu_ld=$lt_with_gnu_ld
14180 # Flag that allows shared libraries with undefined symbols to be built.
14181 allow_undefined_flag=$lt_allow_undefined_flag
14183 # Flag that enforces no undefined symbols.
14184 no_undefined_flag=$lt_no_undefined_flag
14186 # Flag to hardcode \$libdir into a binary during linking.
14187 # This must work even if \$libdir does not exist
14188 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14190 # If ld is used when linking, flag to hardcode \$libdir into a binary
14191 # during linking. This must work even if \$libdir does not exist.
14192 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14194 # Whether we need a single "-rpath" flag with a separated argument.
14195 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14197 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14198 # DIR into the resulting binary.
14199 hardcode_direct=$hardcode_direct
14201 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14202 # DIR into the resulting binary and the resulting library dependency is
14203 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14204 # library is relocated.
14205 hardcode_direct_absolute=$hardcode_direct_absolute
14207 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14208 # into the resulting binary.
14209 hardcode_minus_L=$hardcode_minus_L
14211 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14212 # into the resulting binary.
14213 hardcode_shlibpath_var=$hardcode_shlibpath_var
14215 # Set to "yes" if building a shared library automatically hardcodes DIR
14216 # into the library and all subsequent libraries and executables linked
14218 hardcode_automatic=$hardcode_automatic
14220 # Set to yes if linker adds runtime paths of dependent libraries
14221 # to runtime path list.
14222 inherit_rpath=$inherit_rpath
14224 # Whether libtool must link a program against all its dependency libraries.
14225 link_all_deplibs=$link_all_deplibs
14227 # Fix the shell variable \$srcfile for the compiler.
14228 fix_srcfile_path=$lt_fix_srcfile_path
14230 # Set to "yes" if exported symbols are required.
14231 always_export_symbols=$always_export_symbols
14233 # The commands to list exported symbols.
14234 export_symbols_cmds=$lt_export_symbols_cmds
14236 # Symbols that should not be listed in the preloaded symbols.
14237 exclude_expsyms=$lt_exclude_expsyms
14239 # Symbols that must always be exported.
14240 include_expsyms=$lt_include_expsyms
14242 # Commands necessary for linking programs (against libraries) with templates.
14243 prelink_cmds=$lt_prelink_cmds
14245 # Specify filename containing input files.
14246 file_list_spec=$lt_file_list_spec
14248 # How to hardcode a shared library path into an executable.
14249 hardcode_action=$hardcode_action
14251 # ### END LIBTOOL CONFIG
14257 cat <<\_LT_EOF
>> "$cfgfile"
14258 # AIX sometimes has problems with the GCC collect2 program. For some
14259 # reason, if we set the COLLECT_NAMES environment variable, the problems
14260 # vanish in a puff of smoke.
14261 if test "X${COLLECT_NAMES+set}" != Xset
; then
14263 export COLLECT_NAMES
14270 ltmain
="$ac_aux_dir/ltmain.sh"
14273 # We use sed instead of cat because bash on DJGPP gets confused if
14274 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14275 # text mode, it properly converts lines to CR/LF. This bash problem
14276 # is reportedly fixed, but why not run on old versions too?
14277 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14278 ||
(rm -f "$cfgfile"; exit 1)
14282 cat << \_LT_EOF
>> "$cfgfile"
14284 # func_dirname file append nondir_replacement
14285 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14286 # otherwise set result to NONDIR_REPLACEMENT.
14290 */*) func_dirname_result
="${1%/*}${2}" ;;
14291 * ) func_dirname_result
="${3}" ;;
14295 # func_basename file
14298 func_basename_result
="${1##*/}"
14301 # func_dirname_and_basename file append nondir_replacement
14302 # perform func_basename and func_dirname in a single function
14304 # dirname: Compute the dirname of FILE. If nonempty,
14305 # add APPEND to the result, otherwise set result
14306 # to NONDIR_REPLACEMENT.
14307 # value returned in "$func_dirname_result"
14308 # basename: Compute filename of FILE.
14309 # value retuned in "$func_basename_result"
14310 # Implementation must be kept synchronized with func_dirname
14311 # and func_basename. For efficiency, we do not delegate to
14312 # those functions but instead duplicate the functionality here.
14313 func_dirname_and_basename
()
14316 */*) func_dirname_result
="${1%/*}${2}" ;;
14317 * ) func_dirname_result
="${3}" ;;
14319 func_basename_result
="${1##*/}"
14322 # func_stripname prefix suffix name
14323 # strip PREFIX and SUFFIX off of NAME.
14324 # PREFIX and SUFFIX must not contain globbing or regex special
14325 # characters, hashes, percent signs, but SUFFIX may contain a leading
14326 # dot (in which case that matches only a dot).
14329 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14330 # positional parameters, so assign one to ordinary parameter first.
14331 func_stripname_result
=${3}
14332 func_stripname_result
=${func_stripname_result#"${1}"}
14333 func_stripname_result
=${func_stripname_result%"${2}"}
14339 func_opt_split_opt
=${1%%=*}
14340 func_opt_split_arg
=${1#*=}
14347 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14348 *) func_lo2o_result
=${1} ;;
14352 # func_xform libobj-or-source
14355 func_xform_result
=${1%.*}.lo
14358 # func_arith arithmetic-term...
14361 func_arith_result
=$
(( $
* ))
14365 # STRING may not start with a hyphen.
14368 func_len_result
=${#1}
14373 *) # Bourne compatible functions.
14374 cat << \_LT_EOF
>> "$cfgfile"
14376 # func_dirname file append nondir_replacement
14377 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14378 # otherwise set result to NONDIR_REPLACEMENT.
14381 # Extract subdirectory from the argument.
14382 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14383 if test "X$func_dirname_result" = "X${1}"; then
14384 func_dirname_result
="${3}"
14386 func_dirname_result
="$func_dirname_result${2}"
14390 # func_basename file
14393 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14397 # func_stripname prefix suffix name
14398 # strip PREFIX and SUFFIX off of NAME.
14399 # PREFIX and SUFFIX must not contain globbing or regex special
14400 # characters, hashes, percent signs, but SUFFIX may contain a leading
14401 # dot (in which case that matches only a dot).
14402 # func_strip_suffix prefix name
14406 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14407 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14412 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14413 my_sed_long_arg
='1s/^-[^=]*=//'
14418 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14419 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14425 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14428 # func_xform libobj-or-source
14431 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14434 # func_arith arithmetic-term...
14437 func_arith_result
=`expr "$@"`
14441 # STRING may not start with a hyphen.
14444 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14450 case $lt_shell_append in
14452 cat << \_LT_EOF
>> "$cfgfile"
14454 # func_append var value
14455 # Append VALUE to the end of shell variable VAR.
14463 cat << \_LT_EOF
>> "$cfgfile"
14465 # func_append var value
14466 # Append VALUE to the end of shell variable VAR.
14477 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14478 ||
(rm -f "$cfgfile"; exit 1)
14480 mv -f "$cfgfile" "$ofile" ||
14481 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14486 for ac_file
in $CONFIG_FILES; do
14487 # Support "outfile[:infile[:infile...]]"
14489 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14491 # PO directories have a Makefile.in generated from Makefile.in.in.
14492 case "$ac_file" in */Makefile.
in)
14493 # Adjust a relative srcdir.
14494 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14495 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
14496 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14497 # In autoconf-2.13 it is called $ac_given_srcdir.
14498 # In autoconf-2.50 it is called $srcdir.
14499 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14500 case "$ac_given_srcdir" in
14501 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14502 /*) top_srcdir
="$ac_given_srcdir" ;;
14503 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14505 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14506 rm -f "$ac_dir/POTFILES"
14507 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14508 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14509 POMAKEFILEDEPS
="POTFILES.in"
14510 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14511 # on $ac_dir but don't depend on user-specified configuration
14513 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14514 # The LINGUAS file contains the set of available languages.
14515 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14516 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
14518 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14519 # Hide the ALL_LINGUAS assigment from automake.
14520 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14521 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14523 # The set of available languages was given in configure.ac.
14524 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14526 case "$ac_given_srcdir" in
14528 *) srcdirpre
='$(srcdir)/' ;;
14534 for lang
in $ALL_LINGUAS; do
14535 POFILES
="$POFILES $srcdirpre$lang.po"
14536 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14537 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14538 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14540 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14541 # environment variable.
14543 if test -n "$ALL_LINGUAS"; then
14544 for presentlang
in $ALL_LINGUAS; do
14546 if test "%UNSET%" != "$LINGUAS"; then
14547 desiredlanguages
="$LINGUAS"
14549 desiredlanguages
="$ALL_LINGUAS"
14551 for desiredlang
in $desiredlanguages; do
14552 # Use the presentlang catalog if desiredlang is
14553 # a. equal to presentlang, or
14554 # b. a variant of presentlang (because in this case,
14555 # presentlang can be used as a fallback for messages
14556 # which are not translated in the desiredlang catalog).
14557 case "$desiredlang" in
14558 "$presentlang"*) useit
=yes;;
14561 if test $useit = yes; then
14562 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14567 if test -n "$INST_LINGUAS"; then
14568 for lang
in $INST_LINGUAS; do
14569 CATALOGS
="$CATALOGS $lang.gmo"
14572 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14573 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"
14574 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14575 if test -f "$f"; then
14577 *.orig |
*.bak |
*~
) ;;
14578 *) cat "$f" >> "$ac_dir/Makefile" ;;
14593 ac_clean_files
=$ac_clean_files_save
14595 test $ac_write_fail = 0 ||
14596 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14599 # configure is writing to config.log, and then calls config.status.
14600 # config.status does its own redirection, appending to config.log.
14601 # Unfortunately, on DOS this fails, as config.log is still kept open
14602 # by configure, so config.status won't be able to write to it; its
14603 # output is simply discarded. So we exec the FD to /dev/null,
14604 # effectively closing config.log, so it can be properly (re)opened and
14605 # appended to by config.status. When coming back to configure, we
14606 # need to make the FD available again.
14607 if test "$no_create" != yes; then
14609 ac_config_status_args
=
14610 test "$silent" = yes &&
14611 ac_config_status_args
="$ac_config_status_args --quiet"
14613 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14615 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14616 # would make configure fail if this is the last instruction.
14617 $ac_cs_success || as_fn_exit $?
14619 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14621 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}