2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for rfc822lib 0.13.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-users@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='rfc822lib'
592 PACKAGE_TARNAME
='rfc822lib'
593 PACKAGE_VERSION
='0.13'
594 PACKAGE_STRING
='rfc822lib 0.13'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="rfc822.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
706 INSTALL_STRIP_PROGRAM
748 program_transform_name
761 enable_option_checking
763 enable_dependency_tracking
775 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 ac_unrecognized_opts
=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error $?
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error $?
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error $?
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error $?
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information"
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error $?
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 elif test "x$build_alias" != "x$host_alias"; then
1251 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1253 test "$silent" = yes && exec 6>/dev
/null
1256 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di
=`ls -di .` &&
1258 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $?
"working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $?
"pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1314 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 for ac_var
in $ac_precious_vars; do
1317 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1319 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1330 \`configure' configures rfc822lib 0.13 to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/rfc822lib]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1393 --build=BUILD configure
for building on BUILD
[guessed
]
1394 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1398 if test -n "$ac_init_help"; then
1399 case $ac_init_help in
1400 short | recursive
) echo "Configuration of rfc822lib 0.13:";;
1405 --disable-option-checking ignore unrecognized
--enable/--with options
1406 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1407 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1408 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1409 --disable-silent-rules verbose build output
(undo
: "make V=0")
1410 --enable-dependency-tracking
1411 do not reject slow dependency extractors
1412 --disable-dependency-tracking
1413 speeds up one-time build
1414 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1415 --enable-static[=PKGS
] build static libraries
[default
=yes]
1416 --enable-fast-install[=PKGS
]
1417 optimize
for fast installation
[default
=yes]
1418 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1419 --disable-largefile omit support
for large files
1422 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1423 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1424 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1426 --with-aix-soname=aix|svr4|both
1427 shared library versioning
(aka
"SONAME") variant to
1428 provide on AIX
, [default
=aix
].
1429 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1430 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1431 compiler
's sysroot if not specified).
1432 --with-libidn=DIR Support IDN (needs GNU Libidn)
1434 Some influential environment variables:
1435 CC C compiler command
1436 CFLAGS C compiler flags
1437 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1438 nonstandard directory <lib dir>
1439 LIBS libraries to pass to the linker, e.g. -l<library>
1440 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441 you have headers in a nonstandard directory <include dir>
1444 User-defined run-time library search path.
1445 PKG_CONFIG path to pkg-config utility
1447 directories to add to pkg-config's search path
1449 path overriding pkg-config
's built-in search path
1451 C compiler flags for LIBIDN, overriding pkg-config
1452 LIBIDN_LIBS linker flags for LIBIDN, overriding pkg-config
1454 Use these variables to override the choices made by `configure' or to
help
1455 it to
find libraries and programs with nonstandard names
/locations.
1457 Report bugs to
<courier-users@lists.sourceforge.net
>.
1462 if test "$ac_init_help" = "recursive"; then
1463 # If there are subdirs, report their specific --help.
1464 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1465 test -d "$ac_dir" ||
1466 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1471 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1473 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474 # A ".." for each directory in $ac_dir_suffix.
1475 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476 case $ac_top_builddir_sub in
1477 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1478 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1481 ac_abs_top_builddir
=$ac_pwd
1482 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir
=$ac_top_build_prefix
1487 .
) # We are building in place.
1489 ac_top_srcdir
=$ac_top_builddir_sub
1490 ac_abs_top_srcdir
=$ac_pwd ;;
1491 [\\/]* | ?
:[\\/]* ) # Absolute name.
1492 ac_srcdir
=$srcdir$ac_dir_suffix;
1493 ac_top_srcdir
=$srcdir
1494 ac_abs_top_srcdir
=$srcdir ;;
1496 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1498 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1500 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1502 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1503 # Check for guested configure.
1504 if test -f "$ac_srcdir/configure.gnu"; then
1506 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507 elif test -f "$ac_srcdir/configure"; then
1509 $SHELL "$ac_srcdir/configure" --help=recursive
1511 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1513 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1520 rfc822lib configure
0.13
1521 generated by GNU Autoconf
2.69
1523 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1524 This configure
script is free software
; the Free Software Foundation
1525 gives unlimited permission to copy
, distribute and modify it.
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_compile
()
1539 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1540 rm -f conftest.
$ac_objext
1541 if { { ac_try
="$ac_compile"
1543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_compile") 2>conftest.err
1550 if test -s conftest.err; then
1551 grep -v '^ *+' conftest.err >conftest.er1
1552 cat conftest.er1 >&5
1553 mv -f conftest.er1 conftest.err
1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556 test $ac_status = 0; } && {
1557 test -z "$ac_c_werror_flag" ||
1558 test ! -s conftest.err
1559 } && test -s conftest.$ac_objext; then :
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1570 } # ac_fn_c_try_compile
1572 # ac_fn_c_try_cpp LINENO
1573 # ----------------------
1574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 if { { ac_try="$ac_cpp conftest.$ac_ext"
1580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1581 *) ac_try_echo
=$ac_try;;
1583 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1587 if test -s conftest.err
; then
1588 grep -v '^ *+' conftest.err
>conftest.er1
1589 cat conftest.er1
>&5
1590 mv -f conftest.er1 conftest.err
1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593 test $ac_status = 0; } > conftest.i
&& {
1594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1595 test ! -s conftest.err
1599 $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.
$ac_ext >&5
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status
$ac_retval
1609 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1612 # the include files in INCLUDES and setting the cache variable VAR
1614 ac_fn_c_check_header_mongrel
()
1616 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1617 if eval \
${$3+:} false
; then :
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619 $as_echo_n "checking for $2... " >&6; }
1620 if eval \
${$3+:} false
; then :
1621 $as_echo_n "(cached) " >&6
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1625 $as_echo "$ac_res" >&6; }
1627 # Is the header compilable?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1629 $as_echo_n "checking $2 usability... " >&6; }
1630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1635 if ac_fn_c_try_compile
"$LINENO"; then :
1636 ac_header_compiler
=yes
1638 ac_header_compiler
=no
1640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1642 $as_echo "$ac_header_compiler" >&6; }
1644 # Is the header present?
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1646 $as_echo_n "checking $2 presence... " >&6; }
1647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1651 if ac_fn_c_try_cpp
"$LINENO"; then :
1652 ac_header_preproc
=yes
1654 ac_header_preproc
=no
1656 rm -f conftest.err conftest.i conftest.
$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1658 $as_echo "$ac_header_preproc" >&6; }
1660 # So? What about this header?
1661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1664 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1670 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1672 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1674 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1676 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1678 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 ( $as_echo "## -------------------------------------------------- ##
1680 ## Report this to courier-users@lists.sourceforge.net ##
1681 ## -------------------------------------------------- ##"
1682 ) |
sed "s/^/$as_me: WARNING: /" >&2
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \
${$3+:} false
; then :
1688 $as_echo_n "(cached) " >&6
1690 eval "$3=\$ac_header_compiler"
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 } # ac_fn_c_check_header_mongrel
1700 # ac_fn_c_try_run LINENO
1701 # ----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703 # that executables *can* be run.
1706 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1707 if { { ac_try
="$ac_link"
1709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1718 { { case "(($ac_try" in
1719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1720 *) ac_try_echo
=$ac_try;;
1722 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_try") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; }; }; then :
1730 $as_echo "$as_me: program exited with status $ac_status" >&5
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.
$ac_ext >&5
1734 ac_retval
=$ac_status
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status
$ac_retval
1742 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1743 # -------------------------------------------------------
1744 # Tests whether HEADER exists and can be compiled using the include files in
1745 # INCLUDES, setting the cache variable VAR accordingly.
1746 ac_fn_c_check_header_compile
()
1748 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \
${$3+:} false
; then :
1752 $as_echo_n "(cached) " >&6
1754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1759 if ac_fn_c_try_compile
"$LINENO"; then :
1764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_header_compile
1773 # ac_fn_c_try_link LINENO
1774 # -----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded.
1778 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1779 rm -f conftest.
$ac_objext conftest
$ac_exeext
1780 if { { ac_try
="$ac_link"
1782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>conftest.err
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } && {
1796 test -z "$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 } && test -s conftest$ac_exeext && {
1799 test "$cross_compiling" = yes ||
1800 test -x conftest$ac_exeext
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1809 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1810 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1811 # interfere with the next link command; also delete a directory that is
1812 # left behind by Apple's compiler. We do this before executing the actions.
1813 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 as_fn_set_status $ac_retval
1817 } # ac_fn_c_try_link
1819 # ac_fn_c_check_func LINENO FUNC VAR
1820 # ----------------------------------
1821 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1822 ac_fn_c_check_func ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828 $as_echo_n "(cached) " >&6
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1832 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1834 #define $2 innocuous_$2
1836 /* System header to define __stub macros and hopefully few prototypes,
1837 which can conflict with char $2 (); below.
1838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1839 <limits.h> exists even on freestanding compilers. */
1842 # include <limits.h>
1844 # include <assert.h>
1849 /* Override any GCC internal prototype to avoid an error.
1850 Use char because int might match the return type of a GCC
1851 builtin and then its argument prototype would still apply. */
1856 /* The GNU C library defines this for functions which it implements
1857 to always fail with ENOSYS. Some functions are actually named
1858 something starting with __ and the normal name is an alias. */
1859 #if defined __stub_$2 || defined __stub___$2
1871 if ac_fn_c_try_link "$LINENO"; then :
1876 rm -f core conftest.err conftest.$ac_objext \
1877 conftest$ac_exeext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 } # ac_fn_c_check_func
1886 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1887 # -------------------------------------------
1888 # Tests whether TYPE exists after having included INCLUDES, setting cache
1889 # variable VAR accordingly.
1890 ac_fn_c_check_type ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1911 if ac_fn_c_try_compile "$LINENO"; then :
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1924 if ac_fn_c_try_compile "$LINENO"; then :
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 } # ac_fn_c_check_type
1939 cat >config.log <<_ACEOF
1940 This file contains any messages produced by compilers while
1941 running configure, to aid debugging if configure makes a mistake.
1943 It was created by rfc822lib $as_me 0.13, which was
1944 generated by GNU Autoconf 2.69. Invocation command line was
1956 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1957 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1958 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1959 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1960 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1962 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1963 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1965 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1966 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1967 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1968 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1969 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1970 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1971 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir=.
1980 $as_echo "PATH: $as_dir"
1996 # Keep a trace of the command line.
1997 # Strip out --no-create and --no-recursion so they do not pile up.
1998 # Strip out --silent because we don't want to record it for future runs.
1999 # Also quote any args containing shell meta-characters.
2000 # Make two passes to allow for proper duplicate-argument suppression.
2004 ac_must_keep_next=false
2010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2012 | -silent | --silent | --silen | --sile | --sil)
2015 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2018 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2020 as_fn_append ac_configure_args1 " '$ac_arg'"
2021 if test $ac_must_keep_next = true; then
2022 ac_must_keep_next=false # Got value, back to normal.
2025 *=* | --config-cache | -C | -disable-* | --disable-* \
2026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2028 | -with-* | --with-* | -without-* | --without-* | --x)
2029 case "$ac_configure_args0 " in
2030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2033 -* ) ac_must_keep_next=true ;;
2036 as_fn_append ac_configure_args " '$ac_arg'"
2041 { ac_configure_args0=; unset ac_configure_args0;}
2042 { ac_configure_args1=; unset ac_configure_args1;}
2044 # When interrupted or exit'd, cleanup temporary files, and complete
2045 # config.log. We remove comments because anyway the quotes in there
2046 # would cause problems or look ugly.
2047 # WARNING: Use '\'' to represent an apostrophe within the trap.
2048 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2049 trap 'exit_status=$?
2050 # Save into config.log some information that might help in debugging.
2054 $as_echo "## ---------------- ##
2055 ## Cache variables. ##
2056 ## ---------------- ##"
2058 # The following way of writing the cache mishandles newlines in values,
2060 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2061 eval ac_val=\$$ac_var
2065 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2066 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2069 _ | IFS | as_nl) ;; #(
2070 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2071 *) { eval $ac_var=; unset $ac_var;} ;;
2076 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2077 *${as_nl}ac_space=\ *)
2079 "s/'\''/'\''\\\\'\'''\''/g;
2080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2083 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2090 $as_echo "## ----------------- ##
2091 ## Output variables. ##
2092 ## ----------------- ##"
2094 for ac_var in $ac_subst_vars
2096 eval ac_val=\$$ac_var
2098 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2100 $as_echo "$ac_var='\''$ac_val'\''"
2104 if test -n "$ac_subst_files"; then
2105 $as_echo "## ------------------- ##
2106 ## File substitutions. ##
2107 ## ------------------- ##"
2109 for ac_var in $ac_subst_files
2111 eval ac_val=\$$ac_var
2113 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2115 $as_echo "$ac_var='\''$ac_val'\''"
2120 if test -s confdefs.h; then
2121 $as_echo "## ----------- ##
2128 test "$ac_signal" != 0 &&
2129 $as_echo "$as_me: caught signal $ac_signal"
2130 $as_echo "$as_me: exit $exit_status"
2132 rm -f core *.core core.conftest.* &&
2133 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2136 for ac_signal in 1 2 13 15; do
2137 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2141 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2142 rm -f -r conftest* confdefs.h
2144 $as_echo "/* confdefs.h */" > confdefs.h
2146 # Predefined preprocessor variables.
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_NAME "$PACKAGE_NAME"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_STRING "$PACKAGE_STRING"
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_URL "$PACKAGE_URL"
2173 # Let the site file select an alternate cache file if it wants to.
2174 # Prefer an explicitly selected file to automatically selected ones.
2177 if test -n "$CONFIG_SITE"; then
2178 # We do not want a PATH search for config.site.
2179 case $CONFIG_SITE in #((
2180 -*) ac_site_file1=./$CONFIG_SITE;;
2181 */*) ac_site_file1=$CONFIG_SITE;;
2182 *) ac_site_file1=./$CONFIG_SITE;;
2184 elif test "x$prefix" != xNONE; then
2185 ac_site_file1=$prefix/share/config.site
2186 ac_site_file2=$prefix/etc/config.site
2188 ac_site_file1=$ac_default_prefix/share/config.site
2189 ac_site_file2=$ac_default_prefix/etc/config.site
2191 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2193 test "x$ac_site_file" = xNONE && continue
2194 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2196 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2197 sed 's/^/| /' "$ac_site_file" >&5
2199 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2201 as_fn_error $? "failed to load site
script $ac_site_file
2202 See \
`config.log' for more details" "$LINENO" 5; }
2206 if test -r "$cache_file"; then
2207 # Some versions of bash will fail to source /dev/null (special files
2208 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2209 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2211 $as_echo "$as_me: loading cache $cache_file" >&6;}
2213 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2214 *) . "./$cache_file";;
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2219 $as_echo "$as_me: creating cache $cache_file" >&6;}
2223 # Check that the precious variables saved in the cache have kept the same
2225 ac_cache_corrupted=false
2226 for ac_var in $ac_precious_vars; do
2227 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2228 eval ac_new_set=\$ac_env_${ac_var}_set
2229 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2230 eval ac_new_val=\$ac_env_${ac_var}_value
2231 case $ac_old_set,$ac_new_set in
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2234 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2235 ac_cache_corrupted=: ;;
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2238 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2239 ac_cache_corrupted=: ;;
2242 if test "x$ac_old_val" != "x$ac_new_val"; then
2243 # differences in whitespace do not lead to failure.
2244 ac_old_val_w=`echo x
$ac_old_val`
2245 ac_new_val_w=`echo x
$ac_new_val`
2246 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2248 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2249 ac_cache_corrupted=:
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2252 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2253 eval $ac_var=\$ac_old_val
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2256 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2258 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2261 # Pass precious variables to config.status.
2262 if test "$ac_new_set" = set; then
2264 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2265 *) ac_arg=$ac_var=$ac_new_val ;;
2267 case " $ac_configure_args " in
2268 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2269 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2273 if $ac_cache_corrupted; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2277 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2278 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2280 ## -------------------- ##
2281 ## Main body of script. ##
2282 ## -------------------- ##
2285 ac_cpp='$CPP $CPPFLAGS'
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2292 >confdefs.h # Kill PACKAGE_ macros
2296 for ac_dir in ../.. "$srcdir"/../..; do
2297 if test -f "$ac_dir/install-sh"; then
2299 ac_install_sh="$ac_aux_dir/install-sh -c"
2301 elif test -f "$ac_dir/install.sh"; then
2303 ac_install_sh="$ac_aux_dir/install.sh -c"
2305 elif test -f "$ac_dir/shtool"; then
2307 ac_install_sh="$ac_aux_dir/shtool install -c"
2311 if test -z "$ac_aux_dir"; then
2312 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2315 # These three variables are undocumented and unsupported,
2316 # and are intended to be withdrawn in a future Autoconf release.
2317 # They can cause serious problems if a builder's source tree is in a directory
2318 # whose full name contains unusual characters.
2319 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2320 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2321 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2324 am__api_version='1.15'
2326 # Find a good install program. We prefer a C program (faster),
2327 # so one script is as good as another. But avoid the broken or
2328 # incompatible versions:
2329 # SysV /etc/install, /usr/sbin/install
2330 # SunOS /usr/etc/install
2331 # IRIX /sbin/install
2333 # AmigaOS /C/install, which installs bootblocks on floppy discs
2334 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2335 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2336 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2337 # OS/2's system install, which has a completely different semantic
2338 # ./install, which can be erroneously created by make from ./install.sh.
2339 # Reject install programs that cannot install multiple files.
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2341 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2342 if test -z "$INSTALL"; then
2343 if ${ac_cv_path_install+:} false; then :
2344 $as_echo_n "(cached) " >&6
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 # Account for people who put trailing slashes in PATH elements.
2352 case $as_dir/ in #((
2353 ./ | .// | /[cC]/* | \
2354 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2355 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2358 # OSF1 and SCO ODT 3.0 have their own names for install.
2359 # Don't use installbsd from OSF since it installs stuff as root
2361 for ac_prog in ginstall scoinst install; do
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2364 if test $ac_prog = install &&
2365 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2366 # AIX install. It has an incompatible calling convention.
2368 elif test $ac_prog = install &&
2369 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2370 # program-specific install script used by HP pwplus--don't use.
2373 rm -rf conftest.one conftest.two conftest.dir
2374 echo one > conftest.one
2375 echo two > conftest.two
2377 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2378 test -s conftest.one && test -s conftest.two &&
2379 test -s conftest.dir/conftest.one &&
2380 test -s conftest.dir/conftest.two
2382 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2395 rm -rf conftest.one conftest.two conftest.dir
2398 if test "${ac_cv_path_install+set}" = set; then
2399 INSTALL=$ac_cv_path_install
2401 # As a last resort, use the slow shell script. Don't cache a
2402 # value for INSTALL within a source directory, because that will
2403 # break other packages using the cache if that directory is
2404 # removed, or if the value is a relative name.
2405 INSTALL=$ac_install_sh
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2409 $as_echo "$INSTALL" >&6; }
2411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2412 # It thinks the first close brace ends the variable substitution.
2413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2417 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2420 $as_echo_n "checking whether build environment is sane... " >&6; }
2421 # Reject unsafe characters in $srcdir or the absolute working directory
2422 # name. Accept space and tab only in the latter.
2426 *[\\\"\#\$\&\'\`$am_lf]*)
2427 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2430 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2431 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2434 # Do 'set' in a subshell so we don't clobber the current shell's
2435 # arguments. Must try -L first in case configure is actually a
2436 # symlink; some systems play weird games with the mod time of symlinks
2437 # (eg FreeBSD returns the mod time of the symlink's containing
2441 for am_try
in 1 2; do
2442 echo "timestamp, slept: $am_has_slept" > conftest.
file
2443 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2444 if test "$*" = "X"; then
2446 set X
`ls -t "$srcdir/configure" conftest.file`
2448 if test "$*" != "X $srcdir/configure conftest.file" \
2449 && test "$*" != "X conftest.file $srcdir/configure"; then
2451 # If neither matched, then we have a broken ls. This can happen
2452 # if, for instance, CONFIG_SHELL is bash and it inherits a
2453 # broken ls alias from the environment. This has actually
2454 # happened. Such a system could not be considered "sane".
2455 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2456 alias in your environment" "$LINENO" 5
2458 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2465 test "$2" = conftest.
file
2471 as_fn_error $?
"newly created file is older than distributed files!
2472 Check your system clock" "$LINENO" 5
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2475 $as_echo "yes" >&6; }
2476 # If we didn't sleep, we still need to ensure time stamps of config.status and
2477 # generated files are strictly newer.
2479 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2486 test "$program_prefix" != NONE
&&
2487 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2488 # Use a double $ so make ignores it.
2489 test "$program_suffix" != NONE
&&
2490 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2491 # Double any \ or $.
2492 # By default was `s,x,x', remove it if useless.
2493 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2494 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2496 # Expand $ac_aux_dir to an absolute path.
2497 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2499 if test x
"${MISSING+set}" != xset
; then
2502 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2504 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2507 # Use eval to expand $SHELL
2508 if eval "$MISSING --is-lightweight"; then
2509 am_missing_run
="$MISSING "
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2513 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2516 if test x
"${install_sh+set}" != xset
; then
2519 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2521 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2525 # Installed binaries are usually stripped using 'strip' when the user
2526 # run "make install-strip". However 'strip' might not be the right
2527 # tool to use in cross-compilation environments, therefore Automake
2528 # will honor the 'STRIP' environment variable to overrule this program.
2529 if test "$cross_compiling" != no
; then
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2532 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if ${ac_cv_prog_STRIP+:} false
; then :
2536 $as_echo_n "(cached) " >&6
2538 if test -n "$STRIP"; then
2539 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 STRIP
=$ac_cv_prog_STRIP
2559 if test -n "$STRIP"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2561 $as_echo "$STRIP" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2569 if test -z "$ac_cv_prog_STRIP"; then
2571 # Extract the first word of "strip", so it can be a program name with args.
2572 set dummy strip
; 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 ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$ac_ct_STRIP"; then
2579 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # 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 as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_STRIP
="strip"
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2599 if test -n "$ac_ct_STRIP"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2601 $as_echo "$ac_ct_STRIP" >&6; }
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2607 if test "x$ac_ct_STRIP" = x
; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614 ac_tool_warned
=yes ;;
2619 STRIP
="$ac_cv_prog_STRIP"
2623 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2626 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2627 if test -z "$MKDIR_P"; then
2628 if ${ac_cv_path_mkdir+:} false
; then :
2629 $as_echo_n "(cached) " >&6
2631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2635 test -z "$as_dir" && as_dir
=.
2636 for ac_prog
in mkdir gmkdir
; do
2637 for ac_exec_ext
in '' $ac_executable_extensions; do
2638 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2639 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2640 'mkdir (GNU coreutils) '* | \
2641 'mkdir (coreutils) '* | \
2642 'mkdir (fileutils) '4.1*)
2643 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2653 test -d .
/--version && rmdir .
/--version
2654 if test "${ac_cv_path_mkdir+set}" = set; then
2655 MKDIR_P
="$ac_cv_path_mkdir -p"
2657 # As a last resort, use the slow shell script. Don't cache a
2658 # value for MKDIR_P within a source directory, because that will
2659 # break other packages using the cache if that directory is
2660 # removed, or if the value is a relative name.
2661 MKDIR_P
="$ac_install_sh -d"
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2665 $as_echo "$MKDIR_P" >&6; }
2667 for ac_prog
in gawk mawk nawk
awk
2669 # Extract the first word of "$ac_prog", so it can be a program name with args.
2670 set dummy
$ac_prog; ac_word
=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_AWK+:} false
; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$AWK"; then
2677 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_AWK
="$ac_prog"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 if test -n "$AWK"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2699 $as_echo "$AWK" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2706 test -n "$AWK" && break
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2710 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2712 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2713 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 cat >conftest.
make <<\_ACEOF
2719 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2721 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2722 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2724 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2726 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2730 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2737 SET_MAKE
="MAKE=${MAKE-make}"
2740 rm -rf .tst
2>/dev
/null
2741 mkdir .tst
2>/dev
/null
2742 if test -d .tst
; then
2747 rmdir .tst
2>/dev
/null
2749 # Check whether --enable-silent-rules was given.
2750 if test "${enable_silent_rules+set}" = set; then :
2751 enableval
=$enable_silent_rules;
2754 case $enable_silent_rules in # (((
2755 yes) AM_DEFAULT_VERBOSITY
=0;;
2756 no
) AM_DEFAULT_VERBOSITY
=1;;
2757 *) AM_DEFAULT_VERBOSITY
=1;;
2759 am_make
=${MAKE-make}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2761 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2762 if ${am_cv_make_support_nested_variables+:} false
; then :
2763 $as_echo_n "(cached) " >&6
2765 if $as_echo 'TRUE=$(BAR$(V))
2771 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2772 am_cv_make_support_nested_variables
=yes
2774 am_cv_make_support_nested_variables
=no
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2778 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2779 if test $am_cv_make_support_nested_variables = yes; then
2781 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2783 AM_V
=$AM_DEFAULT_VERBOSITY
2784 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2788 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2789 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2790 # is not polluted with repeated "-I."
2791 am__isrc
=' -I$(srcdir)'
2792 # test to see if srcdir already configured
2793 if test -f $srcdir/config.status
; then
2794 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2798 # test whether we have cygpath
2799 if test -z "$CYGPATH_W"; then
2800 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2801 CYGPATH_W
='cygpath -w'
2808 # Define the identity of the package.
2813 # Some tools Automake needs.
2815 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2818 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2821 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2824 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2827 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2829 # For better backward compatibility. To be removed once Automake 1.9.x
2830 # dies out for good. For more background, see:
2831 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2832 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2833 mkdir_p
='$(MKDIR_P)'
2835 # We need awk for the "check" target (and possibly the TAP driver). The
2836 # system "awk" is bad on some platforms.
2837 # Always define AMTAR for backward compatibility. Yes, it's still used
2838 # in the wild :-( We should find a proper way to deprecate it ...
2842 # We'll loop over all known methods to create a tar archive until one works.
2843 _am_tools
='gnutar pax cpio none'
2845 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2852 # POSIX will say in a future version that running "rm -f" with no argument
2853 # is OK; and we want to be able to make that assumption in our Makefile
2854 # recipes. So use an aggressive probe to check that the usage we want is
2855 # actually supported "in the wild" to an acceptable degree.
2856 # See automake bug#10828.
2857 # To make any issue more visible, cause the running configure to be aborted
2858 # by default if the 'rm' program in use doesn't match our expectations; the
2859 # user can still override this though.
2860 if rm -f && rm -fr && rm -rf; then : OK
; else
2864 Your 'rm' program seems unable to run without file operands specified
2865 on the command line, even when the '-f' option is present. This is contrary
2866 to the behaviour of most rm programs out there, and not conforming with
2867 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2869 Please tell bug-automake@gnu.org about your system, including the value
2870 of your $PATH and any error possibly output before this message. This
2871 can help us improve future automake versions.
2874 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2875 echo 'Configuration will proceed anyway, since you have set the' >&2
2876 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2880 Aborting the configuration process, to ensure you take notice of the issue.
2882 You can download and install GNU coreutils to get an 'rm' implementation
2883 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2885 If you want to complete the configuration process using your problematic
2886 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2887 to "yes", and re-run configure.
2890 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2894 ac_config_headers
="$ac_config_headers config.h"
2897 DEPDIR
="${am__leading_dot}deps"
2899 ac_config_commands
="$ac_config_commands depfiles"
2902 am_make
=${MAKE-make}
2903 cat > confinc
<< 'END'
2905 @
echo this is the am__doit target
2908 # If we don't find an include directive, just comment out the code.
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2910 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2914 # First try GNU make style include.
2915 echo "include confinc" > confmf
2916 # Ignore all kinds of additional output from 'make'.
2917 case `$am_make -s -f confmf 2> /dev/null` in #(
2918 *the\ am__doit\ target
*)
2924 # Now try BSD make style include.
2925 if test "$am__include" = "#"; then
2926 echo '.include "confinc"' > confmf
2927 case `$am_make -s -f confmf 2> /dev/null` in #(
2928 *the\ am__doit\ target
*)
2929 am__include
=.include
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2938 $as_echo "$_am_result" >&6; }
2939 rm -f confinc confmf
2941 # Check whether --enable-dependency-tracking was given.
2942 if test "${enable_dependency_tracking+set}" = set; then :
2943 enableval
=$enable_dependency_tracking;
2946 if test "x$enable_dependency_tracking" != xno
; then
2947 am_depcomp
="$ac_aux_dir/depcomp"
2951 if test "x$enable_dependency_tracking" != xno; then
2961 ac_cpp
='$CPP $CPPFLAGS'
2962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2965 if test -n "$ac_tool_prefix"; then
2966 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2967 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if ${ac_cv_prog_CC+:} false
; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$CC"; then
2974 ac_cv_prog_CC
="$CC" # Let the user override the test.
2976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir
=.
2981 for ac_exec_ext
in '' $ac_executable_extensions; do
2982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2983 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 if test -n "$CC"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 $as_echo "$CC" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3004 if test -z "$ac_cv_prog_CC"; then
3006 # Extract the first word of "gcc", so it can be a program name with args.
3007 set dummy gcc
; ac_word
=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$ac_ct_CC"; then
3014 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir
=.
3021 for ac_exec_ext
in '' $ac_executable_extensions; do
3022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3023 ac_cv_prog_ac_ct_CC
="gcc"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3034 if test -n "$ac_ct_CC"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3036 $as_echo "$ac_ct_CC" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3042 if test "x$ac_ct_CC" = x
; then
3045 case $cross_compiling:$ac_tool_warned in
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3049 ac_tool_warned
=yes ;;
3057 if test -z "$CC"; then
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3060 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_CC+:} false
; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$CC"; then
3067 ac_cv_prog_CC
="$CC" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$CC"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3089 $as_echo "$CC" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3098 if test -z "$CC"; then
3099 # Extract the first word of "cc", so it can be a program name with args.
3100 set dummy cc
; ac_word
=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if ${ac_cv_prog_CC+:} false
; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$CC"; then
3107 ac_cv_prog_CC
="$CC" # Let the user override the test.
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_exec_ext
in '' $ac_executable_extensions; do
3116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3117 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3118 ac_prog_rejected
=yes
3122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test $ac_prog_rejected = yes; then
3130 # We found a bogon in the path, so make sure we never use it.
3131 set dummy
$ac_cv_prog_CC
3133 if test $# != 0; then
3134 # We chose a different compiler from the bogus one.
3135 # However, it has the same basename, so the bogon will be chosen
3136 # first if we set CC to just the basename; use the full file name.
3138 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3144 if test -n "$CC"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3146 $as_echo "$CC" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3154 if test -z "$CC"; then
3155 if test -n "$ac_tool_prefix"; then
3156 for ac_prog
in cl.exe
3158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161 $as_echo_n "checking for $ac_word... " >&6; }
3162 if ${ac_cv_prog_CC+:} false
; then :
3163 $as_echo_n "(cached) " >&6
3165 if test -n "$CC"; then
3166 ac_cv_prog_CC
="$CC" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 if test -n "$CC"; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3188 $as_echo "$CC" >&6; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3195 test -n "$CC" && break
3198 if test -z "$CC"; then
3200 for ac_prog
in cl.exe
3202 # Extract the first word of "$ac_prog", so it can be a program name with args.
3203 set dummy
$ac_prog; ac_word
=$2
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205 $as_echo_n "checking for $ac_word... " >&6; }
3206 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3207 $as_echo_n "(cached) " >&6
3209 if test -n "$ac_ct_CC"; then
3210 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3216 test -z "$as_dir" && as_dir
=.
3217 for ac_exec_ext
in '' $ac_executable_extensions; do
3218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3219 ac_cv_prog_ac_ct_CC
="$ac_prog"
3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3230 if test -n "$ac_ct_CC"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3232 $as_echo "$ac_ct_CC" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3239 test -n "$ac_ct_CC" && break
3242 if test "x$ac_ct_CC" = x
; then
3245 case $cross_compiling:$ac_tool_warned in
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3249 ac_tool_warned
=yes ;;
3258 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3260 as_fn_error $?
"no acceptable C compiler found in \$PATH
3261 See \`config.log' for more details" "$LINENO" 5; }
3263 # Provide some information about the compiler.
3264 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3267 for ac_option
in --version -v -V -qversion; do
3268 { { ac_try
="$ac_compiler $ac_option >&5"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3277 if test -s conftest.err; then
3279 ... rest of stderr output deleted ...
3280 10q' conftest.err >conftest.er1
3281 cat conftest.er1 >&5
3283 rm -f conftest.er1 conftest.err
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 ac_clean_files_save=$ac_clean_files
3300 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3301 # Try to create an executable without -o first, disregard a.out.
3302 # It will help us diagnose broken compilers, and finding out an intuition
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3305 $as_echo_n "checking whether the C compiler works... " >&6; }
3306 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3308 # The possible output files:
3309 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3312 for ac_file in $ac_files
3315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3316 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3321 if { { ac_try="$ac_link_default"
3323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3324 *) ac_try_echo
=$ac_try;;
3326 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327 $as_echo "$ac_try_echo"; } >&5
3328 (eval "$ac_link_default") 2>&5
3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331 test $ac_status = 0; }; then :
3332 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3333 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3334 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3335 # so that the user can short-circuit this test for compilers unknown to
3337 for ac_file
in $ac_files ''
3339 test -f "$ac_file" ||
continue
3341 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3344 # We found the default executable, but exeext='' is most
3348 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3350 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352 # We set ac_cv_exeext here because the later test for it is not
3353 # safe: cross compilers may not add the suffix if given an `-o'
3354 # argument, so we may need to know it at that point already.
3355 # Even if this section looks crufty: it has the advantage of
3362 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3367 if test -z "$ac_file"; then :
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3369 $as_echo "no" >&6; }
3370 $as_echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.
$ac_ext >&5
3373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3375 as_fn_error
77 "C compiler cannot create executables
3376 See \`config.log' for more details" "$LINENO" 5; }
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3379 $as_echo "yes" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3382 $as_echo_n "checking for C compiler default output file name... " >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3384 $as_echo "$ac_file" >&6; }
3385 ac_exeext
=$ac_cv_exeext
3387 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3388 ac_clean_files
=$ac_clean_files_save
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3390 $as_echo_n "checking for suffix of executables... " >&6; }
3391 if { { ac_try
="$ac_link"
3393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3397 $as_echo "$ac_try_echo"; } >&5
3398 (eval "$ac_link") 2>&5
3400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3401 test $ac_status = 0; }; then :
3402 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3403 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3404 # work properly (i.e., refer to `conftest.exe'), while it won't with
3406 for ac_file
in conftest.exe conftest conftest.
*; do
3407 test -f "$ac_file" ||
continue
3409 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3410 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3419 See \`config.log' for more details" "$LINENO" 5; }
3421 rm -f conftest conftest
$ac_cv_exeext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3423 $as_echo "$ac_cv_exeext" >&6; }
3425 rm -f conftest.
$ac_ext
3426 EXEEXT
=$ac_cv_exeext
3428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3434 FILE *f = fopen ("conftest.out", "w");
3435 return ferror (f) || fclose (f) != 0;
3441 ac_clean_files
="$ac_clean_files conftest.out"
3442 # Check that the compiler produces executables we can run. If not, either
3443 # the compiler is broken, or we cross compile.
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3445 $as_echo_n "checking whether we are cross compiling... " >&6; }
3446 if test "$cross_compiling" != yes; then
3447 { { ac_try
="$ac_link"
3449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453 $as_echo "$ac_try_echo"; } >&5
3454 (eval "$ac_link") 2>&5
3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457 test $ac_status = 0; }
3458 if { ac_try='./conftest$ac_cv_exeext'
3459 { { case "(($ac_try" in
3460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3461 *) ac_try_echo
=$ac_try;;
3463 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
3465 (eval "$ac_try") 2>&5
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }; }; then
3471 if test "$cross_compiling" = maybe
; then
3474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $?
"cannot run C compiled programs.
3477 If you meant to cross compile, use \`--host'.
3478 See \`config.log' for more details" "$LINENO" 5; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3483 $as_echo "$cross_compiling" >&6; }
3485 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3486 ac_clean_files
=$ac_clean_files_save
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3488 $as_echo_n "checking for suffix of object files... " >&6; }
3489 if ${ac_cv_objext+:} false
; then :
3490 $as_echo_n "(cached) " >&6
3492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3503 rm -f conftest.o conftest.obj
3504 if { { ac_try
="$ac_compile"
3506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3507 *) ac_try_echo=$ac_try;;
3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3510 $as_echo "$ac_try_echo"; } >&5
3511 (eval "$ac_compile") 2>&5
3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514 test $ac_status = 0; }; then :
3515 for ac_file in conftest.o conftest.obj conftest.*; do
3516 test -f "$ac_file" || continue;
3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3519 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3524 $as_echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3530 See \
`config.log' for more details" "$LINENO" 5; }
3532 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3535 $as_echo "$ac_cv_objext" >&6; }
3536 OBJEXT=$ac_cv_objext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3539 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3540 if ${ac_cv_c_compiler_gnu+:} false; then :
3541 $as_echo_n "(cached) " >&6
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3567 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3568 if test $ac_compiler_gnu = yes; then
3573 ac_test_CFLAGS=${CFLAGS+set}
3574 ac_save_CFLAGS=$CFLAGS
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3576 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3577 if ${ac_cv_prog_cc_g+:} false; then :
3578 $as_echo_n "(cached) " >&6
3580 ac_save_c_werror_flag=$ac_c_werror_flag
3581 ac_c_werror_flag=yes
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 if ac_fn_c_try_compile "$LINENO"; then :
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3610 if ac_fn_c_try_compile "$LINENO"; then :
3613 ac_c_werror_flag=$ac_save_c_werror_flag
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3626 if ac_fn_c_try_compile "$LINENO"; then :
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 ac_c_werror_flag=$ac_save_c_werror_flag
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3637 $as_echo "$ac_cv_prog_cc_g" >&6; }
3638 if test "$ac_test_CFLAGS" = set; then
3639 CFLAGS=$ac_save_CFLAGS
3640 elif test $ac_cv_prog_cc_g = yes; then
3641 if test "$GCC" = yes; then
3647 if test "$GCC" = yes; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3654 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3655 if ${ac_cv_prog_cc_c89+:} false; then :
3656 $as_echo_n "(cached) " >&6
3658 ac_cv_prog_cc_c89=no
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3666 struct buf { int x; };
3667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3668 static char *e (p, i)
3674 static char *f (char * (*g) (char **, int), char **p, ...)
3679 s = g (p, va_arg (v,int));
3684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3685 function prototypes and stuff, but not '\xHH' hex character constants.
3686 These don't provoke an error unfortunately, instead are silently treated
3687 as 'x'. The following induces an error, until -std is added to get
3688 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3689 array size at least. It's necessary to write '\x00'==0 to get something
3690 that's true only with -std. */
3691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3693 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3694 inside strings and character constants. */
3696 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3698 int test (int i, double x);
3699 struct s1 {int (*f) (int a);};
3700 struct s2 {int (*f) (double a);};
3701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3707 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3712 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3713 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3715 CC="$ac_save_CC $ac_arg"
3716 if ac_fn_c_try_compile "$LINENO"; then :
3717 ac_cv_prog_cc_c89=$ac_arg
3719 rm -f core conftest.err conftest.$ac_objext
3720 test "x$ac_cv_prog_cc_c89" != "xno" && break
3722 rm -f conftest.$ac_ext
3727 case "x$ac_cv_prog_cc_c89" in
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3730 $as_echo "none needed" >&6; } ;;
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3733 $as_echo "unsupported" >&6; } ;;
3735 CC="$CC $ac_cv_prog_cc_c89"
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3737 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3739 if test "x$ac_cv_prog_cc_c89" != xno; then :
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3750 ac_cpp='$CPP $CPPFLAGS'
3751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3755 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3756 if ${am_cv_prog_cc_c_o+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3770 # Make sure it works both with $CC and with simple cc.
3771 # Following AC_PROG_CC_C_O, we do the test twice because some
3772 # compilers refuse to overwrite an existing .o file with -o,
3773 # though they will create one.
3774 am_cv_prog_cc_c_o=yes
3776 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3777 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } \
3781 && test -f conftest2.$ac_objext; then
3784 am_cv_prog_cc_c_o=no
3788 rm -f core conftest*
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3792 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3793 if test "$am_cv_prog_cc_c_o" != yes; then
3794 # Losing compiler, so override with the script.
3795 # FIXME: It is wrong to rewrite CC.
3796 # But if we don't then we get into trouble of one sort or another.
3797 # A longer-term fix would be to have automake use am__CC in this case,
3798 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3799 CC="$am_aux_dir/compile $CC"
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 depcc="$CC" am_compiler_list=
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3811 $as_echo_n "checking dependency style of $depcc... " >&6; }
3812 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3813 $as_echo_n "(cached) " >&6
3815 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3816 # We make a subdir and do the tests there. Otherwise we can end up
3817 # making bogus files that we don't know about and never remove. For
3818 # instance it was reported that on HP-UX the gcc test will end up
3819 # making a dummy file named 'D' -- because '-MD' means "put the output
3823 # Copy depcomp to subdir because otherwise we won't find it if we're
3824 # using a relative directory.
3825 cp "$am_depcomp" conftest.dir
3827 # We will build objects and dependencies in a subdirectory because
3828 # it helps to detect inapplicable dependency modes. For instance
3829 # both Tru64's cc and ICC support -MD to output dependencies as a
3830 # side effect of compilation, but ICC will put the dependencies in
3831 # the current directory while Tru64 will put them in the object
3835 am_cv_CC_dependencies_compiler_type=none
3836 if test "$am_compiler_list" = ""; then
3837 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3840 case " $depcc " in #(
3841 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3844 for depmode in $am_compiler_list; do
3845 # Setup a source with many dependencies, because some compilers
3846 # like to wrap large dependency lists on column 80 (with \), and
3847 # we should not choose a depcomp mode which is confused by this.
3849 # We need to recreate these files for each test, as the compiler may
3850 # overwrite some of them when testing with obscure command lines.
3851 # This happens at least with the AIX C compiler.
3853 for i in 1 2 3 4 5 6; do
3854 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3855 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3856 # Solaris 10 /bin/sh.
3857 echo '/* dummy */' > sub/conftst$i.h
3859 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3861 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3862 # mode. It turns out that the SunPro C++ compiler does not properly
3863 # handle '-M -o', and we need to detect this. Also, some Intel
3864 # versions had trouble with output in subdirs.
3865 am__obj=sub/conftest.${OBJEXT-o}
3866 am__minus_obj="-o $am__obj"
3869 # This depmode causes a compiler race in universal mode.
3870 test "$am__universal" = false || continue
3873 # After this tag, mechanisms are not by side-effect, so they'll
3874 # only be used when explicitly requested.
3875 if test "x$enable_dependency_tracking" = xyes; then
3881 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3882 # This compiler won't grok '-c -o', but also, the minuso test has
3883 # not run yet. These depmodes are late enough in the game, and
3884 # so weak that their functioning should not be impacted.
3885 am__obj=conftest.${OBJEXT-o}
3890 if depmode=$depmode \
3891 source=sub/conftest.c object=$am__obj \
3892 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3893 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3894 >/dev/null 2>conftest.err &&
3895 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3896 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3897 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3898 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3899 # icc doesn't choke on unknown options, it will just issue warnings
3900 # or remarks (even with -Werror). So we grep stderr for any message
3901 # that says an option was ignored or not supported.
3902 # When given -MP, icc 7.0 and 7.1 complain thusly:
3903 # icc: Command line warning: ignoring option '-M'; no argument required
3904 # The diagnosis changed in icc 8.0:
3905 # icc: Command line remark: option '-MP' not supported
3906 if (grep 'ignoring option' conftest.err ||
3907 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3908 am_cv_CC_dependencies_compiler_type=$depmode
3917 am_cv_CC_dependencies_compiler_type=none
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3922 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3923 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3926 test "x$enable_dependency_tracking" != xno \
3927 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3929 am__fastdepCC_FALSE='#'
3931 am__fastdepCC_TRUE='#'
3932 am__fastdepCC_FALSE=
3938 ac_cpp='$CPP $CPPFLAGS'
3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3943 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3944 # On Suns, sometimes $CPP names a directory.
3945 if test -n "$CPP" && test -d "$CPP"; then
3948 if test -z "$CPP"; then
3949 if ${ac_cv_prog_CPP+:} false; then :
3950 $as_echo_n "(cached) " >&6
3952 # Double quotes because CPP needs to be expanded
3953 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3956 for ac_c_preproc_warn_flag in '' yes
3958 # Use a header file that comes with gcc, so configuring glibc
3959 # with a fresh cross-compiler works.
3960 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3961 # <limits.h> exists even on freestanding compilers.
3962 # On the NeXT, cc -E runs the code through the compiler's parser,
3963 # not just through cpp. "Syntax error" is here to catch this case.
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3967 # include <limits.h>
3969 # include <assert.h>
3973 if ac_fn_c_try_cpp "$LINENO"; then :
3976 # Broken: fails on valid input.
3979 rm -f conftest.err conftest.i conftest.$ac_ext
3981 # OK, works on sane cases. Now check whether nonexistent headers
3982 # can be detected and how.
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3985 #include <ac_nonexistent.h>
3987 if ac_fn_c_try_cpp "$LINENO"; then :
3988 # Broken: success on invalid input.
3991 # Passes both tests.
3995 rm -f conftest.err conftest.i conftest.$ac_ext
3998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3999 rm -f conftest.i conftest.err conftest.
$ac_ext
4000 if $ac_preproc_ok; then :
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4013 $as_echo "$CPP" >&6; }
4015 for ac_c_preproc_warn_flag
in '' yes
4017 # Use a header file that comes with gcc, so configuring glibc
4018 # with a fresh cross-compiler works.
4019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4020 # <limits.h> exists even on freestanding compilers.
4021 # On the NeXT, cc -E runs the code through the compiler's parser,
4022 # not just through cpp. "Syntax error" is here to catch this case.
4023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4026 # include <limits.h>
4028 # include <assert.h>
4032 if ac_fn_c_try_cpp
"$LINENO"; then :
4035 # Broken: fails on valid input.
4038 rm -f conftest.err conftest.i conftest.
$ac_ext
4040 # OK, works on sane cases. Now check whether nonexistent headers
4041 # can be detected and how.
4042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4044 #include <ac_nonexistent.h>
4046 if ac_fn_c_try_cpp
"$LINENO"; then :
4047 # Broken: success on invalid input.
4050 # Passes both tests.
4054 rm -f conftest.err conftest.i conftest.
$ac_ext
4057 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4058 rm -f conftest.i conftest.err conftest.
$ac_ext
4059 if $ac_preproc_ok; then :
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4065 See \`config.log' for more details" "$LINENO" 5; }
4069 ac_cpp
='$CPP $CPPFLAGS'
4070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4076 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4077 if ${ac_cv_path_GREP+:} false
; then :
4078 $as_echo_n "(cached) " >&6
4080 if test -z "$GREP"; then
4081 ac_path_GREP_found
=false
4082 # Loop through the user's path and test for each of PROGNAME-LIST
4083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4084 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4087 test -z "$as_dir" && as_dir
=.
4088 for ac_prog
in grep ggrep
; do
4089 for ac_exec_ext
in '' $ac_executable_extensions; do
4090 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4091 as_fn_executable_p
"$ac_path_GREP" ||
continue
4092 # Check for GNU ac_path_GREP and select it if it is found.
4093 # Check for GNU $ac_path_GREP
4094 case `"$ac_path_GREP" --version 2>&1` in
4096 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4099 $as_echo_n 0123456789 >"conftest.in"
4102 cat "conftest.in" "conftest.in" >"conftest.tmp"
4103 mv "conftest.tmp" "conftest.in"
4104 cp "conftest.in" "conftest.nl"
4105 $as_echo 'GREP' >> "conftest.nl"
4106 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4107 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4108 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4109 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4110 # Best one so far, save it but keep looking for a better one
4111 ac_cv_path_GREP
="$ac_path_GREP"
4112 ac_path_GREP_max
=$ac_count
4114 # 10*(2^10) chars as input seems more than enough
4115 test $ac_count -gt 10 && break
4117 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4120 $ac_path_GREP_found && break 3
4125 if test -z "$ac_cv_path_GREP"; then
4126 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4129 ac_cv_path_GREP
=$GREP
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4134 $as_echo "$ac_cv_path_GREP" >&6; }
4135 GREP
="$ac_cv_path_GREP"
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4139 $as_echo_n "checking for egrep... " >&6; }
4140 if ${ac_cv_path_EGREP+:} false
; then :
4141 $as_echo_n "(cached) " >&6
4143 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4144 then ac_cv_path_EGREP
="$GREP -E"
4146 if test -z "$EGREP"; then
4147 ac_path_EGREP_found
=false
4148 # Loop through the user's path and test for each of PROGNAME-LIST
4149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4150 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4153 test -z "$as_dir" && as_dir
=.
4154 for ac_prog
in egrep; do
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4157 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4158 # Check for GNU ac_path_EGREP and select it if it is found.
4159 # Check for GNU $ac_path_EGREP
4160 case `"$ac_path_EGREP" --version 2>&1` in
4162 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4165 $as_echo_n 0123456789 >"conftest.in"
4168 cat "conftest.in" "conftest.in" >"conftest.tmp"
4169 mv "conftest.tmp" "conftest.in"
4170 cp "conftest.in" "conftest.nl"
4171 $as_echo 'EGREP' >> "conftest.nl"
4172 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4173 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4174 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4175 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4176 # Best one so far, save it but keep looking for a better one
4177 ac_cv_path_EGREP
="$ac_path_EGREP"
4178 ac_path_EGREP_max
=$ac_count
4180 # 10*(2^10) chars as input seems more than enough
4181 test $ac_count -gt 10 && break
4183 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4186 $ac_path_EGREP_found && break 3
4191 if test -z "$ac_cv_path_EGREP"; then
4192 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4195 ac_cv_path_EGREP
=$EGREP
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4201 $as_echo "$ac_cv_path_EGREP" >&6; }
4202 EGREP
="$ac_cv_path_EGREP"
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4206 $as_echo_n "checking for ANSI C header files... " >&6; }
4207 if ${ac_cv_header_stdc+:} false
; then :
4208 $as_echo_n "(cached) " >&6
4210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4225 if ac_fn_c_try_compile
"$LINENO"; then :
4226 ac_cv_header_stdc
=yes
4228 ac_cv_header_stdc
=no
4230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4232 if test $ac_cv_header_stdc = yes; then
4233 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4240 $EGREP "memchr" >/dev
/null
2>&1; then :
4243 ac_cv_header_stdc
=no
4249 if test $ac_cv_header_stdc = yes; then
4250 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4257 $EGREP "free" >/dev
/null
2>&1; then :
4260 ac_cv_header_stdc
=no
4266 if test $ac_cv_header_stdc = yes; then
4267 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4268 if test "$cross_compiling" = yes; then :
4271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 #if ((' ' & 0x0FF) == 0x020)
4276 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4277 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4279 # define ISLOWER(c) \
4280 (('a' <= (c) && (c) <= 'i') \
4281 || ('j' <= (c) && (c) <= 'r') \
4282 || ('s' <= (c) && (c) <= 'z'))
4283 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4286 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4291 for (i = 0; i < 256; i++)
4292 if (XOR (islower (i), ISLOWER (i))
4293 || toupper (i) != TOUPPER (i))
4298 if ac_fn_c_try_run
"$LINENO"; then :
4301 ac_cv_header_stdc
=no
4303 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4304 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4310 $as_echo "$ac_cv_header_stdc" >&6; }
4311 if test $ac_cv_header_stdc = yes; then
4313 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4317 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4318 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4319 inttypes.h stdint.h unistd.h
4321 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4322 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4324 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4325 cat >>confdefs.h
<<_ACEOF
4326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4335 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4336 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4343 if test "$MINIX" = yes; then
4345 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4348 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4351 $as_echo "#define _MINIX 1" >>confdefs.h
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4357 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4358 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4359 $as_echo_n "(cached) " >&6
4361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4364 # define __EXTENSIONS__ 1
4365 $ac_includes_default
4374 if ac_fn_c_try_compile
"$LINENO"; then :
4375 ac_cv_safe_to_define___extensions__
=yes
4377 ac_cv_safe_to_define___extensions__
=no
4379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4382 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4383 test $ac_cv_safe_to_define___extensions__ = yes &&
4384 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4386 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4388 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4390 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4392 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4396 ac_cpp
='$CPP $CPPFLAGS'
4397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4400 if test -n "$ac_tool_prefix"; then
4401 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4402 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_CC+:} false
; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$CC"; then
4409 ac_cv_prog_CC
="$CC" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 if test -n "$CC"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4431 $as_echo "$CC" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4439 if test -z "$ac_cv_prog_CC"; then
4441 # Extract the first word of "gcc", so it can be a program name with args.
4442 set dummy gcc
; ac_word
=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$ac_ct_CC"; then
4449 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir
=.
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4458 ac_cv_prog_ac_ct_CC
="gcc"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4469 if test -n "$ac_ct_CC"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4471 $as_echo "$ac_ct_CC" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4477 if test "x$ac_ct_CC" = x
; then
4480 case $cross_compiling:$ac_tool_warned in
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4484 ac_tool_warned
=yes ;;
4492 if test -z "$CC"; then
4493 if test -n "$ac_tool_prefix"; then
4494 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4495 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if ${ac_cv_prog_CC+:} false
; then :
4499 $as_echo_n "(cached) " >&6
4501 if test -n "$CC"; then
4502 ac_cv_prog_CC
="$CC" # Let the user override the test.
4504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4508 test -z "$as_dir" && as_dir
=.
4509 for ac_exec_ext
in '' $ac_executable_extensions; do
4510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4511 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 if test -n "$CC"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4524 $as_echo "$CC" >&6; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4533 if test -z "$CC"; then
4534 # Extract the first word of "cc", so it can be a program name with args.
4535 set dummy cc
; ac_word
=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_CC+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$CC"; then
4542 ac_cv_prog_CC
="$CC" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4552 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4553 ac_prog_rejected
=yes
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 if test $ac_prog_rejected = yes; then
4565 # We found a bogon in the path, so make sure we never use it.
4566 set dummy
$ac_cv_prog_CC
4568 if test $# != 0; then
4569 # We chose a different compiler from the bogus one.
4570 # However, it has the same basename, so the bogon will be chosen
4571 # first if we set CC to just the basename; use the full file name.
4573 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4579 if test -n "$CC"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4581 $as_echo "$CC" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4589 if test -z "$CC"; then
4590 if test -n "$ac_tool_prefix"; then
4591 for ac_prog
in cl.exe
4593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4594 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if ${ac_cv_prog_CC+:} false
; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$CC"; then
4601 ac_cv_prog_CC
="$CC" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test -n "$CC"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4623 $as_echo "$CC" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4630 test -n "$CC" && break
4633 if test -z "$CC"; then
4635 for ac_prog
in cl.exe
4637 # Extract the first word of "$ac_prog", so it can be a program name with args.
4638 set dummy
$ac_prog; ac_word
=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4642 $as_echo_n "(cached) " >&6
4644 if test -n "$ac_ct_CC"; then
4645 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir
=.
4652 for ac_exec_ext
in '' $ac_executable_extensions; do
4653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_ac_ct_CC
="$ac_prog"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4665 if test -n "$ac_ct_CC"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4667 $as_echo "$ac_ct_CC" >&6; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4674 test -n "$ac_ct_CC" && break
4677 if test "x$ac_ct_CC" = x
; then
4680 case $cross_compiling:$ac_tool_warned in
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4684 ac_tool_warned
=yes ;;
4693 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4695 as_fn_error $?
"no acceptable C compiler found in \$PATH
4696 See \`config.log' for more details" "$LINENO" 5; }
4698 # Provide some information about the compiler.
4699 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4702 for ac_option
in --version -v -V -qversion; do
4703 { { ac_try
="$ac_compiler $ac_option >&5"
4705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4709 $as_echo "$ac_try_echo"; } >&5
4710 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4712 if test -s conftest.err; then
4714 ... rest of stderr output deleted ...
4715 10q' conftest.err >conftest.er1
4716 cat conftest.er1 >&5
4718 rm -f conftest.er1 conftest.err
4719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4720 test $ac_status = 0; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4724 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4725 if ${ac_cv_c_compiler_gnu+:} false; then :
4726 $as_echo_n "(cached) " >&6
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4742 if ac_fn_c_try_compile "$LINENO"; then :
4747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4752 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4753 if test $ac_compiler_gnu = yes; then
4758 ac_test_CFLAGS=${CFLAGS+set}
4759 ac_save_CFLAGS=$CFLAGS
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4761 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4762 if ${ac_cv_prog_cc_g+:} false; then :
4763 $as_echo_n "(cached) " >&6
4765 ac_save_c_werror_flag=$ac_c_werror_flag
4766 ac_c_werror_flag=yes
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4780 if ac_fn_c_try_compile "$LINENO"; then :
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4795 if ac_fn_c_try_compile "$LINENO"; then :
4798 ac_c_werror_flag=$ac_save_c_werror_flag
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4811 if ac_fn_c_try_compile "$LINENO"; then :
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 ac_c_werror_flag=$ac_save_c_werror_flag
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4822 $as_echo "$ac_cv_prog_cc_g" >&6; }
4823 if test "$ac_test_CFLAGS" = set; then
4824 CFLAGS=$ac_save_CFLAGS
4825 elif test $ac_cv_prog_cc_g = yes; then
4826 if test "$GCC" = yes; then
4832 if test "$GCC" = yes; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4839 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4840 if ${ac_cv_prog_cc_c89+:} false; then :
4841 $as_echo_n "(cached) " >&6
4843 ac_cv_prog_cc_c89=no
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4851 struct buf { int x; };
4852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4853 static char *e (p, i)
4859 static char *f (char * (*g) (char **, int), char **p, ...)
4864 s = g (p, va_arg (v,int));
4869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4870 function prototypes and stuff, but not '\xHH' hex character constants.
4871 These don't provoke an error unfortunately, instead are silently treated
4872 as 'x'. The following induces an error, until -std is added to get
4873 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4874 array size at least. It's necessary to write '\x00'==0 to get something
4875 that's true only with -std. */
4876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4879 inside strings and character constants. */
4881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4883 int test (int i, double x);
4884 struct s1 {int (*f) (int a);};
4885 struct s2 {int (*f) (double a);};
4886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4892 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4898 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4900 CC="$ac_save_CC $ac_arg"
4901 if ac_fn_c_try_compile "$LINENO"; then :
4902 ac_cv_prog_cc_c89=$ac_arg
4904 rm -f core conftest.err conftest.$ac_objext
4905 test "x$ac_cv_prog_cc_c89" != "xno" && break
4907 rm -f conftest.$ac_ext
4912 case "x$ac_cv_prog_cc_c89" in
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4915 $as_echo "none needed" >&6; } ;;
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4918 $as_echo "unsupported" >&6; } ;;
4920 CC="$CC $ac_cv_prog_cc_c89"
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4922 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4924 if test "x$ac_cv_prog_cc_c89" != xno; then :
4929 ac_cpp='$CPP $CPPFLAGS'
4930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4935 ac_cpp='$CPP $CPPFLAGS'
4936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4940 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4941 if ${am_cv_prog_cc_c_o+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4955 # Make sure it works both with $CC and with simple cc.
4956 # Following AC_PROG_CC_C_O, we do the test twice because some
4957 # compilers refuse to overwrite an existing .o file with -o,
4958 # though they will create one.
4959 am_cv_prog_cc_c_o=yes
4961 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4962 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } \
4966 && test -f conftest2.$ac_objext; then
4969 am_cv_prog_cc_c_o=no
4973 rm -f core conftest*
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4977 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4978 if test "$am_cv_prog_cc_c_o" != yes; then
4979 # Losing compiler, so override with the script.
4980 # FIXME: It is wrong to rewrite CC.
4981 # But if we don't then we get into trouble of one sort or another.
4982 # A longer-term fix would be to have automake use am__CC in this case,
4983 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4984 CC="$am_aux_dir/compile $CC"
4987 ac_cpp='$CPP $CPPFLAGS'
4988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4993 depcc="$CC" am_compiler_list=
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4996 $as_echo_n "checking dependency style of $depcc... " >&6; }
4997 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4998 $as_echo_n "(cached) " >&6
5000 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5001 # We make a subdir and do the tests there. Otherwise we can end up
5002 # making bogus files that we don't know about and never remove. For
5003 # instance it was reported that on HP-UX the gcc test will end up
5004 # making a dummy file named 'D' -- because '-MD' means "put the output
5008 # Copy depcomp to subdir because otherwise we won't find it if we're
5009 # using a relative directory.
5010 cp "$am_depcomp" conftest.dir
5012 # We will build objects and dependencies in a subdirectory because
5013 # it helps to detect inapplicable dependency modes. For instance
5014 # both Tru64's cc and ICC support -MD to output dependencies as a
5015 # side effect of compilation, but ICC will put the dependencies in
5016 # the current directory while Tru64 will put them in the object
5020 am_cv_CC_dependencies_compiler_type=none
5021 if test "$am_compiler_list" = ""; then
5022 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5025 case " $depcc " in #(
5026 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5029 for depmode in $am_compiler_list; do
5030 # Setup a source with many dependencies, because some compilers
5031 # like to wrap large dependency lists on column 80 (with \), and
5032 # we should not choose a depcomp mode which is confused by this.
5034 # We need to recreate these files for each test, as the compiler may
5035 # overwrite some of them when testing with obscure command lines.
5036 # This happens at least with the AIX C compiler.
5038 for i in 1 2 3 4 5 6; do
5039 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5040 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5041 # Solaris 10 /bin/sh.
5042 echo '/* dummy */' > sub/conftst$i.h
5044 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5046 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5047 # mode. It turns out that the SunPro C++ compiler does not properly
5048 # handle '-M -o', and we need to detect this. Also, some Intel
5049 # versions had trouble with output in subdirs.
5050 am__obj=sub/conftest.${OBJEXT-o}
5051 am__minus_obj="-o $am__obj"
5054 # This depmode causes a compiler race in universal mode.
5055 test "$am__universal" = false || continue
5058 # After this tag, mechanisms are not by side-effect, so they'll
5059 # only be used when explicitly requested.
5060 if test "x$enable_dependency_tracking" = xyes; then
5066 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5067 # This compiler won't grok '-c -o', but also, the minuso test has
5068 # not run yet. These depmodes are late enough in the game, and
5069 # so weak that their functioning should not be impacted.
5070 am__obj=conftest.${OBJEXT-o}
5075 if depmode=$depmode \
5076 source=sub/conftest.c object=$am__obj \
5077 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5078 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5079 >/dev/null 2>conftest.err &&
5080 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5081 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5082 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5083 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5084 # icc doesn't choke on unknown options, it will just issue warnings
5085 # or remarks (even with -Werror). So we grep stderr for any message
5086 # that says an option was ignored or not supported.
5087 # When given -MP, icc 7.0 and 7.1 complain thusly:
5088 # icc: Command line warning: ignoring option '-M'; no argument required
5089 # The diagnosis changed in icc 8.0:
5090 # icc: Command line remark: option '-MP' not supported
5091 if (grep 'ignoring option' conftest.err ||
5092 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5093 am_cv_CC_dependencies_compiler_type=$depmode
5102 am_cv_CC_dependencies_compiler_type=none
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5107 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5108 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5111 test "x$enable_dependency_tracking" != xno \
5112 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5114 am__fastdepCC_FALSE='#'
5116 am__fastdepCC_TRUE='#'
5117 am__fastdepCC_FALSE=
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5124 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5129 macro_version='2.4.6'
5130 macro_revision='2.4.6'
5144 ltmain=$ac_aux_dir/ltmain.sh
5146 # Make sure we can run config.sub.
5147 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5148 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5151 $as_echo_n "checking build system type... " >&6; }
5152 if ${ac_cv_build+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 ac_build_alias=$build_alias
5156 test "x$ac_build_alias" = x &&
5157 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5158 test "x$ac_build_alias" = x &&
5159 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5160 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5161 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5165 $as_echo "$ac_cv_build" >&6; }
5166 case $ac_cv_build in
5168 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5171 ac_save_IFS=$IFS; IFS='-'
5177 # Remember, the first character of IFS is used to create $*,
5178 # except with old shells:
5181 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5185 $as_echo_n "checking host system type... " >&6; }
5186 if ${ac_cv_host+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 if test "x$host_alias" = x; then
5190 ac_cv_host=$ac_cv_build
5192 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5193 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5198 $as_echo "$ac_cv_host" >&6; }
5201 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5204 ac_save_IFS=$IFS; IFS='-'
5210 # Remember, the first character of IFS is used to create $*,
5211 # except with old shells:
5214 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
5217 # Backslashify metacharacters that are still active within
5218 # double-quoted strings.
5219 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5221 # Same as above, but do not quote variable references.
5222 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5224 # Sed substitution to delay expansion of an escaped shell variable in a
5225 # double_quote_subst'ed string.
5226 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5228 # Sed substitution to delay expansion of an escaped single quote.
5229 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5231 # Sed substitution to avoid accidental globbing in evaled expressions
5232 no_glob_subst='s/\*/\\\*/g'
5234 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5235 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5236 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5239 $as_echo_n "checking how to print
strings...
" >&6; }
5240 # Test print first, because it will be a builtin if present.
5241 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5242 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5244 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5247 # Use this function as a fallback that always works.
5248 func_fallback_echo ()
5250 eval 'cat <<_LTECHO_EOF
5254 ECHO='func_fallback_echo'
5257 # func_echo_all arg...
5258 # Invoke $ECHO with all args, space-separated.
5265 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5266 $as_echo "printf" >&6; } ;;
5267 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5268 $as_echo "print
-r" >&6; } ;;
5269 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5270 $as_echo "cat" >&6; } ;;
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5287 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5288 if ${ac_cv_path_SED+:} false; then :
5289 $as_echo_n "(cached
) " >&6
5291 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5292 for ac_i in 1 2 3 4 5 6 7; do
5293 ac_script="$ac_script$as_nl$ac_script"
5295 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5296 { ac_script=; unset ac_script;}
5297 if test -z "$SED"; then
5298 ac_path_SED_found=false
5299 # Loop through the user's path and test for each of PROGNAME-LIST
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 test -z "$as_dir" && as_dir=.
5305 for ac_prog in sed gsed; do
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5308 as_fn_executable_p "$ac_path_SED" || continue
5309 # Check for GNU ac_path_SED and select it if it is found.
5310 # Check for GNU $ac_path_SED
5311 case `"$ac_path_SED" --version 2>&1` in
5313 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5316 $as_echo_n 0123456789 >"conftest.
in"
5319 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5320 mv "conftest.tmp
" "conftest.
in"
5321 cp "conftest.
in" "conftest.
nl"
5322 $as_echo '' >> "conftest.
nl"
5323 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5324 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5325 as_fn_arith $ac_count + 1 && ac_count=$as_val
5326 if test $ac_count -gt ${ac_path_SED_max-0}; then
5327 # Best one so far, save it but keep looking for a better one
5328 ac_cv_path_SED="$ac_path_SED"
5329 ac_path_SED_max=$ac_count
5331 # 10*(2^10) chars as input seems more than enough
5332 test $ac_count -gt 10 && break
5334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5337 $ac_path_SED_found && break 3
5342 if test -z "$ac_cv_path_SED"; then
5343 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5351 $as_echo "$ac_cv_path_SED" >&6; }
5352 SED="$ac_cv_path_SED"
5355 test -z "$SED" && SED=sed
5356 Xsed="$SED -e 1s
/^X
//"
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5369 $as_echo_n "checking
for fgrep...
" >&6; }
5370 if ${ac_cv_path_FGREP+:} false; then :
5371 $as_echo_n "(cached
) " >&6
5373 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5374 then ac_cv_path_FGREP="$GREP -F"
5376 if test -z "$FGREP"; then
5377 ac_path_FGREP_found=false
5378 # Loop through the user's path and test for each of PROGNAME-LIST
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5383 test -z "$as_dir" && as_dir=.
5384 for ac_prog in fgrep; do
5385 for ac_exec_ext in '' $ac_executable_extensions; do
5386 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5387 as_fn_executable_p "$ac_path_FGREP" || continue
5388 # Check for GNU ac_path_FGREP and select it if it is found.
5389 # Check for GNU $ac_path_FGREP
5390 case `"$ac_path_FGREP" --version 2>&1` in
5392 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5395 $as_echo_n 0123456789 >"conftest.
in"
5398 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5399 mv "conftest.tmp
" "conftest.
in"
5400 cp "conftest.
in" "conftest.
nl"
5401 $as_echo 'FGREP' >> "conftest.
nl"
5402 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5403 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5404 as_fn_arith $ac_count + 1 && ac_count=$as_val
5405 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5406 # Best one so far, save it but keep looking for a better one
5407 ac_cv_path_FGREP="$ac_path_FGREP"
5408 ac_path_FGREP_max=$ac_count
5410 # 10*(2^10) chars as input seems more than enough
5411 test $ac_count -gt 10 && break
5413 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5416 $ac_path_FGREP_found && break 3
5421 if test -z "$ac_cv_path_FGREP"; then
5422 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5425 ac_cv_path_FGREP=$FGREP
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5431 $as_echo "$ac_cv_path_FGREP" >&6; }
5432 FGREP="$ac_cv_path_FGREP"
5435 test -z "$GREP" && GREP=grep
5455 # Check whether --with-gnu-ld was given.
5456 if test "${with_gnu_ld+set}" = set; then :
5457 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5463 if test yes = "$GCC"; then
5464 # Check if gcc -print-prog-name=ld gives a path.
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5466 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5469 # gcc leaves a trailing carriage return, which upsets mingw
5470 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5472 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5475 # Accept absolute paths.
5477 re_direlt='/[^/][^/]*/\.\./'
5478 # Canonicalize the pathname of ld
5479 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5480 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5481 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5483 test -z "$LD" && LD=$ac_prog
5486 # If it fails, then pretend we aren't using GCC.
5490 # If it is relative, then search for the first ld in PATH.
5494 elif test yes = "$with_gnu_ld"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5496 $as_echo_n "checking
for GNU ld...
" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5499 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5501 if ${lt_cv_path_LD+:} false; then :
5502 $as_echo_n "(cached
) " >&6
5504 if test -z "$LD"; then
5505 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5506 for ac_dir in $PATH; do
5508 test -z "$ac_dir" && ac_dir=.
5509 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5510 lt_cv_path_LD=$ac_dir/$ac_prog
5511 # Check to see if the program is GNU ld. I'd rather use --version,
5512 # but apparently some variants of GNU ld only accept -v.
5513 # Break only if it was the GNU/non-GNU ld that we prefer.
5514 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5515 *GNU* | *'with BFD'*)
5516 test no != "$with_gnu_ld" && break
5519 test yes != "$with_gnu_ld" && break
5526 lt_cv_path_LD=$LD # Let the user override the test with a path.
5531 if test -n "$LD"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5533 $as_echo "$LD" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5536 $as_echo "no
" >&6; }
5538 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5540 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5541 if ${lt_cv_prog_gnu_ld+:} false; then :
5542 $as_echo_n "(cached
) " >&6
5544 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5545 case `$LD -v 2>&1 </dev/null` in
5546 *GNU* | *'with BFD'*)
5547 lt_cv_prog_gnu_ld=yes
5550 lt_cv_prog_gnu_ld=no
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5555 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5556 with_gnu_ld=$lt_cv_prog_gnu_ld
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5567 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5568 if ${lt_cv_path_NM+:} false; then :
5569 $as_echo_n "(cached
) " >&6
5571 if test -n "$NM"; then
5572 # Let the user override the test.
5575 lt_nm_to_check=${ac_tool_prefix}nm
5576 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5577 lt_nm_to_check="$lt_nm_to_check nm
"
5579 for lt_tmp_nm in $lt_nm_to_check; do
5580 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5581 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5583 test -z "$ac_dir" && ac_dir=.
5584 tmp_nm=$ac_dir/$lt_tmp_nm
5585 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5586 # Check to see if the nm accepts a BSD-compat flag.
5587 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5588 # nm: unknown option "B
" ignored
5589 # Tru64's nm complains that /dev/null is an invalid object file
5590 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5592 mingw*) lt_bad_file=conftest.nm/nofile ;;
5593 *) lt_bad_file=/dev/null ;;
5595 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5596 *$lt_bad_file* | *'Invalid file or object type'*)
5597 lt_cv_path_NM="$tmp_nm -B"
5601 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5603 lt_cv_path_NM="$tmp_nm -p"
5607 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5608 continue # so that we can try to find one that supports BSD flags
5617 : ${lt_cv_path_NM=no}
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5621 $as_echo "$lt_cv_path_NM" >&6; }
5622 if test no != "$lt_cv_path_NM"; then
5625 # Didn't find any BSD compatible name lister, look for dumpbin.
5626 if test -n "$DUMPBIN"; then :
5627 # Let the user override the test.
5629 if test -n "$ac_tool_prefix"; then
5630 for ac_prog in dumpbin "link
-dump"
5632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5635 $as_echo_n "checking
for $ac_word...
" >&6; }
5636 if ${ac_cv_prog_DUMPBIN+:} false; then :
5637 $as_echo_n "(cached
) " >&6
5639 if test -n "$DUMPBIN"; then
5640 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5659 DUMPBIN=$ac_cv_prog_DUMPBIN
5660 if test -n "$DUMPBIN"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5662 $as_echo "$DUMPBIN" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5665 $as_echo "no
" >&6; }
5669 test -n "$DUMPBIN" && break
5672 if test -z "$DUMPBIN"; then
5673 ac_ct_DUMPBIN=$DUMPBIN
5674 for ac_prog in dumpbin "link
-dump"
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5679 $as_echo_n "checking
for $ac_word...
" >&6; }
5680 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5681 $as_echo_n "(cached
) " >&6
5683 if test -n "$ac_ct_DUMPBIN"; then
5684 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5703 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5704 if test -n "$ac_ct_DUMPBIN"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5706 $as_echo "$ac_ct_DUMPBIN" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5709 $as_echo "no
" >&6; }
5713 test -n "$ac_ct_DUMPBIN" && break
5716 if test "x
$ac_ct_DUMPBIN" = x; then
5719 case $cross_compiling:$ac_tool_warned in
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5722 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5723 ac_tool_warned=yes ;;
5725 DUMPBIN=$ac_ct_DUMPBIN
5729 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5731 DUMPBIN="$DUMPBIN -symbols -headers"
5739 if test : != "$DUMPBIN"; then
5743 test -z "$NM" && NM=nm
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5751 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5752 if ${lt_cv_nm_interface+:} false; then :
5753 $as_echo_n "(cached
) " >&6
5755 lt_cv_nm_interface="BSD nm
"
5756 echo "int some_variable
= 0;" > conftest.$ac_ext
5757 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5758 (eval "$ac_compile" 2>conftest.err)
5759 cat conftest.err >&5
5760 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5761 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5762 cat conftest.err >&5
5763 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5764 cat conftest.out >&5
5765 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5766 lt_cv_nm_interface="MS dumpbin
"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5771 $as_echo "$lt_cv_nm_interface" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5774 $as_echo_n "checking whether
ln -s works...
" >&6; }
5776 if test "$LN_S" = "ln -s"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5778 $as_echo "yes" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5781 $as_echo "no
, using
$LN_S" >&6; }
5784 # find the maximum length of command line arguments
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5786 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5787 if ${lt_cv_sys_max_cmd_len+:} false; then :
5788 $as_echo_n "(cached
) " >&6
5795 # On DJGPP, this test can blow up pretty badly due to problems in libc
5796 # (any single argument exceeding 2000 bytes causes a buffer overrun
5797 # during glob expansion). Even if it were fixed, the result of this
5798 # check would be larger than it should be.
5799 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5803 # Under GNU Hurd, this test is not required because there is
5804 # no limit to the length of command line arguments.
5805 # Libtool will interpret -1 as no limit whatsoever
5806 lt_cv_sys_max_cmd_len=-1;
5809 cygwin* | mingw* | cegcc*)
5810 # On Win9x/ME, this test blows up -- it succeeds, but takes
5811 # about 5 minutes as the teststring grows exponentially.
5812 # Worse, since 9x/ME are not pre-emptively multitasking,
5813 # you end up with a "frozen
" computer, even though with patience
5814 # the test eventually succeeds (with a max line length of 256k).
5815 # Instead, let's just punt: use the minimum linelength reported by
5816 # all of the supported platforms: 8192 (on NT/2K/XP).
5817 lt_cv_sys_max_cmd_len=8192;
5821 # On MiNT this can take a long time and run out of memory.
5822 lt_cv_sys_max_cmd_len=8192;
5826 # On AmigaOS with pdksh, this test takes hours, literally.
5827 # So we just punt and use a minimum line length of 8192.
5828 lt_cv_sys_max_cmd_len=8192;
5831 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5832 # This has been around since 386BSD, at least. Likely further.
5833 if test -x /sbin/sysctl; then
5834 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5835 elif test -x /usr/sbin/sysctl; then
5836 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5838 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5840 # And add a safety zone
5841 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5846 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5847 lt_cv_sys_max_cmd_len=196608
5851 # The test takes a long time on OS/2.
5852 lt_cv_sys_max_cmd_len=8192
5856 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5857 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5858 # nice to cause kernel panics so lets avoid the loop below.
5859 # First set a reasonable default.
5860 lt_cv_sys_max_cmd_len=16384
5862 if test -x /sbin/sysconfig; then
5863 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5864 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5869 lt_cv_sys_max_cmd_len=102400
5871 sysv5* | sco5v6* | sysv4.2uw2*)
5872 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5873 if test -n "$kargmax"; then
5874 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5876 lt_cv_sys_max_cmd_len=32768
5880 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5881 if test -n "$lt_cv_sys_max_cmd_len" && \
5882 test undefined != "$lt_cv_sys_max_cmd_len"; then
5883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5884 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5886 # Make teststring a little bigger before we do anything with it.
5887 # a 1K string should be a reasonable start.
5888 for i in 1 2 3 4 5 6 7 8; do
5889 teststring=$teststring$teststring
5891 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5892 # If test is not a shell built-in, we'll probably end up computing a
5893 # maximum length that is only half of the actual maximum length, but
5895 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5896 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5897 test 17 != "$i" # 1/2 MB should be enough
5900 teststring=$teststring$teststring
5902 # Only check the string length outside the loop.
5903 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5905 # Add a significant safety factor because C++ compilers can tack on
5906 # massive amounts of additional arguments before passing them to the
5907 # linker. It appears as though 1/2 is a usable value.
5908 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5915 if test -n "$lt_cv_sys_max_cmd_len"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5917 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5920 $as_echo "none
" >&6; }
5922 max_cmd_len=$lt_cv_sys_max_cmd_len
5933 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5943 # test EBCDIC or ASCII
5944 case `echo X|tr X '\101'` in
5945 A) # ASCII based system
5946 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5947 lt_SP2NL='tr \040 \012'
5948 lt_NL2SP='tr \015\012 \040\040'
5950 *) # EBCDIC based system
5951 lt_SP2NL='tr \100 \n'
5952 lt_NL2SP='tr \r\n \100\100'
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5965 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5966 if ${lt_cv_to_host_file_cmd+:} false; then :
5967 $as_echo_n "(cached
) " >&6
5972 *-*-mingw* ) # actually msys
5973 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5976 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5978 * ) # otherwise, assume *nix
5979 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5985 *-*-mingw* ) # actually msys
5986 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5989 lt_cv_to_host_file_cmd=func_convert_file_noop
5991 * ) # otherwise, assume *nix
5992 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5996 * ) # unhandled hosts (and "normal
" native builds)
5997 lt_cv_to_host_file_cmd=func_convert_file_noop
6003 to_host_file_cmd=$lt_cv_to_host_file_cmd
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6005 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6012 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6013 if ${lt_cv_to_tool_file_cmd+:} false; then :
6014 $as_echo_n "(cached
) " >&6
6016 #assume ordinary cross tools, or native build.
6017 lt_cv_to_tool_file_cmd=func_convert_file_noop
6021 *-*-mingw* ) # actually msys
6022 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6030 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6032 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6039 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6040 if ${lt_cv_ld_reload_flag+:} false; then :
6041 $as_echo_n "(cached
) " >&6
6043 lt_cv_ld_reload_flag='-r'
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6046 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6047 reload_flag=$lt_cv_ld_reload_flag
6048 case $reload_flag in
6050 *) reload_flag=" $reload_flag" ;;
6052 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6054 cygwin* | mingw* | pw32* | cegcc*)
6055 if test yes != "$GCC"; then
6060 if test yes = "$GCC"; then
6061 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6063 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6076 if test -n "$ac_tool_prefix"; then
6077 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6078 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6080 $as_echo_n "checking
for $ac_word...
" >&6; }
6081 if ${ac_cv_prog_OBJDUMP+:} false; then :
6082 $as_echo_n "(cached
) " >&6
6084 if test -n "$OBJDUMP"; then
6085 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6104 OBJDUMP=$ac_cv_prog_OBJDUMP
6105 if test -n "$OBJDUMP"; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6107 $as_echo "$OBJDUMP" >&6; }
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6110 $as_echo "no
" >&6; }
6115 if test -z "$ac_cv_prog_OBJDUMP"; then
6116 ac_ct_OBJDUMP=$OBJDUMP
6117 # Extract the first word of "objdump
", so it can be a program name with args.
6118 set dummy objdump; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6120 $as_echo_n "checking
for $ac_word...
" >&6; }
6121 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6122 $as_echo_n "(cached
) " >&6
6124 if test -n "$ac_ct_OBJDUMP"; then
6125 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6144 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6145 if test -n "$ac_ct_OBJDUMP"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6147 $as_echo "$ac_ct_OBJDUMP" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6150 $as_echo "no
" >&6; }
6153 if test "x
$ac_ct_OBJDUMP" = x; then
6156 case $cross_compiling:$ac_tool_warned in
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6159 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6160 ac_tool_warned=yes ;;
6162 OBJDUMP=$ac_ct_OBJDUMP
6165 OBJDUMP="$ac_cv_prog_OBJDUMP"
6168 test -z "$OBJDUMP" && OBJDUMP=objdump
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6179 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6180 if ${lt_cv_deplibs_check_method+:} false; then :
6181 $as_echo_n "(cached
) " >&6
6183 lt_cv_file_magic_cmd='$MAGIC_CMD'
6184 lt_cv_file_magic_test_file=
6185 lt_cv_deplibs_check_method='unknown'
6186 # Need to set the preceding variable on all platforms that support
6187 # interlibrary dependencies.
6188 # 'none' -- dependencies not supported.
6189 # 'unknown' -- same as none, but documents that we really don't know.
6190 # 'pass_all' -- all dependencies passed with no checks.
6191 # 'test_compile' -- check by making test program.
6192 # 'file_magic [[regex]]' -- check by looking for files in library path
6193 # that responds to the $file_magic_cmd with a given extended regex.
6194 # If you have 'file' or equivalent on your system and you're not sure
6195 # whether 'pass_all' will *always* work, you probably want this one.
6199 lt_cv_deplibs_check_method=pass_all
6203 lt_cv_deplibs_check_method=pass_all
6207 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6208 lt_cv_file_magic_cmd='/usr/bin/file -L'
6209 lt_cv_file_magic_test_file=/shlib/libc.so
6213 # func_win32_libid is a shell function defined in ltmain.sh
6214 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6215 lt_cv_file_magic_cmd='func_win32_libid'
6219 # Base MSYS/MinGW do not provide the 'file' command needed by
6220 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6221 # unless we find 'file', for example because we are cross-compiling.
6222 if ( file / ) >/dev/null 2>&1; then
6223 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6224 lt_cv_file_magic_cmd='func_win32_libid'
6226 # Keep this pattern in sync with the one in func_win32_libid.
6227 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6228 lt_cv_file_magic_cmd='$OBJDUMP -f'
6233 # use the weaker test based on 'objdump'. See mingw*.
6234 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6235 lt_cv_file_magic_cmd='$OBJDUMP -f'
6238 darwin* | rhapsody*)
6239 lt_cv_deplibs_check_method=pass_all
6242 freebsd* | dragonfly*)
6243 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6246 # Not sure whether the presence of OpenBSD here was a mistake.
6247 # Let's accept both of them until this is cleared up.
6248 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6249 lt_cv_file_magic_cmd=/usr/bin/file
6250 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6254 lt_cv_deplibs_check_method=pass_all
6259 lt_cv_deplibs_check_method=pass_all
6262 hpux10.20* | hpux11*)
6263 lt_cv_file_magic_cmd=/usr/bin/file
6266 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6267 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6270 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]'
6271 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6274 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6275 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6281 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6282 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6285 irix5* | irix6* | nonstopux*)
6287 *-32|*"-32 ") libmagic=32-bit;;
6288 *-n32|*"-n32 ") libmagic=N32;;
6289 *-64|*"-64 ") libmagic=64-bit;;
6290 *) libmagic=never-match;;
6292 lt_cv_deplibs_check_method=pass_all
6295 # This must be glibc/ELF.
6296 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6297 lt_cv_deplibs_check_method=pass_all
6301 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6302 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6304 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6309 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6310 lt_cv_file_magic_cmd=/usr/bin/file
6311 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6315 lt_cv_deplibs_check_method=pass_all
6319 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6320 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6322 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6326 osf3* | osf4* | osf5*)
6327 lt_cv_deplibs_check_method=pass_all
6331 lt_cv_deplibs_check_method=pass_all
6335 lt_cv_deplibs_check_method=pass_all
6338 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6339 lt_cv_deplibs_check_method=pass_all
6343 case $host_vendor in
6345 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]'
6346 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6349 lt_cv_deplibs_check_method=pass_all
6352 lt_cv_file_magic_cmd='/bin/file'
6353 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6356 lt_cv_file_magic_cmd='/bin/file'
6357 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6358 lt_cv_file_magic_test_file=/lib/libc.so
6361 lt_cv_deplibs_check_method=pass_all
6364 lt_cv_deplibs_check_method=pass_all
6370 lt_cv_deplibs_check_method=pass_all
6373 lt_cv_deplibs_check_method=pass_all
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6379 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6383 if test "$build" = "$host"; then
6386 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6389 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6395 file_magic_cmd=$lt_cv_file_magic_cmd
6396 deplibs_check_method=$lt_cv_deplibs_check_method
6397 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6420 if test -n "$ac_tool_prefix"; then
6421 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6422 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6424 $as_echo_n "checking
for $ac_word...
" >&6; }
6425 if ${ac_cv_prog_DLLTOOL+:} false; then :
6426 $as_echo_n "(cached
) " >&6
6428 if test -n "$DLLTOOL"; then
6429 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6448 DLLTOOL=$ac_cv_prog_DLLTOOL
6449 if test -n "$DLLTOOL"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6451 $as_echo "$DLLTOOL" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6454 $as_echo "no
" >&6; }
6459 if test -z "$ac_cv_prog_DLLTOOL"; then
6460 ac_ct_DLLTOOL=$DLLTOOL
6461 # Extract the first word of "dlltool
", so it can be a program name with args.
6462 set dummy dlltool; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6464 $as_echo_n "checking
for $ac_word...
" >&6; }
6465 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6466 $as_echo_n "(cached
) " >&6
6468 if test -n "$ac_ct_DLLTOOL"; then
6469 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6488 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6489 if test -n "$ac_ct_DLLTOOL"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6491 $as_echo "$ac_ct_DLLTOOL" >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6494 $as_echo "no
" >&6; }
6497 if test "x
$ac_ct_DLLTOOL" = x; then
6500 case $cross_compiling:$ac_tool_warned in
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6503 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6504 ac_tool_warned=yes ;;
6506 DLLTOOL=$ac_ct_DLLTOOL
6509 DLLTOOL="$ac_cv_prog_DLLTOOL"
6512 test -z "$DLLTOOL" && DLLTOOL=dlltool
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6524 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6525 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6526 $as_echo_n "(cached
) " >&6
6528 lt_cv_sharedlib_from_linklib_cmd='unknown'
6531 cygwin* | mingw* | pw32* | cegcc*)
6532 # two different shell functions defined in ltmain.sh;
6533 # decide which one to use based on capabilities of $DLLTOOL
6534 case `$DLLTOOL --help 2>&1` in
6535 *--identify-strict*)
6536 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6539 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6544 # fallback: assume linklib IS sharedlib
6545 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6551 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6552 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6553 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6561 if test -n "$ac_tool_prefix"; then
6564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6567 $as_echo_n "checking
for $ac_word...
" >&6; }
6568 if ${ac_cv_prog_AR+:} false; then :
6569 $as_echo_n "(cached
) " >&6
6571 if test -n "$AR"; then
6572 ac_cv_prog_AR="$AR" # Let the user override the test.
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6592 if test -n "$AR"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6594 $as_echo "$AR" >&6; }
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6597 $as_echo "no
" >&6; }
6601 test -n "$AR" && break
6604 if test -z "$AR"; then
6608 # Extract the first word of "$ac_prog", so it can be a program name with args.
6609 set dummy $ac_prog; ac_word=$2
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6611 $as_echo_n "checking
for $ac_word...
" >&6; }
6612 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6613 $as_echo_n "(cached
) " >&6
6615 if test -n "$ac_ct_AR"; then
6616 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6625 ac_cv_prog_ac_ct_AR="$ac_prog"
6626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6635 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6636 if test -n "$ac_ct_AR"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6638 $as_echo "$ac_ct_AR" >&6; }
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6641 $as_echo "no
" >&6; }
6645 test -n "$ac_ct_AR" && break
6648 if test "x
$ac_ct_AR" = x; then
6651 case $cross_compiling:$ac_tool_warned in
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6654 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6655 ac_tool_warned=yes ;;
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6675 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6676 if ${lt_cv_ar_at_file+:} false; then :
6677 $as_echo_n "(cached
) " >&6
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6691 if ac_fn_c_try_compile "$LINENO"; then :
6692 echo conftest.$ac_objext > conftest.lst
6693 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6694 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6695 (eval $lt_ar_try) 2>&5
6697 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6698 test $ac_status = 0; }
6699 if test 0 -eq "$ac_status"; then
6700 # Ensure the archiver fails upon bogus file names.
6701 rm -f conftest.$ac_objext libconftest.a
6702 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6703 (eval $lt_ar_try) 2>&5
6705 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6706 test $ac_status = 0; }
6707 if test 0 -ne "$ac_status"; then
6711 rm -f conftest.* libconftest.a
6714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6718 $as_echo "$lt_cv_ar_at_file" >&6; }
6720 if test no = "$lt_cv_ar_at_file"; then
6723 archiver_list_spec=$lt_cv_ar_at_file
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6734 set dummy ${ac_tool_prefix}strip; ac_word=$2
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6736 $as_echo_n "checking
for $ac_word...
" >&6; }
6737 if ${ac_cv_prog_STRIP+:} false; then :
6738 $as_echo_n "(cached
) " >&6
6740 if test -n "$STRIP"; then
6741 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir=.
6748 for ac_exec_ext in '' $ac_executable_extensions; do
6749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6760 STRIP=$ac_cv_prog_STRIP
6761 if test -n "$STRIP"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6763 $as_echo "$STRIP" >&6; }
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6766 $as_echo "no
" >&6; }
6771 if test -z "$ac_cv_prog_STRIP"; then
6773 # Extract the first word of "strip
", so it can be a program name with args.
6774 set dummy strip; ac_word=$2
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6776 $as_echo_n "checking
for $ac_word...
" >&6; }
6777 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6778 $as_echo_n "(cached
) " >&6
6780 if test -n "$ac_ct_STRIP"; then
6781 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6787 test -z "$as_dir" && as_dir=.
6788 for ac_exec_ext in '' $ac_executable_extensions; do
6789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6790 ac_cv_prog_ac_ct_STRIP="strip
"
6791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6800 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6801 if test -n "$ac_ct_STRIP"; then
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6803 $as_echo "$ac_ct_STRIP" >&6; }
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6806 $as_echo "no
" >&6; }
6809 if test "x
$ac_ct_STRIP" = x; then
6812 case $cross_compiling:$ac_tool_warned in
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6815 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6816 ac_tool_warned=yes ;;
6821 STRIP="$ac_cv_prog_STRIP"
6824 test -z "$STRIP" && STRIP=:
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6833 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6835 $as_echo_n "checking
for $ac_word...
" >&6; }
6836 if ${ac_cv_prog_RANLIB+:} false; then :
6837 $as_echo_n "(cached
) " >&6
6839 if test -n "$RANLIB"; then
6840 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir=.
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6859 RANLIB=$ac_cv_prog_RANLIB
6860 if test -n "$RANLIB"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6862 $as_echo "$RANLIB" >&6; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6865 $as_echo "no
" >&6; }
6870 if test -z "$ac_cv_prog_RANLIB"; then
6871 ac_ct_RANLIB=$RANLIB
6872 # Extract the first word of "ranlib
", so it can be a program name with args.
6873 set dummy ranlib; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6875 $as_echo_n "checking
for $ac_word...
" >&6; }
6876 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6877 $as_echo_n "(cached
) " >&6
6879 if test -n "$ac_ct_RANLIB"; then
6880 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir=.
6887 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6889 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6899 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6900 if test -n "$ac_ct_RANLIB"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6902 $as_echo "$ac_ct_RANLIB" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6905 $as_echo "no
" >&6; }
6908 if test "x
$ac_ct_RANLIB" = x; then
6911 case $cross_compiling:$ac_tool_warned in
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6914 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6915 ac_tool_warned=yes ;;
6917 RANLIB=$ac_ct_RANLIB
6920 RANLIB="$ac_cv_prog_RANLIB"
6923 test -z "$RANLIB" && RANLIB=:
6930 # Determine commands to create old-style static archives.
6931 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6932 old_postinstall_cmds='chmod 644 $oldlib'
6933 old_postuninstall_cmds=
6935 if test -n "$RANLIB"; then
6938 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6941 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6944 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6949 lock_old_archive_extraction=yes ;;
6951 lock_old_archive_extraction=no ;;
6992 # If no C compiler was specified, use CC.
6995 # If no C compiler flags were specified, use CFLAGS.
6996 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6998 # Allow CC to be a program name with arguments.
7002 # Check for command to grab the raw symbol name followed by C symbol from nm.
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7004 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7005 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7006 $as_echo_n "(cached
) " >&6
7009 # These are sane defaults that work on at least a few old systems.
7010 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7012 # Character class describing NM global symbol codes.
7013 symcode='[BCDEGRST]'
7015 # Regexp to match symbols that can be accessed directly from C.
7016 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7018 # Define system-specific variables.
7023 cygwin* | mingw* | pw32* | cegcc*)
7024 symcode='[ABCDGISTW]'
7027 if test ia64 = "$host_cpu"; then
7028 symcode='[ABCDEGRST]'
7032 symcode='[BCDEGRST]'
7035 symcode='[BCDEGQRST]'
7046 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7054 # If we're using GNU nm, then use its standard symbol codes.
7055 case `$NM -V 2>&1` in
7056 *GNU* | *'with BFD'*)
7057 symcode='[ABCDGIRSTW]' ;;
7060 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7061 # Gets list of data symbols to import.
7062 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7063 # Adjust the below global symbol transforms to fixup imported variables.
7064 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7065 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7066 lt_c_name_lib_hook="\
7067 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7068 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7070 # Disable hooks by default.
7071 lt_cv_sys_global_symbol_to_import=
7077 # Transform an extracted symbol line into a proper C declaration.
7078 # Some systems (esp. on ia64) link data and code symbols differently,
7079 # so use this general approach.
7080 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7082 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7083 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7085 # Transform an extracted symbol line into symbol name and symbol address
7086 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7088 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7089 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7091 # Transform an extracted symbol line into symbol name with lib prefix and
7093 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7094 $lt_c_name_lib_hook\
7095 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7096 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7097 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7099 # Handle CRLF in mingw tool chain
7103 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7107 # Try without a prefix underscore, then with it.
7108 for ac_symprfx in "" "_
"; do
7110 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7111 symxfrm="\\1 $ac_symprfx\\2 \\2"
7113 # Write the raw and C identifiers.
7114 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7115 # Fake it for dumpbin and say T for any non-static function,
7116 # D for any global variable and I for any imported variable.
7117 # Also find C++ and __fastcall symbols from MSVC++,
7118 # which start with @ or ?.
7119 lt_cv_sys_global_symbol_pipe="$AWK '"\
7120 " {last_section=section; section=\$ 3};"\
7121 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7122 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7123 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7124 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7125 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7126 " \$ 0!~/External *\|/{next};"\
7127 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7128 " {if(hide[section]) next};"\
7129 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7130 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7131 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7132 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7133 " ' prfx
=^
$ac_symprfx"
7135 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7137 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7139 # Check to see that the pipe works correctly.
7143 cat > conftest.$ac_ext <<_LT_EOF
7148 void nm_test_func(void);
7149 void nm_test_func(void){}
7153 int main(){nm_test_var='a';nm_test_func();return(0);}
7156 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7157 (eval $ac_compile) 2>&5
7159 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7160 test $ac_status = 0; }; then
7161 # Now try to grab the symbols.
7163 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7164 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7166 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7167 test $ac_status = 0; } && test -s "$nlist"; then
7168 # Try sorting and uniquifying the output.
7169 if sort "$nlist" | uniq > "$nlist"T; then
7170 mv -f "$nlist"T "$nlist"
7175 # Make sure that we snagged all the symbols we need.
7176 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7177 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7178 cat <<_LT_EOF > conftest.$ac_ext
7179 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7180 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7181 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7182 relocations are performed -- see ld's documentation on pseudo-relocs. */
7183 # define LT_DLSYM_CONST
7184 #elif defined __osf__
7185 /* This system does not cope well with relocations in const data. */
7186 # define LT_DLSYM_CONST
7188 # define LT_DLSYM_CONST const
7196 # Now generate the symbol file.
7197 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7199 cat <<_LT_EOF >> conftest.$ac_ext
7201 /* The mapping between symbol names and symbols. */
7202 LT_DLSYM_CONST struct {
7206 lt__PROGRAM__LTX_preloaded_symbols[] =
7208 { "@PROGRAM@
", (void *) 0 },
7210 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7211 cat <<\_LT_EOF >> conftest.$ac_ext
7215 /* This works around a problem in FreeBSD linker */
7216 #ifdef FREEBSD_WORKAROUND
7217 static const void *lt_preloaded_setup() {
7218 return lt__PROGRAM__LTX_preloaded_symbols;
7226 # Now try linking the two files.
7227 mv conftest.$ac_objext conftstm.$ac_objext
7228 lt_globsym_save_LIBS=$LIBS
7229 lt_globsym_save_CFLAGS=$CFLAGS
7230 LIBS=conftstm.$ac_objext
7231 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7232 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7233 (eval $ac_link) 2>&5
7235 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7236 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7239 LIBS=$lt_globsym_save_LIBS
7240 CFLAGS=$lt_globsym_save_CFLAGS
7242 echo "cannot
find nm_test_func
in $nlist" >&5
7245 echo "cannot
find nm_test_var
in $nlist" >&5
7248 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7251 echo "$progname: failed program was
:" >&5
7252 cat conftest.$ac_ext >&5
7254 rm -rf conftest* conftst*
7256 # Do not use the global_symbol_pipe unless it works.
7257 if test yes = "$pipe_works"; then
7260 lt_cv_sys_global_symbol_pipe=
7266 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7267 lt_cv_sys_global_symbol_to_cdecl=
7269 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7271 $as_echo "failed
" >&6; }
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7274 $as_echo "ok
" >&6; }
7277 # Response file support.
7278 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7279 nm_file_list_spec='@'
7280 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7281 nm_file_list_spec='@'
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7321 $as_echo_n "checking
for sysroot...
" >&6; }
7323 # Check whether --with-sysroot was given.
7324 if test "${with_sysroot+set}" = set; then :
7325 withval=$with_sysroot;
7332 case $with_sysroot in #(
7334 if test yes = "$GCC"; then
7335 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7339 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7345 $as_echo "$with_sysroot" >&6; }
7346 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7351 $as_echo "${lt_sysroot:-no}" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7358 $as_echo_n "checking
for a working
dd...
" >&6; }
7359 if ${ac_cv_path_lt_DD+:} false; then :
7360 $as_echo_n "(cached
) " >&6
7362 printf 0123456789abcdef0123456789abcdef >conftest.i
7363 cat conftest.i conftest.i >conftest2.i
7365 if test -z "$lt_DD"; then
7366 ac_path_lt_DD_found=false
7367 # Loop through the user's path and test for each of PROGNAME-LIST
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 test -z "$as_dir" && as_dir=.
7373 for ac_prog in dd; do
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7376 as_fn_executable_p "$ac_path_lt_DD" || continue
7377 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7378 cmp -s conftest.i conftest.out \
7379 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7381 $ac_path_lt_DD_found && break 3
7386 if test -z "$ac_cv_path_lt_DD"; then
7390 ac_cv_path_lt_DD=$lt_DD
7393 rm -f conftest.i conftest2.i conftest.out
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7396 $as_echo "$ac_cv_path_lt_DD" >&6; }
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7400 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7401 if ${lt_cv_truncate_bin+:} false; then :
7402 $as_echo_n "(cached
) " >&6
7404 printf 0123456789abcdef0123456789abcdef >conftest.i
7405 cat conftest.i conftest.i >conftest2.i
7407 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7408 cmp -s conftest.i conftest.out \
7409 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7411 rm -f conftest.i conftest2.i conftest.out
7412 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7415 $as_echo "$lt_cv_truncate_bin" >&6; }
7423 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7426 for cc_temp in $*""; do
7428 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7429 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7434 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7437 # Check whether --enable-libtool-lock was given.
7438 if test "${enable_libtool_lock+set}" = set; then :
7439 enableval=$enable_libtool_lock;
7442 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7444 # Some flags need to be propagated to the compiler or linker for good
7448 # Find out what ABI is being produced by ac_compile, and set mode
7449 # options accordingly.
7450 echo 'int i;' > conftest.$ac_ext
7451 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7452 (eval $ac_compile) 2>&5
7454 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7455 test $ac_status = 0; }; then
7456 case `/usr/bin/file conftest.$ac_objext` in
7468 # Find out what ABI is being produced by ac_compile, and set linker
7469 # options accordingly.
7470 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7471 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7472 (eval $ac_compile) 2>&5
7474 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7475 test $ac_status = 0; }; then
7476 if test yes = "$lt_cv_prog_gnu_ld"; then
7477 case `/usr/bin/file conftest.$ac_objext` in
7479 LD="${LD-ld} -melf32bsmip"
7482 LD="${LD-ld} -melf32bmipn32"
7485 LD="${LD-ld} -melf64bmip"
7489 case `/usr/bin/file conftest.$ac_objext` in
7506 # Find out what ABI is being produced by ac_compile, and set linker
7507 # options accordingly.
7508 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7509 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7510 (eval $ac_compile) 2>&5
7512 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7513 test $ac_status = 0; }; then
7515 case `/usr/bin/file conftest.$ac_objext` in
7523 case `/usr/bin/file conftest.$ac_objext` in
7525 emul="${emul}btsmip
"
7528 emul="${emul}ltsmip
"
7531 case `/usr/bin/file conftest.$ac_objext` in
7536 LD="${LD-ld} -m $emul"
7541 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7542 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7543 # Find out what ABI is being produced by ac_compile, and set linker
7544 # options accordingly. Note that the listed cases only cover the
7545 # situations where additional linker options are needed (such as when
7546 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7547 # vice versa); the common cases where no linker options are needed do
7548 # not appear in the list.
7549 echo 'int i;' > conftest.$ac_ext
7550 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7551 (eval $ac_compile) 2>&5
7553 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7554 test $ac_status = 0; }; then
7555 case `/usr/bin/file conftest.o` in
7558 x86_64-*kfreebsd*-gnu)
7559 LD="${LD-ld} -m elf_i386_fbsd
"
7562 case `/usr/bin/file conftest.o` in
7564 LD="${LD-ld} -m elf32_x86_64
"
7567 LD="${LD-ld} -m elf_i386
"
7571 powerpc64le-*linux*)
7572 LD="${LD-ld} -m elf32lppclinux
"
7575 LD="${LD-ld} -m elf32ppclinux
"
7578 LD="${LD-ld} -m elf_s390
"
7581 LD="${LD-ld} -m elf32_sparc
"
7587 x86_64-*kfreebsd*-gnu)
7588 LD="${LD-ld} -m elf_x86_64_fbsd
"
7591 LD="${LD-ld} -m elf_x86_64
"
7594 LD="${LD-ld} -m elf64lppc
"
7597 LD="${LD-ld} -m elf64ppc
"
7599 s390*-*linux*|s390*-*tpf*)
7600 LD="${LD-ld} -m elf64_s390
"
7603 LD="${LD-ld} -m elf64_sparc
"
7613 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7615 CFLAGS="$CFLAGS -belf"
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7617 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7618 if ${lt_cv_cc_needs_belf+:} false; then :
7619 $as_echo_n "(cached
) " >&6
7622 ac_cpp='$CPP $CPPFLAGS'
7623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7638 if ac_fn_c_try_link "$LINENO"; then :
7639 lt_cv_cc_needs_belf=yes
7641 lt_cv_cc_needs_belf=no
7643 rm -f core conftest.err conftest.$ac_objext \
7644 conftest$ac_exeext conftest.$ac_ext
7646 ac_cpp='$CPP $CPPFLAGS'
7647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7653 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7654 if test yes != "$lt_cv_cc_needs_belf"; then
7655 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7660 # Find out what ABI is being produced by ac_compile, and set linker
7661 # options accordingly.
7662 echo 'int i;' > conftest.$ac_ext
7663 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7664 (eval $ac_compile) 2>&5
7666 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7667 test $ac_status = 0; }; then
7668 case `/usr/bin/file conftest.o` in
7670 case $lt_cv_prog_gnu_ld in
7673 i?86-*-solaris*|x86_64-*-solaris*)
7674 LD="${LD-ld} -m elf_x86_64
"
7677 LD="${LD-ld} -m elf64_sparc
"
7680 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7681 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7686 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7698 need_locks=$enable_libtool_lock
7700 if test -n "$ac_tool_prefix"; then
7701 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7702 set dummy ${ac_tool_prefix}mt; ac_word=$2
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7704 $as_echo_n "checking
for $ac_word...
" >&6; }
7705 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7706 $as_echo_n "(cached
) " >&6
7708 if test -n "$MANIFEST_TOOL"; then
7709 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 test -z "$as_dir" && as_dir=.
7716 for ac_exec_ext in '' $ac_executable_extensions; do
7717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7718 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7719 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7728 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7729 if test -n "$MANIFEST_TOOL"; then
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7731 $as_echo "$MANIFEST_TOOL" >&6; }
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7734 $as_echo "no
" >&6; }
7739 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7740 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7741 # Extract the first word of "mt
", so it can be a program name with args.
7742 set dummy mt; ac_word=$2
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7744 $as_echo_n "checking
for $ac_word...
" >&6; }
7745 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7746 $as_echo_n "(cached
) " >&6
7748 if test -n "$ac_ct_MANIFEST_TOOL"; then
7749 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir=.
7756 for ac_exec_ext in '' $ac_executable_extensions; do
7757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7758 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7768 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7769 if test -n "$ac_ct_MANIFEST_TOOL"; then
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7771 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7774 $as_echo "no
" >&6; }
7777 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7780 case $cross_compiling:$ac_tool_warned in
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7783 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7784 ac_tool_warned=yes ;;
7786 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7789 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7792 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7794 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7795 if ${lt_cv_path_mainfest_tool+:} false; then :
7796 $as_echo_n "(cached
) " >&6
7798 lt_cv_path_mainfest_tool=no
7799 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7800 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7801 cat conftest.err >&5
7802 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7803 lt_cv_path_mainfest_tool=yes
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7808 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7809 if test yes != "$lt_cv_path_mainfest_tool"; then
7819 rhapsody* | darwin*)
7820 if test -n "$ac_tool_prefix"; then
7821 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7824 $as_echo_n "checking
for $ac_word...
" >&6; }
7825 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7826 $as_echo_n "(cached
) " >&6
7828 if test -n "$DSYMUTIL"; then
7829 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 test -z "$as_dir" && as_dir=.
7836 for ac_exec_ext in '' $ac_executable_extensions; do
7837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7848 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7849 if test -n "$DSYMUTIL"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7851 $as_echo "$DSYMUTIL" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7854 $as_echo "no
" >&6; }
7859 if test -z "$ac_cv_prog_DSYMUTIL"; then
7860 ac_ct_DSYMUTIL=$DSYMUTIL
7861 # Extract the first word of "dsymutil
", so it can be a program name with args.
7862 set dummy dsymutil; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7864 $as_echo_n "checking
for $ac_word...
" >&6; }
7865 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7866 $as_echo_n "(cached
) " >&6
7868 if test -n "$ac_ct_DSYMUTIL"; then
7869 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7888 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7889 if test -n "$ac_ct_DSYMUTIL"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7891 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7894 $as_echo "no
" >&6; }
7897 if test "x
$ac_ct_DSYMUTIL" = x; then
7900 case $cross_compiling:$ac_tool_warned in
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7903 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7904 ac_tool_warned=yes ;;
7906 DSYMUTIL=$ac_ct_DSYMUTIL
7909 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7916 $as_echo_n "checking
for $ac_word...
" >&6; }
7917 if ${ac_cv_prog_NMEDIT+:} false; then :
7918 $as_echo_n "(cached
) " >&6
7920 if test -n "$NMEDIT"; then
7921 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7940 NMEDIT=$ac_cv_prog_NMEDIT
7941 if test -n "$NMEDIT"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7943 $as_echo "$NMEDIT" >&6; }
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7946 $as_echo "no
" >&6; }
7951 if test -z "$ac_cv_prog_NMEDIT"; then
7952 ac_ct_NMEDIT=$NMEDIT
7953 # Extract the first word of "nmedit
", so it can be a program name with args.
7954 set dummy nmedit; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7956 $as_echo_n "checking
for $ac_word...
" >&6; }
7957 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7958 $as_echo_n "(cached
) " >&6
7960 if test -n "$ac_ct_NMEDIT"; then
7961 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7980 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7981 if test -n "$ac_ct_NMEDIT"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7983 $as_echo "$ac_ct_NMEDIT" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7986 $as_echo "no
" >&6; }
7989 if test "x
$ac_ct_NMEDIT" = x; then
7992 case $cross_compiling:$ac_tool_warned in
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7995 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7996 ac_tool_warned=yes ;;
7998 NMEDIT=$ac_ct_NMEDIT
8001 NMEDIT="$ac_cv_prog_NMEDIT"
8004 if test -n "$ac_tool_prefix"; then
8005 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8006 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8008 $as_echo_n "checking
for $ac_word...
" >&6; }
8009 if ${ac_cv_prog_LIPO+:} false; then :
8010 $as_echo_n "(cached
) " >&6
8012 if test -n "$LIPO"; then
8013 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 test -z "$as_dir" && as_dir=.
8020 for ac_exec_ext in '' $ac_executable_extensions; do
8021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8022 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8032 LIPO=$ac_cv_prog_LIPO
8033 if test -n "$LIPO"; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8035 $as_echo "$LIPO" >&6; }
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8038 $as_echo "no
" >&6; }
8043 if test -z "$ac_cv_prog_LIPO"; then
8045 # Extract the first word of "lipo
", so it can be a program name with args.
8046 set dummy lipo; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8048 $as_echo_n "checking
for $ac_word...
" >&6; }
8049 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8050 $as_echo_n "(cached
) " >&6
8052 if test -n "$ac_ct_LIPO"; then
8053 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062 ac_cv_prog_ac_ct_LIPO="lipo
"
8063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8072 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8073 if test -n "$ac_ct_LIPO"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8075 $as_echo "$ac_ct_LIPO" >&6; }
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8078 $as_echo "no
" >&6; }
8081 if test "x
$ac_ct_LIPO" = x; then
8084 case $cross_compiling:$ac_tool_warned in
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8087 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8088 ac_tool_warned=yes ;;
8093 LIPO="$ac_cv_prog_LIPO"
8096 if test -n "$ac_tool_prefix"; then
8097 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8098 set dummy ${ac_tool_prefix}otool; ac_word=$2
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8100 $as_echo_n "checking
for $ac_word...
" >&6; }
8101 if ${ac_cv_prog_OTOOL+:} false; then :
8102 $as_echo_n "(cached
) " >&6
8104 if test -n "$OTOOL"; then
8105 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 test -z "$as_dir" && as_dir=.
8112 for ac_exec_ext in '' $ac_executable_extensions; do
8113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8124 OTOOL=$ac_cv_prog_OTOOL
8125 if test -n "$OTOOL"; then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8127 $as_echo "$OTOOL" >&6; }
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8130 $as_echo "no
" >&6; }
8135 if test -z "$ac_cv_prog_OTOOL"; then
8137 # Extract the first word of "otool
", so it can be a program name with args.
8138 set dummy otool; ac_word=$2
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8140 $as_echo_n "checking
for $ac_word...
" >&6; }
8141 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8142 $as_echo_n "(cached
) " >&6
8144 if test -n "$ac_ct_OTOOL"; then
8145 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8151 test -z "$as_dir" && as_dir=.
8152 for ac_exec_ext in '' $ac_executable_extensions; do
8153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154 ac_cv_prog_ac_ct_OTOOL="otool
"
8155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8164 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8165 if test -n "$ac_ct_OTOOL"; then
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8167 $as_echo "$ac_ct_OTOOL" >&6; }
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8170 $as_echo "no
" >&6; }
8173 if test "x
$ac_ct_OTOOL" = x; then
8176 case $cross_compiling:$ac_tool_warned in
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8179 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8180 ac_tool_warned=yes ;;
8185 OTOOL="$ac_cv_prog_OTOOL"
8188 if test -n "$ac_tool_prefix"; then
8189 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8190 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8192 $as_echo_n "checking
for $ac_word...
" >&6; }
8193 if ${ac_cv_prog_OTOOL64+:} false; then :
8194 $as_echo_n "(cached
) " >&6
8196 if test -n "$OTOOL64"; then
8197 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8206 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8216 OTOOL64=$ac_cv_prog_OTOOL64
8217 if test -n "$OTOOL64"; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8219 $as_echo "$OTOOL64" >&6; }
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8222 $as_echo "no
" >&6; }
8227 if test -z "$ac_cv_prog_OTOOL64"; then
8228 ac_ct_OTOOL64=$OTOOL64
8229 # Extract the first word of "otool64
", so it can be a program name with args.
8230 set dummy otool64; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8232 $as_echo_n "checking
for $ac_word...
" >&6; }
8233 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8234 $as_echo_n "(cached
) " >&6
8236 if test -n "$ac_ct_OTOOL64"; then
8237 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8246 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8256 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8257 if test -n "$ac_ct_OTOOL64"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8259 $as_echo "$ac_ct_OTOOL64" >&6; }
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8262 $as_echo "no
" >&6; }
8265 if test "x
$ac_ct_OTOOL64" = x; then
8268 case $cross_compiling:$ac_tool_warned in
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8271 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8272 ac_tool_warned=yes ;;
8274 OTOOL64=$ac_ct_OTOOL64
8277 OTOOL64="$ac_cv_prog_OTOOL64"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8307 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8308 if ${lt_cv_apple_cc_single_mod+:} false; then :
8309 $as_echo_n "(cached
) " >&6
8311 lt_cv_apple_cc_single_mod=no
8312 if test -z "$LT_MULTI_MODULE"; then
8313 # By default we will add the -single_module flag. You can override
8314 # by either setting the environment variable LT_MULTI_MODULE
8315 # non-empty at configure time, or by adding -multi_module to the
8317 rm -rf libconftest.dylib*
8318 echo "int foo
(void
){return 1;}" > conftest.c
8319 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8320 -dynamiclib -Wl,-single_module conftest.c
" >&5
8321 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8322 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8324 # If there is a non-empty error log, and "single_module
"
8325 # appears in it, assume the flag caused a linker warning
8326 if test -s conftest.err && $GREP single_module conftest.err; then
8327 cat conftest.err >&5
8328 # Otherwise, if the output was created with a 0 exit code from
8329 # the compiler, it worked.
8330 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8331 lt_cv_apple_cc_single_mod=yes
8333 cat conftest.err >&5
8335 rm -rf libconftest.dylib*
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8340 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8343 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8344 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8345 $as_echo_n "(cached
) " >&6
8347 lt_cv_ld_exported_symbols_list=no
8348 save_LDFLAGS=$LDFLAGS
8349 echo "_main
" > conftest.sym
8350 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8362 if ac_fn_c_try_link "$LINENO"; then :
8363 lt_cv_ld_exported_symbols_list=yes
8365 lt_cv_ld_exported_symbols_list=no
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 LDFLAGS=$save_LDFLAGS
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8373 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8376 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8377 if ${lt_cv_ld_force_load+:} false; then :
8378 $as_echo_n "(cached
) " >&6
8380 lt_cv_ld_force_load=no
8381 cat > conftest.c << _LT_EOF
8382 int forced_loaded() { return 2;}
8384 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8385 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8386 echo "$AR cru libconftest.a conftest.o
" >&5
8387 $AR cru libconftest.a conftest.o 2>&5
8388 echo "$RANLIB libconftest.a
" >&5
8389 $RANLIB libconftest.a 2>&5
8390 cat > conftest.c << _LT_EOF
8391 int main() { return 0;}
8393 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8394 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8396 if test -s conftest.err && $GREP force_load conftest.err; then
8397 cat conftest.err >&5
8398 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8399 lt_cv_ld_force_load=yes
8401 cat conftest.err >&5
8403 rm -f conftest.err libconftest.a conftest conftest.c
8404 rm -rf conftest.dSYM
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8408 $as_echo "$lt_cv_ld_force_load" >&6; }
8410 rhapsody* | darwin1.[012])
8411 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8413 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8414 darwin*) # darwin 5.x on
8415 # if running on 10.5 or later, the deployment target defaults
8416 # to the OS version, if on x86, and 10.4, the deployment
8417 # target defaults to 10.4. Don't you love it?
8418 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8419 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8420 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8422 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8424 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8428 if test yes = "$lt_cv_apple_cc_single_mod"; then
8429 _lt_dar_single_mod='$single_module'
8431 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8432 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8434 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8436 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8437 _lt_dsymutil='~$DSYMUTIL $lib || :'
8444 # func_munge_path_list VARIABLE PATH
8445 # -----------------------------------
8446 # VARIABLE is name of variable containing _space_ separated list of
8447 # directories to be munged by the contents of PATH, which is string
8450 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8452 # string "DIR
[ DIR
]" will be appended to VARIABLE
8453 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8454 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8455 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8457 # VARIABLE will be replaced by "DIR
[ DIR
]"
8458 func_munge_path_list ()
8464 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8467 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8470 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8471 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8474 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8479 for ac_header in dlfcn.h
8481 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8483 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8484 cat >>confdefs.h <<_ACEOF
8485 #define HAVE_DLFCN_H 1
8506 # Check whether --enable-shared was given.
8507 if test "${enable_shared+set}" = set; then :
8508 enableval=$enable_shared; p=${PACKAGE-default}
8510 yes) enable_shared=yes ;;
8511 no) enable_shared=no ;;
8514 # Look at the argument we got. We use all the common list separators.
8515 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8516 for pkg in $enableval; do
8518 if test "X
$pkg" = "X
$p"; then
8537 # Check whether --enable-static was given.
8538 if test "${enable_static+set}" = set; then :
8539 enableval=$enable_static; p=${PACKAGE-default}
8541 yes) enable_static=yes ;;
8542 no) enable_static=no ;;
8545 # Look at the argument we got. We use all the common list separators.
8546 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8547 for pkg in $enableval; do
8549 if test "X
$pkg" = "X
$p"; then
8569 # Check whether --with-pic was given.
8570 if test "${with_pic+set}" = set; then :
8571 withval=$with_pic; lt_p=${PACKAGE-default}
8573 yes|no) pic_mode=$withval ;;
8576 # Look at the argument we got. We use all the common list separators.
8577 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8578 for lt_pkg in $withval; do
8580 if test "X
$lt_pkg" = "X
$lt_p"; then
8598 # Check whether --enable-fast-install was given.
8599 if test "${enable_fast_install+set}" = set; then :
8600 enableval=$enable_fast_install; p=${PACKAGE-default}
8602 yes) enable_fast_install=yes ;;
8603 no) enable_fast_install=no ;;
8605 enable_fast_install=no
8606 # Look at the argument we got. We use all the common list separators.
8607 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8608 for pkg in $enableval; do
8610 if test "X
$pkg" = "X
$p"; then
8611 enable_fast_install=yes
8618 enable_fast_install=yes
8628 shared_archive_member_spec=
8629 case $host,$enable_shared in
8630 power*-*-aix[5-9]*,yes)
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
which variant of shared library versioning to provide
" >&5
8632 $as_echo_n "checking
which variant of shared library versioning to provide...
" >&6; }
8634 # Check whether --with-aix-soname was given.
8635 if test "${with_aix_soname+set}" = set; then :
8636 withval=$with_aix_soname; case $withval in
8640 as_fn_error $? "Unknown argument to
--with-aix-soname" "$LINENO" 5
8643 lt_cv_with_aix_soname=$with_aix_soname
8645 if ${lt_cv_with_aix_soname+:} false; then :
8646 $as_echo_n "(cached
) " >&6
8648 lt_cv_with_aix_soname=aix
8651 with_aix_soname=$lt_cv_with_aix_soname
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_aix_soname" >&5
8655 $as_echo "$with_aix_soname" >&6; }
8656 if test aix != "$with_aix_soname"; then
8657 # For the AIX way of multilib, we name the shared archive member
8658 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8659 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8660 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8661 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8662 if test 64 = "${OBJECT_MODE-32}"; then
8663 shared_archive_member_spec=shr_64
8665 shared_archive_member_spec=shr
8683 # This can be used to rebuild libtool when needed
8684 LIBTOOL_DEPS=$ltmain
8686 # Always use our own libtool.
8687 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8718 test -z "$LN_S" && LN_S="ln -s"
8733 if test -n "${ZSH_VERSION+set}"; then
8734 setopt NO_GLOB_SUBST
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8738 $as_echo_n "checking
for objdir...
" >&6; }
8739 if ${lt_cv_objdir+:} false; then :
8740 $as_echo_n "(cached
) " >&6
8742 rm -f .libs 2>/dev/null
8743 mkdir .libs 2>/dev/null
8744 if test -d .libs; then
8747 # MS-DOS does not allow filenames that begin with a dot.
8750 rmdir .libs 2>/dev/null
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8753 $as_echo "$lt_cv_objdir" >&6; }
8754 objdir=$lt_cv_objdir
8760 cat >>confdefs.h <<_ACEOF
8761 #define LT_OBJDIR "$lt_cv_objdir/"
8769 # AIX sometimes has problems with the GCC collect2 program. For some
8770 # reason, if we set the COLLECT_NAMES environment variable, the problems
8771 # vanish in a puff of smoke.
8772 if test set != "${COLLECT_NAMES+set}"; then
8774 export COLLECT_NAMES
8781 can_build_shared=yes
8783 # All known linkers require a '.a' archive for static linking (except MSVC,
8784 # which needs '.lib').
8787 with_gnu_ld=$lt_cv_prog_gnu_ld
8792 # Set sane defaults for various variables
8793 test -z "$CC" && CC=cc
8794 test -z "$LTCC" && LTCC=$CC
8795 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8796 test -z "$LD" && LD=ld
8797 test -z "$ac_objext" && ac_objext=o
8799 func_cc_basename $compiler
8800 cc_basename=$func_cc_basename_result
8803 # Only perform the check for file, if the check method requires it
8804 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8805 case $deplibs_check_method in
8807 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8809 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8810 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8811 $as_echo_n "(cached
) " >&6
8815 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8818 lt_save_MAGIC_CMD=$MAGIC_CMD
8819 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8820 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8821 for ac_dir in $ac_dummy; do
8823 test -z "$ac_dir" && ac_dir=.
8824 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8825 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8826 if test -n "$file_magic_test_file"; then
8827 case $deplibs_check_method in
8829 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8830 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8831 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8832 $EGREP "$file_magic_regex" > /dev/null; then
8837 *** Warning: the command libtool uses to detect shared libraries,
8838 *** $file_magic_cmd, produces output that libtool cannot recognize.
8839 *** The result is that libtool may fail to recognize shared libraries
8840 *** as such. This will affect the creation of libtool libraries that
8841 *** depend on shared libraries, but programs linked with such libtool
8842 *** libraries will work regardless of this problem. Nevertheless, you
8843 *** may want to report the problem to your system manager and/or to
8844 *** bug-libtool@gnu.org
8854 MAGIC_CMD=$lt_save_MAGIC_CMD
8859 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8860 if test -n "$MAGIC_CMD"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8862 $as_echo "$MAGIC_CMD" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8865 $as_echo "no
" >&6; }
8872 if test -z "$lt_cv_path_MAGIC_CMD"; then
8873 if test -n "$ac_tool_prefix"; then
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8875 $as_echo_n "checking
for file...
" >&6; }
8876 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8877 $as_echo_n "(cached
) " >&6
8881 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8884 lt_save_MAGIC_CMD=$MAGIC_CMD
8885 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8886 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8887 for ac_dir in $ac_dummy; do
8889 test -z "$ac_dir" && ac_dir=.
8890 if test -f "$ac_dir/file"; then
8891 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8892 if test -n "$file_magic_test_file"; then
8893 case $deplibs_check_method in
8895 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8896 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8897 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8898 $EGREP "$file_magic_regex" > /dev/null; then
8903 *** Warning: the command libtool uses to detect shared libraries,
8904 *** $file_magic_cmd, produces output that libtool cannot recognize.
8905 *** The result is that libtool may fail to recognize shared libraries
8906 *** as such. This will affect the creation of libtool libraries that
8907 *** depend on shared libraries, but programs linked with such libtool
8908 *** libraries will work regardless of this problem. Nevertheless, you
8909 *** may want to report the problem to your system manager and/or to
8910 *** bug-libtool@gnu.org
8920 MAGIC_CMD=$lt_save_MAGIC_CMD
8925 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8926 if test -n "$MAGIC_CMD"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8928 $as_echo "$MAGIC_CMD" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8931 $as_echo "no
" >&6; }
8944 # Use C for the default configuration in the libtool script
8948 ac_cpp='$CPP $CPPFLAGS'
8949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8954 # Source file extension for C test sources.
8957 # Object file extension for compiled C test sources.
8961 # Code to be used in simple compile tests
8962 lt_simple_compile_test_code="int some_variable
= 0;"
8964 # Code to be used in simple link tests
8965 lt_simple_link_test_code='int main(){return(0);}'
8973 # If no C compiler was specified, use CC.
8976 # If no C compiler flags were specified, use CFLAGS.
8977 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8979 # Allow CC to be a program name with arguments.
8982 # Save the default compiler, since it gets overwritten when the other
8983 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8984 compiler_DEFAULT=$CC
8986 # save warnings/boilerplate of simple test code
8987 ac_outfile=conftest.$ac_objext
8988 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8989 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8990 _lt_compiler_boilerplate=`cat conftest.err`
8993 ac_outfile=conftest.$ac_objext
8994 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8995 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8996 _lt_linker_boilerplate=`cat conftest.err`
9000 if test -n "$compiler"; then
9002 lt_prog_compiler_no_builtin_flag=
9004 if test yes = "$GCC"; then
9005 case $cc_basename in
9007 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9009 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9013 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9014 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9015 $as_echo_n "(cached
) " >&6
9017 lt_cv_prog_compiler_rtti_exceptions=no
9018 ac_outfile=conftest.$ac_objext
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9020 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9021 # Insert the option either (1) after the last *FLAGS variable, or
9022 # (2) before a word containing "conftest.
", or (3) at the end.
9023 # Note that $ac_compile itself does not contain backslashes and begins
9024 # with a dollar sign (not a hyphen), so the echo should work correctly.
9025 # The option is referenced via a variable to avoid confusing sed.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>conftest.err)
9033 cat conftest.err >&5
9034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9035 if (exit $ac_status) && test -s "$ac_outfile"; then
9036 # The compiler can only warn and ignore the option if not recognized
9037 # So say no if there are warnings other than the usual output.
9038 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9039 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9040 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9041 lt_cv_prog_compiler_rtti_exceptions=yes
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9048 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9050 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9051 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9063 lt_prog_compiler_wl=
9064 lt_prog_compiler_pic=
9065 lt_prog_compiler_static=
9068 if test yes = "$GCC"; then
9069 lt_prog_compiler_wl='-Wl,'
9070 lt_prog_compiler_static='-static'
9074 # All AIX code is PIC.
9075 if test ia64 = "$host_cpu"; then
9076 # AIX 5 now supports IA64 processor
9077 lt_prog_compiler_static='-Bstatic'
9079 lt_prog_compiler_pic='-fPIC'
9085 # see comment about AmigaOS4 .so support
9086 lt_prog_compiler_pic='-fPIC'
9089 # FIXME: we need at least 68020 code to build shared libraries, but
9090 # adding the '-m68020' flag to GCC prevents building anything better,
9092 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9097 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9098 # PIC is the default for these OSes.
9101 mingw* | cygwin* | pw32* | os2* | cegcc*)
9102 # This hack is so that the source file can tell whether it is being
9103 # built for inclusion in a dll (and should export symbols for example).
9104 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9105 # (--disable-auto-import) libraries
9106 lt_prog_compiler_pic='-DDLL_EXPORT'
9109 lt_prog_compiler_static='$wl-static'
9114 darwin* | rhapsody*)
9115 # PIC is the default on this platform
9116 # Common symbols not allowed in MH_DYLIB files
9117 lt_prog_compiler_pic='-fno-common'
9121 # PIC is the default for Haiku.
9122 # The "-static" flag exists, but is broken.
9123 lt_prog_compiler_static=
9127 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9128 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9129 # sets the default TLS model and affects inlining.
9135 lt_prog_compiler_pic='-fPIC'
9141 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9142 # Instead, we relocate shared libraries at runtime.
9146 # Just because we use GCC doesn't mean we suddenly get shared libraries
9147 # on systems that don't support them.
9148 lt_prog_compiler_can_build_shared=no
9153 # QNX uses GNU C++, but need to define -shared option too, otherwise
9155 lt_prog_compiler_pic='-fPIC -shared'
9159 if test -d /usr/nec; then
9160 lt_prog_compiler_pic=-Kconform_pic
9165 lt_prog_compiler_pic='-fPIC'
9169 case $cc_basename in
9170 nvcc*) # Cuda Compiler Driver 2.2
9171 lt_prog_compiler_wl='-Xlinker '
9172 if test -n "$lt_prog_compiler_pic"; then
9173 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9178 # PORTME Check for flag to pass linker flags through the system compiler.
9181 lt_prog_compiler_wl='-Wl,'
9182 if test ia64 = "$host_cpu"; then
9183 # AIX 5 now supports IA64 processor
9184 lt_prog_compiler_static='-Bstatic'
9186 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9190 darwin* | rhapsody*)
9191 # PIC is the default on this platform
9192 # Common symbols not allowed in MH_DYLIB files
9193 lt_prog_compiler_pic='-fno-common'
9194 case $cc_basename in
9196 # NAG Fortran compiler
9197 lt_prog_compiler_wl='-Wl,-Wl,,'
9198 lt_prog_compiler_pic='-PIC'
9199 lt_prog_compiler_static='-Bstatic'
9204 mingw* | cygwin* | pw32* | os2* | cegcc*)
9205 # This hack is so that the source file can tell whether it is being
9206 # built for inclusion in a dll (and should export symbols for example).
9207 lt_prog_compiler_pic='-DDLL_EXPORT'
9210 lt_prog_compiler_static='$wl-static'
9215 hpux9* | hpux10* | hpux11*)
9216 lt_prog_compiler_wl='-Wl,'
9217 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9224 lt_prog_compiler_pic='+Z'
9227 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9228 lt_prog_compiler_static='$wl-a ${wl}archive'
9231 irix5* | irix6* | nonstopux*)
9232 lt_prog_compiler_wl='-Wl,'
9233 # PIC (with -KPIC) is the default.
9234 lt_prog_compiler_static='-non_shared'
9237 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9238 case $cc_basename in
9239 # old Intel for x86_64, which still supported -KPIC.
9241 lt_prog_compiler_wl='-Wl,'
9242 lt_prog_compiler_pic='-KPIC'
9243 lt_prog_compiler_static='-static'
9245 # icc used to be incompatible with GCC.
9246 # ICC 10 doesn't accept -KPIC any more.
9248 lt_prog_compiler_wl='-Wl,'
9249 lt_prog_compiler_pic='-fPIC'
9250 lt_prog_compiler_static='-static'
9252 # Lahey Fortran 8.1.
9254 lt_prog_compiler_wl='-Wl,'
9255 lt_prog_compiler_pic='--shared'
9256 lt_prog_compiler_static='--static'
9259 # NAG Fortran compiler
9260 lt_prog_compiler_wl='-Wl,-Wl,,'
9261 lt_prog_compiler_pic='-PIC'
9262 lt_prog_compiler_static='-Bstatic'
9265 # Fabrice Bellard et al's Tiny C Compiler
9266 lt_prog_compiler_wl='-Wl,'
9267 lt_prog_compiler_pic='-fPIC'
9268 lt_prog_compiler_static='-static'
9270 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9271 # Portland Group compilers (*not* the Pentium gcc compiler,
9272 # which looks to be a dead project)
9273 lt_prog_compiler_wl='-Wl,'
9274 lt_prog_compiler_pic='-fpic'
9275 lt_prog_compiler_static='-Bstatic'
9278 lt_prog_compiler_wl='-Wl,'
9279 # All Alpha code is PIC.
9280 lt_prog_compiler_static='-non_shared'
9282 xl* | bgxl* | bgf* | mpixl*)
9283 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9284 lt_prog_compiler_wl='-Wl,'
9285 lt_prog_compiler_pic='-qpic'
9286 lt_prog_compiler_static='-qstaticlink'
9289 case `$CC -V 2>&1 | sed 5q` in
9290 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9291 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9292 lt_prog_compiler_pic='-KPIC'
9293 lt_prog_compiler_static='-Bstatic'
9294 lt_prog_compiler_wl=''
9296 *Sun\ F* | *Sun*Fortran*)
9297 lt_prog_compiler_pic='-KPIC'
9298 lt_prog_compiler_static='-Bstatic'
9299 lt_prog_compiler_wl='-Qoption ld '
9303 lt_prog_compiler_pic='-KPIC'
9304 lt_prog_compiler_static='-Bstatic'
9305 lt_prog_compiler_wl='-Wl,'
9307 *Intel*\ [CF]*Compiler*)
9308 lt_prog_compiler_wl='-Wl,'
9309 lt_prog_compiler_pic='-fPIC'
9310 lt_prog_compiler_static='-static'
9313 lt_prog_compiler_wl='-Wl,'
9314 lt_prog_compiler_pic='-fpic'
9315 lt_prog_compiler_static='-Bstatic'
9323 lt_prog_compiler_pic='-KPIC'
9324 lt_prog_compiler_static='-Bstatic'
9328 # QNX uses GNU C++, but need to define -shared option too, otherwise
9330 lt_prog_compiler_pic='-fPIC -shared'
9333 osf3* | osf4* | osf5*)
9334 lt_prog_compiler_wl='-Wl,'
9335 # All OSF/1 code is PIC.
9336 lt_prog_compiler_static='-non_shared'
9340 lt_prog_compiler_static='-non_shared'
9344 lt_prog_compiler_pic='-KPIC'
9345 lt_prog_compiler_static='-Bstatic'
9346 case $cc_basename in
9347 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9348 lt_prog_compiler_wl='-Qoption ld ';;
9350 lt_prog_compiler_wl='-Wl,';;
9355 lt_prog_compiler_wl='-Qoption ld '
9356 lt_prog_compiler_pic='-PIC'
9357 lt_prog_compiler_static='-Bstatic'
9360 sysv4 | sysv4.2uw2* | sysv4.3*)
9361 lt_prog_compiler_wl='-Wl,'
9362 lt_prog_compiler_pic='-KPIC'
9363 lt_prog_compiler_static='-Bstatic'
9367 if test -d /usr/nec; then
9368 lt_prog_compiler_pic='-Kconform_pic'
9369 lt_prog_compiler_static='-Bstatic'
9373 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9374 lt_prog_compiler_wl='-Wl,'
9375 lt_prog_compiler_pic='-KPIC'
9376 lt_prog_compiler_static='-Bstatic'
9380 lt_prog_compiler_wl='-Wl,'
9381 lt_prog_compiler_can_build_shared=no
9385 lt_prog_compiler_pic='-pic'
9386 lt_prog_compiler_static='-Bstatic'
9390 lt_prog_compiler_can_build_shared=no
9396 # For platforms that do not support PIC, -DPIC is meaningless:
9398 lt_prog_compiler_pic=
9401 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9406 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9407 if ${lt_cv_prog_compiler_pic+:} false; then :
9408 $as_echo_n "(cached
) " >&6
9410 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
9413 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9414 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9417 # Check to make sure the PIC flag actually works.
9419 if test -n "$lt_prog_compiler_pic"; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9421 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9422 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9423 $as_echo_n "(cached
) " >&6
9425 lt_cv_prog_compiler_pic_works=no
9426 ac_outfile=conftest.$ac_objext
9427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9428 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9429 # Insert the option either (1) after the last *FLAGS variable, or
9430 # (2) before a word containing "conftest.
", or (3) at the end.
9431 # Note that $ac_compile itself does not contain backslashes and begins
9432 # with a dollar sign (not a hyphen), so the echo should work correctly.
9433 # The option is referenced via a variable to avoid confusing sed.
9434 lt_compile=`echo "$ac_compile" | $SED \
9435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9437 -e 's:$: $lt_compiler_flag:'`
9438 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9439 (eval "$lt_compile" 2>conftest.err)
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9443 if (exit $ac_status) && test -s "$ac_outfile"; then
9444 # The compiler can only warn and ignore the option if not recognized
9445 # So say no if there are warnings other than the usual output.
9446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9449 lt_cv_prog_compiler_pic_works=yes
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9456 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9458 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9459 case $lt_prog_compiler_pic in
9461 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9464 lt_prog_compiler_pic=
9465 lt_prog_compiler_can_build_shared=no
9481 # Check to make sure the static flag actually works.
9483 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9485 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9486 if ${lt_cv_prog_compiler_static_works+:} false; then :
9487 $as_echo_n "(cached
) " >&6
9489 lt_cv_prog_compiler_static_works=no
9490 save_LDFLAGS=$LDFLAGS
9491 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9492 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9493 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9494 # The linker can only warn and ignore the option if not recognized
9495 # So say no if there are warnings
9496 if test -s conftest.err; then
9497 # Append any errors to the config.log.
9498 cat conftest.err 1>&5
9499 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9501 if diff conftest.exp conftest.er2 >/dev/null; then
9502 lt_cv_prog_compiler_static_works=yes
9505 lt_cv_prog_compiler_static_works=yes
9509 LDFLAGS=$save_LDFLAGS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9513 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9515 if test yes = "$lt_cv_prog_compiler_static_works"; then
9518 lt_prog_compiler_static=
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9528 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9529 if ${lt_cv_prog_compiler_c_o+:} false; then :
9530 $as_echo_n "(cached
) " >&6
9532 lt_cv_prog_compiler_c_o=no
9533 $RM -r conftest 2>/dev/null
9537 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9539 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9540 # Insert the option either (1) after the last *FLAGS variable, or
9541 # (2) before a word containing "conftest.
", or (3) at the end.
9542 # Note that $ac_compile itself does not contain backslashes and begins
9543 # with a dollar sign (not a hyphen), so the echo should work correctly.
9544 lt_compile=`echo "$ac_compile" | $SED \
9545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9547 -e 's:$: $lt_compiler_flag:'`
9548 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9549 (eval "$lt_compile" 2>out/conftest.err)
9551 cat out/conftest.err >&5
9552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9553 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9555 # The compiler can only warn and ignore the option if not recognized
9556 # So say no if there are warnings
9557 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9558 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9559 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9560 lt_cv_prog_compiler_c_o=yes
9565 # SGI C++ compiler will create directory out/ii_files/ for
9566 # template instantiation
9567 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9568 $RM out/* && rmdir out
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9575 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9583 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9584 if ${lt_cv_prog_compiler_c_o+:} false; then :
9585 $as_echo_n "(cached
) " >&6
9587 lt_cv_prog_compiler_c_o=no
9588 $RM -r conftest 2>/dev/null
9592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9594 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9595 # Insert the option either (1) after the last *FLAGS variable, or
9596 # (2) before a word containing "conftest.
", or (3) at the end.
9597 # Note that $ac_compile itself does not contain backslashes and begins
9598 # with a dollar sign (not a hyphen), so the echo should work correctly.
9599 lt_compile=`echo "$ac_compile" | $SED \
9600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9602 -e 's:$: $lt_compiler_flag:'`
9603 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9604 (eval "$lt_compile" 2>out/conftest.err)
9606 cat out/conftest.err >&5
9607 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9608 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9610 # The compiler can only warn and ignore the option if not recognized
9611 # So say no if there are warnings
9612 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9613 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9614 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9615 lt_cv_prog_compiler_c_o=yes
9620 # SGI C++ compiler will create directory out/ii_files/ for
9621 # template instantiation
9622 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9623 $RM out/* && rmdir out
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9630 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9635 hard_links=nottested
9636 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9637 # do not overwrite the value of need_locks provided by the user
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9639 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9642 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9644 ln conftest.a conftest.b 2>&5 || hard_links=no
9645 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9647 $as_echo "$hard_links" >&6; }
9648 if test no = "$hard_links"; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: '$CC' does not support
'-c -o', so
'make -j' may be unsafe
" >&5
9650 $as_echo "$as_me: WARNING
: '$CC' does not support
'-c -o', so
'make -j' may be unsafe
" >&2;}
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9663 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9666 allow_undefined_flag=
9667 always_export_symbols=no
9669 archive_expsym_cmds=
9670 compiler_needs_object=no
9671 enable_shared_with_static_runtimes=no
9672 export_dynamic_flag_spec=
9673 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9674 hardcode_automatic=no
9676 hardcode_direct_absolute=no
9677 hardcode_libdir_flag_spec=
9678 hardcode_libdir_separator=
9680 hardcode_shlibpath_var=unsupported
9682 link_all_deplibs=unknown
9685 old_archive_from_new_cmds=
9686 old_archive_from_expsyms_cmds=
9687 thread_safe_flag_spec=
9688 whole_archive_flag_spec=
9689 # include_expsyms should be a list of space-separated symbols to be *always*
9690 # included in the symbol list
9692 # exclude_expsyms can be an extended regexp of symbols to exclude
9693 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9694 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9695 # as well as any symbol that contains 'd'.
9696 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9697 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9698 # platforms (ab)use it in PIC code, but their linkers get confused if
9699 # the symbol is explicitly referenced. Since portable code cannot
9700 # rely on this symbol name, it's probably fine to never include it in
9701 # preloaded symbol tables.
9702 # Exclude shared library initialization/finalization symbols.
9703 extract_expsyms_cmds=
9706 cygwin* | mingw* | pw32* | cegcc*)
9707 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9708 # When not using gcc, we currently assume that we are using
9709 # Microsoft Visual C++.
9710 if test yes != "$GCC"; then
9715 # we just hope/assume this is gcc and not c89 (= MSVC++)
9725 # On some targets, GNU ld is compatible enough with the native linker
9726 # that we're better off using the native interface for both.
9727 lt_use_gnu_ld_interface=no
9728 if test yes = "$with_gnu_ld"; then
9731 # The AIX port of GNU ld has always aspired to compatibility
9732 # with the native linker. However, as the warning in the GNU ld
9733 # block says, versions before 2.19.5* couldn't really create working
9734 # shared libraries, regardless of the interface used.
9735 case `$LD -v 2>&1` in
9736 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9737 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9738 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9740 lt_use_gnu_ld_interface=yes
9745 lt_use_gnu_ld_interface=yes
9750 if test yes = "$lt_use_gnu_ld_interface"; then
9751 # If archive_cmds runs LD, not CC, wlarc should be empty
9754 # Set some defaults for GNU ld with shared library support. These
9755 # are reset later if shared libraries are not supported. Putting them
9756 # here allows them to be overridden if necessary.
9757 runpath_var=LD_RUN_PATH
9758 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9759 export_dynamic_flag_spec='$wl--export-dynamic'
9760 # ancient GNU ld didn't support --whole-archive et. al.
9761 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9762 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9764 whole_archive_flag_spec=
9766 supports_anon_versioning=no
9767 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9768 *GNU\ gold*) supports_anon_versioning=yes ;;
9769 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9770 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9771 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9772 *\ 2.11.*) ;; # other 2.11 versions
9773 *) supports_anon_versioning=yes ;;
9776 # See if GNU ld supports shared libraries.
9779 # On AIX/PPC, the GNU linker is very broken
9780 if test ia64 != "$host_cpu"; then
9784 *** Warning: the GNU linker, at least up to release 2.19, is reported
9785 *** to be unable to reliably create shared libraries on AIX.
9786 *** Therefore, libtool is disabling shared libraries support. If you
9787 *** really care for shared libraries, you may want to install binutils
9788 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9789 *** You will then need to restart the configuration process.
9798 # see comment about AmigaOS4 .so support
9799 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9800 archive_expsym_cmds=''
9803 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)'
9804 hardcode_libdir_flag_spec
='-L$libdir'
9805 hardcode_minus_L
=yes
9811 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9812 allow_undefined_flag
=unsupported
9813 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9814 # support --undefined. This deserves some investigation. FIXME
9815 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9821 cygwin
* | mingw
* | pw32
* | cegcc
*)
9822 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9823 # as there is no search path for DLLs.
9824 hardcode_libdir_flag_spec
='-L$libdir'
9825 export_dynamic_flag_spec
='$wl--export-all-symbols'
9826 allow_undefined_flag
=unsupported
9827 always_export_symbols
=no
9828 enable_shared_with_static_runtimes
=yes
9829 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9830 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9832 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9833 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9834 # If the export-symbols file already is a .def file, use it as
9835 # is; otherwise, prepend EXPORTS...
9836 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9837 cp $export_symbols $output_objdir/$soname.def;
9839 echo EXPORTS > $output_objdir/$soname.def;
9840 cat $export_symbols >> $output_objdir/$soname.def;
9842 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9849 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9850 link_all_deplibs
=yes
9854 hardcode_libdir_flag_spec
='-L$libdir'
9855 hardcode_minus_L
=yes
9856 allow_undefined_flag
=unsupported
9858 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9859 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9860 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9861 $ECHO EXPORTS >> $output_objdir/$libname.def~
9862 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9863 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9864 emximp -o $lib $output_objdir/$libname.def'
9865 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9866 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9867 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9868 $ECHO EXPORTS >> $output_objdir/$libname.def~
9870 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9871 prefix_cmds="$prefix_cmds -e 1d";
9873 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9874 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9875 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9876 emximp -o $lib $output_objdir/$libname.def'
9877 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9878 enable_shared_with_static_runtimes
=yes
9883 hardcode_shlibpath_var
=no
9884 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9885 export_dynamic_flag_spec
='$wl-E'
9886 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9887 # Instead, shared libraries are loaded at an image base (0x10000000 by
9888 # default) and relocated if they conflict, which is a slow very memory
9889 # consuming and fragmenting process. To avoid this, we pick a random,
9890 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9891 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9892 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9893 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'
9896 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9898 if test linux-dietlibc
= "$host_os"; then
9899 case $cc_basename in
9900 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9903 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9904 && test no
= "$tmp_diet"
9906 tmp_addflag
=' $pic_flag'
9907 tmp_sharedflag
='-shared'
9908 case $cc_basename,$host_cpu in
9909 pgcc
*) # Portland Group C compiler
9910 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'
9911 tmp_addflag
=' $pic_flag'
9913 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9914 # Portland Group f77 and f90 compilers
9915 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'
9916 tmp_addflag
=' $pic_flag -Mnomain' ;;
9917 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9918 tmp_addflag
=' -i_dynamic' ;;
9919 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9920 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9921 ifc
* | ifort
*) # Intel Fortran compiler
9922 tmp_addflag
=' -nofor_main' ;;
9923 lf95
*) # Lahey Fortran 8.1
9924 whole_archive_flag_spec
=
9925 tmp_sharedflag
='--shared' ;;
9926 nagfor
*) # NAGFOR 5.3
9927 tmp_sharedflag
='-Wl,-shared' ;;
9928 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9929 tmp_sharedflag
='-qmkshrobj'
9931 nvcc
*) # Cuda Compiler Driver 2.2
9932 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'
9933 compiler_needs_object
=yes
9936 case `$CC -V 2>&1 | sed 5q` in
9937 *Sun\ C
*) # Sun C 5.9
9938 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'
9939 compiler_needs_object
=yes
9940 tmp_sharedflag
='-G' ;;
9941 *Sun\ F
*) # Sun Fortran 8.3
9942 tmp_sharedflag
='-G' ;;
9944 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9946 if test yes = "$supports_anon_versioning"; then
9947 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9948 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9949 echo "local: *; };" >> $output_objdir/$libname.ver~
9950 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9953 case $cc_basename in
9955 export_dynamic_flag_spec
='-rdynamic'
9957 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9958 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9959 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9960 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9961 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9962 if test yes = "$supports_anon_versioning"; then
9963 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9964 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9965 echo "local: *; };" >> $output_objdir/$libname.ver~
9966 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9976 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9977 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9980 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9981 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9986 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9990 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9991 *** create shared libraries on Solaris systems. Therefore, libtool
9992 *** is disabling shared libraries support. We urge you to upgrade GNU
9993 *** binutils to release 2.9.1 or newer. Another option is to modify
9994 *** your PATH or compiler configuration so that the native linker is
9995 *** used, and then restart.
9998 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9999 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10000 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10006 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10007 case `$LD -v 2>&1` in
10008 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10012 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10013 *** reliably create shared libraries on SCO systems. Therefore, libtool
10014 *** is disabling shared libraries support. We urge you to upgrade GNU
10015 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10016 *** your PATH or compiler configuration so that the native linker is
10017 *** used, and then restart.
10022 # For security reasons, it is highly recommended that you always
10023 # use absolute paths for naming shared libraries, and exclude the
10024 # DT_RUNPATH tag from executables and libraries. But doing so
10025 # requires that you compile everything twice, which is a pain.
10026 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10027 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10028 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10029 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10038 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10040 hardcode_direct
=yes
10041 hardcode_shlibpath_var
=no
10045 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10046 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10047 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10054 if test no
= "$ld_shlibs"; then
10056 hardcode_libdir_flag_spec
=
10057 export_dynamic_flag_spec
=
10058 whole_archive_flag_spec
=
10061 # PORTME fill in a description of your system's linker (not GNU ld)
10064 allow_undefined_flag
=unsupported
10065 always_export_symbols
=yes
10066 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'
10067 # Note: this linker hardcodes the directories in LIBPATH if there
10068 # are no directories specified by -L.
10069 hardcode_minus_L
=yes
10070 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10071 # Neither direct hardcoding nor static linking is supported with a
10073 hardcode_direct
=unsupported
10078 if test ia64
= "$host_cpu"; then
10079 # On IA64, the linker does run time linking by default, so we don't
10080 # have to do anything special.
10081 aix_use_runtimelinking
=no
10082 exp_sym_flag
='-Bexport'
10085 # If we're using GNU nm, then we don't want the "-C" option.
10086 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10087 # Without the "-l" option, or with the "-B" option, AIX nm treats
10088 # weak defined symbols like other global defined symbols, whereas
10089 # GNU nm marks them as "W".
10090 # While the 'weak' keyword is ignored in the Export File, we need
10091 # it in the Import File for the 'aix-soname' feature, so we have
10092 # to replace the "-B" option with "-P" for AIX nm.
10093 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10094 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10096 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10098 aix_use_runtimelinking
=no
10100 # Test if we are trying to use run time linking or normal
10101 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10102 # have runtime linking enabled, and use it for executables.
10103 # For shared libraries, we enable/disable runtime linking
10104 # depending on the kind of the shared library created -
10105 # when "with_aix_soname,aix_use_runtimelinking" is:
10106 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10107 # "aix,yes" lib.so shared, rtl:yes, for executables
10108 # lib.a static archive
10109 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10110 # lib.a(lib.so.V) shared, rtl:no, for executables
10111 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10112 # lib.a(lib.so.V) shared, rtl:no
10113 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10114 # lib.a static archive
10115 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10116 for ld_flag
in $LDFLAGS; do
10117 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10118 aix_use_runtimelinking
=yes
10122 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10123 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10124 # so we don't have lib.a shared libs to link our executables.
10125 # We have to force runtime linking in this case.
10126 aix_use_runtimelinking
=yes
10127 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10132 exp_sym_flag
='-bexport'
10133 no_entry_flag
='-bnoentry'
10136 # When large executables or shared objects are built, AIX ld can
10137 # have problems creating the table of contents. If linking a library
10138 # or program results in "error TOC overflow" add -mminimal-toc to
10139 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10140 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10143 hardcode_direct
=yes
10144 hardcode_direct_absolute
=yes
10145 hardcode_libdir_separator
=':'
10146 link_all_deplibs
=yes
10147 file_list_spec
='$wl-f,'
10148 case $with_aix_soname,$aix_use_runtimelinking in
10149 aix
,*) ;; # traditional, no import file
10150 svr4
,* |
*,yes) # use import file
10151 # The Import File defines what to hardcode.
10153 hardcode_direct_absolute
=no
10157 if test yes = "$GCC"; then
10158 case $host_os in aix4.
[012]|aix4.
[012].
*)
10159 # We only want to do this on AIX 4.2 and lower, the check
10160 # below for broken collect2 doesn't work under 4.3+
10161 collect2name
=`$CC -print-prog-name=collect2`
10162 if test -f "$collect2name" &&
10163 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10165 # We have reworked collect2
10168 # We have old collect2
10169 hardcode_direct
=unsupported
10170 # It fails to find uninstalled libraries when the uninstalled
10171 # path is not listed in the libpath. Setting hardcode_minus_L
10172 # to unsupported forces relinking
10173 hardcode_minus_L
=yes
10174 hardcode_libdir_flag_spec
='-L$libdir'
10175 hardcode_libdir_separator
=
10179 shared_flag
='-shared'
10180 if test yes = "$aix_use_runtimelinking"; then
10181 shared_flag
="$shared_flag "'$wl-G'
10183 # Need to ensure runtime linking is disabled for the traditional
10184 # shared library, or the linker may eventually find shared libraries
10185 # /with/ Import File - we do not want to mix them.
10186 shared_flag_aix
='-shared'
10187 shared_flag_svr4
='-shared $wl-G'
10190 if test ia64
= "$host_cpu"; then
10191 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10192 # chokes on -Wl,-G. The following line is correct:
10195 if test yes = "$aix_use_runtimelinking"; then
10196 shared_flag
='$wl-G'
10198 shared_flag
='$wl-bM:SRE'
10200 shared_flag_aix
='$wl-bM:SRE'
10201 shared_flag_svr4
='$wl-G'
10205 export_dynamic_flag_spec
='$wl-bexpall'
10206 # It seems that -bexpall does not export symbols beginning with
10207 # underscore (_), so it is better to generate a list of symbols to export.
10208 always_export_symbols
=yes
10209 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10210 # Warning - without using the other runtime loading flags (-brtl),
10211 # -berok will link without error, but may produce a broken library.
10212 allow_undefined_flag
='-berok'
10213 # Determine the default libpath from the value encoded in an
10214 # empty executable.
10215 if test set = "${lt_cv_aix_libpath+set}"; then
10216 aix_libpath
=$lt_cv_aix_libpath
10218 if ${lt_cv_aix_libpath_+:} false
; then :
10219 $as_echo_n "(cached) " >&6
10221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10232 if ac_fn_c_try_link
"$LINENO"; then :
10234 lt_aix_libpath_sed
='
10235 /Import File Strings/,/^$/ {
10237 s/^0 *\([^ ]*\) *$/\1/
10241 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10242 # Check for a 64-bit object if we didn't find anything.
10243 if test -z "$lt_cv_aix_libpath_"; then
10244 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10247 rm -f core conftest.err conftest.
$ac_objext \
10248 conftest
$ac_exeext conftest.
$ac_ext
10249 if test -z "$lt_cv_aix_libpath_"; then
10250 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10255 aix_libpath
=$lt_cv_aix_libpath_
10258 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10259 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10261 if test ia64
= "$host_cpu"; then
10262 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10263 allow_undefined_flag
="-z nodefs"
10264 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"
10266 # Determine the default libpath from the value encoded in an
10267 # empty executable.
10268 if test set = "${lt_cv_aix_libpath+set}"; then
10269 aix_libpath
=$lt_cv_aix_libpath
10271 if ${lt_cv_aix_libpath_+:} false
; then :
10272 $as_echo_n "(cached) " >&6
10274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10285 if ac_fn_c_try_link
"$LINENO"; then :
10287 lt_aix_libpath_sed
='
10288 /Import File Strings/,/^$/ {
10290 s/^0 *\([^ ]*\) *$/\1/
10294 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10295 # Check for a 64-bit object if we didn't find anything.
10296 if test -z "$lt_cv_aix_libpath_"; then
10297 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10300 rm -f core conftest.err conftest.
$ac_objext \
10301 conftest
$ac_exeext conftest.
$ac_ext
10302 if test -z "$lt_cv_aix_libpath_"; then
10303 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10308 aix_libpath
=$lt_cv_aix_libpath_
10311 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10312 # Warning - without using the other run time loading flags,
10313 # -berok will link without error, but may produce a broken library.
10314 no_undefined_flag
=' $wl-bernotok'
10315 allow_undefined_flag
=' $wl-berok'
10316 if test yes = "$with_gnu_ld"; then
10317 # We only use this code for GNU lds that support --whole-archive.
10318 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10320 # Exported symbols can be pulled into shared objects from archives
10321 whole_archive_flag_spec
='$convenience'
10323 archive_cmds_need_lc
=yes
10324 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10325 # -brtl affects multiple linker settings, -berok does not and is overridden later
10326 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10327 if test svr4
!= "$with_aix_soname"; then
10328 # This is similar to how AIX traditionally builds its shared libraries.
10329 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10331 if test aix
!= "$with_aix_soname"; then
10332 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10334 # used by -dlpreopen to get the symbols
10335 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10337 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10345 # see comment about AmigaOS4 .so support
10346 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10347 archive_expsym_cmds
=''
10350 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)'
10351 hardcode_libdir_flag_spec
='-L$libdir'
10352 hardcode_minus_L
=yes
10358 export_dynamic_flag_spec
=-rdynamic
10361 cygwin
* | mingw
* | pw32
* | cegcc
*)
10362 # When not using gcc, we currently assume that we are using
10363 # Microsoft Visual C++.
10364 # hardcode_libdir_flag_spec is actually meaningless, as there is
10365 # no search path for DLLs.
10366 case $cc_basename in
10369 hardcode_libdir_flag_spec
=' '
10370 allow_undefined_flag
=unsupported
10371 always_export_symbols
=yes
10373 # Tell ltmain to make .lib files, not .a files.
10375 # Tell ltmain to make .dll files, not .so files.
10377 # FIXME: Setting linknames here is a bad hack.
10378 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10379 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10380 cp "$export_symbols" "$output_objdir/$soname.def";
10381 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10383 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10385 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10387 # The linker will not automatically build a static lib if we build a DLL.
10388 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10389 enable_shared_with_static_runtimes
=yes
10390 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10391 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10393 old_postinstall_cmds
='chmod 644 $oldlib'
10394 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10395 lt_tool_outputfile="@TOOL_OUTPUT@"~
10396 case $lt_outputfile in
10399 lt_outputfile=$lt_outputfile.exe
10400 lt_tool_outputfile=$lt_tool_outputfile.exe
10403 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10404 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10405 $RM "$lt_outputfile.manifest";
10409 # Assume MSVC wrapper
10410 hardcode_libdir_flag_spec
=' '
10411 allow_undefined_flag
=unsupported
10412 # Tell ltmain to make .lib files, not .a files.
10414 # Tell ltmain to make .dll files, not .so files.
10416 # FIXME: Setting linknames here is a bad hack.
10417 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10418 # The linker will automatically build a .lib file if we build a DLL.
10419 old_archive_from_new_cmds
='true'
10420 # FIXME: Should let the user specify the lib program.
10421 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10422 enable_shared_with_static_runtimes
=yes
10427 darwin
* | rhapsody
*)
10430 archive_cmds_need_lc
=no
10432 hardcode_automatic
=yes
10433 hardcode_shlibpath_var
=unsupported
10434 if test yes = "$lt_cv_ld_force_load"; then
10435 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\"`'
10438 whole_archive_flag_spec
=''
10440 link_all_deplibs
=yes
10441 allow_undefined_flag
=$_lt_dar_allow_undefined
10442 case $cc_basename in
10443 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10444 *) _lt_dar_can_shared
=$GCC ;;
10446 if test yes = "$_lt_dar_can_shared"; then
10447 output_verbose_link_cmd
=func_echo_all
10448 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10449 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10450 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"
10451 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"
10460 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10461 hardcode_libdir_flag_spec
='-L$libdir'
10462 hardcode_shlibpath_var
=no
10465 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10466 # support. Future versions do this automatically, but an explicit c++rt0.o
10467 # does not break anything, and helps significantly (at the cost of a little
10470 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10471 hardcode_libdir_flag_spec
='-R$libdir'
10472 hardcode_direct
=yes
10473 hardcode_shlibpath_var
=no
10476 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10478 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10479 hardcode_direct
=yes
10480 hardcode_minus_L
=yes
10481 hardcode_shlibpath_var
=no
10484 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10485 freebsd
* | dragonfly
*)
10486 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10487 hardcode_libdir_flag_spec
='-R$libdir'
10488 hardcode_direct
=yes
10489 hardcode_shlibpath_var
=no
10493 if test yes = "$GCC"; then
10494 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10496 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10498 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10499 hardcode_libdir_separator
=:
10500 hardcode_direct
=yes
10502 # hardcode_minus_L: Not really in the search PATH,
10503 # but as the default location of the library.
10504 hardcode_minus_L
=yes
10505 export_dynamic_flag_spec
='$wl-E'
10509 if test yes,no
= "$GCC,$with_gnu_ld"; then
10510 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10512 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10514 if test no
= "$with_gnu_ld"; then
10515 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10516 hardcode_libdir_separator
=:
10517 hardcode_direct
=yes
10518 hardcode_direct_absolute
=yes
10519 export_dynamic_flag_spec
='$wl-E'
10520 # hardcode_minus_L: Not really in the search PATH,
10521 # but as the default location of the library.
10522 hardcode_minus_L
=yes
10527 if test yes,no
= "$GCC,$with_gnu_ld"; then
10530 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10533 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10536 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10542 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10545 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10549 # Older versions of the 11.00 compiler do not understand -b yet
10550 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10552 $as_echo_n "checking if $CC understands -b... " >&6; }
10553 if ${lt_cv_prog_compiler__b+:} false
; then :
10554 $as_echo_n "(cached) " >&6
10556 lt_cv_prog_compiler__b
=no
10557 save_LDFLAGS
=$LDFLAGS
10558 LDFLAGS
="$LDFLAGS -b"
10559 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10560 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10561 # The linker can only warn and ignore the option if not recognized
10562 # So say no if there are warnings
10563 if test -s conftest.err
; then
10564 # Append any errors to the config.log.
10565 cat conftest.err
1>&5
10566 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10567 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10568 if diff conftest.exp conftest.er2
>/dev
/null
; then
10569 lt_cv_prog_compiler__b
=yes
10572 lt_cv_prog_compiler__b
=yes
10576 LDFLAGS
=$save_LDFLAGS
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10580 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10582 if test yes = "$lt_cv_prog_compiler__b"; then
10583 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10585 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10591 if test no
= "$with_gnu_ld"; then
10592 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10593 hardcode_libdir_separator
=:
10598 hardcode_shlibpath_var
=no
10601 hardcode_direct
=yes
10602 hardcode_direct_absolute
=yes
10603 export_dynamic_flag_spec
='$wl-E'
10605 # hardcode_minus_L: Not really in the search PATH,
10606 # but as the default location of the library.
10607 hardcode_minus_L
=yes
10613 irix5
* | irix6
* | nonstopux
*)
10614 if test yes = "$GCC"; then
10615 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10616 # Try to use the -exported_symbol ld option, if it does not
10617 # work, assume that -exports_file does not work either and
10618 # implicitly export all symbols.
10619 # This should be the same for all languages, so no per-tag cache variable.
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10621 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10622 if ${lt_cv_irix_exported_symbol+:} false
; then :
10623 $as_echo_n "(cached) " >&6
10625 save_LDFLAGS
=$LDFLAGS
10626 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10629 int foo (void) { return 0; }
10631 if ac_fn_c_try_link
"$LINENO"; then :
10632 lt_cv_irix_exported_symbol
=yes
10634 lt_cv_irix_exported_symbol
=no
10636 rm -f core conftest.err conftest.
$ac_objext \
10637 conftest
$ac_exeext conftest.
$ac_ext
10638 LDFLAGS
=$save_LDFLAGS
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10641 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10642 if test yes = "$lt_cv_irix_exported_symbol"; then
10643 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10646 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'
10647 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'
10649 archive_cmds_need_lc
='no'
10650 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10651 hardcode_libdir_separator
=:
10653 link_all_deplibs
=yes
10657 case $cc_basename in
10659 # Fabrice Bellard et al's Tiny C Compiler
10661 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10667 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10668 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10670 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10672 hardcode_libdir_flag_spec
='-R$libdir'
10673 hardcode_direct
=yes
10674 hardcode_shlibpath_var
=no
10678 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10679 hardcode_direct
=yes
10680 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10681 hardcode_libdir_separator
=:
10682 hardcode_shlibpath_var
=no
10688 openbsd
* | bitrig
*)
10689 if test -f /usr
/libexec
/ld.so
; then
10690 hardcode_direct
=yes
10691 hardcode_shlibpath_var
=no
10692 hardcode_direct_absolute
=yes
10693 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10694 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10695 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10696 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10697 export_dynamic_flag_spec
='$wl-E'
10699 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10700 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10708 hardcode_libdir_flag_spec
='-L$libdir'
10709 hardcode_minus_L
=yes
10710 allow_undefined_flag
=unsupported
10712 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10713 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10714 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10715 $ECHO EXPORTS >> $output_objdir/$libname.def~
10716 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10717 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10718 emximp -o $lib $output_objdir/$libname.def'
10719 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10720 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10721 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10722 $ECHO EXPORTS >> $output_objdir/$libname.def~
10723 prefix_cmds="$SED"~
10724 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10725 prefix_cmds="$prefix_cmds -e 1d";
10727 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10728 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10729 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10730 emximp -o $lib $output_objdir/$libname.def'
10731 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10732 enable_shared_with_static_runtimes
=yes
10736 if test yes = "$GCC"; then
10737 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10738 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'
10740 allow_undefined_flag
=' -expect_unresolved \*'
10741 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'
10743 archive_cmds_need_lc
='no'
10744 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10745 hardcode_libdir_separator
=:
10748 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10749 if test yes = "$GCC"; then
10750 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10751 archive_cmds
='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10752 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10754 allow_undefined_flag
=' -expect_unresolved \*'
10755 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'
10756 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~
10757 $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'
10759 # Both c and cxx compiler support -rpath directly
10760 hardcode_libdir_flag_spec
='-rpath $libdir'
10762 archive_cmds_need_lc
='no'
10763 hardcode_libdir_separator
=:
10767 no_undefined_flag
=' -z defs'
10768 if test yes = "$GCC"; then
10770 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10771 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10772 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10774 case `$CC -V 2>&1` in
10777 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10778 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10779 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10783 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10784 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10785 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10789 hardcode_libdir_flag_spec
='-R$libdir'
10790 hardcode_shlibpath_var
=no
10792 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10794 # The compiler driver will combine and reorder linker options,
10795 # but understands '-z linker_flag'. GCC discards it without '$wl',
10796 # but is careful enough not to reorder.
10797 # Supported since Solaris 2.6 (maybe 2.5.1?)
10798 if test yes = "$GCC"; then
10799 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10801 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10805 link_all_deplibs
=yes
10809 if test sequent
= "$host_vendor"; then
10810 # Use $CC to link under sequent, because it throws in some extra .o
10811 # files that make .init and .fini sections work.
10812 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10816 hardcode_libdir_flag_spec
='-L$libdir'
10817 hardcode_direct
=yes
10818 hardcode_minus_L
=yes
10819 hardcode_shlibpath_var
=no
10823 case $host_vendor in
10825 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10826 hardcode_direct
=yes # is this really true???
10829 ## LD is ld it makes a PLAMLIB
10830 ## CC just makes a GrossModule.
10831 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10832 reload_cmds
='$CC -r -o $output$reload_objs'
10836 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10840 runpath_var
='LD_RUN_PATH'
10841 hardcode_shlibpath_var
=no
10845 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10846 hardcode_shlibpath_var
=no
10847 export_dynamic_flag_spec
='-Bexport'
10851 if test -d /usr
/nec
; then
10852 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10853 hardcode_shlibpath_var
=no
10854 runpath_var
=LD_RUN_PATH
10855 hardcode_runpath_var
=yes
10860 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10861 no_undefined_flag
='$wl-z,text'
10862 archive_cmds_need_lc
=no
10863 hardcode_shlibpath_var
=no
10864 runpath_var
='LD_RUN_PATH'
10866 if test yes = "$GCC"; then
10867 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10868 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10870 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10871 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10875 sysv5
* | sco3.2v5
* | sco5v6
*)
10876 # Note: We CANNOT use -z defs as we might desire, because we do not
10877 # link with -lc, and that would cause any symbols used from libc to
10878 # always be unresolved, which means just about no library would
10879 # ever link correctly. If we're not using GNU ld we use -z text
10880 # though, which does catch some bad symbols but isn't as heavy-handed
10882 no_undefined_flag
='$wl-z,text'
10883 allow_undefined_flag
='$wl-z,nodefs'
10884 archive_cmds_need_lc
=no
10885 hardcode_shlibpath_var
=no
10886 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10887 hardcode_libdir_separator
=':'
10888 link_all_deplibs
=yes
10889 export_dynamic_flag_spec
='$wl-Bexport'
10890 runpath_var
='LD_RUN_PATH'
10892 if test yes = "$GCC"; then
10893 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10894 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10896 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10902 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10903 hardcode_libdir_flag_spec
='-L$libdir'
10904 hardcode_shlibpath_var
=no
10912 if test sni
= "$host_vendor"; then
10914 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10915 export_dynamic_flag_spec
='$wl-Blargedynsym'
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10922 $as_echo "$ld_shlibs" >&6; }
10923 test no
= "$ld_shlibs" && can_build_shared
=no
10925 with_gnu_ld
=$with_gnu_ld
10942 # Do we need to explicitly link libc?
10944 case "x$archive_cmds_need_lc" in
10946 # Assume -lc should be added
10947 archive_cmds_need_lc
=yes
10949 if test yes,yes = "$GCC,$enable_shared"; then
10950 case $archive_cmds in
10952 # FIXME: we may have to deal with multi-command sequences.
10955 # Test whether the compiler implicitly links with -lc since on some
10956 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10957 # to ld, don't add -lc before -lgcc.
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10959 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10960 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10961 $as_echo_n "(cached) " >&6
10964 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10967 (eval $ac_compile) 2>&5
10969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10970 test $ac_status = 0; } 2>conftest.err
; then
10973 libobjs
=conftest.
$ac_objext
10975 wl
=$lt_prog_compiler_wl
10976 pic_flag
=$lt_prog_compiler_pic
10982 lt_save_allow_undefined_flag
=$allow_undefined_flag
10983 allow_undefined_flag
=
10984 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10985 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10988 test $ac_status = 0; }
10990 lt_cv_archive_cmds_need_lc
=no
10992 lt_cv_archive_cmds_need_lc
=yes
10994 allow_undefined_flag
=$lt_save_allow_undefined_flag
10996 cat conftest.err
1>&5
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11002 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11003 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11162 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11164 if test yes = "$GCC"; then
11166 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11167 *) lt_awk_arg
='/^libraries:/' ;;
11170 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11171 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11173 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11174 case $lt_search_path_spec in
11176 # if the path contains ";" then we assume it to be the separator
11177 # otherwise default to the standard path separator (i.e. ":") - it is
11178 # assumed that no part of a normal pathname contains ";" but that should
11179 # okay in the real world where ";" in dirpaths is itself problematic.
11180 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11183 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11186 # Ok, now we have the path, separated by spaces, we can step through it
11187 # and add multilib dir if necessary...
11188 lt_tmp_lt_search_path_spec
=
11189 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11190 # ...but if some path component already ends with the multilib dir we assume
11191 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11192 case "$lt_multi_os_dir; $lt_search_path_spec " in
11193 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11197 for lt_sys_path
in $lt_search_path_spec; do
11198 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11199 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11200 elif test -n "$lt_multi_os_dir"; then
11201 test -d "$lt_sys_path" && \
11202 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11205 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11206 BEGIN {RS = " "; FS = "/|\n";} {
11209 for (lt_i = NF; lt_i > 0; lt_i--) {
11210 if ($lt_i != "" && $lt_i != ".") {
11211 if ($lt_i == "..") {
11214 if (lt_count == 0) {
11215 lt_foo = "/" $lt_i lt_foo;
11222 if (lt_foo != "") { lt_freq[lt_foo]++; }
11223 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11225 # AWK program above erroneously prepends '/' to C:/dos/paths
11228 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11229 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11231 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11233 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11235 library_names_spec
=
11236 libname_spec
='lib$name'
11240 postuninstall_cmds
=
11244 shlibpath_overrides_runpath
=unknown
11246 dynamic_linker
="$host_os ld.so"
11247 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11248 need_lib_prefix
=unknown
11249 hardcode_into_libs
=no
11251 # when you set need_version to no, make sure it does not cause -set_version
11252 # flags to be left without arguments
11253 need_version
=unknown
11259 version_type
=linux
# correct to gnu/linux during the next big refactor
11260 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11261 shlibpath_var
=LIBPATH
11263 # AIX 3 has no versioning support, so we append a major version to the name.
11264 soname_spec
='$libname$release$shared_ext$major'
11268 version_type
=linux
# correct to gnu/linux during the next big refactor
11271 hardcode_into_libs
=yes
11272 if test ia64
= "$host_cpu"; then
11273 # AIX 5 supports IA64
11274 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11275 shlibpath_var
=LD_LIBRARY_PATH
11277 # With GCC up to 2.95.x, collect2 would create an import file
11278 # for dependence libraries. The import file would start with
11279 # the line '#! .'. This would cause the generated library to
11280 # depend on '.', always an invalid library. This was fixed in
11281 # development snapshots of GCC prior to 3.0.
11283 aix4 | aix4.
[01] | aix4.
[01].
*)
11284 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11286 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11289 can_build_shared
=no
11293 # Using Import Files as archive members, it is possible to support
11294 # filename-based versioning of shared library archives on AIX. While
11295 # this would work for both with and without runtime linking, it will
11296 # prevent static linking of such archives. So we do filename-based
11297 # shared library versioning with .so extension only, which is used
11298 # when both runtime linking and shared linking is enabled.
11299 # Unfortunately, runtime linking may impact performance, so we do
11300 # not want this to be the default eventually. Also, we use the
11301 # versioned .so libs for executables only if there is the -brtl
11302 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11303 # To allow for filename-based versioning support, we need to create
11304 # libNAME.so.V as an archive file, containing:
11305 # *) an Import File, referring to the versioned filename of the
11306 # archive as well as the shared archive member, telling the
11307 # bitwidth (32 or 64) of that shared object, and providing the
11308 # list of exported symbols of that shared object, eventually
11309 # decorated with the 'weak' keyword
11310 # *) the shared object with the F_LOADONLY flag set, to really avoid
11311 # it being seen by the linker.
11312 # At run time we better use the real file rather than another symlink,
11313 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11315 case $with_aix_soname,$aix_use_runtimelinking in
11316 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11317 # soname into executable. Probably we can add versioning support to
11318 # collect2, so additional links can be useful in future.
11319 aix
,yes) # traditional libtool
11320 dynamic_linker
='AIX unversionable lib.so'
11321 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11322 # instead of lib<name>.a to let people know that these are not
11323 # typical AIX shared libraries.
11324 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11326 aix
,no
) # traditional AIX only
11327 dynamic_linker
='AIX lib.a(lib.so.V)'
11328 # We preserve .a as extension for shared libraries through AIX4.2
11329 # and later when we are not doing run time linking.
11330 library_names_spec
='$libname$release.a $libname.a'
11331 soname_spec
='$libname$release$shared_ext$major'
11333 svr4
,*) # full svr4 only
11334 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11335 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11336 # We do not specify a path in Import Files, so LIBPATH fires.
11337 shlibpath_overrides_runpath
=yes
11339 *,yes) # both, prefer svr4
11340 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11341 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11342 # unpreferred sharedlib libNAME.a needs extra handling
11343 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11344 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11345 # We do not specify a path in Import Files, so LIBPATH fires.
11346 shlibpath_overrides_runpath
=yes
11348 *,no
) # both, prefer aix
11349 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11350 library_names_spec
='$libname$release.a $libname.a'
11351 soname_spec
='$libname$release$shared_ext$major'
11352 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11353 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11354 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11357 shlibpath_var
=LIBPATH
11364 # Since July 2007 AmigaOS4 officially supports .so libraries.
11365 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11366 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11369 library_names_spec
='$libname.ixlibrary $libname.a'
11370 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11371 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11377 library_names_spec
='$libname$shared_ext'
11378 dynamic_linker
="$host_os ld.so"
11379 shlibpath_var
=LIBRARY_PATH
11383 version_type
=linux
# correct to gnu/linux during the next big refactor
11385 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11386 soname_spec
='$libname$release$shared_ext$major'
11387 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11388 shlibpath_var
=LD_LIBRARY_PATH
11389 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11390 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11391 # the default ld.so.conf also contains /usr/contrib/lib and
11392 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11393 # libtool to hard-code these into programs
11396 cygwin
* | mingw
* | pw32
* | cegcc
*)
11397 version_type
=windows
11402 case $GCC,$cc_basename in
11405 library_names_spec
='$libname.dll.a'
11406 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11407 postinstall_cmds
='base_file=`basename \$file`~
11408 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11409 dldir=$destdir/`dirname \$dlpath`~
11410 test -d \$dldir || mkdir -p \$dldir~
11411 $install_prog $dir/$dlname \$dldir/$dlname~
11412 chmod a+x \$dldir/$dlname~
11413 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11414 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11416 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11417 dlpath=$dir/\$dldll~
11419 shlibpath_overrides_runpath
=yes
11423 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11424 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11426 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11429 # MinGW DLLs use traditional 'lib' prefix
11430 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11433 # pw32 DLLs use 'pw' prefix rather than 'lib'
11434 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11437 dynamic_linker
='Win32 ld.exe'
11442 libname_spec
='$name'
11443 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11444 library_names_spec
='$libname.dll.lib'
11448 sys_lib_search_path_spec
=
11451 for lt_path
in $LIB
11454 # Let DOS variable expansion print the short 8.3 style file name.
11455 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11456 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11459 # Convert to MSYS style.
11460 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11463 # Convert to unix form, then to dos form, then back to unix form
11464 # but this time dos style (no spaces!) so that the unix form looks
11465 # like /cygdrive/c/PROGRA~1:/cygdr...
11466 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11467 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11468 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11471 sys_lib_search_path_spec
=$LIB
11472 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11473 # It is most probably a Windows format PATH.
11474 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11476 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11478 # FIXME: find the short name or the path components, as spaces are
11479 # common. (e.g. "Program Files" -> "PROGRA~1")
11483 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11484 postinstall_cmds
='base_file=`basename \$file`~
11485 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11486 dldir=$destdir/`dirname \$dlpath`~
11487 test -d \$dldir || mkdir -p \$dldir~
11488 $install_prog $dir/$dlname \$dldir/$dlname'
11489 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11490 dlpath=$dir/\$dldll~
11492 shlibpath_overrides_runpath
=yes
11493 dynamic_linker
='Win32 link.exe'
11497 # Assume MSVC wrapper
11498 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11499 dynamic_linker
='Win32 ld.exe'
11502 # FIXME: first we should search . and the directory the executable is in
11506 darwin
* | rhapsody
*)
11507 dynamic_linker
="$host_os dyld"
11508 version_type
=darwin
11511 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11512 soname_spec
='$libname$release$major$shared_ext'
11513 shlibpath_overrides_runpath
=yes
11514 shlibpath_var
=DYLD_LIBRARY_PATH
11515 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11517 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11518 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11522 version_type
=linux
# correct to gnu/linux during the next big refactor
11525 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11526 soname_spec
='$libname$release$shared_ext$major'
11527 shlibpath_var
=LD_LIBRARY_PATH
11530 freebsd
* | dragonfly
*)
11531 # DragonFly does not have aout. When/if they implement a new
11532 # versioning mechanism, adjust this.
11533 if test -x /usr
/bin
/objformat
; then
11534 objformat
=`/usr/bin/objformat`
11537 freebsd
[23].
*) objformat
=aout
;;
11538 *) objformat
=elf
;;
11541 version_type
=freebsd-
$objformat
11542 case $version_type in
11544 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11545 soname_spec
='$libname$release$shared_ext$major'
11550 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11554 shlibpath_var
=LD_LIBRARY_PATH
11557 shlibpath_overrides_runpath
=yes
11559 freebsd3.
[01]* | freebsdelf3.
[01]*)
11560 shlibpath_overrides_runpath
=yes
11561 hardcode_into_libs
=yes
11563 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11564 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11565 shlibpath_overrides_runpath
=no
11566 hardcode_into_libs
=yes
11568 *) # from 4.6 on, and DragonFly
11569 shlibpath_overrides_runpath
=yes
11570 hardcode_into_libs
=yes
11576 version_type
=linux
# correct to gnu/linux during the next big refactor
11579 dynamic_linker
="$host_os runtime_loader"
11580 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11581 soname_spec
='$libname$release$shared_ext$major'
11582 shlibpath_var
=LIBRARY_PATH
11583 shlibpath_overrides_runpath
=no
11584 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11585 hardcode_into_libs
=yes
11588 hpux9
* | hpux10
* | hpux11
*)
11589 # Give a soname corresponding to the major version so that dld.sl refuses to
11590 # link against other versions.
11597 hardcode_into_libs
=yes
11598 dynamic_linker
="$host_os dld.so"
11599 shlibpath_var
=LD_LIBRARY_PATH
11600 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11601 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11602 soname_spec
='$libname$release$shared_ext$major'
11603 if test 32 = "$HPUX_IA64_MODE"; then
11604 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11605 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11607 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11608 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11613 hardcode_into_libs
=yes
11614 dynamic_linker
="$host_os dld.sl"
11615 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11616 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11617 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11618 soname_spec
='$libname$release$shared_ext$major'
11619 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11620 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11624 dynamic_linker
="$host_os dld.sl"
11625 shlibpath_var
=SHLIB_PATH
11626 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11627 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11628 soname_spec
='$libname$release$shared_ext$major'
11631 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11632 postinstall_cmds
='chmod 555 $lib'
11633 # or fails outright, so override atomically:
11634 install_override_mode
=555
11638 version_type
=linux
# correct to gnu/linux during the next big refactor
11641 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11642 soname_spec
='$libname$release$shared_ext$major'
11643 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11644 shlibpath_var
=LD_LIBRARY_PATH
11645 shlibpath_overrides_runpath
=no
11646 hardcode_into_libs
=yes
11649 irix5
* | irix6
* | nonstopux
*)
11651 nonstopux
*) version_type
=nonstopux
;;
11653 if test yes = "$lt_cv_prog_gnu_ld"; then
11654 version_type
=linux
# correct to gnu/linux during the next big refactor
11661 soname_spec
='$libname$release$shared_ext$major'
11662 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11664 irix5
* | nonstopux
*)
11665 libsuff
= shlibsuff
=
11668 case $LD in # libtool.m4 will add one of these switches to LD
11669 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11670 libsuff
= shlibsuff
= libmagic
=32-bit;;
11671 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11672 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11673 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11674 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11675 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11679 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11680 shlibpath_overrides_runpath
=no
11681 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11682 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11683 hardcode_into_libs
=yes
11686 # No shared lib support for Linux oldld, aout, or coff.
11687 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11692 version_type
=none
# Android doesn't support versioned libraries.
11695 library_names_spec
='$libname$release$shared_ext'
11696 soname_spec
='$libname$release$shared_ext'
11698 shlibpath_var
=LD_LIBRARY_PATH
11699 shlibpath_overrides_runpath
=yes
11701 # This implies no fast_install, which is unacceptable.
11702 # Some rework will be needed to allow for fast_install
11703 # before this can be enabled.
11704 hardcode_into_libs
=yes
11706 dynamic_linker
='Android linker'
11707 # Don't embed -rpath directories since the linker doesn't support them.
11708 hardcode_libdir_flag_spec
='-L$libdir'
11711 # This must be glibc/ELF.
11712 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11713 version_type
=linux
# correct to gnu/linux during the next big refactor
11716 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11717 soname_spec
='$libname$release$shared_ext$major'
11718 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11719 shlibpath_var
=LD_LIBRARY_PATH
11720 shlibpath_overrides_runpath
=no
11722 # Some binutils ld are patched to set DT_RUNPATH
11723 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11724 $as_echo_n "(cached) " >&6
11726 lt_cv_shlibpath_overrides_runpath
=no
11727 save_LDFLAGS
=$LDFLAGS
11728 save_libdir
=$libdir
11729 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11730 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11742 if ac_fn_c_try_link
"$LINENO"; then :
11743 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11744 lt_cv_shlibpath_overrides_runpath
=yes
11747 rm -f core conftest.err conftest.
$ac_objext \
11748 conftest
$ac_exeext conftest.
$ac_ext
11749 LDFLAGS
=$save_LDFLAGS
11750 libdir
=$save_libdir
11754 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11756 # This implies no fast_install, which is unacceptable.
11757 # Some rework will be needed to allow for fast_install
11758 # before this can be enabled.
11759 hardcode_into_libs
=yes
11761 # Add ABI-specific directories to the system library path.
11762 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11764 # Ideally, we could use ldconfig to report *all* directores which are
11765 # searched for libraries, however this is still not possible. Aside from not
11766 # being certain /sbin/ldconfig is available, command
11767 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11768 # even though it is searched at run-time. Try to do the best guess by
11769 # appending ld.so.conf contents (and includes) to the search path.
11770 if test -f /etc
/ld.so.conf
; then
11771 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' ' '`
11772 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11775 # We used to test for /lib/ld.so.1 and disable shared libraries on
11776 # powerpc, because MkLinux only supported shared libraries with the
11777 # GNU dynamic linker. Since this was broken with cross compilers,
11778 # most powerpc-linux boxes support dynamic linking these days and
11779 # people can always --disable-shared, the test was removed, and we
11780 # assume the GNU/Linux dynamic linker is in use.
11781 dynamic_linker
='GNU/Linux ld.so'
11788 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11789 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11791 dynamic_linker
='NetBSD (a.out) ld.so'
11793 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11794 soname_spec
='$libname$release$shared_ext$major'
11795 dynamic_linker
='NetBSD ld.elf_so'
11797 shlibpath_var
=LD_LIBRARY_PATH
11798 shlibpath_overrides_runpath
=yes
11799 hardcode_into_libs
=yes
11803 version_type
=linux
# correct to gnu/linux during the next big refactor
11804 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11805 shlibpath_var
=LD_LIBRARY_PATH
11806 shlibpath_overrides_runpath
=yes
11813 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11814 soname_spec
='$libname$release$shared_ext$major'
11815 shlibpath_var
=LD_LIBRARY_PATH
11816 shlibpath_overrides_runpath
=no
11817 hardcode_into_libs
=yes
11818 dynamic_linker
='ldqnx.so'
11821 openbsd
* | bitrig
*)
11823 sys_lib_dlsearch_path_spec
=/usr
/lib
11825 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11830 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11831 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11832 shlibpath_var
=LD_LIBRARY_PATH
11833 shlibpath_overrides_runpath
=yes
11837 libname_spec
='$name'
11838 version_type
=windows
11842 # OS/2 can only load a DLL with a base name of 8 characters or less.
11843 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11844 v=$($ECHO $release$versuffix | tr -d .-);
11845 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11846 $ECHO $n$v`$shared_ext'
11847 library_names_spec
='${libname}_dll.$libext'
11848 dynamic_linker
='OS/2 ld.exe'
11849 shlibpath_var
=BEGINLIBPATH
11850 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11851 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11852 postinstall_cmds
='base_file=`basename \$file`~
11853 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11854 dldir=$destdir/`dirname \$dlpath`~
11855 test -d \$dldir || mkdir -p \$dldir~
11856 $install_prog $dir/$dlname \$dldir/$dlname~
11857 chmod a+x \$dldir/$dlname~
11858 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11859 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11861 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11862 dlpath=$dir/\$dldll~
11866 osf3
* | osf4
* | osf5
*)
11870 soname_spec
='$libname$release$shared_ext$major'
11871 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11872 shlibpath_var
=LD_LIBRARY_PATH
11873 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11874 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11882 version_type
=linux
# correct to gnu/linux during the next big refactor
11885 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11886 soname_spec
='$libname$release$shared_ext$major'
11887 shlibpath_var
=LD_LIBRARY_PATH
11888 shlibpath_overrides_runpath
=yes
11889 hardcode_into_libs
=yes
11890 # ldd complains unless libraries are executable
11891 postinstall_cmds
='chmod +x $lib'
11896 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11897 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11898 shlibpath_var
=LD_LIBRARY_PATH
11899 shlibpath_overrides_runpath
=yes
11900 if test yes = "$with_gnu_ld"; then
11907 version_type
=linux
# correct to gnu/linux during the next big refactor
11908 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11909 soname_spec
='$libname$release$shared_ext$major'
11910 shlibpath_var
=LD_LIBRARY_PATH
11911 case $host_vendor in
11913 shlibpath_overrides_runpath
=no
11915 runpath_var
=LD_RUN_PATH
11923 shlibpath_overrides_runpath
=no
11924 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11930 if test -d /usr
/nec
; then
11931 version_type
=linux
# correct to gnu/linux during the next big refactor
11932 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11933 soname_spec
='$libname$shared_ext.$major'
11934 shlibpath_var
=LD_LIBRARY_PATH
11938 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11942 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11943 soname_spec
='$libname$release$shared_ext$major'
11944 shlibpath_var
=LD_LIBRARY_PATH
11945 shlibpath_overrides_runpath
=yes
11946 hardcode_into_libs
=yes
11947 if test yes = "$with_gnu_ld"; then
11948 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11950 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11953 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11957 sys_lib_dlsearch_path_spec
='/usr/lib'
11961 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11962 version_type
=linux
# correct to gnu/linux during the next big refactor
11965 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11966 shlibpath_var
=LD_LIBRARY_PATH
11967 shlibpath_overrides_runpath
=no
11968 hardcode_into_libs
=yes
11972 version_type
=linux
# correct to gnu/linux during the next big refactor
11973 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11974 soname_spec
='$libname$release$shared_ext$major'
11975 shlibpath_var
=LD_LIBRARY_PATH
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11983 $as_echo "$dynamic_linker" >&6; }
11984 test no
= "$dynamic_linker" && can_build_shared
=no
11986 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11987 if test yes = "$GCC"; then
11988 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11991 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11992 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11995 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11996 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11999 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12000 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12002 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12003 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12005 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12006 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12105 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12107 if test -n "$hardcode_libdir_flag_spec" ||
12108 test -n "$runpath_var" ||
12109 test yes = "$hardcode_automatic"; then
12111 # We can hardcode non-existent directories.
12112 if test no
!= "$hardcode_direct" &&
12113 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12114 # have to relink, otherwise we might link with an installed library
12115 # when we should be linking with a yet-to-be-installed one
12116 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12117 test no
!= "$hardcode_minus_L"; then
12118 # Linking always hardcodes the temporary library directory.
12119 hardcode_action
=relink
12121 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12122 hardcode_action
=immediate
12125 # We cannot hardcode anything, or else we can only hardcode existing
12127 hardcode_action
=unsupported
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12130 $as_echo "$hardcode_action" >&6; }
12132 if test relink
= "$hardcode_action" ||
12133 test yes = "$inherit_rpath"; then
12134 # Fast installation is not supported
12135 enable_fast_install
=no
12136 elif test yes = "$shlibpath_overrides_runpath" ||
12137 test no
= "$enable_shared"; then
12138 # Fast installation is not necessary
12139 enable_fast_install
=needless
12147 if test yes != "$enable_dlopen"; then
12148 enable_dlopen
=unknown
12149 enable_dlopen_self
=unknown
12150 enable_dlopen_self_static
=unknown
12157 lt_cv_dlopen
=load_add_on
12159 lt_cv_dlopen_self
=yes
12162 mingw
* | pw32
* | cegcc
*)
12163 lt_cv_dlopen
=LoadLibrary
12168 lt_cv_dlopen
=dlopen
12173 # if libdl is installed we need to link against it
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12175 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12176 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12177 $as_echo_n "(cached) " >&6
12179 ac_check_lib_save_LIBS
=$LIBS
12181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12199 if ac_fn_c_try_link
"$LINENO"; then :
12200 ac_cv_lib_dl_dlopen
=yes
12202 ac_cv_lib_dl_dlopen
=no
12204 rm -f core conftest.err conftest.
$ac_objext \
12205 conftest
$ac_exeext conftest.
$ac_ext
12206 LIBS
=$ac_check_lib_save_LIBS
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12209 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12210 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12211 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12216 lt_cv_dlopen_self
=yes
12223 # Don't try to run any link tests for TPF. We know it's impossible
12224 # because TPF is a cross-compiler, and we know how we open DSOs.
12225 lt_cv_dlopen
=dlopen
12227 lt_cv_dlopen_self
=no
12231 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12232 if test "x$ac_cv_func_shl_load" = xyes
; then :
12233 lt_cv_dlopen
=shl_load
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12236 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12237 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12238 $as_echo_n "(cached) " >&6
12240 ac_check_lib_save_LIBS
=$LIBS
12242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12255 return shl_load ();
12260 if ac_fn_c_try_link
"$LINENO"; then :
12261 ac_cv_lib_dld_shl_load
=yes
12263 ac_cv_lib_dld_shl_load
=no
12265 rm -f core conftest.err conftest.
$ac_objext \
12266 conftest
$ac_exeext conftest.
$ac_ext
12267 LIBS
=$ac_check_lib_save_LIBS
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12270 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12271 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12272 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12274 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12275 if test "x$ac_cv_func_dlopen" = xyes
; then :
12276 lt_cv_dlopen
=dlopen
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12279 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12280 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12281 $as_echo_n "(cached) " >&6
12283 ac_check_lib_save_LIBS
=$LIBS
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12303 if ac_fn_c_try_link
"$LINENO"; then :
12304 ac_cv_lib_dl_dlopen
=yes
12306 ac_cv_lib_dl_dlopen
=no
12308 rm -f core conftest.err conftest.
$ac_objext \
12309 conftest
$ac_exeext conftest.
$ac_ext
12310 LIBS
=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12313 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12314 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12315 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12318 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12319 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12320 $as_echo_n "(cached) " >&6
12322 ac_check_lib_save_LIBS
=$LIBS
12323 LIBS
="-lsvld $LIBS"
12324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12342 if ac_fn_c_try_link
"$LINENO"; then :
12343 ac_cv_lib_svld_dlopen
=yes
12345 ac_cv_lib_svld_dlopen
=no
12347 rm -f core conftest.err conftest.
$ac_objext \
12348 conftest
$ac_exeext conftest.
$ac_ext
12349 LIBS
=$ac_check_lib_save_LIBS
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12352 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12353 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12354 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12357 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12358 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12359 $as_echo_n "(cached) " >&6
12361 ac_check_lib_save_LIBS
=$LIBS
12363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12376 return dld_link ();
12381 if ac_fn_c_try_link
"$LINENO"; then :
12382 ac_cv_lib_dld_dld_link
=yes
12384 ac_cv_lib_dld_dld_link
=no
12386 rm -f core conftest.err conftest.
$ac_objext \
12387 conftest
$ac_exeext conftest.
$ac_ext
12388 LIBS
=$ac_check_lib_save_LIBS
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12391 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12392 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12393 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12414 if test no
= "$lt_cv_dlopen"; then
12420 case $lt_cv_dlopen in
12422 save_CPPFLAGS
=$CPPFLAGS
12423 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12425 save_LDFLAGS
=$LDFLAGS
12426 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12429 LIBS
="$lt_cv_dlopen_libs $LIBS"
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12432 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12433 if ${lt_cv_dlopen_self+:} false
; then :
12434 $as_echo_n "(cached) " >&6
12436 if test yes = "$cross_compiling"; then :
12437 lt_cv_dlopen_self
=cross
12439 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12440 lt_status
=$lt_dlunknown
12441 cat > conftest.
$ac_ext <<_LT_EOF
12442 #line $LINENO "configure"
12443 #include "confdefs.h"
12452 # define LT_DLGLOBAL RTLD_GLOBAL
12455 # define LT_DLGLOBAL DL_GLOBAL
12457 # define LT_DLGLOBAL 0
12461 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12462 find out it does not work in some platform. */
12463 #ifndef LT_DLLAZY_OR_NOW
12465 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12468 # define LT_DLLAZY_OR_NOW DL_LAZY
12471 # define LT_DLLAZY_OR_NOW RTLD_NOW
12474 # define LT_DLLAZY_OR_NOW DL_NOW
12476 # define LT_DLLAZY_OR_NOW 0
12483 /* When -fvisibility=hidden is used, assume the code has been annotated
12484 correspondingly for the symbols needed. */
12485 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12486 int fnord () __attribute__((visibility("default")));
12489 int fnord () { return 42; }
12492 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12493 int status = $lt_dlunknown;
12497 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12500 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12501 else puts (dlerror ());
12503 /* dlclose (self); */
12511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12512 (eval $ac_link) 2>&5
12514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12515 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12516 (.
/conftest
; exit; ) >&5 2>/dev
/null
12518 case x
$lt_status in
12519 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12520 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12521 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12524 # compilation failed
12525 lt_cv_dlopen_self
=no
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12533 $as_echo "$lt_cv_dlopen_self" >&6; }
12535 if test yes = "$lt_cv_dlopen_self"; then
12536 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12538 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12539 if ${lt_cv_dlopen_self_static+:} false
; then :
12540 $as_echo_n "(cached) " >&6
12542 if test yes = "$cross_compiling"; then :
12543 lt_cv_dlopen_self_static
=cross
12545 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12546 lt_status
=$lt_dlunknown
12547 cat > conftest.
$ac_ext <<_LT_EOF
12548 #line $LINENO "configure"
12549 #include "confdefs.h"
12558 # define LT_DLGLOBAL RTLD_GLOBAL
12561 # define LT_DLGLOBAL DL_GLOBAL
12563 # define LT_DLGLOBAL 0
12567 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12568 find out it does not work in some platform. */
12569 #ifndef LT_DLLAZY_OR_NOW
12571 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12574 # define LT_DLLAZY_OR_NOW DL_LAZY
12577 # define LT_DLLAZY_OR_NOW RTLD_NOW
12580 # define LT_DLLAZY_OR_NOW DL_NOW
12582 # define LT_DLLAZY_OR_NOW 0
12589 /* When -fvisibility=hidden is used, assume the code has been annotated
12590 correspondingly for the symbols needed. */
12591 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12592 int fnord () __attribute__((visibility("default")));
12595 int fnord () { return 42; }
12598 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12599 int status = $lt_dlunknown;
12603 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12606 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12607 else puts (dlerror ());
12609 /* dlclose (self); */
12617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12618 (eval $ac_link) 2>&5
12620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12621 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12622 (.
/conftest
; exit; ) >&5 2>/dev
/null
12624 case x
$lt_status in
12625 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12626 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12627 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12630 # compilation failed
12631 lt_cv_dlopen_self_static
=no
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12639 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12642 CPPFLAGS
=$save_CPPFLAGS
12643 LDFLAGS
=$save_LDFLAGS
12648 case $lt_cv_dlopen_self in
12649 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12650 *) enable_dlopen_self
=unknown
;;
12653 case $lt_cv_dlopen_self_static in
12654 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12655 *) enable_dlopen_self_static
=unknown
;;
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12678 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12679 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12680 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12681 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12683 $as_echo "yes" >&6; }
12685 # FIXME - insert some real tests, host_os isn't really good enough
12688 if test -n "$STRIP"; then
12689 striplib
="$STRIP -x"
12690 old_striplib
="$STRIP -S"
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12692 $as_echo "yes" >&6; }
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12695 $as_echo "no" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12700 $as_echo "no" >&6; }
12716 # Report what library types will actually be built
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12718 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12720 $as_echo "$can_build_shared" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12723 $as_echo_n "checking whether to build shared libraries... " >&6; }
12724 test no
= "$can_build_shared" && enable_shared
=no
12726 # On AIX, shared libraries and static libraries use the same namespace, and
12727 # are all built from PIC.
12730 test yes = "$enable_shared" && enable_static
=no
12731 if test -n "$RANLIB"; then
12732 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12733 postinstall_cmds
='$RANLIB $lib'
12738 if test ia64
!= "$host_cpu"; then
12739 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12740 yes,aix
,yes) ;; # shared object as lib.so file only
12741 yes,svr4
,*) ;; # shared object as lib.so archive member only
12742 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12748 $as_echo "$enable_shared" >&6; }
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12751 $as_echo_n "checking whether to build static libraries... " >&6; }
12752 # Make sure either enable_shared or enable_static is yes.
12753 test yes = "$enable_shared" || enable_static
=yes
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12755 $as_echo "$enable_static" >&6; }
12762 ac_cpp
='$CPP $CPPFLAGS'
12763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12783 ac_config_commands
="$ac_config_commands libtool"
12788 # Only expand once:
12792 if test "$GCC" = yes ; then
12793 CXXFLAGS
="$CXXFLAGS -Wall"
12794 CFLAGS
="$CFLAGS -Wall"
12797 CFLAGS
="$CFLAGS -I.. -I$srcdir/.."
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12801 $as_echo_n "checking for ANSI C header files... " >&6; }
12802 if ${ac_cv_header_stdc+:} false
; then :
12803 $as_echo_n "(cached) " >&6
12805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12806 /* end confdefs.h. */
12807 #include <stdlib.h>
12808 #include <stdarg.h>
12809 #include <string.h>
12820 if ac_fn_c_try_compile
"$LINENO"; then :
12821 ac_cv_header_stdc
=yes
12823 ac_cv_header_stdc
=no
12825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12827 if test $ac_cv_header_stdc = yes; then
12828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 #include <string.h>
12834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12835 $EGREP "memchr" >/dev
/null
2>&1; then :
12838 ac_cv_header_stdc
=no
12844 if test $ac_cv_header_stdc = yes; then
12845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12848 #include <stdlib.h>
12851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12852 $EGREP "free" >/dev
/null
2>&1; then :
12855 ac_cv_header_stdc
=no
12861 if test $ac_cv_header_stdc = yes; then
12862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12863 if test "$cross_compiling" = yes; then :
12866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 #include <stdlib.h>
12870 #if ((' ' & 0x0FF) == 0x020)
12871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12874 # define ISLOWER(c) \
12875 (('a' <= (c) && (c) <= 'i') \
12876 || ('j' <= (c) && (c) <= 'r') \
12877 || ('s' <= (c) && (c) <= 'z'))
12878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12886 for (i = 0; i < 256; i++)
12887 if (XOR (islower (i), ISLOWER (i))
12888 || toupper (i) != TOUPPER (i))
12893 if ac_fn_c_try_run
"$LINENO"; then :
12896 ac_cv_header_stdc
=no
12898 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12899 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12905 $as_echo "$ac_cv_header_stdc" >&6; }
12906 if test $ac_cv_header_stdc = yes; then
12908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12912 for ac_header
in locale.h
12914 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12915 if test "x$ac_cv_header_locale_h" = xyes
; then :
12916 cat >>confdefs.h
<<_ACEOF
12917 #define HAVE_LOCALE_H 1
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12926 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12927 if ${ac_cv_c_const+:} false
; then :
12928 $as_echo_n "(cached) " >&6
12930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12937 #ifndef __cplusplus
12938 /* Ultrix mips cc rejects this sort of thing. */
12939 typedef int charset[2];
12940 const charset cs = { 0, 0 };
12941 /* SunOS 4.1.1 cc rejects this. */
12942 char const *const *pcpcc;
12944 /* NEC SVR4.0.2 mips cc rejects this. */
12945 struct point {int x, y;};
12946 static struct point const zero = {0,0};
12947 /* AIX XL C 1.02.0.0 rejects this.
12948 It does not let you subtract one const X* pointer from another in
12949 an arm of an if-expression whose if-part is not a constant
12951 const char *g = "string";
12952 pcpcc = &g + (g ? g-g : 0);
12953 /* HPUX 7.0 cc rejects these. */
12955 ppc = (char**) pcpcc;
12956 pcpcc = (char const *const *) ppc;
12957 { /* SCO 3.2v4 cc rejects this sort of thing. */
12960 char const *s = 0 ? (char *) 0 : (char const *) 0;
12965 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12966 int x[] = {25, 17};
12967 const int *foo = &x[0];
12970 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12971 typedef const int *iptr;
12975 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12976 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12977 struct s { int j; const int *ap[3]; } bx;
12978 struct s *b = &bx; b->j = 5;
12980 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12981 const int foo = 10;
12982 if (!foo) return 0;
12984 return !cs[0] && !zero.x;
12991 if ac_fn_c_try_compile
"$LINENO"; then :
12996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12999 $as_echo "$ac_cv_c_const" >&6; }
13000 if test $ac_cv_c_const = no
; then
13002 $as_echo "#define const /**/" >>confdefs.h
13006 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13007 if test "x$ac_cv_type_size_t" = xyes
; then :
13011 cat >>confdefs.h
<<_ACEOF
13012 #define size_t unsigned int
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
13018 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
13019 if ${ac_cv_struct_tm+:} false
; then :
13020 $as_echo_n "(cached) " >&6
13022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13024 #include <sys/types.h>
13031 int *p = &tm.tm_sec;
13037 if ac_fn_c_try_compile
"$LINENO"; then :
13038 ac_cv_struct_tm
=time.h
13040 ac_cv_struct_tm
=sys
/time.h
13042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
13045 $as_echo "$ac_cv_struct_tm" >&6; }
13046 if test $ac_cv_struct_tm = sys
/time.h
; then
13048 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
13052 # Check whether --enable-largefile was given.
13053 if test "${enable_largefile+set}" = set; then :
13054 enableval
=$enable_largefile;
13057 if test "$enable_largefile" != no
; then
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13060 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13061 if ${ac_cv_sys_largefile_CC+:} false
; then :
13062 $as_echo_n "(cached) " >&6
13064 ac_cv_sys_largefile_CC
=no
13065 if test "$GCC" != yes; then
13068 # IRIX 6.2 and later do not support large files by default,
13069 # so use the C compiler's -n32 option if that helps.
13070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13072 #include <sys/types.h>
13073 /* Check that off_t can represent 2**63 - 1 correctly.
13074 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13075 since some C++ compilers masquerading as C compilers
13076 incorrectly reject 9223372036854775807. */
13077 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13078 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13079 && LARGE_OFF_T % 2147483647 == 1)
13089 if ac_fn_c_try_compile
"$LINENO"; then :
13092 rm -f core conftest.err conftest.
$ac_objext
13094 if ac_fn_c_try_compile
"$LINENO"; then :
13095 ac_cv_sys_largefile_CC
=' -n32'; break
13097 rm -f core conftest.err conftest.
$ac_objext
13101 rm -f conftest.
$ac_ext
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13105 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13106 if test "$ac_cv_sys_largefile_CC" != no
; then
13107 CC
=$CC$ac_cv_sys_largefile_CC
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13111 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13112 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13113 $as_echo_n "(cached) " >&6
13116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13118 #include <sys/types.h>
13119 /* Check that off_t can represent 2**63 - 1 correctly.
13120 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13121 since some C++ compilers masquerading as C compilers
13122 incorrectly reject 9223372036854775807. */
13123 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13124 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13125 && LARGE_OFF_T % 2147483647 == 1)
13135 if ac_fn_c_try_compile
"$LINENO"; then :
13136 ac_cv_sys_file_offset_bits
=no
; break
13138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13141 #define _FILE_OFFSET_BITS 64
13142 #include <sys/types.h>
13143 /* Check that off_t can represent 2**63 - 1 correctly.
13144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13145 since some C++ compilers masquerading as C compilers
13146 incorrectly reject 9223372036854775807. */
13147 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13149 && LARGE_OFF_T % 2147483647 == 1)
13159 if ac_fn_c_try_compile
"$LINENO"; then :
13160 ac_cv_sys_file_offset_bits
=64; break
13162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13163 ac_cv_sys_file_offset_bits
=unknown
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13168 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13169 case $ac_cv_sys_file_offset_bits in #(
13172 cat >>confdefs.h
<<_ACEOF
13173 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13178 if test $ac_cv_sys_file_offset_bits = unknown
; then
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13180 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13181 if ${ac_cv_sys_large_files+:} false
; then :
13182 $as_echo_n "(cached) " >&6
13185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13187 #include <sys/types.h>
13188 /* Check that off_t can represent 2**63 - 1 correctly.
13189 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13190 since some C++ compilers masquerading as C compilers
13191 incorrectly reject 9223372036854775807. */
13192 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13193 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13194 && LARGE_OFF_T % 2147483647 == 1)
13204 if ac_fn_c_try_compile
"$LINENO"; then :
13205 ac_cv_sys_large_files
=no
; break
13207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13210 #define _LARGE_FILES 1
13211 #include <sys/types.h>
13212 /* Check that off_t can represent 2**63 - 1 correctly.
13213 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13214 since some C++ compilers masquerading as C compilers
13215 incorrectly reject 9223372036854775807. */
13216 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13217 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13218 && LARGE_OFF_T % 2147483647 == 1)
13228 if ac_fn_c_try_compile
"$LINENO"; then :
13229 ac_cv_sys_large_files
=1; break
13231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13232 ac_cv_sys_large_files
=unknown
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13237 $as_echo "$ac_cv_sys_large_files" >&6; }
13238 case $ac_cv_sys_large_files in #(
13241 cat >>confdefs.h
<<_ACEOF
13242 #define _LARGE_FILES $ac_cv_sys_large_files
13255 # Check whether --with-libidn was given.
13256 if test "${with_libidn+set}" = set; then :
13257 withval
=$with_libidn; libidn
=$withval
13263 if test "$libidn" != "no"
13272 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13273 if test -n "$ac_tool_prefix"; then
13274 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13275 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13277 $as_echo_n "checking for $ac_word... " >&6; }
13278 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
13279 $as_echo_n "(cached) " >&6
13281 case $PKG_CONFIG in
13283 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13287 for as_dir
in $PATH
13290 test -z "$as_dir" && as_dir
=.
13291 for ac_exec_ext
in '' $ac_executable_extensions; do
13292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13293 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13304 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13305 if test -n "$PKG_CONFIG"; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13307 $as_echo "$PKG_CONFIG" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13310 $as_echo "no" >&6; }
13315 if test -z "$ac_cv_path_PKG_CONFIG"; then
13316 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13317 # Extract the first word of "pkg-config", so it can be a program name with args.
13318 set dummy pkg-config
; ac_word
=$2
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13320 $as_echo_n "checking for $ac_word... " >&6; }
13321 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
13322 $as_echo_n "(cached) " >&6
13324 case $ac_pt_PKG_CONFIG in
13326 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13330 for as_dir
in $PATH
13333 test -z "$as_dir" && as_dir
=.
13334 for ac_exec_ext
in '' $ac_executable_extensions; do
13335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13336 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13347 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13348 if test -n "$ac_pt_PKG_CONFIG"; then
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13350 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13353 $as_echo "no" >&6; }
13356 if test "x$ac_pt_PKG_CONFIG" = x
; then
13359 case $cross_compiling:$ac_tool_warned in
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13363 ac_tool_warned
=yes ;;
13365 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13368 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13372 if test -n "$PKG_CONFIG"; then
13373 _pkg_min_version
=0.9.0
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13375 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13376 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13378 $as_echo "yes" >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13381 $as_echo "no" >&6; }
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIDN" >&5
13388 $as_echo_n "checking for LIBIDN... " >&6; }
13390 if test -n "$LIBIDN_CFLAGS"; then
13391 pkg_cv_LIBIDN_CFLAGS
="$LIBIDN_CFLAGS"
13392 elif test -n "$PKG_CONFIG"; then
13393 if test -n "$PKG_CONFIG" && \
13394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn >= 0.0.0\""; } >&5
13395 ($PKG_CONFIG --exists --print-errors "libidn >= 0.0.0") 2>&5
13397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13398 test $ac_status = 0; }; then
13399 pkg_cv_LIBIDN_CFLAGS
=`$PKG_CONFIG --cflags "libidn >= 0.0.0" 2>/dev/null`
13400 test "x$?" != "x0" && pkg_failed
=yes
13407 if test -n "$LIBIDN_LIBS"; then
13408 pkg_cv_LIBIDN_LIBS
="$LIBIDN_LIBS"
13409 elif test -n "$PKG_CONFIG"; then
13410 if test -n "$PKG_CONFIG" && \
13411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libidn >= 0.0.0\""; } >&5
13412 ($PKG_CONFIG --exists --print-errors "libidn >= 0.0.0") 2>&5
13414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13415 test $ac_status = 0; }; then
13416 pkg_cv_LIBIDN_LIBS
=`$PKG_CONFIG --libs "libidn >= 0.0.0" 2>/dev/null`
13417 test "x$?" != "x0" && pkg_failed
=yes
13427 if test $pkg_failed = yes; then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13429 $as_echo "no" >&6; }
13431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13432 _pkg_short_errors_supported
=yes
13434 _pkg_short_errors_supported
=no
13436 if test $_pkg_short_errors_supported = yes; then
13437 LIBIDN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libidn >= 0.0.0" 2>&1`
13439 LIBIDN_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libidn >= 0.0.0" 2>&1`
13441 # Put the nasty error message in config.log where it belongs
13442 echo "$LIBIDN_PKG_ERRORS" >&5
13445 elif test $pkg_failed = untried
; then
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13447 $as_echo "no" >&6; }
13450 LIBIDN_CFLAGS
=$pkg_cv_LIBIDN_CFLAGS
13451 LIBIDN_LIBS
=$pkg_cv_LIBIDN_LIBS
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13453 $as_echo "yes" >&6; }
13456 if test "$libidn" != "yes"
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libidn not found" >&5
13460 $as_echo "$as_me: WARNING: Libidn not found" >&2;}
13464 $as_echo "#define LIBIDN 1" >>confdefs.h
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Libidn should be used" >&5
13469 $as_echo_n "checking if Libidn should be used... " >&6; }
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libidn" >&5
13471 $as_echo "$libidn" >&6; }
13473 for ac_func
in strcasecmp strncasecmp setlocale
13475 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13476 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13477 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13478 cat >>confdefs.h
<<_ACEOF
13479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to calculate alternate timezone" >&5
13487 $as_echo_n "checking how to calculate alternate timezone... " >&6; }
13488 if ${librfc822_cv_SYS_TIMEZONE+:} false
; then :
13489 $as_echo_n "(cached) " >&6
13491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13492 /* end confdefs.h. */
13506 if ac_fn_c_try_compile
"$LINENO"; then :
13507 librfc822_cv_SYS_TIMEZONE
=altzone
13509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13524 if ac_fn_c_try_compile
"$LINENO"; then :
13525 librfc822_cv_SYS_TIMEZONE
=daylight
13527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13532 extern struct tm dummy;
13538 long n=dummy.tm_gmtoff;
13544 if ac_fn_c_try_compile
"$LINENO"; then :
13545 librfc822_cv_SYS_TIMEZONE
=tm_gmtoff
13547 librfc822_cv_SYS_TIMEZONE
=unknown
13550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $librfc822_cv_SYS_TIMEZONE" >&5
13560 $as_echo "$librfc822_cv_SYS_TIMEZONE" >&6; }
13562 case $librfc822_cv_SYS_TIMEZONE in
13565 cat >>confdefs.h
<<_ACEOF
13566 #define USE_TIME_GMTOFF 1
13572 cat >>confdefs.h
<<_ACEOF
13573 #define USE_TIME_ALTZONE 1
13579 cat >>confdefs.h
<<_ACEOF
13580 #define USE_TIME_DAYLIGHT 1
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot figure out how to calculate the alternate timezone, will use GMT" >&5
13586 $as_echo "$as_me: WARNING: Cannot figure out how to calculate the alternate timezone, will use GMT" >&2;}
13590 if test -d ${srcdir}/..
/docbook
; then
13592 HAVE_SGML_FALSE
='#'
13599 echo "libidn=$libidn" >rfc822.config
13600 ac_config_files
="$ac_config_files Makefile"
13602 cat >confcache
<<\_ACEOF
13603 # This file is a shell script that caches the results of configure
13604 # tests run on this system so they can be shared between configure
13605 # scripts and configure runs, see configure's option --config-cache.
13606 # It is not useful on other systems. If it contains results you don't
13607 # want to keep, you may remove or edit it.
13609 # config.status only pays attention to the cache file if you give it
13610 # the --recheck option to rerun configure.
13612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13614 # following values.
13618 # The following way of writing the cache mishandles newlines in values,
13619 # but we know of no workaround that is simple, portable, and efficient.
13620 # So, we kill variables containing newlines.
13621 # Ultrix sh set writes to stderr and can't be redirected directly,
13622 # and sets the high bit in the cache file unless we assign to the vars.
13624 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13625 eval ac_val
=\$
$ac_var
13629 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13630 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13633 _ | IFS | as_nl
) ;; #(
13634 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13635 *) { eval $ac_var=; unset $ac_var;} ;;
13641 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13642 *${as_nl}ac_space
=\
*)
13643 # `set' does not quote correctly, so add quotes: double-quote
13644 # substitution turns \\\\ into \\, and sed turns \\ into \.
13647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13650 # `set' quotes correctly as required by POSIX, so do not add quotes.
13651 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13660 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13662 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13664 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13665 if test -w "$cache_file"; then
13666 if test "x$cache_file" != "x/dev/null"; then
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13668 $as_echo "$as_me: updating cache $cache_file" >&6;}
13669 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13670 cat confcache
>"$cache_file"
13672 case $cache_file in #(
13674 mv -f confcache
"$cache_file"$$
&&
13675 mv -f "$cache_file"$$
"$cache_file" ;; #(
13677 mv -f confcache
"$cache_file" ;;
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13683 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13688 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13689 # Let make expand exec_prefix.
13690 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13692 DEFS
=-DHAVE_CONFIG_H
13697 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13698 # 1. Remove the extension, and $U if already installed.
13699 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13700 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13701 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13702 # will be set to the directory where LIBOBJS objects are built.
13703 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13704 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13706 LIBOBJS
=$ac_libobjs
13708 LTLIBOBJS
=$ac_ltlibobjs
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13712 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13713 if test -n "$am_sleep_pid"; then
13714 # Hide warnings about reused PIDs.
13715 wait $am_sleep_pid 2>/dev
/null
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13718 $as_echo "done" >&6; }
13719 if test -n "$EXEEXT"; then
13721 am__EXEEXT_FALSE
='#'
13723 am__EXEEXT_TRUE
='#'
13727 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13728 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13731 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13732 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13735 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13736 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13739 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
13740 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
13741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13744 : "${CONFIG_STATUS=./config.status}"
13746 ac_clean_files_save
=$ac_clean_files
13747 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13749 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13753 # Generated by $as_me.
13754 # Run this file to recreate the current configuration.
13755 # Compiler output produced by configure, useful for debugging
13756 # configure, is in config.log if it exists.
13759 ac_cs_recheck=false
13762 SHELL=\${CONFIG_SHELL-$SHELL}
13765 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13766 ## -------------------- ##
13767 ## M4sh Initialization. ##
13768 ## -------------------- ##
13770 # Be more Bourne compatible
13771 DUALCASE
=1; export DUALCASE
# for MKS sh
13772 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13775 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13776 # is contrary to our usage. Disable this feature.
13777 alias -g '${1+"$@"}'='"$@"'
13778 setopt NO_GLOB_SUBST
13780 case `(set -o) 2>/dev/null` in #(
13792 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13793 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13796 # Prefer a ksh shell builtin over an external printf program on Solaris,
13797 # but without wasting forks for bash or zsh.
13798 if test -z "$BASH_VERSION$ZSH_VERSION" \
13799 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13800 as_echo='print
-r --'
13801 as_echo_n='print
-rn --'
13802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13803 as_echo='printf %s
\n'
13804 as_echo_n='printf %s
'
13806 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13807 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13808 as_echo_n='/usr
/ucb
/echo -n'
13810 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13811 as_echo_n_body='eval
13815 expr "X$arg" : "X\\(.*\\)$as_nl";
13816 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13818 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13820 export as_echo_n_body
13821 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13823 export as_echo_body
13824 as_echo='sh
-c $as_echo_body as_echo
'
13827 # The user is always right.
13828 if test "${PATH_SEPARATOR+set}" != set; then
13830 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13831 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13838 # We need space, tab and new line, in precisely that order. Quoting is
13839 # there to prevent editors from complaining about space-tab.
13840 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13841 # splitting by setting IFS to empty value.)
13844 # Find who we are. Look in the path if we contain no directory separator.
13847 *[\\/]* ) as_myself=$0 ;;
13848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13849 for as_dir in $PATH
13852 test -z "$as_dir" && as_dir=.
13853 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13859 # We did not find ourselves, most probably we were run as `sh COMMAND'
13860 # in which case we are not to be found in the path.
13861 if test "x$as_myself" = x
; then
13864 if test ! -f "$as_myself"; then
13865 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13869 # Unset variables that we do not need and which cause bugs (e.g. in
13870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13871 # suppresses any "Segmentation fault" message there. '((' could
13872 # trigger a bug in pdksh 5.2.14.
13873 for as_var
in BASH_ENV ENV MAIL MAILPATH
13874 do eval test x\
${$as_var+set} = xset \
13875 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13888 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13891 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13892 # ----------------------------------------
13893 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13894 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13895 # script with STATUS, using 1 if that was 0.
13898 as_status
=$1; test $as_status -eq 0 && as_status
=1
13900 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13903 $as_echo "$as_me: error: $2" >&2
13904 as_fn_exit
$as_status
13908 # as_fn_set_status STATUS
13909 # -----------------------
13910 # Set $? to STATUS, without forking.
13911 as_fn_set_status
()
13914 } # as_fn_set_status
13916 # as_fn_exit STATUS
13917 # -----------------
13918 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13922 as_fn_set_status
$1
13928 # Portably unset VAR.
13931 { eval $1=; unset $1;}
13933 as_unset
=as_fn_unset
13934 # as_fn_append VAR VALUE
13935 # ----------------------
13936 # Append the text in VALUE to the end of the definition contained in VAR. Take
13937 # advantage of any shell optimizations that allow amortized linear growth over
13938 # repeated appends, instead of the typical quadratic growth present in naive
13940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13941 eval 'as_fn_append ()
13952 # as_fn_arith ARG...
13953 # ------------------
13954 # Perform arithmetic evaluation on the ARGs, and store the result in the
13955 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13956 # must be portable across $(()) and expr.
13957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13958 eval 'as_fn_arith ()
13965 as_val
=`expr "$@" || test $? -eq 1`
13970 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13971 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13977 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13978 as_basename
=basename
13983 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13989 as_me
=`$as_basename -- "$0" ||
13990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13991 X"$0" : 'X\(//\)$' \| \
13992 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13994 sed '/^.*\/\([^/][^/]*\)\/*$/{
14008 # Avoid depending upon Character Ranges.
14009 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14010 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14011 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14012 as_cr_digits
='0123456789'
14013 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14015 ECHO_C
= ECHO_N
= ECHO_T
=
14016 case `echo -n x` in #(((((
14018 case `echo 'xy\c'` in
14019 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14021 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14028 rm -f conf$$ conf$$.exe conf$$.
file
14029 if test -d conf$$.dir
; then
14030 rm -f conf$$.dir
/conf$$.
file
14033 mkdir conf$$.dir
2>/dev
/null
14035 if (echo >conf$$.
file) 2>/dev
/null
; then
14036 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14038 # ... but there are two gotchas:
14039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14041 # In both cases, we have to default to `cp -pR'.
14042 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14044 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14052 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14053 rmdir conf$$.dir
2>/dev
/null
14058 # Create "$as_dir" as a directory, including parents if necessary.
14063 -*) as_dir
=.
/$as_dir;;
14065 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14069 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14070 *) as_qdir
=$as_dir;;
14072 as_dirs
="'$as_qdir' $as_dirs"
14073 as_dir
=`$as_dirname -- "$as_dir" ||
14074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14075 X"$as_dir" : 'X\(//\)[^/]' \| \
14076 X"$as_dir" : 'X\(//\)$' \| \
14077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14078 $as_echo X"$as_dir" |
14079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14083 /^X\(\/\/\)[^/].*/{
14096 test -d "$as_dir" && break
14098 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14099 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14103 if mkdir
-p .
2>/dev
/null
; then
14104 as_mkdir_p
='mkdir -p "$as_dir"'
14106 test -d .
/-p && rmdir .
/-p
14111 # as_fn_executable_p FILE
14112 # -----------------------
14113 # Test if FILE is an executable regular file.
14114 as_fn_executable_p
()
14116 test -f "$1" && test -x "$1"
14117 } # as_fn_executable_p
14118 as_test_x
='test -x'
14119 as_executable_p
=as_fn_executable_p
14121 # Sed expression to map a string onto a valid CPP name.
14122 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14124 # Sed expression to map a string onto a valid variable name.
14125 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14129 ## ----------------------------------- ##
14130 ## Main body of $CONFIG_STATUS script. ##
14131 ## ----------------------------------- ##
14133 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14136 # Save the log message, to keep $0 and so on meaningful, and to
14137 # report actual input values of CONFIG_FILES etc. instead of their
14138 # values after options handling.
14140 This file was extended by rfc822lib $as_me 0.13, which was
14141 generated by GNU Autoconf 2.69. Invocation command line was
14143 CONFIG_FILES = $CONFIG_FILES
14144 CONFIG_HEADERS = $CONFIG_HEADERS
14145 CONFIG_LINKS = $CONFIG_LINKS
14146 CONFIG_COMMANDS = $CONFIG_COMMANDS
14149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14154 case $ac_config_files in *"
14155 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14158 case $ac_config_headers in *"
14159 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14164 # Files that config.status was made for.
14165 config_files="$ac_config_files"
14166 config_headers="$ac_config_headers"
14167 config_commands="$ac_config_commands"
14171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14173 \`$as_me' instantiates files and other configuration actions
14174 from templates according to the current configuration. Unless the files
14175 and actions are specified as TAGs, all are instantiated by default.
14177 Usage: $0 [OPTION]... [TAG]...
14179 -h, --help print this help, then exit
14180 -V, --version print version number and configuration settings, then exit
14181 --config print configuration, then exit
14182 -q, --quiet, --silent
14183 do not print progress messages
14184 -d, --debug don't remove temporary files
14185 --recheck update $as_me by reconfiguring in the same conditions
14186 --file=FILE[:TEMPLATE]
14187 instantiate the configuration file FILE
14188 --header=FILE[:TEMPLATE]
14189 instantiate the configuration header FILE
14191 Configuration files:
14194 Configuration headers:
14197 Configuration commands:
14200 Report bugs to <courier-users@lists.sourceforge.net>."
14203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14204 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14206 rfc822lib config.status 0.13
14207 configured by $0, generated by GNU Autoconf 2.69,
14208 with options \\"\$ac_cs_config\\"
14210 Copyright (C) 2012 Free Software Foundation, Inc.
14211 This config.status script is free software; the Free Software Foundation
14212 gives unlimited permission to copy, distribute and modify it."
14219 test -n "\$AWK" || AWK=awk
14222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14223 # The default lists apply if the user does not specify any file.
14229 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14230 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14234 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14246 # Handling of the options.
14247 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14249 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14250 $as_echo "$ac_cs_version"; exit ;;
14251 --config |
--confi |
--conf |
--con |
--co |
--c )
14252 $as_echo "$ac_cs_config"; exit ;;
14253 --debug |
--debu |
--deb |
--de |
--d |
-d )
14255 --file |
--fil |
--fi |
--f )
14258 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14259 '') as_fn_error $?
"missing file argument" ;;
14261 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14262 ac_need_defaults
=false
;;
14263 --header |
--heade |
--head |
--hea )
14266 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14268 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14269 ac_need_defaults
=false
;;
14271 # Conflict between --help and --header
14272 as_fn_error $?
"ambiguous option: \`$1'
14273 Try \`$0 --help' for more information.";;
14274 --help |
--hel |
-h )
14275 $as_echo "$ac_cs_usage"; exit ;;
14276 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14277 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14280 # This is an error.
14281 -*) as_fn_error $?
"unrecognized option: \`$1'
14282 Try \`$0 --help' for more information." ;;
14284 *) as_fn_append ac_config_targets
" $1"
14285 ac_need_defaults
=false
;;
14291 ac_configure_extra_args
=
14293 if $ac_cs_silent; then
14295 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14300 if \$ac_cs_recheck; then
14301 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14303 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14304 CONFIG_SHELL='$SHELL'
14305 export CONFIG_SHELL
14310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14315 ## Running $as_me. ##
14321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14325 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14328 # The HP-UX ksh and POSIX shell print the target directory to stdout
14329 # if CDPATH is set.
14330 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14332 sed_quote_subst='$sed_quote_subst'
14333 double_quote_subst='$double_quote_subst'
14334 delay_variable_subst='$delay_variable_subst'
14335 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14336 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14337 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14338 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14339 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14340 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14341 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14342 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14343 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14344 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14345 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14346 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14347 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14348 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14349 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14350 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14351 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14352 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14353 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14354 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14355 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14356 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14357 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14358 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14359 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14360 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14361 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14362 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14363 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14364 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14365 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14366 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14367 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14368 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14369 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14370 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14371 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14372 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14373 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14374 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14375 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14376 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14377 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14378 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14379 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14380 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14381 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14382 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14383 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14384 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14385 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14386 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14387 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14388 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14389 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14390 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14391 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14392 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14393 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"`'
14394 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14395 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14396 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14397 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14398 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14399 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14400 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14401 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14402 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14403 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14404 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14405 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14406 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14407 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14408 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14409 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14410 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14411 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14412 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14413 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14414 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14415 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14416 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14417 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14418 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14419 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14420 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14421 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14422 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14423 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14424 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14425 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14426 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14427 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14428 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14429 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14430 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14431 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14432 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14433 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14434 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14435 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14436 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14437 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14438 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14439 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14440 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14441 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14442 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14443 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14444 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14445 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14446 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14447 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14448 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14449 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14450 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14451 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14452 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14453 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14454 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14455 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14456 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14457 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14458 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14459 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14460 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14461 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14462 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14463 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14464 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14465 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14466 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14467 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14468 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14469 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14472 LTCFLAGS='$LTCFLAGS'
14473 compiler='$compiler_DEFAULT'
14475 # A function that is used when there is no print builtin or printf.
14476 func_fallback_echo ()
14478 eval 'cat <<_LTECHO_EOF
14483 # Quote evaled strings.
14498 deplibs_check_method \
14503 sharedlib_from_linklib_cmd \
14506 archiver_list_spec \
14512 lt_cv_sys_global_symbol_pipe \
14513 lt_cv_sys_global_symbol_to_cdecl \
14514 lt_cv_sys_global_symbol_to_import \
14515 lt_cv_sys_global_symbol_to_c_name_address \
14516 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14517 lt_cv_nm_interface \
14518 nm_file_list_spec \
14519 lt_cv_truncate_bin \
14520 lt_prog_compiler_no_builtin_flag \
14521 lt_prog_compiler_pic \
14522 lt_prog_compiler_wl \
14523 lt_prog_compiler_static \
14524 lt_cv_prog_compiler_c_o \
14533 export_dynamic_flag_spec \
14534 whole_archive_flag_spec \
14535 compiler_needs_object \
14537 allow_undefined_flag \
14538 no_undefined_flag \
14539 hardcode_libdir_flag_spec \
14540 hardcode_libdir_separator \
14544 variables_saved_for_relink \
14546 library_names_spec \
14548 install_override_mode \
14552 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14553 *[\\\\\\\`\\"\\\$]*)
14554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14562 # Double-quote double-evaled strings.
14563 for var in reload_cmds \
14564 old_postinstall_cmds \
14565 old_postuninstall_cmds \
14567 extract_expsyms_cmds \
14568 old_archive_from_new_cmds \
14569 old_archive_from_expsyms_cmds \
14571 archive_expsym_cmds \
14573 module_expsym_cmds \
14574 export_symbols_cmds \
14578 postuninstall_cmds \
14580 sys_lib_search_path_spec \
14581 configure_time_dlsearch_path \
14582 configure_time_lt_sys_library_path; do
14583 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14584 *[\\\\\\\`\\"\\\$]*)
14585 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14588 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14593 ac_aux_dir='$ac_aux_dir'
14595 # See if we are running on zsh, and set the options that allow our
14596 # commands through without removal of \ escapes INIT.
14597 if test -n "\${ZSH_VERSION+set}"; then
14598 setopt NO_GLOB_SUBST
14612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14614 # Handling of arguments.
14615 for ac_config_target
in $ac_config_targets
14617 case $ac_config_target in
14618 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14619 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14620 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14621 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14623 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14628 # If the user did not use the arguments to specify the items to instantiate,
14629 # then the envvar interface is used. Set only those that are not.
14630 # We use the long form for the default assignment because of an extremely
14631 # bizarre bug on SunOS 4.1.3.
14632 if $ac_need_defaults; then
14633 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14634 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14635 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14638 # Have a temporary directory for convenience. Make it in the build tree
14639 # simply because there is no reason against having it here, and in addition,
14640 # creating and moving files from /tmp can sometimes cause problems.
14641 # Hook for its removal unless debugging.
14642 # Note that there is a small window in which the directory will not be cleaned:
14643 # after its creation but before its name has been assigned to `$tmp'.
14647 trap 'exit_status=$?
14648 : "${ac_tmp:=$tmp}"
14649 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14651 trap 'as_fn_exit 1' 1 2 13 15
14653 # Create a (secure) tmp directory for tmp files.
14656 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14660 tmp
=.
/conf$$
-$RANDOM
14661 (umask 077 && mkdir
"$tmp")
14662 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14665 # Set up the scripts for CONFIG_FILES section.
14666 # No need to generate them if there are no CONFIG_FILES.
14667 # This happens for instance with `./config.status config.h'.
14668 if test -n "$CONFIG_FILES"; then
14671 ac_cr
=`echo X | tr X '\015'`
14672 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14673 # But we know of no other shell where ac_cr would be empty at this
14674 # point, so we can use a bashism as a fallback.
14675 if test "x$ac_cr" = x
; then
14676 eval ac_cr
=\$
\'\\r
\'
14678 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14679 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14682 ac_cs_awk_cr
=$ac_cr
14685 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14690 echo "cat >conf$$subs.awk <<_ACEOF" &&
14691 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14693 } >conf$$subs.sh ||
14694 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14695 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14697 for ac_last_try in false false false false false :; do
14698 . ./conf$$subs.sh ||
14699 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14701 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14702 if test $ac_delim_n = $ac_delim_num; then
14704 elif $ac_last_try; then
14705 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14707 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14710 rm -f conf$$subs.sh
14712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14713 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14717 s/^/S["/; s
/!.
*/"]=/
14727 s/\(.\{148\}\)..*/\1/
14729 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14734 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14741 s/\(.\{148\}\)..*/\1/
14743 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14747 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14752 ' <conf$$subs.awk | sed '
14757 ' >>$CONFIG_STATUS || ac_write_fail=1
14758 rm -f conf$$subs.awk
14759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14761 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14762 for (key in S) S_is_set[key] = 1
14768 nfields = split(line, field, "@
")
14770 len = length(field[1])
14771 for (i = 2; i < nfields; i++) {
14773 keylen = length(key)
14774 if (S_is_set[key]) {
14776 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14777 len += length(value) + length(field[++i])
14788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14789 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14790 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14793 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14794 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14797 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14798 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14799 # trailing colons and then remove the whole line if VPATH becomes empty
14800 # (actually we leave an empty line to preserve line numbers).
14801 if test "x
$srcdir" = x.; then
14802 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14821 fi # test -n "$CONFIG_FILES"
14823 # Set up the scripts for CONFIG_HEADERS section.
14824 # No need to generate them if there are no CONFIG_HEADERS.
14825 # This happens for instance with `./config.status Makefile'.
14826 if test -n "$CONFIG_HEADERS"; then
14827 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14831 # Transform confdefs.h into an awk script `defines.awk', embedded as
14832 # here-document in config.status, that substitutes the proper values into
14833 # config.h.in to produce config.h.
14835 # Create a delimiter string that does not exist in confdefs.h, to ease
14836 # handling of long lines.
14838 for ac_last_try in false false :; do
14839 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14840 if test -z "$ac_tt"; then
14842 elif $ac_last_try; then
14843 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14845 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14849 # For the awk script, D is an array of macro values keyed by name,
14850 # likewise P contains macro parameters if any. Preserve backslash
14851 # newline sequences.
14853 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14855 s/.\{148\}/&'"$ac_delim"'/g
14858 s/^[ ]*#[ ]*define[ ][ ]*/ /
14865 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14867 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14871 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14872 D["\
1"]=" \
3\\\\\\n
"\\/p
14874 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14879 s/.\{148\}/&'"$ac_delim"'/g
14884 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14887 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14889 ' <confdefs.h | sed '
14890 s/'"$ac_delim"'/"\\\
14891 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14894 for (key in D) D_is_set[key] = 1
14897 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14899 split(line, arg, " ")
14900 if (arg[1] == "#") {
14904 defundef
= substr
(arg
[1], 2)
14907 split(mac1
, mac2
, "(") #)
14909 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14910 if (D_is_set
[macro
]) {
14911 # Preserve the white space surrounding the "#".
14912 print prefix
"define", macro P
[macro
] D
[macro
]
14915 # Replace #undef with comments. This is necessary, for example,
14916 # in the case of _POSIX_SOURCE, which is predefined and required
14917 # on some systems where configure will not decide to define it.
14918 if (defundef
== "undef") {
14919 print
"/*", prefix defundef
, macro
, "*/"
14927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14928 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14929 fi # test -n "$CONFIG_HEADERS"
14932 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14937 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14939 case $ac_mode$ac_tag in
14941 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14942 :[FH
]-) ac_tag
=-:-;;
14943 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14960 -) ac_f
="$ac_tmp/stdin";;
14961 *) # Look for the file first in the build tree, then in the source tree
14962 # (if the path is not absolute). The absolute path cannot be DOS-style,
14963 # because $ac_f cannot contain `:'.
14967 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14969 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14971 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14972 as_fn_append ac_file_inputs
" '$ac_f'"
14975 # Let's still pretend it is `configure' which instantiates (i.e., don't
14976 # use $as_me), people would be surprised to read:
14977 # /* config.h. Generated by config.status. */
14978 configure_input
='Generated from '`
14979 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14981 if test x
"$ac_file" != x-
; then
14982 configure_input
="$ac_file. $configure_input"
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14984 $as_echo "$as_me: creating $ac_file" >&6;}
14986 # Neutralize special characters interpreted by sed in replacement strings.
14987 case $configure_input in #(
14988 *\
&* |
*\|
* |
*\\* )
14989 ac_sed_conf_input
=`$as_echo "$configure_input" |
14990 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14991 *) ac_sed_conf_input
=$configure_input;;
14995 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14996 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15001 ac_dir
=`$as_dirname -- "$ac_file" ||
15002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15003 X"$ac_file" : 'X\(//\)[^/]' \| \
15004 X"$ac_file" : 'X\(//\)$' \| \
15005 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15006 $as_echo X"$ac_file" |
15007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15011 /^X\(\/\/\)[^/].*/{
15024 as_dir
="$ac_dir"; as_fn_mkdir_p
15028 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15030 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15031 # A ".." for each directory in $ac_dir_suffix.
15032 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15033 case $ac_top_builddir_sub in
15034 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15035 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15038 ac_abs_top_builddir
=$ac_pwd
15039 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15040 # for backward compatibility:
15041 ac_top_builddir
=$ac_top_build_prefix
15044 .
) # We are building in place.
15046 ac_top_srcdir
=$ac_top_builddir_sub
15047 ac_abs_top_srcdir
=$ac_pwd ;;
15048 [\\/]* | ?
:[\\/]* ) # Absolute name.
15049 ac_srcdir
=$srcdir$ac_dir_suffix;
15050 ac_top_srcdir
=$srcdir
15051 ac_abs_top_srcdir
=$srcdir ;;
15052 *) # Relative name.
15053 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15054 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15055 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15057 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15067 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15068 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15070 ac_MKDIR_P
=$MKDIR_P
15072 [\\/$
]* | ?
:[\\/]* ) ;;
15073 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15078 # If the template does not know about datarootdir, expand it.
15079 # FIXME: This hack should be removed a few years after 2.60.
15080 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15091 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15092 *datarootdir
*) ac_datarootdir_seen
=yes;;
15093 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15095 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15098 ac_datarootdir_hack='
15099 s&@datadir@&$datadir&g
15100 s&@docdir@&$docdir&g
15101 s&@infodir@&$infodir&g
15102 s&@localedir@&$localedir&g
15103 s&@mandir@&$mandir&g
15104 s&\\\${datarootdir}&$datarootdir&g' ;;
15108 # Neutralize VPATH when `$srcdir' = `.'.
15109 # Shell code in configure.ac might set extrasub.
15110 # FIXME: do we really want to maintain this feature?
15111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15112 ac_sed_extra="$ac_vpsub
15115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15117 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15118 s|@configure_input@|
$ac_sed_conf_input|
;t t
15119 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15120 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15121 s
&@srcdir@
&$ac_srcdir&;t t
15122 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15123 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15124 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15125 s
&@builddir@
&$ac_builddir&;t t
15126 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15127 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15128 s
&@INSTALL@
&$ac_INSTALL&;t t
15129 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15130 $ac_datarootdir_hack
15132 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15133 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15135 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15136 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15137 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15138 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15140 which seems to be undefined. Please make sure it is defined" >&5
15141 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15142 which seems to be undefined. Please make sure it is defined" >&2;}
15144 rm -f "$ac_tmp/stdin"
15146 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15147 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15155 if test x"$ac_file" != x-; then
15157 $as_echo "/* $configure_input */" \
15158 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15159 } >"$ac_tmp/config.h" \
15160 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15161 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15163 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15166 mv "$ac_tmp/config.h" "$ac_file" \
15167 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15170 $as_echo "/* $configure_input */" \
15171 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15172 || as_fn_error $? "could not create -" "$LINENO" 5
15174 # Compute "$ac_file"'s index
in $config_headers.
15177 for _am_header
in $config_headers :; do
15178 case $_am_header in
15179 $_am_arg |
$_am_arg:* )
15182 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15185 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15186 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15187 X"$_am_arg" : 'X\(//\)[^/]' \| \
15188 X"$_am_arg" : 'X\(//\)$' \| \
15189 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15190 $as_echo X"$_am_arg" |
15191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15195 /^X\(\/\/\)[^/].*/{
15207 s/.*/./; q'`/stamp-h
$_am_stamp_count
15210 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15211 $as_echo "$as_me: executing $ac_file commands" >&6;}
15216 case $ac_file$ac_mode in
15217 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15218 # Older Autoconf quotes --file arguments for eval, but not when files
15219 # are listed without --file. Let's play safe and only enable the eval
15220 # if we detect the quoting.
15221 case $CONFIG_FILES in
15222 *\'*) eval set x
"$CONFIG_FILES" ;;
15223 *) set x
$CONFIG_FILES ;;
15228 # Strip MF so we end up with the name of the file.
15229 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15230 # Check whether this is an Automake generated Makefile or not.
15231 # We used to match only the files named 'Makefile.in', but
15232 # some people rename them; so instead we look at the file content.
15233 # Grep'ing the first line is not enough: some people post-process
15234 # each Makefile.in and add a new line on top of each file to say so.
15235 # Grep'ing the whole file is not good either: AIX grep has a line
15236 # limit of 2048, but all sed's we know have understand at least 4000.
15237 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15238 dirpart
=`$as_dirname -- "$mf" ||
15239 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15240 X"$mf" : 'X\(//\)[^/]' \| \
15241 X"$mf" : 'X\(//\)$' \| \
15242 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15248 /^X\(\/\/\)[^/].*/{
15264 # Extract the definition of DEPDIR, am__include, and am__quote
15265 # from the Makefile without running 'make'.
15266 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15267 test -z "$DEPDIR" && continue
15268 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15269 test -z "$am__include" && continue
15270 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15271 # Find all dependency output files, they are included files with
15272 # $(DEPDIR) in their names. We invoke sed twice because it is the
15273 # simplest approach to changing $(DEPDIR) to its actual value in the
15275 for file in `sed -n "
15276 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15277 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15278 # Make sure the directory exists.
15279 test -f "$dirpart/$file" && continue
15280 fdir
=`$as_dirname -- "$file" ||
15281 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15282 X"$file" : 'X\(//\)[^/]' \| \
15283 X"$file" : 'X\(//\)$' \| \
15284 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15285 $as_echo X"$file" |
15286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15290 /^X\(\/\/\)[^/].*/{
15303 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15304 # echo "creating $dirpart/$file"
15305 echo '# dummy' > "$dirpart/$file"
15312 # See if we are running on zsh, and set the options that allow our
15313 # commands through without removal of \ escapes.
15314 if test -n "${ZSH_VERSION+set}"; then
15315 setopt NO_GLOB_SUBST
15319 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15322 cat <<_LT_EOF >> "$cfgfile"
15324 # Generated automatically by $as_me ($PACKAGE) $VERSION
15325 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15326 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15328 # Provide generalized library-building support services.
15329 # Written by Gordon Matzigkeit, 1996
15331 # Copyright (C) 2014 Free Software Foundation, Inc.
15332 # This is free software; see the source for copying conditions. There is NO
15333 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15335 # GNU Libtool is free software; you can redistribute it and/or modify
15336 # it under the terms of the GNU General Public License as published by
15337 # the Free Software Foundation; either version 2 of of the License, or
15338 # (at your option) any later version.
15340 # As a special exception to the GNU General Public License, if you
15341 # distribute this file as part of a program or library that is built
15342 # using GNU Libtool, you may include this file under the same
15343 # distribution terms that you use for the rest of that program.
15345 # GNU Libtool is distributed in the hope that it will be useful, but
15346 # WITHOUT ANY WARRANTY; without even the implied warranty of
15347 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15348 # GNU General Public License for more details.
15350 # You should have received a copy of the GNU General Public License
15351 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15354 # The names of the tagged configurations supported by this script.
15357 # Configured defaults for sys_lib_dlsearch_path munging.
15358 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15360 # ### BEGIN LIBTOOL CONFIG
15362 # Which release of libtool.m4 was used?
15363 macro_version=$macro_version
15364 macro_revision=$macro_revision
15366 # Whether or not to build shared libraries.
15367 build_libtool_libs=$enable_shared
15369 # Whether or not to build static libraries.
15370 build_old_libs=$enable_static
15372 # What type of objects to build.
15375 # Whether or not to optimize for fast installation.
15376 fast_install=$enable_fast_install
15378 # Shared archive member basename,for filename based shared library versioning on AIX.
15379 shared_archive_member_spec=$shared_archive_member_spec
15381 # Shell to use when invoking shell scripts.
15384 # An echo program that protects backslashes.
15387 # The PATH separator for the build system.
15388 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15391 host_alias=$host_alias
15395 # The build system.
15396 build_alias=$build_alias
15400 # A sed program that does not truncate output.
15403 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15404 Xsed="\$SED -e 1s/^X//"
15406 # A grep program that handles long lines.
15412 # A literal string matcher.
15415 # A BSD- or MS-compatible name lister.
15418 # Whether we need soft or hard links.
15421 # What is the maximum length of a command?
15422 max_cmd_len=$max_cmd_len
15424 # Object file suffix (normally "o").
15427 # Executable file suffix (normally "").
15430 # whether the shell understands "unset".
15433 # turn spaces into newlines.
15436 # turn newlines into spaces.
15439 # convert \$build file names to \$host format.
15440 to_host_file_cmd=$lt_cv_to_host_file_cmd
15442 # convert \$build files to toolchain format.
15443 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15445 # An object symbol dumper.
15446 OBJDUMP=$lt_OBJDUMP
15448 # Method to check whether dependent libraries are shared objects.
15449 deplibs_check_method=$lt_deplibs_check_method
15451 # Command to use when deplibs_check_method = "file_magic".
15452 file_magic_cmd=$lt_file_magic_cmd
15454 # How to find potential files when deplibs_check_method = "file_magic".
15455 file_magic_glob=$lt_file_magic_glob
15457 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15458 want_nocaseglob=$lt_want_nocaseglob
15460 # DLL creation program.
15461 DLLTOOL=$lt_DLLTOOL
15463 # Command to associate shared and link libraries.
15464 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15469 # Flags to create an archive.
15470 AR_FLAGS=$lt_AR_FLAGS
15472 # How to feed a file listing to the archiver.
15473 archiver_list_spec=$lt_archiver_list_spec
15475 # A symbol stripping program.
15478 # Commands used to install an old-style archive.
15480 old_postinstall_cmds=$lt_old_postinstall_cmds
15481 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15483 # Whether to use a lock for old archive extraction.
15484 lock_old_archive_extraction=$lock_old_archive_extraction
15489 # LTCC compiler flags.
15490 LTCFLAGS=$lt_CFLAGS
15492 # Take the output of nm and produce a listing of raw symbols and C names.
15493 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15495 # Transform the output of nm in a proper C declaration.
15496 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15498 # Transform the output of nm into a list of symbols to manually relocate.
15499 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15501 # Transform the output of nm in a C name address pair.
15502 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15504 # Transform the output of nm in a C name address pair when lib prefix is needed.
15505 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15507 # The name lister interface.
15508 nm_interface=$lt_lt_cv_nm_interface
15510 # Specify filename containing input files for \$NM.
15511 nm_file_list_spec=$lt_nm_file_list_spec
15513 # The root where to search for dependent libraries,and where our libraries should be installed.
15514 lt_sysroot=$lt_sysroot
15516 # Command to truncate a binary pipe.
15517 lt_truncate_bin=$lt_lt_cv_truncate_bin
15519 # The name of the directory that contains temporary libtool files.
15522 # Used to examine libraries when file_magic_cmd begins with "file".
15523 MAGIC_CMD=$MAGIC_CMD
15525 # Must we lock files when doing compilation?
15526 need_locks=$lt_need_locks
15529 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15531 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15532 DSYMUTIL=$lt_DSYMUTIL
15534 # Tool to change global to local symbols on Mac OS X.
15537 # Tool to manipulate fat objects and archives on Mac OS X.
15540 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15543 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15544 OTOOL64=$lt_OTOOL64
15546 # Old archive suffix (normally "a").
15549 # Shared library suffix (normally ".so").
15550 shrext_cmds=$lt_shrext_cmds
15552 # The commands to extract the exported symbol list from a shared archive.
15553 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15555 # Variables whose values should be saved in libtool wrapper scripts and
15556 # restored at link time.
15557 variables_saved_for_relink=$lt_variables_saved_for_relink
15559 # Do we need the "lib" prefix for modules?
15560 need_lib_prefix=$need_lib_prefix
15562 # Do we need a version for libraries?
15563 need_version=$need_version
15565 # Library versioning type.
15566 version_type=$version_type
15568 # Shared library runtime path variable.
15569 runpath_var=$runpath_var
15571 # Shared library path variable.
15572 shlibpath_var=$shlibpath_var
15574 # Is shlibpath searched before the hard-coded library search path?
15575 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15577 # Format of library name prefix.
15578 libname_spec=$lt_libname_spec
15580 # List of archive names. First name is the real one, the rest are links.
15581 # The last name is the one that the linker finds with -lNAME
15582 library_names_spec=$lt_library_names_spec
15584 # The coded name of the library, if different from the real name.
15585 soname_spec=$lt_soname_spec
15587 # Permission mode override for installation of shared libraries.
15588 install_override_mode=$lt_install_override_mode
15590 # Command to use after installation of a shared archive.
15591 postinstall_cmds=$lt_postinstall_cmds
15593 # Command to use after uninstallation of a shared archive.
15594 postuninstall_cmds=$lt_postuninstall_cmds
15596 # Commands used to finish a libtool library installation in a directory.
15597 finish_cmds=$lt_finish_cmds
15599 # As "finish_cmds", except a single script fragment to be evaled but
15601 finish_eval=$lt_finish_eval
15603 # Whether we should hardcode library paths into libraries.
15604 hardcode_into_libs=$hardcode_into_libs
15606 # Compile-time system search path for libraries.
15607 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15609 # Detected run-time system search path for libraries.
15610 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15612 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15613 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15615 # Whether dlopen is supported.
15616 dlopen_support=$enable_dlopen
15618 # Whether dlopen of programs is supported.
15619 dlopen_self=$enable_dlopen_self
15621 # Whether dlopen of statically linked programs is supported.
15622 dlopen_self_static=$enable_dlopen_self_static
15624 # Commands to strip libraries.
15625 old_striplib=$lt_old_striplib
15626 striplib=$lt_striplib
15629 # The linker used to build libraries.
15632 # How to create reloadable object files.
15633 reload_flag=$lt_reload_flag
15634 reload_cmds=$lt_reload_cmds
15636 # Commands used to build an old-style archive.
15637 old_archive_cmds=$lt_old_archive_cmds
15639 # A language specific compiler.
15642 # Is the compiler the GNU compiler?
15645 # Compiler flag to turn off builtin functions.
15646 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15648 # Additional compiler flags for building library objects.
15649 pic_flag=$lt_lt_prog_compiler_pic
15651 # How to pass a linker flag through the compiler.
15652 wl=$lt_lt_prog_compiler_wl
15654 # Compiler flag to prevent dynamic linking.
15655 link_static_flag=$lt_lt_prog_compiler_static
15657 # Does compiler simultaneously support -c and -o options?
15658 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15660 # Whether or not to add -lc for building shared libraries.
15661 build_libtool_need_lc=$archive_cmds_need_lc
15663 # Whether or not to disallow shared libs when runtime libs are static.
15664 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15666 # Compiler flag to allow reflexive dlopens.
15667 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15669 # Compiler flag to generate shared objects directly from archives.
15670 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15672 # Whether the compiler copes with passing no objects directly.
15673 compiler_needs_object=$lt_compiler_needs_object
15675 # Create an old-style archive from a shared archive.
15676 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15678 # Create a temporary old-style archive to link instead of a shared archive.
15679 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15681 # Commands used to build a shared archive.
15682 archive_cmds=$lt_archive_cmds
15683 archive_expsym_cmds=$lt_archive_expsym_cmds
15685 # Commands used to build a loadable module if different from building
15686 # a shared archive.
15687 module_cmds=$lt_module_cmds
15688 module_expsym_cmds=$lt_module_expsym_cmds
15690 # Whether we are building with GNU ld or not.
15691 with_gnu_ld=$lt_with_gnu_ld
15693 # Flag that allows shared libraries with undefined symbols to be built.
15694 allow_undefined_flag=$lt_allow_undefined_flag
15696 # Flag that enforces no undefined symbols.
15697 no_undefined_flag=$lt_no_undefined_flag
15699 # Flag to hardcode \$libdir into a binary during linking.
15700 # This must work even if \$libdir does not exist
15701 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15703 # Whether we need a single "-rpath" flag with a separated argument.
15704 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15706 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15707 # DIR into the resulting binary.
15708 hardcode_direct=$hardcode_direct
15710 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15711 # DIR into the resulting binary and the resulting library dependency is
15712 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15713 # library is relocated.
15714 hardcode_direct_absolute=$hardcode_direct_absolute
15716 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15717 # into the resulting binary.
15718 hardcode_minus_L=$hardcode_minus_L
15720 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15721 # into the resulting binary.
15722 hardcode_shlibpath_var=$hardcode_shlibpath_var
15724 # Set to "yes" if building a shared library automatically hardcodes DIR
15725 # into the library and all subsequent libraries and executables linked
15727 hardcode_automatic=$hardcode_automatic
15729 # Set to yes if linker adds runtime paths of dependent libraries
15730 # to runtime path list.
15731 inherit_rpath=$inherit_rpath
15733 # Whether libtool must link a program against all its dependency libraries.
15734 link_all_deplibs=$link_all_deplibs
15736 # Set to "yes" if exported symbols are required.
15737 always_export_symbols=$always_export_symbols
15739 # The commands to list exported symbols.
15740 export_symbols_cmds=$lt_export_symbols_cmds
15742 # Symbols that should not be listed in the preloaded symbols.
15743 exclude_expsyms=$lt_exclude_expsyms
15745 # Symbols that must always be exported.
15746 include_expsyms=$lt_include_expsyms
15748 # Commands necessary for linking programs (against libraries) with templates.
15749 prelink_cmds=$lt_prelink_cmds
15751 # Commands necessary for finishing linking programs.
15752 postlink_cmds=$lt_postlink_cmds
15754 # Specify filename containing input files.
15755 file_list_spec=$lt_file_list_spec
15757 # How to hardcode a shared library path into an executable.
15758 hardcode_action=$hardcode_action
15760 # ### END LIBTOOL CONFIG
15764 cat <<'_LT_EOF' >> "$cfgfile"
15766 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15768 # func_munge_path_list VARIABLE PATH
15769 # -----------------------------------
15770 # VARIABLE is name of variable containing _space_ separated list of
15771 # directories to be munged by the contents of PATH, which is string
15774 # string "DIR[ DIR]" will be prepended to VARIABLE
15776 # string "DIR[ DIR]" will be appended to VARIABLE
15777 # "DIRP[:DIRP]::[DIRA:]DIRA"
15778 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15779 # "DIRA[ DIRA]" will be appended to VARIABLE
15781 # VARIABLE will be replaced by "DIR[ DIR]"
15782 func_munge_path_list ()
15788 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15791 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15794 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15795 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15798 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15804 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15805 func_cc_basename ()
15807 for cc_temp in $*""; do
15809 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15810 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15815 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15819 # ### END FUNCTIONS SHARED WITH CONFIGURE
15825 cat <<\_LT_EOF
>> "$cfgfile"
15826 # AIX sometimes has problems with the GCC collect2 program. For some
15827 # reason, if we set the COLLECT_NAMES environment variable, the problems
15828 # vanish in a puff of smoke.
15829 if test set != "${COLLECT_NAMES+set}"; then
15831 export COLLECT_NAMES
15838 ltmain
=$ac_aux_dir/ltmain.sh
15841 # We use sed instead of cat because bash on DJGPP gets confused if
15842 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15843 # text mode, it properly converts lines to CR/LF. This bash problem
15844 # is reportedly fixed, but why not run on old versions too?
15845 sed '$q' "$ltmain" >> "$cfgfile" \
15846 ||
(rm -f "$cfgfile"; exit 1)
15848 mv -f "$cfgfile" "$ofile" ||
15849 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15860 ac_clean_files
=$ac_clean_files_save
15862 test $ac_write_fail = 0 ||
15863 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15866 # configure is writing to config.log, and then calls config.status.
15867 # config.status does its own redirection, appending to config.log.
15868 # Unfortunately, on DOS this fails, as config.log is still kept open
15869 # by configure, so config.status won't be able to write to it; its
15870 # output is simply discarded. So we exec the FD to /dev/null,
15871 # effectively closing config.log, so it can be properly (re)opened and
15872 # appended to by config.status. When coming back to configure, we
15873 # need to make the FD available again.
15874 if test "$no_create" != yes; then
15876 ac_config_status_args
=
15877 test "$silent" = yes &&
15878 ac_config_status_args
="$ac_config_status_args --quiet"
15880 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15882 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15883 # would make configure fail if this is the last instruction.
15884 $ac_cs_success || as_fn_exit
1
15886 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15888 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}