2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for courierlogger 0.10.
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
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || 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
='courierlogger'
592 PACKAGE_TARNAME
='courierlogger'
593 PACKAGE_VERSION
='0.10'
594 PACKAGE_STRING
='courierlogger 0.10'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="logger.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
701 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
758 enable_dependency_tracking
770 ac_precious_vars
='build_alias
782 # Initialize some variables set by options.
784 ac_init_version
=false
785 ac_unrecognized_opts
=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name
=s
,x
,x
,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir
='${exec_prefix}/bin'
811 sbindir
='${exec_prefix}/sbin'
812 libexecdir
='${exec_prefix}/libexec'
813 datarootdir
='${prefix}/share'
814 datadir
='${datarootdir}'
815 sysconfdir
='${prefix}/etc'
816 sharedstatedir
='${prefix}/com'
817 localstatedir
='${prefix}/var'
818 includedir
='${prefix}/include'
819 oldincludedir
='/usr/include'
820 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir
='${datarootdir}/info'
826 libdir
='${exec_prefix}/lib'
827 localedir
='${datarootdir}/locale'
828 mandir
='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\
$ac_option
842 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
855 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
858 -build |
--build |
--buil |
--bui |
--bu)
859 ac_prev
=build_alias
;;
860 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
861 build_alias
=$ac_optarg ;;
863 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
864 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
865 ac_prev
=cache_file
;;
866 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
867 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
868 cache_file
=$ac_optarg ;;
871 cache_file
=config.cache
;;
873 -datadir |
--datadir |
--datadi |
--datad)
875 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
876 datadir
=$ac_optarg ;;
878 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
879 |
--dataroo |
--dataro |
--datar)
880 ac_prev
=datarootdir
;;
881 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
882 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
883 datarootdir
=$ac_optarg ;;
885 -disable-* |
--disable-*)
886 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
889 as_fn_error $?
"invalid feature name: $ac_useropt"
890 ac_useropt_orig
=$ac_useropt
891 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep
=', ';;
899 eval enable_
$ac_useropt=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
915 as_fn_error $?
"invalid feature name: $ac_useropt"
916 ac_useropt_orig
=$ac_useropt
917 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
922 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep
=', ';;
925 eval enable_
$ac_useropt=\
$ac_optarg ;;
927 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
928 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
929 |
--exec |
--exe |
--ex)
930 ac_prev
=exec_prefix
;;
931 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
932 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
933 |
--exec=* |
--exe=* |
--ex=*)
934 exec_prefix
=$ac_optarg ;;
936 -gas |
--gas |
--ga |
--g)
937 # Obsolete; use --with-gas.
940 -help |
--help |
--hel |
--he |
-h)
942 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
943 ac_init_help
=recursive
;;
944 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
945 ac_init_help
=short
;;
947 -host |
--host |
--hos |
--ho)
948 ac_prev
=host_alias
;;
949 -host=* |
--host=* |
--hos=* |
--ho=*)
950 host_alias
=$ac_optarg ;;
952 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
954 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
956 htmldir
=$ac_optarg ;;
958 -includedir |
--includedir |
--includedi |
--included |
--include \
959 |
--includ |
--inclu |
--incl |
--inc)
960 ac_prev
=includedir
;;
961 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
962 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
963 includedir
=$ac_optarg ;;
965 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
967 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
968 infodir
=$ac_optarg ;;
970 -libdir |
--libdir |
--libdi |
--libd)
972 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
975 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
976 |
--libexe |
--libex |
--libe)
977 ac_prev
=libexecdir
;;
978 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
979 |
--libexe=* |
--libex=* |
--libe=*)
980 libexecdir
=$ac_optarg ;;
982 -localedir |
--localedir |
--localedi |
--localed |
--locale)
984 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
985 localedir
=$ac_optarg ;;
987 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
988 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
989 ac_prev
=localstatedir
;;
990 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
991 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
992 localstatedir
=$ac_optarg ;;
994 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
996 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 # Obsolete; use --without-fp.
1003 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1004 |
--no-cr |
--no-c |
-n)
1007 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1008 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1011 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1012 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1013 |
--oldin |
--oldi |
--old |
--ol |
--o)
1014 ac_prev
=oldincludedir
;;
1015 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1016 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1017 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1018 oldincludedir
=$ac_optarg ;;
1020 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1022 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1023 prefix
=$ac_optarg ;;
1025 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1026 |
--program-pre |
--program-pr |
--program-p)
1027 ac_prev
=program_prefix
;;
1028 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1029 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1030 program_prefix
=$ac_optarg ;;
1032 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1033 |
--program-suf |
--program-su |
--program-s)
1034 ac_prev
=program_suffix
;;
1035 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1036 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1037 program_suffix
=$ac_optarg ;;
1039 -program-transform-name |
--program-transform-name \
1040 |
--program-transform-nam |
--program-transform-na \
1041 |
--program-transform-n |
--program-transform- \
1042 |
--program-transform |
--program-transfor \
1043 |
--program-transfo |
--program-transf \
1044 |
--program-trans |
--program-tran \
1045 |
--progr-tra |
--program-tr |
--program-t)
1046 ac_prev
=program_transform_name
;;
1047 -program-transform-name=* |
--program-transform-name=* \
1048 |
--program-transform-nam=* |
--program-transform-na=* \
1049 |
--program-transform-n=* |
--program-transform-=* \
1050 |
--program-transform=* |
--program-transfor=* \
1051 |
--program-transfo=* |
--program-transf=* \
1052 |
--program-trans=* |
--program-tran=* \
1053 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1054 program_transform_name
=$ac_optarg ;;
1056 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1058 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1059 pdfdir
=$ac_optarg ;;
1061 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1063 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1067 |
-silent |
--silent |
--silen |
--sile |
--sil)
1070 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1072 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1074 sbindir
=$ac_optarg ;;
1076 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1077 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1078 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1080 ac_prev
=sharedstatedir
;;
1081 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1082 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1083 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1085 sharedstatedir
=$ac_optarg ;;
1087 -site |
--site |
--sit)
1089 -site=* |
--site=* |
--sit=*)
1092 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1094 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1095 srcdir
=$ac_optarg ;;
1097 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1098 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1099 ac_prev
=sysconfdir
;;
1100 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1101 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1102 sysconfdir
=$ac_optarg ;;
1104 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1105 ac_prev
=target_alias
;;
1106 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1107 target_alias
=$ac_optarg ;;
1109 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1112 -version |
--version |
--versio |
--versi |
--vers |
-V)
1113 ac_init_version
=: ;;
1116 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error $?
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=\
$ac_optarg ;;
1131 -without-* |
--without-*)
1132 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1135 as_fn_error $?
"invalid package name: $ac_useropt"
1136 ac_useropt_orig
=$ac_useropt
1137 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep
=', ';;
1145 eval with_
$ac_useropt=no
;;
1148 # Obsolete; use --with-x.
1151 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1152 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1153 ac_prev
=x_includes
;;
1154 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1155 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1156 x_includes
=$ac_optarg ;;
1158 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1159 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1160 ac_prev
=x_libraries
;;
1161 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1162 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1163 x_libraries
=$ac_optarg ;;
1165 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information"
1170 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1174 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1176 eval $ac_envvar=\
$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190 if test -n "$ac_prev"; then
1191 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error $?
"missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1198 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 # Check all directory arguments for consistency.
1204 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val
=\$
$ac_var
1210 # Remove trailing slashes.
1213 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\
$ac_val;;
1216 # Be sure to have absolute directory names.
1218 [\\/$
]* | ?
:[\\/]* ) continue;;
1219 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1221 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1229 target
=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x
; then
1233 if test "x$build_alias" = x
; then
1234 cross_compiling
=maybe
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error $?
"working directory cannot be determined"
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error $?
"pwd does not report name of working directory"
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted
=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir
=`$as_dirname -- "$as_myself" ||
1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$as_myself" : 'X\(//\)[^/]' \| \
1261 X"$as_myself" : 'X\(//\)$' \| \
1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263 $as_echo X"$as_myself" |
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted
=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1290 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1292 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296 # When building in place, set srcdir=.
1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 # Remove unnecessary trailing slashes from srcdir.
1301 # Double slashes in file names in object file debugging info
1302 # mess up M-x gdb in Emacs.
1304 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 for ac_var
in $ac_precious_vars; do
1307 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1309 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1310 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1314 # Report the --help message.
1316 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh.
1320 \`configure' configures courierlogger 0.10 to adapt to many kinds of systems.
1322 Usage: $0 [OPTION]... [VAR=VALUE]...
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables.
1327 Defaults for the options are specified in brackets.
1330 -h, --help display this help and exit
1331 --help=short display options specific to this package
1332 --help=recursive display the short help of all the included packages
1333 -V, --version display version information and exit
1334 -q, --quiet, --silent do not print \`checking ...' messages
1335 --cache-file=FILE cache test results in FILE [disabled]
1336 -C, --config-cache alias for \`--cache-file=config.cache'
1337 -n, --no-create do not create output files
1338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 Installation directories:
1341 --prefix=PREFIX install architecture-independent files in PREFIX
1342 [$ac_default_prefix]
1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 By default, \`make install' will install all the files in
1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349 for instance \`--prefix=\$HOME'.
1351 For better control, use the options below.
1353 Fine tuning of the installation directories:
1354 --bindir=DIR user executables [EPREFIX/bin]
1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/courierlogger]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1378 --program-prefix=PREFIX prepend PREFIX to installed program names
1379 --program-suffix=SUFFIX append SUFFIX to installed program names
1380 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1383 --build=BUILD configure
for building on BUILD
[guessed
]
1384 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive
) echo "Configuration of courierlogger 0.10:";;
1395 --disable-option-checking ignore unrecognized
--enable/--with options
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1399 --disable-silent-rules verbose build output
(undo
: "make V=0")
1400 --enable-dependency-tracking
1401 do not reject slow dependency extractors
1402 --disable-dependency-tracking
1403 speeds up one-time build
1404 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1405 --enable-static[=PKGS
] build static libraries
[default
=yes]
1406 --enable-fast-install[=PKGS
]
1407 optimize
for fast installation
[default
=yes]
1408 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1409 --disable-largefile omit support
for large files
1412 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1413 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1414 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1416 --with-aix-soname=aix|svr4|both
1417 shared library versioning
(aka
"SONAME") variant to
1418 provide on AIX
, [default
=aix
].
1419 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1420 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1421 compiler
's sysroot if not specified).
1422 --with-syslog=XXX syslog facility [[MAIL]]
1424 Some influential environment variables:
1425 CC C compiler command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1428 nonstandard directory <lib dir>
1429 LIBS libraries to pass to the linker, e.g. -l<library>
1430 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1431 you have headers in a nonstandard directory <include dir>
1433 User-defined run-time library search path.
1436 Use these variables to override the choices made by `configure' or to
help
1437 it to
find libraries and programs with nonstandard names
/locations.
1439 Report bugs to
<courier-users@lists.sourceforge.net
>.
1444 if test "$ac_init_help" = "recursive"; then
1445 # If there are subdirs, report their specific --help.
1446 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1447 test -d "$ac_dir" ||
1448 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1453 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1455 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1456 # A ".." for each directory in $ac_dir_suffix.
1457 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1458 case $ac_top_builddir_sub in
1459 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1460 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1463 ac_abs_top_builddir
=$ac_pwd
1464 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1465 # for backward compatibility:
1466 ac_top_builddir
=$ac_top_build_prefix
1469 .
) # We are building in place.
1471 ac_top_srcdir
=$ac_top_builddir_sub
1472 ac_abs_top_srcdir
=$ac_pwd ;;
1473 [\\/]* | ?
:[\\/]* ) # Absolute name.
1474 ac_srcdir
=$srcdir$ac_dir_suffix;
1475 ac_top_srcdir
=$srcdir
1476 ac_abs_top_srcdir
=$srcdir ;;
1478 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1479 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1480 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1482 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1484 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1485 # Check for guested configure.
1486 if test -f "$ac_srcdir/configure.gnu"; then
1488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1489 elif test -f "$ac_srcdir/configure"; then
1491 $SHELL "$ac_srcdir/configure" --help=recursive
1493 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1495 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1499 test -n "$ac_init_help" && exit $ac_status
1500 if $ac_init_version; then
1502 courierlogger configure
0.10
1503 generated by GNU Autoconf
2.69
1505 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1506 This configure
script is free software
; the Free Software Foundation
1507 gives unlimited permission to copy
, distribute and modify it.
1512 ## ------------------------ ##
1513 ## Autoconf initialization. ##
1514 ## ------------------------ ##
1516 # ac_fn_c_try_compile LINENO
1517 # --------------------------
1518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1519 ac_fn_c_try_compile
()
1521 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1522 rm -f conftest.
$ac_objext
1523 if { { ac_try
="$ac_compile"
1525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_compile") 2>conftest.err
1532 if test -s conftest.err; then
1533 grep -v '^ *+' conftest.err >conftest.er1
1534 cat conftest.er1 >&5
1535 mv -f conftest.er1 conftest.err
1537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538 test $ac_status = 0; } && {
1539 test -z "$ac_c_werror_flag" ||
1540 test ! -s conftest.err
1541 } && test -s conftest.$ac_objext; then :
1544 $as_echo "$as_me: failed program was:" >&5
1545 sed 's/^/| /' conftest.$ac_ext >&5
1549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1550 as_fn_set_status $ac_retval
1552 } # ac_fn_c_try_compile
1554 # ac_fn_c_try_link LINENO
1555 # -----------------------
1556 # Try to link conftest.$ac_ext, and return whether this succeeded.
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 rm -f conftest.$ac_objext conftest$ac_exeext
1561 if { { ac_try="$ac_link"
1563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1564 *) ac_try_echo
=$ac_try;;
1566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_link") 2>conftest.err
1570 if test -s conftest.err
; then
1571 grep -v '^ *+' conftest.err
>conftest.er1
1572 cat conftest.er1
>&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } && {
1577 test -z "$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1579 } && test -s conftest
$ac_exeext && {
1580 test "$cross_compiling" = yes ||
1581 test -x conftest
$ac_exeext
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.
$ac_ext >&5
1590 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1591 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1592 # interfere with the next link command; also delete a directory that is
1593 # left behind by Apple's compiler. We do this before executing the actions.
1594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 as_fn_set_status
$ac_retval
1598 } # ac_fn_c_try_link
1600 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601 # -------------------------------------------------------
1602 # Tests whether HEADER exists and can be compiled using the include files in
1603 # INCLUDES, setting the cache variable VAR accordingly.
1604 ac_fn_c_check_header_compile
()
1606 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608 $as_echo_n "checking for $2... " >&6; }
1609 if eval \
${$3+:} false
; then :
1610 $as_echo_n "(cached) " >&6
1612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1613 /* end confdefs.h. */
1617 if ac_fn_c_try_compile
"$LINENO"; then :
1622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626 $as_echo "$ac_res" >&6; }
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 } # ac_fn_c_check_header_compile
1631 # ac_fn_c_try_cpp LINENO
1632 # ----------------------
1633 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1636 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1637 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } > conftest.i && {
1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1668 # ac_fn_c_try_run LINENO
1669 # ----------------------
1670 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1671 # that executables *can* be run.
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { { ac_try="$ac_link"
1677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1678 *) ac_try_echo
=$ac_try;;
1680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_link") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1686 { { case "(($ac_try" in
1687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_try") 2>&5
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; }; }; then :
1698 $as_echo "$as_me: program exited with status $ac_status" >&5
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1702 ac_retval=$ac_status
1704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1710 # ac_fn_c_check_func LINENO FUNC VAR
1711 # ----------------------------------
1712 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1713 ac_fn_c_check_func ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717 $as_echo_n "checking for $2... " >&6; }
1718 if eval \${$3+:} false; then :
1719 $as_echo_n "(cached) " >&6
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1723 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1725 #define $2 innocuous_$2
1727 /* System header to define __stub macros and hopefully few prototypes,
1728 which can conflict with char $2 (); below.
1729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1730 <limits.h> exists even on freestanding compilers. */
1733 # include <limits.h>
1735 # include <assert.h>
1740 /* Override any GCC internal prototype to avoid an error.
1741 Use char because int might match the return type of a GCC
1742 builtin and then its argument prototype would still apply. */
1747 /* The GNU C library defines this for functions which it implements
1748 to always fail with ENOSYS. Some functions are actually named
1749 something starting with __ and the normal name is an alias. */
1750 #if defined __stub_$2 || defined __stub___$2
1762 if ac_fn_c_try_link "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext \
1768 conftest$ac_exeext conftest.$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 } # ac_fn_c_check_func
1777 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1780 # the include files in INCLUDES and setting the cache variable VAR
1782 ac_fn_c_check_header_mongrel ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if eval \${$3+:} false; then :
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if eval \${$3+:} false; then :
1789 $as_echo_n "(cached) " >&6
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1795 # Is the header compilable?
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1797 $as_echo_n "checking $2 usability... " >&6; }
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1803 if ac_fn_c_try_compile "$LINENO"; then :
1804 ac_header_compiler=yes
1806 ac_header_compiler=no
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1810 $as_echo "$ac_header_compiler" >&6; }
1812 # Is the header present?
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1814 $as_echo_n "checking $2 presence... " >&6; }
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1819 if ac_fn_c_try_cpp "$LINENO"; then :
1820 ac_header_preproc=yes
1822 ac_header_preproc=no
1824 rm -f conftest.err conftest.i conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1826 $as_echo "$ac_header_preproc" >&6; }
1828 # So? What about this header?
1829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1832 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1834 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1838 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1840 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1842 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1844 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1847 ( $as_echo "## -------------------------------------------------- ##
1848 ## Report this to courier-users@lists.sourceforge.net ##
1849 ## -------------------------------------------------- ##"
1850 ) | sed "s/^/$as_me: WARNING: /" >&2
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856 $as_echo_n "(cached) " >&6
1858 eval "$3=\$ac_header_compiler"
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 } # ac_fn_c_check_header_mongrel
1867 cat >config.log <<_ACEOF
1868 This file contains any messages produced by compilers while
1869 running configure, to aid debugging if configure makes a mistake.
1871 It was created by courierlogger $as_me 0.10, which was
1872 generated by GNU Autoconf 2.69. Invocation command line was
1884 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1885 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1886 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1887 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1888 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1890 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1891 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1893 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1894 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1895 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1896 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1897 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1898 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1899 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 $as_echo "PATH: $as_dir"
1924 # Keep a trace of the command line.
1925 # Strip out --no-create and --no-recursion so they do not pile up.
1926 # Strip out --silent because we don't want to record it for future runs.
1927 # Also quote any args containing shell meta-characters.
1928 # Make two passes to allow for proper duplicate-argument suppression.
1932 ac_must_keep_next=false
1938 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1939 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1940 | -silent | --silent | --silen | --sile | --sil)
1943 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1946 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1948 as_fn_append ac_configure_args1 " '$ac_arg'"
1949 if test $ac_must_keep_next = true; then
1950 ac_must_keep_next=false # Got value, back to normal.
1953 *=* | --config-cache | -C | -disable-* | --disable-* \
1954 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1955 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1956 | -with-* | --with-* | -without-* | --without-* | --x)
1957 case "$ac_configure_args0 " in
1958 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1961 -* ) ac_must_keep_next=true ;;
1964 as_fn_append ac_configure_args " '$ac_arg'"
1969 { ac_configure_args0=; unset ac_configure_args0;}
1970 { ac_configure_args1=; unset ac_configure_args1;}
1972 # When interrupted or exit'd, cleanup temporary files, and complete
1973 # config.log. We remove comments because anyway the quotes in there
1974 # would cause problems or look ugly.
1975 # WARNING: Use '\'' to represent an apostrophe within the trap.
1976 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1977 trap 'exit_status=$?
1978 # Save into config.log some information that might help in debugging.
1982 $as_echo "## ---------------- ##
1983 ## Cache variables. ##
1984 ## ---------------- ##"
1986 # The following way of writing the cache mishandles newlines in values,
1988 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1989 eval ac_val=\$$ac_var
1993 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1994 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1997 _ | IFS | as_nl) ;; #(
1998 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1999 *) { eval $ac_var=; unset $ac_var;} ;;
2004 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2005 *${as_nl}ac_space=\ *)
2007 "s/'\''/'\''\\\\'\'''\''/g;
2008 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2018 $as_echo "## ----------------- ##
2019 ## Output variables. ##
2020 ## ----------------- ##"
2022 for ac_var in $ac_subst_vars
2024 eval ac_val=\$$ac_var
2026 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2028 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -n "$ac_subst_files"; then
2033 $as_echo "## ------------------- ##
2034 ## File substitutions. ##
2035 ## ------------------- ##"
2037 for ac_var in $ac_subst_files
2039 eval ac_val=\$$ac_var
2041 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2043 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -s confdefs.h; then
2049 $as_echo "## ----------- ##
2056 test "$ac_signal" != 0 &&
2057 $as_echo "$as_me: caught signal $ac_signal"
2058 $as_echo "$as_me: exit $exit_status"
2060 rm -f core *.core core.conftest.* &&
2061 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2064 for ac_signal in 1 2 13 15; do
2065 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2069 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2070 rm -f -r conftest* confdefs.h
2072 $as_echo "/* confdefs.h */" > confdefs.h
2074 # Predefined preprocessor variables.
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_NAME "$PACKAGE_NAME"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_STRING "$PACKAGE_STRING"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_URL "$PACKAGE_URL"
2101 # Let the site file select an alternate cache file if it wants to.
2102 # Prefer an explicitly selected file to automatically selected ones.
2105 if test -n "$CONFIG_SITE"; then
2106 # We do not want a PATH search for config.site.
2107 case $CONFIG_SITE in #((
2108 -*) ac_site_file1=./$CONFIG_SITE;;
2109 */*) ac_site_file1=$CONFIG_SITE;;
2110 *) ac_site_file1=./$CONFIG_SITE;;
2112 elif test "x$prefix" != xNONE; then
2113 ac_site_file1=$prefix/share/config.site
2114 ac_site_file2=$prefix/etc/config.site
2116 ac_site_file1=$ac_default_prefix/share/config.site
2117 ac_site_file2=$ac_default_prefix/etc/config.site
2119 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2121 test "x$ac_site_file" = xNONE && continue
2122 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2124 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2125 sed 's/^/| /' "$ac_site_file" >&5
2127 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2129 as_fn_error $? "failed to load site
script $ac_site_file
2130 See \
`config.log' for more details" "$LINENO" 5; }
2134 if test -r "$cache_file"; then
2135 # Some versions of bash will fail to source /dev/null (special files
2136 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2137 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2139 $as_echo "$as_me: loading cache $cache_file" >&6;}
2141 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2142 *) . "./$cache_file";;
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2147 $as_echo "$as_me: creating cache $cache_file" >&6;}
2151 # Check that the precious variables saved in the cache have kept the same
2153 ac_cache_corrupted=false
2154 for ac_var in $ac_precious_vars; do
2155 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2156 eval ac_new_set=\$ac_env_${ac_var}_set
2157 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2158 eval ac_new_val=\$ac_env_${ac_var}_value
2159 case $ac_old_set,$ac_new_set in
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2162 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2163 ac_cache_corrupted=: ;;
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2166 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2167 ac_cache_corrupted=: ;;
2170 if test "x$ac_old_val" != "x$ac_new_val"; then
2171 # differences in whitespace do not lead to failure.
2172 ac_old_val_w=`echo x
$ac_old_val`
2173 ac_new_val_w=`echo x
$ac_new_val`
2174 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2176 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2177 ac_cache_corrupted=:
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2180 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2181 eval $ac_var=\$ac_old_val
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2184 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2186 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2189 # Pass precious variables to config.status.
2190 if test "$ac_new_set" = set; then
2192 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2193 *) ac_arg=$ac_var=$ac_new_val ;;
2195 case " $ac_configure_args " in
2196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2197 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2201 if $ac_cache_corrupted; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2205 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2206 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2208 ## -------------------- ##
2209 ## Main body of script. ##
2210 ## -------------------- ##
2213 ac_cpp='$CPP $CPPFLAGS'
2214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2220 >confdefs.h # Kill PACKAGE_ macros.
2221 LPATH="$PATH:/usr/local/bin"
2224 for ac_dir in .. "$srcdir"/..; do
2225 if test -f "$ac_dir/install-sh"; then
2227 ac_install_sh="$ac_aux_dir/install-sh -c"
2229 elif test -f "$ac_dir/install.sh"; then
2231 ac_install_sh="$ac_aux_dir/install.sh -c"
2233 elif test -f "$ac_dir/shtool"; then
2235 ac_install_sh="$ac_aux_dir/shtool install -c"
2239 if test -z "$ac_aux_dir"; then
2240 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2243 # These three variables are undocumented and unsupported,
2244 # and are intended to be withdrawn in a future Autoconf release.
2245 # They can cause serious problems if a builder's source tree is in a directory
2246 # whose full name contains unusual characters.
2247 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2248 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2249 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2252 am__api_version='1.15'
2254 # Find a good install program. We prefer a C program (faster),
2255 # so one script is as good as another. But avoid the broken or
2256 # incompatible versions:
2257 # SysV /etc/install, /usr/sbin/install
2258 # SunOS /usr/etc/install
2259 # IRIX /sbin/install
2261 # AmigaOS /C/install, which installs bootblocks on floppy discs
2262 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2263 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2264 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2265 # OS/2's system install, which has a completely different semantic
2266 # ./install, which can be erroneously created by make from ./install.sh.
2267 # Reject install programs that cannot install multiple files.
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2269 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2270 if test -z "$INSTALL"; then
2271 if ${ac_cv_path_install+:} false; then :
2272 $as_echo_n "(cached) " >&6
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 # Account for people who put trailing slashes in PATH elements.
2280 case $as_dir/ in #((
2281 ./ | .// | /[cC]/* | \
2282 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2283 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2286 # OSF1 and SCO ODT 3.0 have their own names for install.
2287 # Don't use installbsd from OSF since it installs stuff as root
2289 for ac_prog in ginstall scoinst install; do
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2292 if test $ac_prog = install &&
2293 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2294 # AIX install. It has an incompatible calling convention.
2296 elif test $ac_prog = install &&
2297 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2298 # program-specific install script used by HP pwplus--don't use.
2301 rm -rf conftest.one conftest.two conftest.dir
2302 echo one > conftest.one
2303 echo two > conftest.two
2305 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2306 test -s conftest.one && test -s conftest.two &&
2307 test -s conftest.dir/conftest.one &&
2308 test -s conftest.dir/conftest.two
2310 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2323 rm -rf conftest.one conftest.two conftest.dir
2326 if test "${ac_cv_path_install+set}" = set; then
2327 INSTALL=$ac_cv_path_install
2329 # As a last resort, use the slow shell script. Don't cache a
2330 # value for INSTALL within a source directory, because that will
2331 # break other packages using the cache if that directory is
2332 # removed, or if the value is a relative name.
2333 INSTALL=$ac_install_sh
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2337 $as_echo "$INSTALL" >&6; }
2339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2340 # It thinks the first close brace ends the variable substitution.
2341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2345 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2348 $as_echo_n "checking whether build environment is sane... " >&6; }
2349 # Reject unsafe characters in $srcdir or the absolute working directory
2350 # name. Accept space and tab only in the latter.
2354 *[\\\"\#\$\&\'\`$am_lf]*)
2355 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2358 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2359 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2362 # Do 'set' in a subshell so we don't clobber the current shell's
2363 # arguments. Must try -L first in case configure is actually a
2364 # symlink; some systems play weird games with the mod time of symlinks
2365 # (eg FreeBSD returns the mod time of the symlink's containing
2369 for am_try
in 1 2; do
2370 echo "timestamp, slept: $am_has_slept" > conftest.
file
2371 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2372 if test "$*" = "X"; then
2374 set X
`ls -t "$srcdir/configure" conftest.file`
2376 if test "$*" != "X $srcdir/configure conftest.file" \
2377 && test "$*" != "X conftest.file $srcdir/configure"; then
2379 # If neither matched, then we have a broken ls. This can happen
2380 # if, for instance, CONFIG_SHELL is bash and it inherits a
2381 # broken ls alias from the environment. This has actually
2382 # happened. Such a system could not be considered "sane".
2383 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2384 alias in your environment" "$LINENO" 5
2386 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2393 test "$2" = conftest.
file
2399 as_fn_error $?
"newly created file is older than distributed files!
2400 Check your system clock" "$LINENO" 5
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2403 $as_echo "yes" >&6; }
2404 # If we didn't sleep, we still need to ensure time stamps of config.status and
2405 # generated files are strictly newer.
2407 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2414 test "$program_prefix" != NONE
&&
2415 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2416 # Use a double $ so make ignores it.
2417 test "$program_suffix" != NONE
&&
2418 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2419 # Double any \ or $.
2420 # By default was `s,x,x', remove it if useless.
2421 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2422 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2424 # Expand $ac_aux_dir to an absolute path.
2425 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2427 if test x
"${MISSING+set}" != xset
; then
2430 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2432 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2435 # Use eval to expand $SHELL
2436 if eval "$MISSING --is-lightweight"; then
2437 am_missing_run
="$MISSING "
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2441 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2444 if test x
"${install_sh+set}" != xset
; then
2447 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2449 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2453 # Installed binaries are usually stripped using 'strip' when the user
2454 # run "make install-strip". However 'strip' might not be the right
2455 # tool to use in cross-compilation environments, therefore Automake
2456 # will honor the 'STRIP' environment variable to overrule this program.
2457 if test "$cross_compiling" != no
; then
2458 if test -n "$ac_tool_prefix"; then
2459 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2460 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if ${ac_cv_prog_STRIP+:} false
; then :
2464 $as_echo_n "(cached) " >&6
2466 if test -n "$STRIP"; then
2467 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir
=.
2474 for ac_exec_ext
in '' $ac_executable_extensions; do
2475 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2476 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 STRIP
=$ac_cv_prog_STRIP
2487 if test -n "$STRIP"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2489 $as_echo "$STRIP" >&6; }
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2497 if test -z "$ac_cv_prog_STRIP"; then
2499 # Extract the first word of "strip", so it can be a program name with args.
2500 set dummy strip
; ac_word
=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2504 $as_echo_n "(cached) " >&6
2506 if test -n "$ac_ct_STRIP"; then
2507 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir
=.
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2516 ac_cv_prog_ac_ct_STRIP
="strip"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2527 if test -n "$ac_ct_STRIP"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2529 $as_echo "$ac_ct_STRIP" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2535 if test "x$ac_ct_STRIP" = x
; then
2538 case $cross_compiling:$ac_tool_warned in
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2542 ac_tool_warned
=yes ;;
2547 STRIP
="$ac_cv_prog_STRIP"
2551 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2554 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2555 if test -z "$MKDIR_P"; then
2556 if ${ac_cv_path_mkdir+:} false
; then :
2557 $as_echo_n "(cached) " >&6
2559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2560 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2563 test -z "$as_dir" && as_dir
=.
2564 for ac_prog
in mkdir gmkdir
; do
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2567 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2568 'mkdir (GNU coreutils) '* | \
2569 'mkdir (coreutils) '* | \
2570 'mkdir (fileutils) '4.1*)
2571 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2581 test -d .
/--version && rmdir .
/--version
2582 if test "${ac_cv_path_mkdir+set}" = set; then
2583 MKDIR_P
="$ac_cv_path_mkdir -p"
2585 # As a last resort, use the slow shell script. Don't cache a
2586 # value for MKDIR_P within a source directory, because that will
2587 # break other packages using the cache if that directory is
2588 # removed, or if the value is a relative name.
2589 MKDIR_P
="$ac_install_sh -d"
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2593 $as_echo "$MKDIR_P" >&6; }
2595 for ac_prog
in gawk mawk nawk
awk
2597 # Extract the first word of "$ac_prog", so it can be a program name with args.
2598 set dummy
$ac_prog; ac_word
=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_AWK+:} false
; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$AWK"; then
2605 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir
=.
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2614 ac_cv_prog_AWK
="$ac_prog"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 if test -n "$AWK"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2627 $as_echo "$AWK" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2634 test -n "$AWK" && break
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2638 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2640 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2641 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2642 $as_echo_n "(cached) " >&6
2644 cat >conftest.
make <<\_ACEOF
2647 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2649 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2650 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2652 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2654 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2658 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660 $as_echo "yes" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2665 SET_MAKE
="MAKE=${MAKE-make}"
2668 rm -rf .tst
2>/dev
/null
2669 mkdir .tst
2>/dev
/null
2670 if test -d .tst
; then
2675 rmdir .tst
2>/dev
/null
2677 # Check whether --enable-silent-rules was given.
2678 if test "${enable_silent_rules+set}" = set; then :
2679 enableval
=$enable_silent_rules;
2682 case $enable_silent_rules in # (((
2683 yes) AM_DEFAULT_VERBOSITY
=0;;
2684 no
) AM_DEFAULT_VERBOSITY
=1;;
2685 *) AM_DEFAULT_VERBOSITY
=1;;
2687 am_make
=${MAKE-make}
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2689 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2690 if ${am_cv_make_support_nested_variables+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 if $as_echo 'TRUE=$(BAR$(V))
2699 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2700 am_cv_make_support_nested_variables
=yes
2702 am_cv_make_support_nested_variables
=no
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2706 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2707 if test $am_cv_make_support_nested_variables = yes; then
2709 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2711 AM_V
=$AM_DEFAULT_VERBOSITY
2712 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2716 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2717 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2718 # is not polluted with repeated "-I."
2719 am__isrc
=' -I$(srcdir)'
2720 # test to see if srcdir already configured
2721 if test -f $srcdir/config.status
; then
2722 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2726 # test whether we have cygpath
2727 if test -z "$CYGPATH_W"; then
2728 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2729 CYGPATH_W
='cygpath -w'
2736 # Define the identity of the package.
2737 PACKAGE
='courierlogger'
2741 # Some tools Automake needs.
2743 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2746 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2749 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2752 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2755 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2757 # For better backward compatibility. To be removed once Automake 1.9.x
2758 # dies out for good. For more background, see:
2759 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2760 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2761 mkdir_p
='$(MKDIR_P)'
2763 # We need awk for the "check" target (and possibly the TAP driver). The
2764 # system "awk" is bad on some platforms.
2765 # Always define AMTAR for backward compatibility. Yes, it's still used
2766 # in the wild :-( We should find a proper way to deprecate it ...
2770 # We'll loop over all known methods to create a tar archive until one works.
2771 _am_tools
='gnutar pax cpio none'
2773 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2780 # POSIX will say in a future version that running "rm -f" with no argument
2781 # is OK; and we want to be able to make that assumption in our Makefile
2782 # recipes. So use an aggressive probe to check that the usage we want is
2783 # actually supported "in the wild" to an acceptable degree.
2784 # See automake bug#10828.
2785 # To make any issue more visible, cause the running configure to be aborted
2786 # by default if the 'rm' program in use doesn't match our expectations; the
2787 # user can still override this though.
2788 if rm -f && rm -fr && rm -rf; then : OK
; else
2792 Your 'rm' program seems unable to run without file operands specified
2793 on the command line, even when the '-f' option is present. This is contrary
2794 to the behaviour of most rm programs out there, and not conforming with
2795 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2797 Please tell bug-automake@gnu.org about your system, including the value
2798 of your $PATH and any error possibly output before this message. This
2799 can help us improve future automake versions.
2802 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2803 echo 'Configuration will proceed anyway, since you have set the' >&2
2804 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2808 Aborting the configuration process, to ensure you take notice of the issue.
2810 You can download and install GNU coreutils to get an 'rm' implementation
2811 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2813 If you want to complete the configuration process using your problematic
2814 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2815 to "yes", and re-run configure.
2818 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2822 ac_config_headers
="$ac_config_headers config.h"
2826 ac_cpp
='$CPP $CPPFLAGS'
2827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2830 if test -n "$ac_tool_prefix"; then
2831 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2832 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if ${ac_cv_prog_CC+:} false
; then :
2836 $as_echo_n "(cached) " >&6
2838 if test -n "$CC"; then
2839 ac_cv_prog_CC
="$CC" # Let the user override the test.
2841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir
=.
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2848 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 if test -n "$CC"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2861 $as_echo "$CC" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2869 if test -z "$ac_cv_prog_CC"; then
2871 # Extract the first word of "gcc", so it can be a program name with args.
2872 set dummy gcc
; ac_word
=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$ac_ct_CC"; then
2879 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_ac_ct_CC
="gcc"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2899 if test -n "$ac_ct_CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2901 $as_echo "$ac_ct_CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2907 if test "x$ac_ct_CC" = x
; then
2910 case $cross_compiling:$ac_tool_warned in
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2914 ac_tool_warned
=yes ;;
2922 if test -z "$CC"; then
2923 if test -n "$ac_tool_prefix"; then
2924 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2925 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if ${ac_cv_prog_CC+:} false
; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$CC"; then
2932 ac_cv_prog_CC
="$CC" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2941 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 if test -n "$CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2954 $as_echo "$CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2963 if test -z "$CC"; then
2964 # Extract the first word of "cc", so it can be a program name with args.
2965 set dummy cc
; ac_word
=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if ${ac_cv_prog_CC+:} false
; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$CC"; then
2972 ac_cv_prog_CC
="$CC" # Let the user override the test.
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2983 ac_prog_rejected
=yes
2987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 if test $ac_prog_rejected = yes; then
2995 # We found a bogon in the path, so make sure we never use it.
2996 set dummy
$ac_cv_prog_CC
2998 if test $# != 0; then
2999 # We chose a different compiler from the bogus one.
3000 # However, it has the same basename, so the bogon will be chosen
3001 # first if we set CC to just the basename; use the full file name.
3003 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3009 if test -n "$CC"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3011 $as_echo "$CC" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3019 if test -z "$CC"; then
3020 if test -n "$ac_tool_prefix"; then
3021 for ac_prog
in cl.exe
3023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3024 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_CC+:} false
; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$CC"; then
3031 ac_cv_prog_CC
="$CC" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test -n "$CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3053 $as_echo "$CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$CC" && break
3063 if test -z "$CC"; then
3065 for ac_prog
in cl.exe
3067 # Extract the first word of "$ac_prog", so it can be a program name with args.
3068 set dummy
$ac_prog; ac_word
=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$ac_ct_CC"; then
3075 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir
=.
3082 for ac_exec_ext
in '' $ac_executable_extensions; do
3083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_CC
="$ac_prog"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3095 if test -n "$ac_ct_CC"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3097 $as_echo "$ac_ct_CC" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3104 test -n "$ac_ct_CC" && break
3107 if test "x$ac_ct_CC" = x
; then
3110 case $cross_compiling:$ac_tool_warned in
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3114 ac_tool_warned
=yes ;;
3123 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 as_fn_error $?
"no acceptable C compiler found in \$PATH
3126 See \`config.log' for more details" "$LINENO" 5; }
3128 # Provide some information about the compiler.
3129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3132 for ac_option
in --version -v -V -qversion; do
3133 { { ac_try
="$ac_compiler $ac_option >&5"
3135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3139 $as_echo "$ac_try_echo"; } >&5
3140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3142 if test -s conftest.err; then
3144 ... rest of stderr output deleted ...
3145 10q' conftest.err >conftest.er1
3146 cat conftest.er1 >&5
3148 rm -f conftest.er1 conftest.err
3149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3150 test $ac_status = 0; }
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3164 ac_clean_files_save=$ac_clean_files
3165 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3166 # Try to create an executable without -o first, disregard a.out.
3167 # It will help us diagnose broken compilers, and finding out an intuition
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3170 $as_echo_n "checking whether the C compiler works... " >&6; }
3171 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3173 # The possible output files:
3174 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3177 for ac_file in $ac_files
3180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3186 if { { ac_try="$ac_link_default"
3188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3189 *) ac_try_echo
=$ac_try;;
3191 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_link_default") 2>&5
3195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196 test $ac_status = 0; }; then :
3197 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3198 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3199 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3200 # so that the user can short-circuit this test for compilers unknown to
3202 for ac_file
in $ac_files ''
3204 test -f "$ac_file" ||
continue
3206 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3209 # We found the default executable, but exeext='' is most
3213 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3215 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3217 # We set ac_cv_exeext here because the later test for it is not
3218 # safe: cross compilers may not add the suffix if given an `-o'
3219 # argument, so we may need to know it at that point already.
3220 # Even if this section looks crufty: it has the advantage of
3227 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3232 if test -z "$ac_file"; then :
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3235 $as_echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.
$ac_ext >&5
3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 as_fn_error
77 "C compiler cannot create executables
3241 See \`config.log' for more details" "$LINENO" 5; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3244 $as_echo "yes" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3247 $as_echo_n "checking for C compiler default output file name... " >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3249 $as_echo "$ac_file" >&6; }
3250 ac_exeext
=$ac_cv_exeext
3252 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3253 ac_clean_files
=$ac_clean_files_save
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3255 $as_echo_n "checking for suffix of executables... " >&6; }
3256 if { { ac_try
="$ac_link"
3258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_link") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; then :
3267 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3268 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3269 # work properly (i.e., refer to `conftest.exe'), while it won't with
3271 for ac_file
in conftest.exe conftest conftest.
*; do
3272 test -f "$ac_file" ||
continue
3274 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3275 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3284 See \`config.log' for more details" "$LINENO" 5; }
3286 rm -f conftest conftest
$ac_cv_exeext
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3288 $as_echo "$ac_cv_exeext" >&6; }
3290 rm -f conftest.
$ac_ext
3291 EXEEXT
=$ac_cv_exeext
3293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3299 FILE *f = fopen ("conftest.out", "w");
3300 return ferror (f) || fclose (f) != 0;
3306 ac_clean_files
="$ac_clean_files conftest.out"
3307 # Check that the compiler produces executables we can run. If not, either
3308 # the compiler is broken, or we cross compile.
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3310 $as_echo_n "checking whether we are cross compiling... " >&6; }
3311 if test "$cross_compiling" != yes; then
3312 { { ac_try
="$ac_link"
3314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3318 $as_echo "$ac_try_echo"; } >&5
3319 (eval "$ac_link") 2>&5
3321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3322 test $ac_status = 0; }
3323 if { ac_try='./conftest$ac_cv_exeext'
3324 { { case "(($ac_try" in
3325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3326 *) ac_try_echo
=$ac_try;;
3328 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_try") 2>&5
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; }; }; then
3336 if test "$cross_compiling" = maybe
; then
3339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341 as_fn_error $?
"cannot run C compiled programs.
3342 If you meant to cross compile, use \`--host'.
3343 See \`config.log' for more details" "$LINENO" 5; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3348 $as_echo "$cross_compiling" >&6; }
3350 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3351 ac_clean_files
=$ac_clean_files_save
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3353 $as_echo_n "checking for suffix of object files... " >&6; }
3354 if ${ac_cv_objext+:} false
; then :
3355 $as_echo_n "(cached) " >&6
3357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3368 rm -f conftest.o conftest.obj
3369 if { { ac_try
="$ac_compile"
3371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3372 *) ac_try_echo=$ac_try;;
3374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3375 $as_echo "$ac_try_echo"; } >&5
3376 (eval "$ac_compile") 2>&5
3378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3379 test $ac_status = 0; }; then :
3380 for ac_file in conftest.o conftest.obj conftest.*; do
3381 test -f "$ac_file" || continue;
3383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3384 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3389 $as_echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3395 See \
`config.log' for more details" "$LINENO" 5; }
3397 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3400 $as_echo "$ac_cv_objext" >&6; }
3401 OBJEXT=$ac_cv_objext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3404 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3405 if ${ac_cv_c_compiler_gnu+:} false; then :
3406 $as_echo_n "(cached) " >&6
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3422 if ac_fn_c_try_compile "$LINENO"; then :
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3432 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3433 if test $ac_compiler_gnu = yes; then
3438 ac_test_CFLAGS=${CFLAGS+set}
3439 ac_save_CFLAGS=$CFLAGS
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3441 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3442 if ${ac_cv_prog_cc_g+:} false; then :
3443 $as_echo_n "(cached) " >&6
3445 ac_save_c_werror_flag=$ac_c_werror_flag
3446 ac_c_werror_flag=yes
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3460 if ac_fn_c_try_compile "$LINENO"; then :
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3475 if ac_fn_c_try_compile "$LINENO"; then :
3478 ac_c_werror_flag=$ac_save_c_werror_flag
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3491 if ac_fn_c_try_compile "$LINENO"; then :
3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 ac_c_werror_flag=$ac_save_c_werror_flag
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3502 $as_echo "$ac_cv_prog_cc_g" >&6; }
3503 if test "$ac_test_CFLAGS" = set; then
3504 CFLAGS=$ac_save_CFLAGS
3505 elif test $ac_cv_prog_cc_g = yes; then
3506 if test "$GCC" = yes; then
3512 if test "$GCC" = yes; then
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3519 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3520 if ${ac_cv_prog_cc_c89+:} false; then :
3521 $as_echo_n "(cached) " >&6
3523 ac_cv_prog_cc_c89=no
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3531 struct buf { int x; };
3532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3533 static char *e (p, i)
3539 static char *f (char * (*g) (char **, int), char **p, ...)
3544 s = g (p, va_arg (v,int));
3549 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3550 function prototypes and stuff, but not '\xHH' hex character constants.
3551 These don't provoke an error unfortunately, instead are silently treated
3552 as 'x'. The following induces an error, until -std is added to get
3553 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3554 array size at least. It's necessary to write '\x00'==0 to get something
3555 that's true only with -std. */
3556 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3558 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3559 inside strings and character constants. */
3561 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3563 int test (int i, double x);
3564 struct s1 {int (*f) (int a);};
3565 struct s2 {int (*f) (double a);};
3566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3572 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3577 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3578 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3580 CC="$ac_save_CC $ac_arg"
3581 if ac_fn_c_try_compile "$LINENO"; then :
3582 ac_cv_prog_cc_c89=$ac_arg
3584 rm -f core conftest.err conftest.$ac_objext
3585 test "x$ac_cv_prog_cc_c89" != "xno" && break
3587 rm -f conftest.$ac_ext
3592 case "x$ac_cv_prog_cc_c89" in
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3595 $as_echo "none needed" >&6; } ;;
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3598 $as_echo "unsupported" >&6; } ;;
3600 CC="$CC $ac_cv_prog_cc_c89"
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3602 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3604 if test "x$ac_cv_prog_cc_c89" != xno; then :
3609 ac_cpp='$CPP $CPPFLAGS'
3610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615 ac_cpp='$CPP $CPPFLAGS'
3616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3620 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3621 if ${am_cv_prog_cc_c_o+:} false; then :
3622 $as_echo_n "(cached) " >&6
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3635 # Make sure it works both with $CC and with simple cc.
3636 # Following AC_PROG_CC_C_O, we do the test twice because some
3637 # compilers refuse to overwrite an existing .o file with -o,
3638 # though they will create one.
3639 am_cv_prog_cc_c_o=yes
3641 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3642 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } \
3646 && test -f conftest2.$ac_objext; then
3649 am_cv_prog_cc_c_o=no
3653 rm -f core conftest*
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3657 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3658 if test "$am_cv_prog_cc_c_o" != yes; then
3659 # Losing compiler, so override with the script.
3660 # FIXME: It is wrong to rewrite CC.
3661 # But if we don't then we get into trouble of one sort or another.
3662 # A longer-term fix would be to have automake use am__CC in this case,
3663 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3664 CC="$am_aux_dir/compile $CC"
3667 ac_cpp='$CPP $CPPFLAGS'
3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3672 DEPDIR="${am__leading_dot}deps"
3674 ac_config_commands="$ac_config_commands depfiles"
3677 am_make=${MAKE-make}
3678 cat > confinc << 'END'
3680 @echo this is the am__doit target
3683 # If we don't find an include directive, just comment out the code.
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3685 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3689 # First try GNU make style include.
3690 echo "include confinc" > confmf
3691 # Ignore all kinds of additional output from 'make'.
3692 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3693 *the\ am__doit\ target*)
3699 # Now try BSD make style include.
3700 if test "$am__include" = "#"; then
3701 echo '.include "confinc"' > confmf
3702 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3703 *the\ am__doit\ target*)
3704 am__include=.include
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3713 $as_echo "$_am_result" >&6; }
3714 rm -f confinc confmf
3716 # Check whether --enable-dependency-tracking was given.
3717 if test "${enable_dependency_tracking+set}" = set; then :
3718 enableval=$enable_dependency_tracking;
3721 if test "x$enable_dependency_tracking" != xno; then
3722 am_depcomp="$ac_aux_dir/depcomp"
3726 if test "x$enable_dependency_tracking" != xno; then
3736 depcc="$CC" am_compiler_list=
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3739 $as_echo_n "checking dependency style of $depcc... " >&6; }
3740 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3744 # We make a subdir and do the tests there. Otherwise we can end up
3745 # making bogus files that we don't know about and never remove. For
3746 # instance it was reported that on HP-UX the gcc test will end up
3747 # making a dummy file named 'D' -- because '-MD' means "put the output
3751 # Copy depcomp to subdir because otherwise we won't find it if we're
3752 # using a relative directory.
3753 cp "$am_depcomp" conftest.dir
3755 # We will build objects and dependencies in a subdirectory because
3756 # it helps to detect inapplicable dependency modes. For instance
3757 # both Tru64's cc and ICC support -MD to output dependencies as a
3758 # side effect of compilation, but ICC will put the dependencies in
3759 # the current directory while Tru64 will put them in the object
3763 am_cv_CC_dependencies_compiler_type=none
3764 if test "$am_compiler_list" = ""; then
3765 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3768 case " $depcc " in #(
3769 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3772 for depmode in $am_compiler_list; do
3773 # Setup a source with many dependencies, because some compilers
3774 # like to wrap large dependency lists on column 80 (with \), and
3775 # we should not choose a depcomp mode which is confused by this.
3777 # We need to recreate these files for each test, as the compiler may
3778 # overwrite some of them when testing with obscure command lines.
3779 # This happens at least with the AIX C compiler.
3781 for i in 1 2 3 4 5 6; do
3782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3783 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3784 # Solaris 10 /bin/sh.
3785 echo '/* dummy */' > sub/conftst$i.h
3787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3789 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3790 # mode. It turns out that the SunPro C++ compiler does not properly
3791 # handle '-M -o', and we need to detect this. Also, some Intel
3792 # versions had trouble with output in subdirs.
3793 am__obj=sub/conftest.${OBJEXT-o}
3794 am__minus_obj="-o $am__obj"
3797 # This depmode causes a compiler race in universal mode.
3798 test "$am__universal" = false || continue
3801 # After this tag, mechanisms are not by side-effect, so they'll
3802 # only be used when explicitly requested.
3803 if test "x$enable_dependency_tracking" = xyes; then
3809 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3810 # This compiler won't grok '-c -o', but also, the minuso test has
3811 # not run yet. These depmodes are late enough in the game, and
3812 # so weak that their functioning should not be impacted.
3813 am__obj=conftest.${OBJEXT-o}
3818 if depmode=$depmode \
3819 source=sub/conftest.c object=$am__obj \
3820 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3821 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3822 >/dev/null 2>conftest.err &&
3823 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3824 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3825 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3826 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3827 # icc doesn't choke on unknown options, it will just issue warnings
3828 # or remarks (even with -Werror). So we grep stderr for any message
3829 # that says an option was ignored or not supported.
3830 # When given -MP, icc 7.0 and 7.1 complain thusly:
3831 # icc: Command line warning: ignoring option '-M'; no argument required
3832 # The diagnosis changed in icc 8.0:
3833 # icc: Command line remark: option '-MP' not supported
3834 if (grep 'ignoring option' conftest.err ||
3835 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3836 am_cv_CC_dependencies_compiler_type=$depmode
3845 am_cv_CC_dependencies_compiler_type=none
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3850 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3851 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3854 test "x$enable_dependency_tracking" != xno \
3855 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3857 am__fastdepCC_FALSE='#'
3859 am__fastdepCC_TRUE='#'
3860 am__fastdepCC_FALSE=
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3866 $as_echo_n "checking whether ln -s works... " >&6; }
3868 if test "$LN_S" = "ln -s"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3870 $as_echo "yes" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3873 $as_echo "no, using $LN_S" >&6; }
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3879 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3884 macro_version='2.4.6'
3885 macro_revision='2.4.6'
3899 ltmain=$ac_aux_dir/ltmain.sh
3901 # Make sure we can run config.sub.
3902 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3903 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3906 $as_echo_n "checking build system type... " >&6; }
3907 if ${ac_cv_build+:} false; then :
3908 $as_echo_n "(cached) " >&6
3910 ac_build_alias=$build_alias
3911 test "x$ac_build_alias" = x &&
3912 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3913 test "x$ac_build_alias" = x &&
3914 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3915 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3916 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3920 $as_echo "$ac_cv_build" >&6; }
3921 case $ac_cv_build in
3923 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3926 ac_save_IFS=$IFS; IFS='-'
3932 # Remember, the first character of IFS is used to create $*,
3933 # except with old shells:
3936 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3940 $as_echo_n "checking host system type... " >&6; }
3941 if ${ac_cv_host+:} false; then :
3942 $as_echo_n "(cached) " >&6
3944 if test "x$host_alias" = x; then
3945 ac_cv_host=$ac_cv_build
3947 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3948 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3953 $as_echo "$ac_cv_host" >&6; }
3956 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3959 ac_save_IFS=$IFS; IFS='-'
3965 # Remember, the first character of IFS is used to create $*,
3966 # except with old shells:
3969 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3972 # Backslashify metacharacters that are still active within
3973 # double-quoted strings.
3974 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
3976 # Same as above, but do not quote variable references.
3977 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
3979 # Sed substitution to delay expansion of an escaped shell variable in a
3980 # double_quote_subst'ed string.
3981 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3983 # Sed substitution to delay expansion of an escaped single quote.
3984 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3986 # Sed substitution to avoid accidental globbing in evaled expressions
3987 no_glob_subst='s/\*/\\\*/g'
3989 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3990 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3991 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
3994 $as_echo_n "checking how to print
strings...
" >&6; }
3995 # Test print first, because it will be a builtin if present.
3996 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
3997 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
3999 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4002 # Use this function as a fallback that always works.
4003 func_fallback_echo ()
4005 eval 'cat <<_LTECHO_EOF
4009 ECHO='func_fallback_echo'
4012 # func_echo_all arg...
4013 # Invoke $ECHO with all args, space-separated.
4020 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4021 $as_echo "printf" >&6; } ;;
4022 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4023 $as_echo "print
-r" >&6; } ;;
4024 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4025 $as_echo "cat" >&6; } ;;
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4042 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4043 if ${ac_cv_path_SED+:} false; then :
4044 $as_echo_n "(cached
) " >&6
4046 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4047 for ac_i in 1 2 3 4 5 6 7; do
4048 ac_script="$ac_script$as_nl$ac_script"
4050 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4051 { ac_script=; unset ac_script;}
4052 if test -z "$SED"; then
4053 ac_path_SED_found=false
4054 # Loop through the user's path and test for each of PROGNAME-LIST
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir=.
4060 for ac_prog in sed gsed; do
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4063 as_fn_executable_p "$ac_path_SED" || continue
4064 # Check for GNU ac_path_SED and select it if it is found.
4065 # Check for GNU $ac_path_SED
4066 case `"$ac_path_SED" --version 2>&1` in
4068 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4071 $as_echo_n 0123456789 >"conftest.
in"
4074 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4075 mv "conftest.tmp
" "conftest.
in"
4076 cp "conftest.
in" "conftest.
nl"
4077 $as_echo '' >> "conftest.
nl"
4078 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4079 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4080 as_fn_arith $ac_count + 1 && ac_count=$as_val
4081 if test $ac_count -gt ${ac_path_SED_max-0}; then
4082 # Best one so far, save it but keep looking for a better one
4083 ac_cv_path_SED="$ac_path_SED"
4084 ac_path_SED_max=$ac_count
4086 # 10*(2^10) chars as input seems more than enough
4087 test $ac_count -gt 10 && break
4089 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4092 $ac_path_SED_found && break 3
4097 if test -z "$ac_cv_path_SED"; then
4098 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4106 $as_echo "$ac_cv_path_SED" >&6; }
4107 SED="$ac_cv_path_SED"
4110 test -z "$SED" && SED=sed
4111 Xsed="$SED -e 1s
/^X
//"
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4124 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4125 if ${ac_cv_path_GREP+:} false; then :
4126 $as_echo_n "(cached
) " >&6
4128 if test -z "$GREP"; then
4129 ac_path_GREP_found=false
4130 # Loop through the user's path and test for each of PROGNAME-LIST
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4135 test -z "$as_dir" && as_dir=.
4136 for ac_prog in grep ggrep; do
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4139 as_fn_executable_p "$ac_path_GREP" || continue
4140 # Check for GNU ac_path_GREP and select it if it is found.
4141 # Check for GNU $ac_path_GREP
4142 case `"$ac_path_GREP" --version 2>&1` in
4144 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4147 $as_echo_n 0123456789 >"conftest.
in"
4150 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4151 mv "conftest.tmp
" "conftest.
in"
4152 cp "conftest.
in" "conftest.
nl"
4153 $as_echo 'GREP' >> "conftest.
nl"
4154 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4155 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4156 as_fn_arith $ac_count + 1 && ac_count=$as_val
4157 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4158 # Best one so far, save it but keep looking for a better one
4159 ac_cv_path_GREP="$ac_path_GREP"
4160 ac_path_GREP_max=$ac_count
4162 # 10*(2^10) chars as input seems more than enough
4163 test $ac_count -gt 10 && break
4165 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4168 $ac_path_GREP_found && break 3
4173 if test -z "$ac_cv_path_GREP"; then
4174 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4177 ac_cv_path_GREP=$GREP
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4182 $as_echo "$ac_cv_path_GREP" >&6; }
4183 GREP="$ac_cv_path_GREP"
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4187 $as_echo_n "checking
for egrep...
" >&6; }
4188 if ${ac_cv_path_EGREP+:} false; then :
4189 $as_echo_n "(cached
) " >&6
4191 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4192 then ac_cv_path_EGREP="$GREP -E"
4194 if test -z "$EGREP"; then
4195 ac_path_EGREP_found=false
4196 # Loop through the user's path and test for each of PROGNAME-LIST
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4201 test -z "$as_dir" && as_dir=.
4202 for ac_prog in egrep; do
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4205 as_fn_executable_p "$ac_path_EGREP" || continue
4206 # Check for GNU ac_path_EGREP and select it if it is found.
4207 # Check for GNU $ac_path_EGREP
4208 case `"$ac_path_EGREP" --version 2>&1` in
4210 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4213 $as_echo_n 0123456789 >"conftest.
in"
4216 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4217 mv "conftest.tmp
" "conftest.
in"
4218 cp "conftest.
in" "conftest.
nl"
4219 $as_echo 'EGREP' >> "conftest.
nl"
4220 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4221 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4222 as_fn_arith $ac_count + 1 && ac_count=$as_val
4223 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4224 # Best one so far, save it but keep looking for a better one
4225 ac_cv_path_EGREP="$ac_path_EGREP"
4226 ac_path_EGREP_max=$ac_count
4228 # 10*(2^10) chars as input seems more than enough
4229 test $ac_count -gt 10 && break
4231 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4234 $ac_path_EGREP_found && break 3
4239 if test -z "$ac_cv_path_EGREP"; then
4240 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4243 ac_cv_path_EGREP=$EGREP
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4249 $as_echo "$ac_cv_path_EGREP" >&6; }
4250 EGREP="$ac_cv_path_EGREP"
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4254 $as_echo_n "checking
for fgrep...
" >&6; }
4255 if ${ac_cv_path_FGREP+:} false; then :
4256 $as_echo_n "(cached
) " >&6
4258 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4259 then ac_cv_path_FGREP="$GREP -F"
4261 if test -z "$FGREP"; then
4262 ac_path_FGREP_found=false
4263 # Loop through the user's path and test for each of PROGNAME-LIST
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4268 test -z "$as_dir" && as_dir=.
4269 for ac_prog in fgrep; do
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4272 as_fn_executable_p "$ac_path_FGREP" || continue
4273 # Check for GNU ac_path_FGREP and select it if it is found.
4274 # Check for GNU $ac_path_FGREP
4275 case `"$ac_path_FGREP" --version 2>&1` in
4277 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4280 $as_echo_n 0123456789 >"conftest.
in"
4283 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4284 mv "conftest.tmp
" "conftest.
in"
4285 cp "conftest.
in" "conftest.
nl"
4286 $as_echo 'FGREP' >> "conftest.
nl"
4287 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4288 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4289 as_fn_arith $ac_count + 1 && ac_count=$as_val
4290 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4291 # Best one so far, save it but keep looking for a better one
4292 ac_cv_path_FGREP="$ac_path_FGREP"
4293 ac_path_FGREP_max=$ac_count
4295 # 10*(2^10) chars as input seems more than enough
4296 test $ac_count -gt 10 && break
4298 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4301 $ac_path_FGREP_found && break 3
4306 if test -z "$ac_cv_path_FGREP"; then
4307 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4310 ac_cv_path_FGREP=$FGREP
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4316 $as_echo "$ac_cv_path_FGREP" >&6; }
4317 FGREP="$ac_cv_path_FGREP"
4320 test -z "$GREP" && GREP=grep
4340 # Check whether --with-gnu-ld was given.
4341 if test "${with_gnu_ld+set}" = set; then :
4342 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4348 if test yes = "$GCC"; then
4349 # Check if gcc -print-prog-name=ld gives a path.
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4351 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4354 # gcc leaves a trailing carriage return, which upsets mingw
4355 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4357 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4360 # Accept absolute paths.
4362 re_direlt='/[^/][^/]*/\.\./'
4363 # Canonicalize the pathname of ld
4364 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4365 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4366 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4368 test -z "$LD" && LD=$ac_prog
4371 # If it fails, then pretend we aren't using GCC.
4375 # If it is relative, then search for the first ld in PATH.
4379 elif test yes = "$with_gnu_ld"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4381 $as_echo_n "checking
for GNU ld...
" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4384 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4386 if ${lt_cv_path_LD+:} false; then :
4387 $as_echo_n "(cached
) " >&6
4389 if test -z "$LD"; then
4390 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4391 for ac_dir in $PATH; do
4393 test -z "$ac_dir" && ac_dir=.
4394 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4395 lt_cv_path_LD=$ac_dir/$ac_prog
4396 # Check to see if the program is GNU ld. I'd rather use --version,
4397 # but apparently some variants of GNU ld only accept -v.
4398 # Break only if it was the GNU/non-GNU ld that we prefer.
4399 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4400 *GNU* | *'with BFD'*)
4401 test no != "$with_gnu_ld" && break
4404 test yes != "$with_gnu_ld" && break
4411 lt_cv_path_LD=$LD # Let the user override the test with a path.
4416 if test -n "$LD"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4418 $as_echo "$LD" >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4421 $as_echo "no
" >&6; }
4423 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4425 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4426 if ${lt_cv_prog_gnu_ld+:} false; then :
4427 $as_echo_n "(cached
) " >&6
4429 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4430 case `$LD -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 lt_cv_prog_gnu_ld=yes
4435 lt_cv_prog_gnu_ld=no
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4441 with_gnu_ld=$lt_cv_prog_gnu_ld
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4452 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4453 if ${lt_cv_path_NM+:} false; then :
4454 $as_echo_n "(cached
) " >&6
4456 if test -n "$NM"; then
4457 # Let the user override the test.
4460 lt_nm_to_check=${ac_tool_prefix}nm
4461 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4462 lt_nm_to_check="$lt_nm_to_check nm
"
4464 for lt_tmp_nm in $lt_nm_to_check; do
4465 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4466 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4468 test -z "$ac_dir" && ac_dir=.
4469 tmp_nm=$ac_dir/$lt_tmp_nm
4470 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4471 # Check to see if the nm accepts a BSD-compat flag.
4472 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4473 # nm: unknown option "B
" ignored
4474 # Tru64's nm complains that /dev/null is an invalid object file
4475 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4477 mingw*) lt_bad_file=conftest.nm/nofile ;;
4478 *) lt_bad_file=/dev/null ;;
4480 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4481 *$lt_bad_file* | *'Invalid file or object type'*)
4482 lt_cv_path_NM="$tmp_nm -B"
4486 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4488 lt_cv_path_NM="$tmp_nm -p"
4492 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4493 continue # so that we can try to find one that supports BSD flags
4502 : ${lt_cv_path_NM=no}
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4506 $as_echo "$lt_cv_path_NM" >&6; }
4507 if test no != "$lt_cv_path_NM"; then
4510 # Didn't find any BSD compatible name lister, look for dumpbin.
4511 if test -n "$DUMPBIN"; then :
4512 # Let the user override the test.
4514 if test -n "$ac_tool_prefix"; then
4515 for ac_prog in dumpbin "link
-dump"
4517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4520 $as_echo_n "checking
for $ac_word...
" >&6; }
4521 if ${ac_cv_prog_DUMPBIN+:} false; then :
4522 $as_echo_n "(cached
) " >&6
4524 if test -n "$DUMPBIN"; then
4525 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4544 DUMPBIN=$ac_cv_prog_DUMPBIN
4545 if test -n "$DUMPBIN"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4547 $as_echo "$DUMPBIN" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4550 $as_echo "no
" >&6; }
4554 test -n "$DUMPBIN" && break
4557 if test -z "$DUMPBIN"; then
4558 ac_ct_DUMPBIN=$DUMPBIN
4559 for ac_prog in dumpbin "link
-dump"
4561 # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy $ac_prog; ac_word=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4564 $as_echo_n "checking
for $ac_word...
" >&6; }
4565 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4566 $as_echo_n "(cached
) " >&6
4568 if test -n "$ac_ct_DUMPBIN"; then
4569 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4588 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4589 if test -n "$ac_ct_DUMPBIN"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4591 $as_echo "$ac_ct_DUMPBIN" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4594 $as_echo "no
" >&6; }
4598 test -n "$ac_ct_DUMPBIN" && break
4601 if test "x
$ac_ct_DUMPBIN" = x; then
4604 case $cross_compiling:$ac_tool_warned in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4607 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4608 ac_tool_warned=yes ;;
4610 DUMPBIN=$ac_ct_DUMPBIN
4614 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4616 DUMPBIN="$DUMPBIN -symbols -headers"
4624 if test : != "$DUMPBIN"; then
4628 test -z "$NM" && NM=nm
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4636 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4637 if ${lt_cv_nm_interface+:} false; then :
4638 $as_echo_n "(cached
) " >&6
4640 lt_cv_nm_interface="BSD nm
"
4641 echo "int some_variable
= 0;" > conftest.$ac_ext
4642 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4643 (eval "$ac_compile" 2>conftest.err)
4644 cat conftest.err >&5
4645 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4646 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4647 cat conftest.err >&5
4648 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4649 cat conftest.out >&5
4650 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4651 lt_cv_nm_interface="MS dumpbin
"
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4656 $as_echo "$lt_cv_nm_interface" >&6; }
4658 # find the maximum length of command line arguments
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4660 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4661 if ${lt_cv_sys_max_cmd_len+:} false; then :
4662 $as_echo_n "(cached
) " >&6
4669 # On DJGPP, this test can blow up pretty badly due to problems in libc
4670 # (any single argument exceeding 2000 bytes causes a buffer overrun
4671 # during glob expansion). Even if it were fixed, the result of this
4672 # check would be larger than it should be.
4673 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4677 # Under GNU Hurd, this test is not required because there is
4678 # no limit to the length of command line arguments.
4679 # Libtool will interpret -1 as no limit whatsoever
4680 lt_cv_sys_max_cmd_len=-1;
4683 cygwin* | mingw* | cegcc*)
4684 # On Win9x/ME, this test blows up -- it succeeds, but takes
4685 # about 5 minutes as the teststring grows exponentially.
4686 # Worse, since 9x/ME are not pre-emptively multitasking,
4687 # you end up with a "frozen
" computer, even though with patience
4688 # the test eventually succeeds (with a max line length of 256k).
4689 # Instead, let's just punt: use the minimum linelength reported by
4690 # all of the supported platforms: 8192 (on NT/2K/XP).
4691 lt_cv_sys_max_cmd_len=8192;
4695 # On MiNT this can take a long time and run out of memory.
4696 lt_cv_sys_max_cmd_len=8192;
4700 # On AmigaOS with pdksh, this test takes hours, literally.
4701 # So we just punt and use a minimum line length of 8192.
4702 lt_cv_sys_max_cmd_len=8192;
4705 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4706 # This has been around since 386BSD, at least. Likely further.
4707 if test -x /sbin/sysctl; then
4708 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4709 elif test -x /usr/sbin/sysctl; then
4710 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4712 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4714 # And add a safety zone
4715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4720 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4721 lt_cv_sys_max_cmd_len=196608
4725 # The test takes a long time on OS/2.
4726 lt_cv_sys_max_cmd_len=8192
4730 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4731 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4732 # nice to cause kernel panics so lets avoid the loop below.
4733 # First set a reasonable default.
4734 lt_cv_sys_max_cmd_len=16384
4736 if test -x /sbin/sysconfig; then
4737 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4738 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4743 lt_cv_sys_max_cmd_len=102400
4745 sysv5* | sco5v6* | sysv4.2uw2*)
4746 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4747 if test -n "$kargmax"; then
4748 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4750 lt_cv_sys_max_cmd_len=32768
4754 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4755 if test -n "$lt_cv_sys_max_cmd_len" && \
4756 test undefined != "$lt_cv_sys_max_cmd_len"; then
4757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4760 # Make teststring a little bigger before we do anything with it.
4761 # a 1K string should be a reasonable start.
4762 for i in 1 2 3 4 5 6 7 8; do
4763 teststring=$teststring$teststring
4765 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4766 # If test is not a shell built-in, we'll probably end up computing a
4767 # maximum length that is only half of the actual maximum length, but
4769 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4770 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4771 test 17 != "$i" # 1/2 MB should be enough
4774 teststring=$teststring$teststring
4776 # Only check the string length outside the loop.
4777 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4779 # Add a significant safety factor because C++ compilers can tack on
4780 # massive amounts of additional arguments before passing them to the
4781 # linker. It appears as though 1/2 is a usable value.
4782 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4789 if test -n "$lt_cv_sys_max_cmd_len"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4791 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4794 $as_echo "none
" >&6; }
4796 max_cmd_len=$lt_cv_sys_max_cmd_len
4807 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4817 # test EBCDIC or ASCII
4818 case `echo X|tr X '\101'` in
4819 A) # ASCII based system
4820 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4821 lt_SP2NL='tr \040 \012'
4822 lt_NL2SP='tr \015\012 \040\040'
4824 *) # EBCDIC based system
4825 lt_SP2NL='tr \100 \n'
4826 lt_NL2SP='tr \r\n \100\100'
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4839 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4840 if ${lt_cv_to_host_file_cmd+:} false; then :
4841 $as_echo_n "(cached
) " >&6
4846 *-*-mingw* ) # actually msys
4847 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4850 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4852 * ) # otherwise, assume *nix
4853 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4859 *-*-mingw* ) # actually msys
4860 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4863 lt_cv_to_host_file_cmd=func_convert_file_noop
4865 * ) # otherwise, assume *nix
4866 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4870 * ) # unhandled hosts (and "normal
" native builds)
4871 lt_cv_to_host_file_cmd=func_convert_file_noop
4877 to_host_file_cmd=$lt_cv_to_host_file_cmd
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4879 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4886 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4887 if ${lt_cv_to_tool_file_cmd+:} false; then :
4888 $as_echo_n "(cached
) " >&6
4890 #assume ordinary cross tools, or native build.
4891 lt_cv_to_tool_file_cmd=func_convert_file_noop
4895 *-*-mingw* ) # actually msys
4896 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4904 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4906 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4913 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4914 if ${lt_cv_ld_reload_flag+:} false; then :
4915 $as_echo_n "(cached
) " >&6
4917 lt_cv_ld_reload_flag='-r'
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4920 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4921 reload_flag=$lt_cv_ld_reload_flag
4922 case $reload_flag in
4924 *) reload_flag=" $reload_flag" ;;
4926 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4928 cygwin* | mingw* | pw32* | cegcc*)
4929 if test yes != "$GCC"; then
4934 if test yes = "$GCC"; then
4935 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4937 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4950 if test -n "$ac_tool_prefix"; then
4951 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4952 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4954 $as_echo_n "checking
for $ac_word...
" >&6; }
4955 if ${ac_cv_prog_OBJDUMP+:} false; then :
4956 $as_echo_n "(cached
) " >&6
4958 if test -n "$OBJDUMP"; then
4959 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4978 OBJDUMP=$ac_cv_prog_OBJDUMP
4979 if test -n "$OBJDUMP"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4981 $as_echo "$OBJDUMP" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4984 $as_echo "no
" >&6; }
4989 if test -z "$ac_cv_prog_OBJDUMP"; then
4990 ac_ct_OBJDUMP=$OBJDUMP
4991 # Extract the first word of "objdump
", so it can be a program name with args.
4992 set dummy objdump; ac_word=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4994 $as_echo_n "checking
for $ac_word...
" >&6; }
4995 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4996 $as_echo_n "(cached
) " >&6
4998 if test -n "$ac_ct_OBJDUMP"; then
4999 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir=.
5006 for ac_exec_ext in '' $ac_executable_extensions; do
5007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5008 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5018 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5019 if test -n "$ac_ct_OBJDUMP"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5021 $as_echo "$ac_ct_OBJDUMP" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5024 $as_echo "no
" >&6; }
5027 if test "x
$ac_ct_OBJDUMP" = x; then
5030 case $cross_compiling:$ac_tool_warned in
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5033 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5034 ac_tool_warned=yes ;;
5036 OBJDUMP=$ac_ct_OBJDUMP
5039 OBJDUMP="$ac_cv_prog_OBJDUMP"
5042 test -z "$OBJDUMP" && OBJDUMP=objdump
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5053 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5054 if ${lt_cv_deplibs_check_method+:} false; then :
5055 $as_echo_n "(cached
) " >&6
5057 lt_cv_file_magic_cmd='$MAGIC_CMD'
5058 lt_cv_file_magic_test_file=
5059 lt_cv_deplibs_check_method='unknown'
5060 # Need to set the preceding variable on all platforms that support
5061 # interlibrary dependencies.
5062 # 'none' -- dependencies not supported.
5063 # 'unknown' -- same as none, but documents that we really don't know.
5064 # 'pass_all' -- all dependencies passed with no checks.
5065 # 'test_compile' -- check by making test program.
5066 # 'file_magic [[regex]]' -- check by looking for files in library path
5067 # that responds to the $file_magic_cmd with a given extended regex.
5068 # If you have 'file' or equivalent on your system and you're not sure
5069 # whether 'pass_all' will *always* work, you probably want this one.
5073 lt_cv_deplibs_check_method=pass_all
5077 lt_cv_deplibs_check_method=pass_all
5081 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5082 lt_cv_file_magic_cmd='/usr/bin/file -L'
5083 lt_cv_file_magic_test_file=/shlib/libc.so
5087 # func_win32_libid is a shell function defined in ltmain.sh
5088 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5089 lt_cv_file_magic_cmd='func_win32_libid'
5093 # Base MSYS/MinGW do not provide the 'file' command needed by
5094 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5095 # unless we find 'file', for example because we are cross-compiling.
5096 if ( file / ) >/dev/null 2>&1; then
5097 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5098 lt_cv_file_magic_cmd='func_win32_libid'
5100 # Keep this pattern in sync with the one in func_win32_libid.
5101 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5102 lt_cv_file_magic_cmd='$OBJDUMP -f'
5107 # use the weaker test based on 'objdump'. See mingw*.
5108 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5109 lt_cv_file_magic_cmd='$OBJDUMP -f'
5112 darwin* | rhapsody*)
5113 lt_cv_deplibs_check_method=pass_all
5116 freebsd* | dragonfly*)
5117 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5120 # Not sure whether the presence of OpenBSD here was a mistake.
5121 # Let's accept both of them until this is cleared up.
5122 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5123 lt_cv_file_magic_cmd=/usr/bin/file
5124 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5128 lt_cv_deplibs_check_method=pass_all
5133 lt_cv_deplibs_check_method=pass_all
5136 hpux10.20* | hpux11*)
5137 lt_cv_file_magic_cmd=/usr/bin/file
5140 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5141 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5144 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]'
5145 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5148 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5149 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5155 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5156 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5159 irix5* | irix6* | nonstopux*)
5161 *-32|*"-32 ") libmagic=32-bit;;
5162 *-n32|*"-n32 ") libmagic=N32;;
5163 *-64|*"-64 ") libmagic=64-bit;;
5164 *) libmagic=never-match;;
5166 lt_cv_deplibs_check_method=pass_all
5169 # This must be glibc/ELF.
5170 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5171 lt_cv_deplibs_check_method=pass_all
5175 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5176 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5178 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5183 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5184 lt_cv_file_magic_cmd=/usr/bin/file
5185 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5189 lt_cv_deplibs_check_method=pass_all
5193 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5194 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5196 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5200 osf3* | osf4* | osf5*)
5201 lt_cv_deplibs_check_method=pass_all
5205 lt_cv_deplibs_check_method=pass_all
5209 lt_cv_deplibs_check_method=pass_all
5212 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5213 lt_cv_deplibs_check_method=pass_all
5217 case $host_vendor in
5219 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]'
5220 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5223 lt_cv_deplibs_check_method=pass_all
5226 lt_cv_file_magic_cmd='/bin/file'
5227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5230 lt_cv_file_magic_cmd='/bin/file'
5231 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5232 lt_cv_file_magic_test_file=/lib/libc.so
5235 lt_cv_deplibs_check_method=pass_all
5238 lt_cv_deplibs_check_method=pass_all
5244 lt_cv_deplibs_check_method=pass_all
5247 lt_cv_deplibs_check_method=pass_all
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5253 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5257 if test "$build" = "$host"; then
5260 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5263 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5269 file_magic_cmd=$lt_cv_file_magic_cmd
5270 deplibs_check_method=$lt_cv_deplibs_check_method
5271 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5298 $as_echo_n "checking
for $ac_word...
" >&6; }
5299 if ${ac_cv_prog_DLLTOOL+:} false; then :
5300 $as_echo_n "(cached
) " >&6
5302 if test -n "$DLLTOOL"; then
5303 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5312 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5322 DLLTOOL=$ac_cv_prog_DLLTOOL
5323 if test -n "$DLLTOOL"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5325 $as_echo "$DLLTOOL" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5328 $as_echo "no
" >&6; }
5333 if test -z "$ac_cv_prog_DLLTOOL"; then
5334 ac_ct_DLLTOOL=$DLLTOOL
5335 # Extract the first word of "dlltool
", so it can be a program name with args.
5336 set dummy dlltool; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5338 $as_echo_n "checking
for $ac_word...
" >&6; }
5339 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5340 $as_echo_n "(cached
) " >&6
5342 if test -n "$ac_ct_DLLTOOL"; then
5343 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5362 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5363 if test -n "$ac_ct_DLLTOOL"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5365 $as_echo "$ac_ct_DLLTOOL" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5368 $as_echo "no
" >&6; }
5371 if test "x
$ac_ct_DLLTOOL" = x; then
5374 case $cross_compiling:$ac_tool_warned in
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5377 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5378 ac_tool_warned=yes ;;
5380 DLLTOOL=$ac_ct_DLLTOOL
5383 DLLTOOL="$ac_cv_prog_DLLTOOL"
5386 test -z "$DLLTOOL" && DLLTOOL=dlltool
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5398 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5399 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5400 $as_echo_n "(cached
) " >&6
5402 lt_cv_sharedlib_from_linklib_cmd='unknown'
5405 cygwin* | mingw* | pw32* | cegcc*)
5406 # two different shell functions defined in ltmain.sh;
5407 # decide which one to use based on capabilities of $DLLTOOL
5408 case `$DLLTOOL --help 2>&1` in
5409 *--identify-strict*)
5410 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5413 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5418 # fallback: assume linklib IS sharedlib
5419 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5425 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5426 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5427 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5436 if test -n "$ac_tool_prefix"; then
5439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5442 $as_echo_n "checking
for $ac_word...
" >&6; }
5443 if ${ac_cv_prog_AR+:} false; then :
5444 $as_echo_n "(cached
) " >&6
5446 if test -n "$AR"; then
5447 ac_cv_prog_AR="$AR" # Let the user override the test.
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5467 if test -n "$AR"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5469 $as_echo "$AR" >&6; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5472 $as_echo "no
" >&6; }
5476 test -n "$AR" && break
5479 if test -z "$AR"; then
5483 # Extract the first word of "$ac_prog", so it can be a program name with args.
5484 set dummy $ac_prog; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5486 $as_echo_n "checking
for $ac_word...
" >&6; }
5487 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5488 $as_echo_n "(cached
) " >&6
5490 if test -n "$ac_ct_AR"; then
5491 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_ac_ct_AR="$ac_prog"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5510 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5511 if test -n "$ac_ct_AR"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5513 $as_echo "$ac_ct_AR" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5516 $as_echo "no
" >&6; }
5520 test -n "$ac_ct_AR" && break
5523 if test "x
$ac_ct_AR" = x; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5529 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5530 ac_tool_warned=yes ;;
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5550 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5551 if ${lt_cv_ar_at_file+:} false; then :
5552 $as_echo_n "(cached
) " >&6
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5566 if ac_fn_c_try_compile "$LINENO"; then :
5567 echo conftest.$ac_objext > conftest.lst
5568 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5569 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5570 (eval $lt_ar_try) 2>&5
5572 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5573 test $ac_status = 0; }
5574 if test 0 -eq "$ac_status"; then
5575 # Ensure the archiver fails upon bogus file names.
5576 rm -f conftest.$ac_objext libconftest.a
5577 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5578 (eval $lt_ar_try) 2>&5
5580 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5581 test $ac_status = 0; }
5582 if test 0 -ne "$ac_status"; then
5586 rm -f conftest.* libconftest.a
5589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5593 $as_echo "$lt_cv_ar_at_file" >&6; }
5595 if test no = "$lt_cv_ar_at_file"; then
5598 archiver_list_spec=$lt_cv_ar_at_file
5607 if test -n "$ac_tool_prefix"; then
5608 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5609 set dummy ${ac_tool_prefix}strip; ac_word=$2
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5611 $as_echo_n "checking
for $ac_word...
" >&6; }
5612 if ${ac_cv_prog_STRIP+:} false; then :
5613 $as_echo_n "(cached
) " >&6
5615 if test -n "$STRIP"; then
5616 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 test -z "$as_dir" && as_dir=.
5623 for ac_exec_ext in '' $ac_executable_extensions; do
5624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5625 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5635 STRIP=$ac_cv_prog_STRIP
5636 if test -n "$STRIP"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5638 $as_echo "$STRIP" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5641 $as_echo "no
" >&6; }
5646 if test -z "$ac_cv_prog_STRIP"; then
5648 # Extract the first word of "strip
", so it can be a program name with args.
5649 set dummy strip; ac_word=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5651 $as_echo_n "checking
for $ac_word...
" >&6; }
5652 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5653 $as_echo_n "(cached
) " >&6
5655 if test -n "$ac_ct_STRIP"; then
5656 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5662 test -z "$as_dir" && as_dir=.
5663 for ac_exec_ext in '' $ac_executable_extensions; do
5664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5665 ac_cv_prog_ac_ct_STRIP="strip
"
5666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5675 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5676 if test -n "$ac_ct_STRIP"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5678 $as_echo "$ac_ct_STRIP" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5681 $as_echo "no
" >&6; }
5684 if test "x
$ac_ct_STRIP" = x; then
5687 case $cross_compiling:$ac_tool_warned in
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5690 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5691 ac_tool_warned=yes ;;
5696 STRIP="$ac_cv_prog_STRIP"
5699 test -z "$STRIP" && STRIP=:
5706 if test -n "$ac_tool_prefix"; then
5707 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5708 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5710 $as_echo_n "checking
for $ac_word...
" >&6; }
5711 if ${ac_cv_prog_RANLIB+:} false; then :
5712 $as_echo_n "(cached
) " >&6
5714 if test -n "$RANLIB"; then
5715 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5734 RANLIB=$ac_cv_prog_RANLIB
5735 if test -n "$RANLIB"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5737 $as_echo "$RANLIB" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5740 $as_echo "no
" >&6; }
5745 if test -z "$ac_cv_prog_RANLIB"; then
5746 ac_ct_RANLIB=$RANLIB
5747 # Extract the first word of "ranlib
", so it can be a program name with args.
5748 set dummy ranlib; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5750 $as_echo_n "checking
for $ac_word...
" >&6; }
5751 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5752 $as_echo_n "(cached
) " >&6
5754 if test -n "$ac_ct_RANLIB"; then
5755 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5774 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5775 if test -n "$ac_ct_RANLIB"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5777 $as_echo "$ac_ct_RANLIB" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5780 $as_echo "no
" >&6; }
5783 if test "x
$ac_ct_RANLIB" = x; then
5786 case $cross_compiling:$ac_tool_warned in
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5789 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5790 ac_tool_warned=yes ;;
5792 RANLIB=$ac_ct_RANLIB
5795 RANLIB="$ac_cv_prog_RANLIB"
5798 test -z "$RANLIB" && RANLIB=:
5805 # Determine commands to create old-style static archives.
5806 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5807 old_postinstall_cmds='chmod 644 $oldlib'
5808 old_postuninstall_cmds=
5810 if test -n "$RANLIB"; then
5813 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5816 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5819 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5824 lock_old_archive_extraction=yes ;;
5826 lock_old_archive_extraction=no ;;
5867 # If no C compiler was specified, use CC.
5870 # If no C compiler flags were specified, use CFLAGS.
5871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5873 # Allow CC to be a program name with arguments.
5877 # Check for command to grab the raw symbol name followed by C symbol from nm.
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5879 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5880 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5881 $as_echo_n "(cached
) " >&6
5884 # These are sane defaults that work on at least a few old systems.
5885 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5887 # Character class describing NM global symbol codes.
5888 symcode='[BCDEGRST]'
5890 # Regexp to match symbols that can be accessed directly from C.
5891 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5893 # Define system-specific variables.
5898 cygwin* | mingw* | pw32* | cegcc*)
5899 symcode='[ABCDGISTW]'
5902 if test ia64 = "$host_cpu"; then
5903 symcode='[ABCDEGRST]'
5907 symcode='[BCDEGRST]'
5910 symcode='[BCDEGQRST]'
5921 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5929 # If we're using GNU nm, then use its standard symbol codes.
5930 case `$NM -V 2>&1` in
5931 *GNU* | *'with BFD'*)
5932 symcode='[ABCDGIRSTW]' ;;
5935 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5936 # Gets list of data symbols to import.
5937 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5938 # Adjust the below global symbol transforms to fixup imported variables.
5939 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5940 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
5941 lt_c_name_lib_hook="\
5942 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
5943 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
5945 # Disable hooks by default.
5946 lt_cv_sys_global_symbol_to_import=
5952 # Transform an extracted symbol line into a proper C declaration.
5953 # Some systems (esp. on ia64) link data and code symbols differently,
5954 # so use this general approach.
5955 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
5957 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5958 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5960 # Transform an extracted symbol line into symbol name and symbol address
5961 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
5963 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5964 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
5966 # Transform an extracted symbol line into symbol name with lib prefix and
5968 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
5969 $lt_c_name_lib_hook\
5970 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
5971 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
5972 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
5974 # Handle CRLF in mingw tool chain
5978 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5982 # Try without a prefix underscore, then with it.
5983 for ac_symprfx in "" "_
"; do
5985 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5986 symxfrm="\\1 $ac_symprfx\\2 \\2"
5988 # Write the raw and C identifiers.
5989 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5990 # Fake it for dumpbin and say T for any non-static function,
5991 # D for any global variable and I for any imported variable.
5992 # Also find C++ and __fastcall symbols from MSVC++,
5993 # which start with @ or ?.
5994 lt_cv_sys_global_symbol_pipe="$AWK '"\
5995 " {last_section=section; section=\$ 3};"\
5996 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5997 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5998 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5999 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6000 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6001 " \$ 0!~/External *\|/{next};"\
6002 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6003 " {if(hide[section]) next};"\
6004 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6005 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6006 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6007 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6008 " ' prfx
=^
$ac_symprfx"
6010 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6012 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6014 # Check to see that the pipe works correctly.
6018 cat > conftest.$ac_ext <<_LT_EOF
6023 void nm_test_func(void);
6024 void nm_test_func(void){}
6028 int main(){nm_test_var='a';nm_test_func();return(0);}
6031 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6032 (eval $ac_compile) 2>&5
6034 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6035 test $ac_status = 0; }; then
6036 # Now try to grab the symbols.
6038 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6039 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6041 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6042 test $ac_status = 0; } && test -s "$nlist"; then
6043 # Try sorting and uniquifying the output.
6044 if sort "$nlist" | uniq > "$nlist"T; then
6045 mv -f "$nlist"T "$nlist"
6050 # Make sure that we snagged all the symbols we need.
6051 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6052 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6053 cat <<_LT_EOF > conftest.$ac_ext
6054 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6055 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6056 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6057 relocations are performed -- see ld's documentation on pseudo-relocs. */
6058 # define LT_DLSYM_CONST
6059 #elif defined __osf__
6060 /* This system does not cope well with relocations in const data. */
6061 # define LT_DLSYM_CONST
6063 # define LT_DLSYM_CONST const
6071 # Now generate the symbol file.
6072 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6074 cat <<_LT_EOF >> conftest.$ac_ext
6076 /* The mapping between symbol names and symbols. */
6077 LT_DLSYM_CONST struct {
6081 lt__PROGRAM__LTX_preloaded_symbols[] =
6083 { "@PROGRAM@
", (void *) 0 },
6085 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6086 cat <<\_LT_EOF >> conftest.$ac_ext
6090 /* This works around a problem in FreeBSD linker */
6091 #ifdef FREEBSD_WORKAROUND
6092 static const void *lt_preloaded_setup() {
6093 return lt__PROGRAM__LTX_preloaded_symbols;
6101 # Now try linking the two files.
6102 mv conftest.$ac_objext conftstm.$ac_objext
6103 lt_globsym_save_LIBS=$LIBS
6104 lt_globsym_save_CFLAGS=$CFLAGS
6105 LIBS=conftstm.$ac_objext
6106 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6107 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6108 (eval $ac_link) 2>&5
6110 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6111 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6114 LIBS=$lt_globsym_save_LIBS
6115 CFLAGS=$lt_globsym_save_CFLAGS
6117 echo "cannot
find nm_test_func
in $nlist" >&5
6120 echo "cannot
find nm_test_var
in $nlist" >&5
6123 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6126 echo "$progname: failed program was
:" >&5
6127 cat conftest.$ac_ext >&5
6129 rm -rf conftest* conftst*
6131 # Do not use the global_symbol_pipe unless it works.
6132 if test yes = "$pipe_works"; then
6135 lt_cv_sys_global_symbol_pipe=
6141 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6142 lt_cv_sys_global_symbol_to_cdecl=
6144 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6146 $as_echo "failed
" >&6; }
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6149 $as_echo "ok
" >&6; }
6152 # Response file support.
6153 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6154 nm_file_list_spec='@'
6155 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6156 nm_file_list_spec='@'
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6196 $as_echo_n "checking
for sysroot...
" >&6; }
6198 # Check whether --with-sysroot was given.
6199 if test "${with_sysroot+set}" = set; then :
6200 withval=$with_sysroot;
6207 case $with_sysroot in #(
6209 if test yes = "$GCC"; then
6210 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6214 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6220 $as_echo "$with_sysroot" >&6; }
6221 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6226 $as_echo "${lt_sysroot:-no}" >&6; }
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6233 $as_echo_n "checking
for a working
dd...
" >&6; }
6234 if ${ac_cv_path_lt_DD+:} false; then :
6235 $as_echo_n "(cached
) " >&6
6237 printf 0123456789abcdef0123456789abcdef >conftest.i
6238 cat conftest.i conftest.i >conftest2.i
6240 if test -z "$lt_DD"; then
6241 ac_path_lt_DD_found=false
6242 # Loop through the user's path and test for each of PROGNAME-LIST
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 test -z "$as_dir" && as_dir=.
6248 for ac_prog in dd; do
6249 for ac_exec_ext in '' $ac_executable_extensions; do
6250 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6251 as_fn_executable_p "$ac_path_lt_DD" || continue
6252 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6253 cmp -s conftest.i conftest.out \
6254 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6256 $ac_path_lt_DD_found && break 3
6261 if test -z "$ac_cv_path_lt_DD"; then
6265 ac_cv_path_lt_DD=$lt_DD
6268 rm -f conftest.i conftest2.i conftest.out
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6271 $as_echo "$ac_cv_path_lt_DD" >&6; }
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6275 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6276 if ${lt_cv_truncate_bin+:} false; then :
6277 $as_echo_n "(cached
) " >&6
6279 printf 0123456789abcdef0123456789abcdef >conftest.i
6280 cat conftest.i conftest.i >conftest2.i
6282 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6283 cmp -s conftest.i conftest.out \
6284 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6286 rm -f conftest.i conftest2.i conftest.out
6287 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6290 $as_echo "$lt_cv_truncate_bin" >&6; }
6298 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6301 for cc_temp in $*""; do
6303 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6304 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6309 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6312 # Check whether --enable-libtool-lock was given.
6313 if test "${enable_libtool_lock+set}" = set; then :
6314 enableval=$enable_libtool_lock;
6317 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6319 # Some flags need to be propagated to the compiler or linker for good
6323 # Find out what ABI is being produced by ac_compile, and set mode
6324 # options accordingly.
6325 echo 'int i;' > conftest.$ac_ext
6326 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327 (eval $ac_compile) 2>&5
6329 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6330 test $ac_status = 0; }; then
6331 case `/usr/bin/file conftest.$ac_objext` in
6343 # Find out what ABI is being produced by ac_compile, and set linker
6344 # options accordingly.
6345 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6346 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6347 (eval $ac_compile) 2>&5
6349 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6350 test $ac_status = 0; }; then
6351 if test yes = "$lt_cv_prog_gnu_ld"; then
6352 case `/usr/bin/file conftest.$ac_objext` in
6354 LD="${LD-ld} -melf32bsmip"
6357 LD="${LD-ld} -melf32bmipn32"
6360 LD="${LD-ld} -melf64bmip"
6364 case `/usr/bin/file conftest.$ac_objext` in
6381 # Find out what ABI is being produced by ac_compile, and set linker
6382 # options accordingly.
6383 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6384 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6385 (eval $ac_compile) 2>&5
6387 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6388 test $ac_status = 0; }; then
6390 case `/usr/bin/file conftest.$ac_objext` in
6398 case `/usr/bin/file conftest.$ac_objext` in
6400 emul="${emul}btsmip
"
6403 emul="${emul}ltsmip
"
6406 case `/usr/bin/file conftest.$ac_objext` in
6411 LD="${LD-ld} -m $emul"
6416 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6417 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6418 # Find out what ABI is being produced by ac_compile, and set linker
6419 # options accordingly. Note that the listed cases only cover the
6420 # situations where additional linker options are needed (such as when
6421 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6422 # vice versa); the common cases where no linker options are needed do
6423 # not appear in the list.
6424 echo 'int i;' > conftest.$ac_ext
6425 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6426 (eval $ac_compile) 2>&5
6428 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6429 test $ac_status = 0; }; then
6430 case `/usr/bin/file conftest.o` in
6433 x86_64-*kfreebsd*-gnu)
6434 LD="${LD-ld} -m elf_i386_fbsd
"
6437 case `/usr/bin/file conftest.o` in
6439 LD="${LD-ld} -m elf32_x86_64
"
6442 LD="${LD-ld} -m elf_i386
"
6446 powerpc64le-*linux*)
6447 LD="${LD-ld} -m elf32lppclinux
"
6450 LD="${LD-ld} -m elf32ppclinux
"
6453 LD="${LD-ld} -m elf_s390
"
6456 LD="${LD-ld} -m elf32_sparc
"
6462 x86_64-*kfreebsd*-gnu)
6463 LD="${LD-ld} -m elf_x86_64_fbsd
"
6466 LD="${LD-ld} -m elf_x86_64
"
6469 LD="${LD-ld} -m elf64lppc
"
6472 LD="${LD-ld} -m elf64ppc
"
6474 s390*-*linux*|s390*-*tpf*)
6475 LD="${LD-ld} -m elf64_s390
"
6478 LD="${LD-ld} -m elf64_sparc
"
6488 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6490 CFLAGS="$CFLAGS -belf"
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6492 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6493 if ${lt_cv_cc_needs_belf+:} false; then :
6494 $as_echo_n "(cached
) " >&6
6497 ac_cpp='$CPP $CPPFLAGS'
6498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6513 if ac_fn_c_try_link "$LINENO"; then :
6514 lt_cv_cc_needs_belf=yes
6516 lt_cv_cc_needs_belf=no
6518 rm -f core conftest.err conftest.$ac_objext \
6519 conftest$ac_exeext conftest.$ac_ext
6521 ac_cpp='$CPP $CPPFLAGS'
6522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6528 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6529 if test yes != "$lt_cv_cc_needs_belf"; then
6530 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6535 # Find out what ABI is being produced by ac_compile, and set linker
6536 # options accordingly.
6537 echo 'int i;' > conftest.$ac_ext
6538 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6539 (eval $ac_compile) 2>&5
6541 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6542 test $ac_status = 0; }; then
6543 case `/usr/bin/file conftest.o` in
6545 case $lt_cv_prog_gnu_ld in
6548 i?86-*-solaris*|x86_64-*-solaris*)
6549 LD="${LD-ld} -m elf_x86_64
"
6552 LD="${LD-ld} -m elf64_sparc
"
6555 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6556 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6561 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6573 need_locks=$enable_libtool_lock
6575 if test -n "$ac_tool_prefix"; then
6576 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6577 set dummy ${ac_tool_prefix}mt; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6579 $as_echo_n "checking
for $ac_word...
" >&6; }
6580 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6581 $as_echo_n "(cached
) " >&6
6583 if test -n "$MANIFEST_TOOL"; then
6584 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6603 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6604 if test -n "$MANIFEST_TOOL"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6606 $as_echo "$MANIFEST_TOOL" >&6; }
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6609 $as_echo "no
" >&6; }
6614 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6615 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6616 # Extract the first word of "mt
", so it can be a program name with args.
6617 set dummy mt; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6619 $as_echo_n "checking
for $ac_word...
" >&6; }
6620 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6621 $as_echo_n "(cached
) " >&6
6623 if test -n "$ac_ct_MANIFEST_TOOL"; then
6624 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6643 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6644 if test -n "$ac_ct_MANIFEST_TOOL"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6646 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6649 $as_echo "no
" >&6; }
6652 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6655 case $cross_compiling:$ac_tool_warned in
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6658 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6659 ac_tool_warned=yes ;;
6661 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6664 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6667 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6669 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6670 if ${lt_cv_path_mainfest_tool+:} false; then :
6671 $as_echo_n "(cached
) " >&6
6673 lt_cv_path_mainfest_tool=no
6674 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6675 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6676 cat conftest.err >&5
6677 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6678 lt_cv_path_mainfest_tool=yes
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6683 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6684 if test yes != "$lt_cv_path_mainfest_tool"; then
6694 rhapsody* | darwin*)
6695 if test -n "$ac_tool_prefix"; then
6696 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6697 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6699 $as_echo_n "checking
for $ac_word...
" >&6; }
6700 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6701 $as_echo_n "(cached
) " >&6
6703 if test -n "$DSYMUTIL"; then
6704 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6723 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6724 if test -n "$DSYMUTIL"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6726 $as_echo "$DSYMUTIL" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6729 $as_echo "no
" >&6; }
6734 if test -z "$ac_cv_prog_DSYMUTIL"; then
6735 ac_ct_DSYMUTIL=$DSYMUTIL
6736 # Extract the first word of "dsymutil
", so it can be a program name with args.
6737 set dummy dsymutil; ac_word=$2
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6739 $as_echo_n "checking
for $ac_word...
" >&6; }
6740 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6741 $as_echo_n "(cached
) " >&6
6743 if test -n "$ac_ct_DSYMUTIL"; then
6744 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 test -z "$as_dir" && as_dir=.
6751 for ac_exec_ext in '' $ac_executable_extensions; do
6752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6753 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6763 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6764 if test -n "$ac_ct_DSYMUTIL"; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6766 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6769 $as_echo "no
" >&6; }
6772 if test "x
$ac_ct_DSYMUTIL" = x; then
6775 case $cross_compiling:$ac_tool_warned in
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6778 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6779 ac_tool_warned=yes ;;
6781 DSYMUTIL=$ac_ct_DSYMUTIL
6784 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6787 if test -n "$ac_tool_prefix"; then
6788 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6789 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6791 $as_echo_n "checking
for $ac_word...
" >&6; }
6792 if ${ac_cv_prog_NMEDIT+:} false; then :
6793 $as_echo_n "(cached
) " >&6
6795 if test -n "$NMEDIT"; then
6796 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6815 NMEDIT=$ac_cv_prog_NMEDIT
6816 if test -n "$NMEDIT"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6818 $as_echo "$NMEDIT" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6821 $as_echo "no
" >&6; }
6826 if test -z "$ac_cv_prog_NMEDIT"; then
6827 ac_ct_NMEDIT=$NMEDIT
6828 # Extract the first word of "nmedit
", so it can be a program name with args.
6829 set dummy nmedit; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6831 $as_echo_n "checking
for $ac_word...
" >&6; }
6832 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6833 $as_echo_n "(cached
) " >&6
6835 if test -n "$ac_ct_NMEDIT"; then
6836 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6855 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6856 if test -n "$ac_ct_NMEDIT"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6858 $as_echo "$ac_ct_NMEDIT" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6861 $as_echo "no
" >&6; }
6864 if test "x
$ac_ct_NMEDIT" = x; then
6867 case $cross_compiling:$ac_tool_warned in
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6870 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6871 ac_tool_warned=yes ;;
6873 NMEDIT=$ac_ct_NMEDIT
6876 NMEDIT="$ac_cv_prog_NMEDIT"
6879 if test -n "$ac_tool_prefix"; then
6880 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6881 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6883 $as_echo_n "checking
for $ac_word...
" >&6; }
6884 if ${ac_cv_prog_LIPO+:} false; then :
6885 $as_echo_n "(cached
) " >&6
6887 if test -n "$LIPO"; then
6888 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6897 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6907 LIPO=$ac_cv_prog_LIPO
6908 if test -n "$LIPO"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6910 $as_echo "$LIPO" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6913 $as_echo "no
" >&6; }
6918 if test -z "$ac_cv_prog_LIPO"; then
6920 # Extract the first word of "lipo
", so it can be a program name with args.
6921 set dummy lipo; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6923 $as_echo_n "checking
for $ac_word...
" >&6; }
6924 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6925 $as_echo_n "(cached
) " >&6
6927 if test -n "$ac_ct_LIPO"; then
6928 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937 ac_cv_prog_ac_ct_LIPO="lipo
"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6947 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6948 if test -n "$ac_ct_LIPO"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6950 $as_echo "$ac_ct_LIPO" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6953 $as_echo "no
" >&6; }
6956 if test "x
$ac_ct_LIPO" = x; then
6959 case $cross_compiling:$ac_tool_warned in
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6962 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6963 ac_tool_warned=yes ;;
6968 LIPO="$ac_cv_prog_LIPO"
6971 if test -n "$ac_tool_prefix"; then
6972 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6973 set dummy ${ac_tool_prefix}otool; ac_word=$2
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6975 $as_echo_n "checking
for $ac_word...
" >&6; }
6976 if ${ac_cv_prog_OTOOL+:} false; then :
6977 $as_echo_n "(cached
) " >&6
6979 if test -n "$OTOOL"; then
6980 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 test -z "$as_dir" && as_dir=.
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6999 OTOOL=$ac_cv_prog_OTOOL
7000 if test -n "$OTOOL"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7002 $as_echo "$OTOOL" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7005 $as_echo "no
" >&6; }
7010 if test -z "$ac_cv_prog_OTOOL"; then
7012 # Extract the first word of "otool
", so it can be a program name with args.
7013 set dummy otool; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7015 $as_echo_n "checking
for $ac_word...
" >&6; }
7016 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7017 $as_echo_n "(cached
) " >&6
7019 if test -n "$ac_ct_OTOOL"; then
7020 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_ac_ct_OTOOL="otool
"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7039 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7040 if test -n "$ac_ct_OTOOL"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7042 $as_echo "$ac_ct_OTOOL" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7045 $as_echo "no
" >&6; }
7048 if test "x
$ac_ct_OTOOL" = x; then
7051 case $cross_compiling:$ac_tool_warned in
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7054 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7055 ac_tool_warned=yes ;;
7060 OTOOL="$ac_cv_prog_OTOOL"
7063 if test -n "$ac_tool_prefix"; then
7064 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7065 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7067 $as_echo_n "checking
for $ac_word...
" >&6; }
7068 if ${ac_cv_prog_OTOOL64+:} false; then :
7069 $as_echo_n "(cached
) " >&6
7071 if test -n "$OTOOL64"; then
7072 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7091 OTOOL64=$ac_cv_prog_OTOOL64
7092 if test -n "$OTOOL64"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7094 $as_echo "$OTOOL64" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7097 $as_echo "no
" >&6; }
7102 if test -z "$ac_cv_prog_OTOOL64"; then
7103 ac_ct_OTOOL64=$OTOOL64
7104 # Extract the first word of "otool64
", so it can be a program name with args.
7105 set dummy otool64; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7107 $as_echo_n "checking
for $ac_word...
" >&6; }
7108 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7109 $as_echo_n "(cached
) " >&6
7111 if test -n "$ac_ct_OTOOL64"; then
7112 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7131 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7132 if test -n "$ac_ct_OTOOL64"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7134 $as_echo "$ac_ct_OTOOL64" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7137 $as_echo "no
" >&6; }
7140 if test "x
$ac_ct_OTOOL64" = x; then
7143 case $cross_compiling:$ac_tool_warned in
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7146 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7147 ac_tool_warned=yes ;;
7149 OTOOL64=$ac_ct_OTOOL64
7152 OTOOL64="$ac_cv_prog_OTOOL64"
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7182 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7183 if ${lt_cv_apple_cc_single_mod+:} false; then :
7184 $as_echo_n "(cached
) " >&6
7186 lt_cv_apple_cc_single_mod=no
7187 if test -z "$LT_MULTI_MODULE"; then
7188 # By default we will add the -single_module flag. You can override
7189 # by either setting the environment variable LT_MULTI_MODULE
7190 # non-empty at configure time, or by adding -multi_module to the
7192 rm -rf libconftest.dylib*
7193 echo "int foo
(void
){return 1;}" > conftest.c
7194 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7195 -dynamiclib -Wl,-single_module conftest.c
" >&5
7196 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7197 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7199 # If there is a non-empty error log, and "single_module
"
7200 # appears in it, assume the flag caused a linker warning
7201 if test -s conftest.err && $GREP single_module conftest.err; then
7202 cat conftest.err >&5
7203 # Otherwise, if the output was created with a 0 exit code from
7204 # the compiler, it worked.
7205 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7206 lt_cv_apple_cc_single_mod=yes
7208 cat conftest.err >&5
7210 rm -rf libconftest.dylib*
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7215 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7218 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7219 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7220 $as_echo_n "(cached
) " >&6
7222 lt_cv_ld_exported_symbols_list=no
7223 save_LDFLAGS=$LDFLAGS
7224 echo "_main
" > conftest.sym
7225 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7227 /* end confdefs.h. */
7237 if ac_fn_c_try_link "$LINENO"; then :
7238 lt_cv_ld_exported_symbols_list=yes
7240 lt_cv_ld_exported_symbols_list=no
7242 rm -f core conftest.err conftest.$ac_objext \
7243 conftest$ac_exeext conftest.$ac_ext
7244 LDFLAGS=$save_LDFLAGS
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7248 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7251 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7252 if ${lt_cv_ld_force_load+:} false; then :
7253 $as_echo_n "(cached
) " >&6
7255 lt_cv_ld_force_load=no
7256 cat > conftest.c << _LT_EOF
7257 int forced_loaded() { return 2;}
7259 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7260 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7261 echo "$AR cru libconftest.a conftest.o
" >&5
7262 $AR cru libconftest.a conftest.o 2>&5
7263 echo "$RANLIB libconftest.a
" >&5
7264 $RANLIB libconftest.a 2>&5
7265 cat > conftest.c << _LT_EOF
7266 int main() { return 0;}
7268 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7269 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7271 if test -s conftest.err && $GREP force_load conftest.err; then
7272 cat conftest.err >&5
7273 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7274 lt_cv_ld_force_load=yes
7276 cat conftest.err >&5
7278 rm -f conftest.err libconftest.a conftest conftest.c
7279 rm -rf conftest.dSYM
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7283 $as_echo "$lt_cv_ld_force_load" >&6; }
7285 rhapsody* | darwin1.[012])
7286 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7288 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7289 darwin*) # darwin 5.x on
7290 # if running on 10.5 or later, the deployment target defaults
7291 # to the OS version, if on x86, and 10.4, the deployment
7292 # target defaults to 10.4. Don't you love it?
7293 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7294 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7295 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7297 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7299 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7303 if test yes = "$lt_cv_apple_cc_single_mod"; then
7304 _lt_dar_single_mod='$single_module'
7306 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7307 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7309 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7311 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7312 _lt_dsymutil='~$DSYMUTIL $lib || :'
7319 # func_munge_path_list VARIABLE PATH
7320 # -----------------------------------
7321 # VARIABLE is name of variable containing _space_ separated list of
7322 # directories to be munged by the contents of PATH, which is string
7325 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7327 # string "DIR
[ DIR
]" will be appended to VARIABLE
7328 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7329 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7330 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7332 # VARIABLE will be replaced by "DIR
[ DIR
]"
7333 func_munge_path_list ()
7339 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7342 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7345 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7346 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7349 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7355 ac_cpp='$CPP $CPPFLAGS'
7356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7360 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7361 # On Suns, sometimes $CPP names a directory.
7362 if test -n "$CPP" && test -d "$CPP"; then
7365 if test -z "$CPP"; then
7366 if ${ac_cv_prog_CPP+:} false; then :
7367 $as_echo_n "(cached
) " >&6
7369 # Double quotes because CPP needs to be expanded
7370 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7373 for ac_c_preproc_warn_flag in '' yes
7375 # Use a header file that comes with gcc, so configuring glibc
7376 # with a fresh cross-compiler works.
7377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7378 # <limits.h> exists even on freestanding compilers.
7379 # On the NeXT, cc -E runs the code through the compiler's parser,
7380 # not just through cpp. "Syntax error
" is here to catch this case.
7381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7382 /* end confdefs.h. */
7384 # include <limits.h>
7386 # include <assert.h>
7390 if ac_fn_c_try_cpp "$LINENO"; then :
7393 # Broken: fails on valid input.
7396 rm -f conftest.err conftest.i conftest.$ac_ext
7398 # OK, works on sane cases. Now check whether nonexistent headers
7399 # can be detected and how.
7400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7401 /* end confdefs.h. */
7402 #include <ac_nonexistent.h>
7404 if ac_fn_c_try_cpp "$LINENO"; then :
7405 # Broken: success on invalid input.
7408 # Passes both tests.
7412 rm -f conftest.err conftest.i conftest.$ac_ext
7415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7416 rm -f conftest.i conftest.err conftest.$ac_ext
7417 if $ac_preproc_ok; then :
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7430 $as_echo "$CPP" >&6; }
7432 for ac_c_preproc_warn_flag in '' yes
7434 # Use a header file that comes with gcc, so configuring glibc
7435 # with a fresh cross-compiler works.
7436 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7437 # <limits.h> exists even on freestanding compilers.
7438 # On the NeXT, cc -E runs the code through the compiler's parser,
7439 # not just through cpp. "Syntax error
" is here to catch this case.
7440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7441 /* end confdefs.h. */
7443 # include <limits.h>
7445 # include <assert.h>
7449 if ac_fn_c_try_cpp "$LINENO"; then :
7452 # Broken: fails on valid input.
7455 rm -f conftest.err conftest.i conftest.$ac_ext
7457 # OK, works on sane cases. Now check whether nonexistent headers
7458 # can be detected and how.
7459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460 /* end confdefs.h. */
7461 #include <ac_nonexistent.h>
7463 if ac_fn_c_try_cpp "$LINENO"; then :
7464 # Broken: success on invalid input.
7467 # Passes both tests.
7471 rm -f conftest.err conftest.i conftest.$ac_ext
7474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7475 rm -f conftest.i conftest.err conftest.$ac_ext
7476 if $ac_preproc_ok; then :
7479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7481 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7482 See \`config.log' for more details
" "$LINENO" 5; }
7486 ac_cpp='$CPP $CPPFLAGS'
7487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7493 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7494 if ${ac_cv_header_stdc+:} false; then :
7495 $as_echo_n "(cached
) " >&6
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7512 if ac_fn_c_try_compile "$LINENO"; then :
7513 ac_cv_header_stdc=yes
7515 ac_cv_header_stdc=no
7517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7519 if test $ac_cv_header_stdc = yes; then
7520 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7526 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7527 $EGREP "memchr
" >/dev/null 2>&1; then :
7530 ac_cv_header_stdc=no
7536 if test $ac_cv_header_stdc = yes; then
7537 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7543 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7544 $EGREP "free
" >/dev/null 2>&1; then :
7547 ac_cv_header_stdc=no
7553 if test $ac_cv_header_stdc = yes; then
7554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7555 if test "$cross_compiling" = yes; then :
7558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7562 #if ((' ' & 0x0FF) == 0x020)
7563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7566 # define ISLOWER(c) \
7567 (('a' <= (c) && (c) <= 'i') \
7568 || ('j' <= (c) && (c) <= 'r') \
7569 || ('s' <= (c) && (c) <= 'z'))
7570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7578 for (i = 0; i < 256; i++)
7579 if (XOR (islower (i), ISLOWER (i))
7580 || toupper (i) != TOUPPER (i))
7585 if ac_fn_c_try_run "$LINENO"; then :
7588 ac_cv_header_stdc=no
7590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7591 conftest.$ac_objext conftest.beam conftest.$ac_ext
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7597 $as_echo "$ac_cv_header_stdc" >&6; }
7598 if test $ac_cv_header_stdc = yes; then
7600 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7605 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7606 inttypes.h stdint.h unistd.h
7608 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7609 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7611 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7612 cat >>confdefs.h
<<_ACEOF
7613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7621 for ac_header
in dlfcn.h
7623 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7625 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7626 cat >>confdefs.h
<<_ACEOF
7627 #define HAVE_DLFCN_H 1
7648 # Check whether --enable-shared was given.
7649 if test "${enable_shared+set}" = set; then :
7650 enableval
=$enable_shared; p
=${PACKAGE-default}
7652 yes) enable_shared
=yes ;;
7653 no
) enable_shared
=no
;;
7656 # Look at the argument we got. We use all the common list separators.
7657 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7658 for pkg
in $enableval; do
7660 if test "X$pkg" = "X$p"; then
7679 # Check whether --enable-static was given.
7680 if test "${enable_static+set}" = set; then :
7681 enableval
=$enable_static; p
=${PACKAGE-default}
7683 yes) enable_static
=yes ;;
7684 no
) enable_static
=no
;;
7687 # Look at the argument we got. We use all the common list separators.
7688 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7689 for pkg
in $enableval; do
7691 if test "X$pkg" = "X$p"; then
7711 # Check whether --with-pic was given.
7712 if test "${with_pic+set}" = set; then :
7713 withval
=$with_pic; lt_p
=${PACKAGE-default}
7715 yes|no
) pic_mode
=$withval ;;
7718 # Look at the argument we got. We use all the common list separators.
7719 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7720 for lt_pkg
in $withval; do
7722 if test "X$lt_pkg" = "X$lt_p"; then
7740 # Check whether --enable-fast-install was given.
7741 if test "${enable_fast_install+set}" = set; then :
7742 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7744 yes) enable_fast_install
=yes ;;
7745 no
) enable_fast_install
=no
;;
7747 enable_fast_install
=no
7748 # Look at the argument we got. We use all the common list separators.
7749 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7750 for pkg
in $enableval; do
7752 if test "X$pkg" = "X$p"; then
7753 enable_fast_install
=yes
7760 enable_fast_install
=yes
7770 shared_archive_member_spec
=
7771 case $host,$enable_shared in
7772 power
*-*-aix[5-9]*,yes)
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7774 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7776 # Check whether --with-aix-soname was given.
7777 if test "${with_aix_soname+set}" = set; then :
7778 withval
=$with_aix_soname; case $withval in
7782 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7785 lt_cv_with_aix_soname
=$with_aix_soname
7787 if ${lt_cv_with_aix_soname+:} false
; then :
7788 $as_echo_n "(cached) " >&6
7790 lt_cv_with_aix_soname
=aix
7793 with_aix_soname
=$lt_cv_with_aix_soname
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7797 $as_echo "$with_aix_soname" >&6; }
7798 if test aix
!= "$with_aix_soname"; then
7799 # For the AIX way of multilib, we name the shared archive member
7800 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7801 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7802 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7803 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7804 if test 64 = "${OBJECT_MODE-32}"; then
7805 shared_archive_member_spec
=shr_64
7807 shared_archive_member_spec
=shr
7825 # This can be used to rebuild libtool when needed
7826 LIBTOOL_DEPS
=$ltmain
7828 # Always use our own libtool.
7829 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7860 test -z "$LN_S" && LN_S
="ln -s"
7875 if test -n "${ZSH_VERSION+set}"; then
7876 setopt NO_GLOB_SUBST
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7880 $as_echo_n "checking for objdir... " >&6; }
7881 if ${lt_cv_objdir+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7884 rm -f .libs
2>/dev
/null
7885 mkdir .libs
2>/dev
/null
7886 if test -d .libs
; then
7889 # MS-DOS does not allow filenames that begin with a dot.
7892 rmdir .libs
2>/dev
/null
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7895 $as_echo "$lt_cv_objdir" >&6; }
7896 objdir
=$lt_cv_objdir
7902 cat >>confdefs.h
<<_ACEOF
7903 #define LT_OBJDIR "$lt_cv_objdir/"
7911 # AIX sometimes has problems with the GCC collect2 program. For some
7912 # reason, if we set the COLLECT_NAMES environment variable, the problems
7913 # vanish in a puff of smoke.
7914 if test set != "${COLLECT_NAMES+set}"; then
7916 export COLLECT_NAMES
7923 can_build_shared
=yes
7925 # All known linkers require a '.a' archive for static linking (except MSVC,
7926 # which needs '.lib').
7929 with_gnu_ld
=$lt_cv_prog_gnu_ld
7934 # Set sane defaults for various variables
7935 test -z "$CC" && CC
=cc
7936 test -z "$LTCC" && LTCC
=$CC
7937 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7938 test -z "$LD" && LD
=ld
7939 test -z "$ac_objext" && ac_objext
=o
7941 func_cc_basename
$compiler
7942 cc_basename
=$func_cc_basename_result
7945 # Only perform the check for file, if the check method requires it
7946 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7947 case $deplibs_check_method in
7949 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7951 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7952 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7953 $as_echo_n "(cached) " >&6
7957 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
7960 lt_save_MAGIC_CMD
=$MAGIC_CMD
7961 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
7962 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7963 for ac_dir
in $ac_dummy; do
7965 test -z "$ac_dir" && ac_dir
=.
7966 if test -f "$ac_dir/${ac_tool_prefix}file"; then
7967 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
7968 if test -n "$file_magic_test_file"; then
7969 case $deplibs_check_method in
7971 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7972 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
7973 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7974 $EGREP "$file_magic_regex" > /dev
/null
; then
7979 *** Warning: the command libtool uses to detect shared libraries,
7980 *** $file_magic_cmd, produces output that libtool cannot recognize.
7981 *** The result is that libtool may fail to recognize shared libraries
7982 *** as such. This will affect the creation of libtool libraries that
7983 *** depend on shared libraries, but programs linked with such libtool
7984 *** libraries will work regardless of this problem. Nevertheless, you
7985 *** may want to report the problem to your system manager and/or to
7986 *** bug-libtool@gnu.org
7996 MAGIC_CMD
=$lt_save_MAGIC_CMD
8001 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8002 if test -n "$MAGIC_CMD"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8004 $as_echo "$MAGIC_CMD" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8014 if test -z "$lt_cv_path_MAGIC_CMD"; then
8015 if test -n "$ac_tool_prefix"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8017 $as_echo_n "checking for file... " >&6; }
8018 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8019 $as_echo_n "(cached) " >&6
8023 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8026 lt_save_MAGIC_CMD
=$MAGIC_CMD
8027 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8028 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8029 for ac_dir
in $ac_dummy; do
8031 test -z "$ac_dir" && ac_dir
=.
8032 if test -f "$ac_dir/file"; then
8033 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8034 if test -n "$file_magic_test_file"; then
8035 case $deplibs_check_method in
8037 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8038 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8039 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8040 $EGREP "$file_magic_regex" > /dev
/null
; then
8045 *** Warning: the command libtool uses to detect shared libraries,
8046 *** $file_magic_cmd, produces output that libtool cannot recognize.
8047 *** The result is that libtool may fail to recognize shared libraries
8048 *** as such. This will affect the creation of libtool libraries that
8049 *** depend on shared libraries, but programs linked with such libtool
8050 *** libraries will work regardless of this problem. Nevertheless, you
8051 *** may want to report the problem to your system manager and/or to
8052 *** bug-libtool@gnu.org
8062 MAGIC_CMD
=$lt_save_MAGIC_CMD
8067 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8068 if test -n "$MAGIC_CMD"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8070 $as_echo "$MAGIC_CMD" >&6; }
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 $as_echo "no" >&6; }
8086 # Use C for the default configuration in the libtool script
8090 ac_cpp
='$CPP $CPPFLAGS'
8091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8096 # Source file extension for C test sources.
8099 # Object file extension for compiled C test sources.
8103 # Code to be used in simple compile tests
8104 lt_simple_compile_test_code
="int some_variable = 0;"
8106 # Code to be used in simple link tests
8107 lt_simple_link_test_code
='int main(){return(0);}'
8115 # If no C compiler was specified, use CC.
8118 # If no C compiler flags were specified, use CFLAGS.
8119 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8121 # Allow CC to be a program name with arguments.
8124 # Save the default compiler, since it gets overwritten when the other
8125 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8126 compiler_DEFAULT
=$CC
8128 # save warnings/boilerplate of simple test code
8129 ac_outfile
=conftest.
$ac_objext
8130 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8131 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8132 _lt_compiler_boilerplate
=`cat conftest.err`
8135 ac_outfile
=conftest.
$ac_objext
8136 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8137 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8138 _lt_linker_boilerplate
=`cat conftest.err`
8142 if test -n "$compiler"; then
8144 lt_prog_compiler_no_builtin_flag
=
8146 if test yes = "$GCC"; then
8147 case $cc_basename in
8149 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8151 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8155 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8156 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8157 $as_echo_n "(cached) " >&6
8159 lt_cv_prog_compiler_rtti_exceptions
=no
8160 ac_outfile
=conftest.
$ac_objext
8161 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8162 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8163 # Insert the option either (1) after the last *FLAGS variable, or
8164 # (2) before a word containing "conftest.", or (3) at the end.
8165 # Note that $ac_compile itself does not contain backslashes and begins
8166 # with a dollar sign (not a hyphen), so the echo should work correctly.
8167 # The option is referenced via a variable to avoid confusing sed.
8168 lt_compile
=`echo "$ac_compile" | $SED \
8169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8171 -e 's:$: $lt_compiler_flag:'`
8172 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8173 (eval "$lt_compile" 2>conftest.err
)
8175 cat conftest.err
>&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 if (exit $ac_status) && test -s "$ac_outfile"; then
8178 # The compiler can only warn and ignore the option if not recognized
8179 # So say no if there are warnings other than the usual output.
8180 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8181 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8182 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8183 lt_cv_prog_compiler_rtti_exceptions
=yes
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8190 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8192 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8193 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8205 lt_prog_compiler_wl
=
8206 lt_prog_compiler_pic
=
8207 lt_prog_compiler_static
=
8210 if test yes = "$GCC"; then
8211 lt_prog_compiler_wl
='-Wl,'
8212 lt_prog_compiler_static
='-static'
8216 # All AIX code is PIC.
8217 if test ia64
= "$host_cpu"; then
8218 # AIX 5 now supports IA64 processor
8219 lt_prog_compiler_static
='-Bstatic'
8221 lt_prog_compiler_pic
='-fPIC'
8227 # see comment about AmigaOS4 .so support
8228 lt_prog_compiler_pic
='-fPIC'
8231 # FIXME: we need at least 68020 code to build shared libraries, but
8232 # adding the '-m68020' flag to GCC prevents building anything better,
8234 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8239 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8240 # PIC is the default for these OSes.
8243 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8244 # This hack is so that the source file can tell whether it is being
8245 # built for inclusion in a dll (and should export symbols for example).
8246 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8247 # (--disable-auto-import) libraries
8248 lt_prog_compiler_pic
='-DDLL_EXPORT'
8251 lt_prog_compiler_static
='$wl-static'
8256 darwin
* | rhapsody
*)
8257 # PIC is the default on this platform
8258 # Common symbols not allowed in MH_DYLIB files
8259 lt_prog_compiler_pic
='-fno-common'
8263 # PIC is the default for Haiku.
8264 # The "-static" flag exists, but is broken.
8265 lt_prog_compiler_static
=
8269 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8270 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8271 # sets the default TLS model and affects inlining.
8277 lt_prog_compiler_pic
='-fPIC'
8283 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8284 # Instead, we relocate shared libraries at runtime.
8288 # Just because we use GCC doesn't mean we suddenly get shared libraries
8289 # on systems that don't support them.
8290 lt_prog_compiler_can_build_shared
=no
8295 # QNX uses GNU C++, but need to define -shared option too, otherwise
8297 lt_prog_compiler_pic
='-fPIC -shared'
8301 if test -d /usr
/nec
; then
8302 lt_prog_compiler_pic
=-Kconform_pic
8307 lt_prog_compiler_pic
='-fPIC'
8311 case $cc_basename in
8312 nvcc
*) # Cuda Compiler Driver 2.2
8313 lt_prog_compiler_wl
='-Xlinker '
8314 if test -n "$lt_prog_compiler_pic"; then
8315 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8320 # PORTME Check for flag to pass linker flags through the system compiler.
8323 lt_prog_compiler_wl
='-Wl,'
8324 if test ia64
= "$host_cpu"; then
8325 # AIX 5 now supports IA64 processor
8326 lt_prog_compiler_static
='-Bstatic'
8328 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8332 darwin
* | rhapsody
*)
8333 # PIC is the default on this platform
8334 # Common symbols not allowed in MH_DYLIB files
8335 lt_prog_compiler_pic
='-fno-common'
8336 case $cc_basename in
8338 # NAG Fortran compiler
8339 lt_prog_compiler_wl
='-Wl,-Wl,,'
8340 lt_prog_compiler_pic
='-PIC'
8341 lt_prog_compiler_static
='-Bstatic'
8346 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8347 # This hack is so that the source file can tell whether it is being
8348 # built for inclusion in a dll (and should export symbols for example).
8349 lt_prog_compiler_pic
='-DDLL_EXPORT'
8352 lt_prog_compiler_static
='$wl-static'
8357 hpux9
* | hpux10
* | hpux11
*)
8358 lt_prog_compiler_wl
='-Wl,'
8359 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8366 lt_prog_compiler_pic
='+Z'
8369 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8370 lt_prog_compiler_static
='$wl-a ${wl}archive'
8373 irix5
* | irix6
* | nonstopux
*)
8374 lt_prog_compiler_wl
='-Wl,'
8375 # PIC (with -KPIC) is the default.
8376 lt_prog_compiler_static
='-non_shared'
8379 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8380 case $cc_basename in
8381 # old Intel for x86_64, which still supported -KPIC.
8383 lt_prog_compiler_wl
='-Wl,'
8384 lt_prog_compiler_pic
='-KPIC'
8385 lt_prog_compiler_static
='-static'
8387 # icc used to be incompatible with GCC.
8388 # ICC 10 doesn't accept -KPIC any more.
8390 lt_prog_compiler_wl
='-Wl,'
8391 lt_prog_compiler_pic
='-fPIC'
8392 lt_prog_compiler_static
='-static'
8394 # Lahey Fortran 8.1.
8396 lt_prog_compiler_wl
='-Wl,'
8397 lt_prog_compiler_pic
='--shared'
8398 lt_prog_compiler_static
='--static'
8401 # NAG Fortran compiler
8402 lt_prog_compiler_wl
='-Wl,-Wl,,'
8403 lt_prog_compiler_pic
='-PIC'
8404 lt_prog_compiler_static
='-Bstatic'
8407 # Fabrice Bellard et al's Tiny C Compiler
8408 lt_prog_compiler_wl
='-Wl,'
8409 lt_prog_compiler_pic
='-fPIC'
8410 lt_prog_compiler_static
='-static'
8412 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8413 # Portland Group compilers (*not* the Pentium gcc compiler,
8414 # which looks to be a dead project)
8415 lt_prog_compiler_wl
='-Wl,'
8416 lt_prog_compiler_pic
='-fpic'
8417 lt_prog_compiler_static
='-Bstatic'
8420 lt_prog_compiler_wl
='-Wl,'
8421 # All Alpha code is PIC.
8422 lt_prog_compiler_static
='-non_shared'
8424 xl
* | bgxl
* | bgf
* | mpixl
*)
8425 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8426 lt_prog_compiler_wl
='-Wl,'
8427 lt_prog_compiler_pic
='-qpic'
8428 lt_prog_compiler_static
='-qstaticlink'
8431 case `$CC -V 2>&1 | sed 5q` in
8432 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8433 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8434 lt_prog_compiler_pic
='-KPIC'
8435 lt_prog_compiler_static
='-Bstatic'
8436 lt_prog_compiler_wl
=''
8438 *Sun\ F
* |
*Sun
*Fortran
*)
8439 lt_prog_compiler_pic
='-KPIC'
8440 lt_prog_compiler_static
='-Bstatic'
8441 lt_prog_compiler_wl
='-Qoption ld '
8445 lt_prog_compiler_pic
='-KPIC'
8446 lt_prog_compiler_static
='-Bstatic'
8447 lt_prog_compiler_wl
='-Wl,'
8449 *Intel
*\
[CF
]*Compiler
*)
8450 lt_prog_compiler_wl
='-Wl,'
8451 lt_prog_compiler_pic
='-fPIC'
8452 lt_prog_compiler_static
='-static'
8455 lt_prog_compiler_wl
='-Wl,'
8456 lt_prog_compiler_pic
='-fpic'
8457 lt_prog_compiler_static
='-Bstatic'
8465 lt_prog_compiler_pic
='-KPIC'
8466 lt_prog_compiler_static
='-Bstatic'
8470 # QNX uses GNU C++, but need to define -shared option too, otherwise
8472 lt_prog_compiler_pic
='-fPIC -shared'
8475 osf3
* | osf4
* | osf5
*)
8476 lt_prog_compiler_wl
='-Wl,'
8477 # All OSF/1 code is PIC.
8478 lt_prog_compiler_static
='-non_shared'
8482 lt_prog_compiler_static
='-non_shared'
8486 lt_prog_compiler_pic
='-KPIC'
8487 lt_prog_compiler_static
='-Bstatic'
8488 case $cc_basename in
8489 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8490 lt_prog_compiler_wl
='-Qoption ld ';;
8492 lt_prog_compiler_wl
='-Wl,';;
8497 lt_prog_compiler_wl
='-Qoption ld '
8498 lt_prog_compiler_pic
='-PIC'
8499 lt_prog_compiler_static
='-Bstatic'
8502 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8503 lt_prog_compiler_wl
='-Wl,'
8504 lt_prog_compiler_pic
='-KPIC'
8505 lt_prog_compiler_static
='-Bstatic'
8509 if test -d /usr
/nec
; then
8510 lt_prog_compiler_pic
='-Kconform_pic'
8511 lt_prog_compiler_static
='-Bstatic'
8515 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8516 lt_prog_compiler_wl
='-Wl,'
8517 lt_prog_compiler_pic
='-KPIC'
8518 lt_prog_compiler_static
='-Bstatic'
8522 lt_prog_compiler_wl
='-Wl,'
8523 lt_prog_compiler_can_build_shared
=no
8527 lt_prog_compiler_pic
='-pic'
8528 lt_prog_compiler_static
='-Bstatic'
8532 lt_prog_compiler_can_build_shared
=no
8538 # For platforms that do not support PIC, -DPIC is meaningless:
8540 lt_prog_compiler_pic
=
8543 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8548 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8549 if ${lt_cv_prog_compiler_pic+:} false
; then :
8550 $as_echo_n "(cached) " >&6
8552 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8555 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8556 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8559 # Check to make sure the PIC flag actually works.
8561 if test -n "$lt_prog_compiler_pic"; then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8563 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8564 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8565 $as_echo_n "(cached) " >&6
8567 lt_cv_prog_compiler_pic_works
=no
8568 ac_outfile
=conftest.
$ac_objext
8569 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8570 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8571 # Insert the option either (1) after the last *FLAGS variable, or
8572 # (2) before a word containing "conftest.", or (3) at the end.
8573 # Note that $ac_compile itself does not contain backslashes and begins
8574 # with a dollar sign (not a hyphen), so the echo should work correctly.
8575 # The option is referenced via a variable to avoid confusing sed.
8576 lt_compile
=`echo "$ac_compile" | $SED \
8577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8579 -e 's:$: $lt_compiler_flag:'`
8580 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8581 (eval "$lt_compile" 2>conftest.err
)
8583 cat conftest.err
>&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 if (exit $ac_status) && test -s "$ac_outfile"; then
8586 # The compiler can only warn and ignore the option if not recognized
8587 # So say no if there are warnings other than the usual output.
8588 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8589 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8590 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8591 lt_cv_prog_compiler_pic_works
=yes
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8598 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8600 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8601 case $lt_prog_compiler_pic in
8603 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8606 lt_prog_compiler_pic
=
8607 lt_prog_compiler_can_build_shared
=no
8623 # Check to make sure the static flag actually works.
8625 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8627 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8628 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8629 $as_echo_n "(cached) " >&6
8631 lt_cv_prog_compiler_static_works
=no
8632 save_LDFLAGS
=$LDFLAGS
8633 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8634 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8635 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8636 # The linker can only warn and ignore the option if not recognized
8637 # So say no if there are warnings
8638 if test -s conftest.err
; then
8639 # Append any errors to the config.log.
8640 cat conftest.err
1>&5
8641 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8642 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8643 if diff conftest.exp conftest.er2
>/dev
/null
; then
8644 lt_cv_prog_compiler_static_works
=yes
8647 lt_cv_prog_compiler_static_works
=yes
8651 LDFLAGS
=$save_LDFLAGS
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8655 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8657 if test yes = "$lt_cv_prog_compiler_static_works"; then
8660 lt_prog_compiler_static
=
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8670 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8671 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8672 $as_echo_n "(cached) " >&6
8674 lt_cv_prog_compiler_c_o
=no
8675 $RM -r conftest
2>/dev
/null
8679 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8681 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8682 # Insert the option either (1) after the last *FLAGS variable, or
8683 # (2) before a word containing "conftest.", or (3) at the end.
8684 # Note that $ac_compile itself does not contain backslashes and begins
8685 # with a dollar sign (not a hyphen), so the echo should work correctly.
8686 lt_compile
=`echo "$ac_compile" | $SED \
8687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8689 -e 's:$: $lt_compiler_flag:'`
8690 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8691 (eval "$lt_compile" 2>out
/conftest.err
)
8693 cat out
/conftest.err
>&5
8694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8697 # The compiler can only warn and ignore the option if not recognized
8698 # So say no if there are warnings
8699 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8700 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8701 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8702 lt_cv_prog_compiler_c_o
=yes
8707 # SGI C++ compiler will create directory out/ii_files/ for
8708 # template instantiation
8709 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8710 $RM out
/* && rmdir out
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8717 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8725 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8726 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 lt_cv_prog_compiler_c_o
=no
8730 $RM -r conftest
2>/dev
/null
8734 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8736 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8737 # Insert the option either (1) after the last *FLAGS variable, or
8738 # (2) before a word containing "conftest.", or (3) at the end.
8739 # Note that $ac_compile itself does not contain backslashes and begins
8740 # with a dollar sign (not a hyphen), so the echo should work correctly.
8741 lt_compile
=`echo "$ac_compile" | $SED \
8742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8744 -e 's:$: $lt_compiler_flag:'`
8745 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8746 (eval "$lt_compile" 2>out
/conftest.err
)
8748 cat out
/conftest.err
>&5
8749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8752 # The compiler can only warn and ignore the option if not recognized
8753 # So say no if there are warnings
8754 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8755 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8756 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8757 lt_cv_prog_compiler_c_o
=yes
8762 # SGI C++ compiler will create directory out/ii_files/ for
8763 # template instantiation
8764 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8765 $RM out
/* && rmdir out
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8772 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8777 hard_links
=nottested
8778 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8779 # do not overwrite the value of need_locks provided by the user
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8781 $as_echo_n "checking if we can lock with hard links... " >&6; }
8784 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8786 ln conftest.a conftest.b
2>&5 || hard_links
=no
8787 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8789 $as_echo "$hard_links" >&6; }
8790 if test no
= "$hard_links"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8792 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8805 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8808 allow_undefined_flag
=
8809 always_export_symbols
=no
8811 archive_expsym_cmds
=
8812 compiler_needs_object
=no
8813 enable_shared_with_static_runtimes
=no
8814 export_dynamic_flag_spec
=
8815 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8816 hardcode_automatic
=no
8818 hardcode_direct_absolute
=no
8819 hardcode_libdir_flag_spec
=
8820 hardcode_libdir_separator
=
8822 hardcode_shlibpath_var
=unsupported
8824 link_all_deplibs
=unknown
8827 old_archive_from_new_cmds
=
8828 old_archive_from_expsyms_cmds
=
8829 thread_safe_flag_spec
=
8830 whole_archive_flag_spec
=
8831 # include_expsyms should be a list of space-separated symbols to be *always*
8832 # included in the symbol list
8834 # exclude_expsyms can be an extended regexp of symbols to exclude
8835 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8836 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8837 # as well as any symbol that contains 'd'.
8838 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8839 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8840 # platforms (ab)use it in PIC code, but their linkers get confused if
8841 # the symbol is explicitly referenced. Since portable code cannot
8842 # rely on this symbol name, it's probably fine to never include it in
8843 # preloaded symbol tables.
8844 # Exclude shared library initialization/finalization symbols.
8845 extract_expsyms_cmds
=
8848 cygwin
* | mingw
* | pw32
* | cegcc
*)
8849 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8850 # When not using gcc, we currently assume that we are using
8851 # Microsoft Visual C++.
8852 if test yes != "$GCC"; then
8857 # we just hope/assume this is gcc and not c89 (= MSVC++)
8867 # On some targets, GNU ld is compatible enough with the native linker
8868 # that we're better off using the native interface for both.
8869 lt_use_gnu_ld_interface
=no
8870 if test yes = "$with_gnu_ld"; then
8873 # The AIX port of GNU ld has always aspired to compatibility
8874 # with the native linker. However, as the warning in the GNU ld
8875 # block says, versions before 2.19.5* couldn't really create working
8876 # shared libraries, regardless of the interface used.
8877 case `$LD -v 2>&1` in
8878 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8879 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8880 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8882 lt_use_gnu_ld_interface
=yes
8887 lt_use_gnu_ld_interface
=yes
8892 if test yes = "$lt_use_gnu_ld_interface"; then
8893 # If archive_cmds runs LD, not CC, wlarc should be empty
8896 # Set some defaults for GNU ld with shared library support. These
8897 # are reset later if shared libraries are not supported. Putting them
8898 # here allows them to be overridden if necessary.
8899 runpath_var
=LD_RUN_PATH
8900 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
8901 export_dynamic_flag_spec
='$wl--export-dynamic'
8902 # ancient GNU ld didn't support --whole-archive et. al.
8903 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8904 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8906 whole_archive_flag_spec
=
8908 supports_anon_versioning
=no
8909 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8910 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8911 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8912 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8913 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8914 *\
2.11.
*) ;; # other 2.11 versions
8915 *) supports_anon_versioning
=yes ;;
8918 # See if GNU ld supports shared libraries.
8921 # On AIX/PPC, the GNU linker is very broken
8922 if test ia64
!= "$host_cpu"; then
8926 *** Warning: the GNU linker, at least up to release 2.19, is reported
8927 *** to be unable to reliably create shared libraries on AIX.
8928 *** Therefore, libtool is disabling shared libraries support. If you
8929 *** really care for shared libraries, you may want to install binutils
8930 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8931 *** You will then need to restart the configuration process.
8940 # see comment about AmigaOS4 .so support
8941 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8942 archive_expsym_cmds
=''
8945 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)'
8946 hardcode_libdir_flag_spec
='-L$libdir'
8947 hardcode_minus_L
=yes
8953 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8954 allow_undefined_flag
=unsupported
8955 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8956 # support --undefined. This deserves some investigation. FIXME
8957 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8963 cygwin
* | mingw
* | pw32
* | cegcc
*)
8964 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8965 # as there is no search path for DLLs.
8966 hardcode_libdir_flag_spec
='-L$libdir'
8967 export_dynamic_flag_spec
='$wl--export-all-symbols'
8968 allow_undefined_flag
=unsupported
8969 always_export_symbols
=no
8970 enable_shared_with_static_runtimes
=yes
8971 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'
8972 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8974 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8975 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8976 # If the export-symbols file already is a .def file, use it as
8977 # is; otherwise, prepend EXPORTS...
8978 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
8979 cp $export_symbols $output_objdir/$soname.def;
8981 echo EXPORTS > $output_objdir/$soname.def;
8982 cat $export_symbols >> $output_objdir/$soname.def;
8984 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8991 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8992 link_all_deplibs
=yes
8996 hardcode_libdir_flag_spec
='-L$libdir'
8997 hardcode_minus_L
=yes
8998 allow_undefined_flag
=unsupported
9000 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9001 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9002 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9003 $ECHO EXPORTS >> $output_objdir/$libname.def~
9004 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9005 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9006 emximp -o $lib $output_objdir/$libname.def'
9007 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9008 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9009 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9010 $ECHO EXPORTS >> $output_objdir/$libname.def~
9012 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9013 prefix_cmds="$prefix_cmds -e 1d";
9015 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9016 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9017 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9018 emximp -o $lib $output_objdir/$libname.def'
9019 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9020 enable_shared_with_static_runtimes
=yes
9025 hardcode_shlibpath_var
=no
9026 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9027 export_dynamic_flag_spec
='$wl-E'
9028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9029 # Instead, shared libraries are loaded at an image base (0x10000000 by
9030 # default) and relocated if they conflict, which is a slow very memory
9031 # consuming and fragmenting process. To avoid this, we pick a random,
9032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9034 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9035 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'
9038 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9040 if test linux-dietlibc
= "$host_os"; then
9041 case $cc_basename in
9042 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9045 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9046 && test no
= "$tmp_diet"
9048 tmp_addflag
=' $pic_flag'
9049 tmp_sharedflag
='-shared'
9050 case $cc_basename,$host_cpu in
9051 pgcc
*) # Portland Group C compiler
9052 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'
9053 tmp_addflag
=' $pic_flag'
9055 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9056 # Portland Group f77 and f90 compilers
9057 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'
9058 tmp_addflag
=' $pic_flag -Mnomain' ;;
9059 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9060 tmp_addflag
=' -i_dynamic' ;;
9061 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9062 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9063 ifc
* | ifort
*) # Intel Fortran compiler
9064 tmp_addflag
=' -nofor_main' ;;
9065 lf95
*) # Lahey Fortran 8.1
9066 whole_archive_flag_spec
=
9067 tmp_sharedflag
='--shared' ;;
9068 nagfor
*) # NAGFOR 5.3
9069 tmp_sharedflag
='-Wl,-shared' ;;
9070 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9071 tmp_sharedflag
='-qmkshrobj'
9073 nvcc
*) # Cuda Compiler Driver 2.2
9074 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'
9075 compiler_needs_object
=yes
9078 case `$CC -V 2>&1 | sed 5q` in
9079 *Sun\ C
*) # Sun C 5.9
9080 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'
9081 compiler_needs_object
=yes
9082 tmp_sharedflag
='-G' ;;
9083 *Sun\ F
*) # Sun Fortran 8.3
9084 tmp_sharedflag
='-G' ;;
9086 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9088 if test yes = "$supports_anon_versioning"; then
9089 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9091 echo "local: *; };" >> $output_objdir/$libname.ver~
9092 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9095 case $cc_basename in
9097 export_dynamic_flag_spec
='-rdynamic'
9099 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9100 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9101 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9102 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9103 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9104 if test yes = "$supports_anon_versioning"; then
9105 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9106 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9107 echo "local: *; };" >> $output_objdir/$libname.ver~
9108 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9118 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9119 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9122 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9123 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9128 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9132 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9133 *** create shared libraries on Solaris systems. Therefore, libtool
9134 *** is disabling shared libraries support. We urge you to upgrade GNU
9135 *** binutils to release 2.9.1 or newer. Another option is to modify
9136 *** your PATH or compiler configuration so that the native linker is
9137 *** used, and then restart.
9140 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9141 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9142 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9148 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9149 case `$LD -v 2>&1` in
9150 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9154 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9155 *** reliably create shared libraries on SCO systems. Therefore, libtool
9156 *** is disabling shared libraries support. We urge you to upgrade GNU
9157 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9158 *** your PATH or compiler configuration so that the native linker is
9159 *** used, and then restart.
9164 # For security reasons, it is highly recommended that you always
9165 # use absolute paths for naming shared libraries, and exclude the
9166 # DT_RUNPATH tag from executables and libraries. But doing so
9167 # requires that you compile everything twice, which is a pain.
9168 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9169 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9170 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9171 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9180 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9183 hardcode_shlibpath_var
=no
9187 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9188 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9189 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9196 if test no
= "$ld_shlibs"; then
9198 hardcode_libdir_flag_spec
=
9199 export_dynamic_flag_spec
=
9200 whole_archive_flag_spec
=
9203 # PORTME fill in a description of your system's linker (not GNU ld)
9206 allow_undefined_flag
=unsupported
9207 always_export_symbols
=yes
9208 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'
9209 # Note: this linker hardcodes the directories in LIBPATH if there
9210 # are no directories specified by -L.
9211 hardcode_minus_L
=yes
9212 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9213 # Neither direct hardcoding nor static linking is supported with a
9215 hardcode_direct
=unsupported
9220 if test ia64
= "$host_cpu"; then
9221 # On IA64, the linker does run time linking by default, so we don't
9222 # have to do anything special.
9223 aix_use_runtimelinking
=no
9224 exp_sym_flag
='-Bexport'
9227 # If we're using GNU nm, then we don't want the "-C" option.
9228 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9229 # Without the "-l" option, or with the "-B" option, AIX nm treats
9230 # weak defined symbols like other global defined symbols, whereas
9231 # GNU nm marks them as "W".
9232 # While the 'weak' keyword is ignored in the Export File, we need
9233 # it in the Import File for the 'aix-soname' feature, so we have
9234 # to replace the "-B" option with "-P" for AIX nm.
9235 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9236 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'
9238 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'
9240 aix_use_runtimelinking
=no
9242 # Test if we are trying to use run time linking or normal
9243 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9244 # have runtime linking enabled, and use it for executables.
9245 # For shared libraries, we enable/disable runtime linking
9246 # depending on the kind of the shared library created -
9247 # when "with_aix_soname,aix_use_runtimelinking" is:
9248 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9249 # "aix,yes" lib.so shared, rtl:yes, for executables
9250 # lib.a static archive
9251 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9252 # lib.a(lib.so.V) shared, rtl:no, for executables
9253 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9254 # lib.a(lib.so.V) shared, rtl:no
9255 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9256 # lib.a static archive
9257 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9258 for ld_flag
in $LDFLAGS; do
9259 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9260 aix_use_runtimelinking
=yes
9264 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9265 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9266 # so we don't have lib.a shared libs to link our executables.
9267 # We have to force runtime linking in this case.
9268 aix_use_runtimelinking
=yes
9269 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9274 exp_sym_flag
='-bexport'
9275 no_entry_flag
='-bnoentry'
9278 # When large executables or shared objects are built, AIX ld can
9279 # have problems creating the table of contents. If linking a library
9280 # or program results in "error TOC overflow" add -mminimal-toc to
9281 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9282 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9286 hardcode_direct_absolute
=yes
9287 hardcode_libdir_separator
=':'
9288 link_all_deplibs
=yes
9289 file_list_spec
='$wl-f,'
9290 case $with_aix_soname,$aix_use_runtimelinking in
9291 aix
,*) ;; # traditional, no import file
9292 svr4
,* |
*,yes) # use import file
9293 # The Import File defines what to hardcode.
9295 hardcode_direct_absolute
=no
9299 if test yes = "$GCC"; then
9300 case $host_os in aix4.
[012]|aix4.
[012].
*)
9301 # We only want to do this on AIX 4.2 and lower, the check
9302 # below for broken collect2 doesn't work under 4.3+
9303 collect2name
=`$CC -print-prog-name=collect2`
9304 if test -f "$collect2name" &&
9305 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9307 # We have reworked collect2
9310 # We have old collect2
9311 hardcode_direct
=unsupported
9312 # It fails to find uninstalled libraries when the uninstalled
9313 # path is not listed in the libpath. Setting hardcode_minus_L
9314 # to unsupported forces relinking
9315 hardcode_minus_L
=yes
9316 hardcode_libdir_flag_spec
='-L$libdir'
9317 hardcode_libdir_separator
=
9321 shared_flag
='-shared'
9322 if test yes = "$aix_use_runtimelinking"; then
9323 shared_flag
="$shared_flag "'$wl-G'
9325 # Need to ensure runtime linking is disabled for the traditional
9326 # shared library, or the linker may eventually find shared libraries
9327 # /with/ Import File - we do not want to mix them.
9328 shared_flag_aix
='-shared'
9329 shared_flag_svr4
='-shared $wl-G'
9332 if test ia64
= "$host_cpu"; then
9333 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9334 # chokes on -Wl,-G. The following line is correct:
9337 if test yes = "$aix_use_runtimelinking"; then
9340 shared_flag
='$wl-bM:SRE'
9342 shared_flag_aix
='$wl-bM:SRE'
9343 shared_flag_svr4
='$wl-G'
9347 export_dynamic_flag_spec
='$wl-bexpall'
9348 # It seems that -bexpall does not export symbols beginning with
9349 # underscore (_), so it is better to generate a list of symbols to export.
9350 always_export_symbols
=yes
9351 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9352 # Warning - without using the other runtime loading flags (-brtl),
9353 # -berok will link without error, but may produce a broken library.
9354 allow_undefined_flag
='-berok'
9355 # Determine the default libpath from the value encoded in an
9357 if test set = "${lt_cv_aix_libpath+set}"; then
9358 aix_libpath
=$lt_cv_aix_libpath
9360 if ${lt_cv_aix_libpath_+:} false
; then :
9361 $as_echo_n "(cached) " >&6
9363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9374 if ac_fn_c_try_link
"$LINENO"; then :
9376 lt_aix_libpath_sed
='
9377 /Import File Strings/,/^$/ {
9379 s/^0 *\([^ ]*\) *$/\1/
9383 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9384 # Check for a 64-bit object if we didn't find anything.
9385 if test -z "$lt_cv_aix_libpath_"; then
9386 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9389 rm -f core conftest.err conftest.
$ac_objext \
9390 conftest
$ac_exeext conftest.
$ac_ext
9391 if test -z "$lt_cv_aix_libpath_"; then
9392 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9397 aix_libpath
=$lt_cv_aix_libpath_
9400 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9401 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
9403 if test ia64
= "$host_cpu"; then
9404 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9405 allow_undefined_flag
="-z nodefs"
9406 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"
9408 # Determine the default libpath from the value encoded in an
9410 if test set = "${lt_cv_aix_libpath+set}"; then
9411 aix_libpath
=$lt_cv_aix_libpath
9413 if ${lt_cv_aix_libpath_+:} false
; then :
9414 $as_echo_n "(cached) " >&6
9416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9427 if ac_fn_c_try_link
"$LINENO"; then :
9429 lt_aix_libpath_sed
='
9430 /Import File Strings/,/^$/ {
9432 s/^0 *\([^ ]*\) *$/\1/
9436 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9437 # Check for a 64-bit object if we didn't find anything.
9438 if test -z "$lt_cv_aix_libpath_"; then
9439 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9442 rm -f core conftest.err conftest.
$ac_objext \
9443 conftest
$ac_exeext conftest.
$ac_ext
9444 if test -z "$lt_cv_aix_libpath_"; then
9445 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9450 aix_libpath
=$lt_cv_aix_libpath_
9453 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9454 # Warning - without using the other run time loading flags,
9455 # -berok will link without error, but may produce a broken library.
9456 no_undefined_flag
=' $wl-bernotok'
9457 allow_undefined_flag
=' $wl-berok'
9458 if test yes = "$with_gnu_ld"; then
9459 # We only use this code for GNU lds that support --whole-archive.
9460 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9462 # Exported symbols can be pulled into shared objects from archives
9463 whole_archive_flag_spec
='$convenience'
9465 archive_cmds_need_lc
=yes
9466 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9467 # -brtl affects multiple linker settings, -berok does not and is overridden later
9468 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9469 if test svr4
!= "$with_aix_soname"; then
9470 # This is similar to how AIX traditionally builds its shared libraries.
9471 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'
9473 if test aix
!= "$with_aix_soname"; then
9474 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'
9476 # used by -dlpreopen to get the symbols
9477 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9479 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9487 # see comment about AmigaOS4 .so support
9488 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9489 archive_expsym_cmds
=''
9492 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)'
9493 hardcode_libdir_flag_spec
='-L$libdir'
9494 hardcode_minus_L
=yes
9500 export_dynamic_flag_spec
=-rdynamic
9503 cygwin
* | mingw
* | pw32
* | cegcc
*)
9504 # When not using gcc, we currently assume that we are using
9505 # Microsoft Visual C++.
9506 # hardcode_libdir_flag_spec is actually meaningless, as there is
9507 # no search path for DLLs.
9508 case $cc_basename in
9511 hardcode_libdir_flag_spec
=' '
9512 allow_undefined_flag
=unsupported
9513 always_export_symbols
=yes
9515 # Tell ltmain to make .lib files, not .a files.
9517 # Tell ltmain to make .dll files, not .so files.
9519 # FIXME: Setting linknames here is a bad hack.
9520 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9521 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9522 cp "$export_symbols" "$output_objdir/$soname.def";
9523 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9525 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9527 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9529 # The linker will not automatically build a static lib if we build a DLL.
9530 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9531 enable_shared_with_static_runtimes
=yes
9532 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9533 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9535 old_postinstall_cmds
='chmod 644 $oldlib'
9536 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9537 lt_tool_outputfile="@TOOL_OUTPUT@"~
9538 case $lt_outputfile in
9541 lt_outputfile=$lt_outputfile.exe
9542 lt_tool_outputfile=$lt_tool_outputfile.exe
9545 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9546 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9547 $RM "$lt_outputfile.manifest";
9551 # Assume MSVC wrapper
9552 hardcode_libdir_flag_spec
=' '
9553 allow_undefined_flag
=unsupported
9554 # Tell ltmain to make .lib files, not .a files.
9556 # Tell ltmain to make .dll files, not .so files.
9558 # FIXME: Setting linknames here is a bad hack.
9559 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9560 # The linker will automatically build a .lib file if we build a DLL.
9561 old_archive_from_new_cmds
='true'
9562 # FIXME: Should let the user specify the lib program.
9563 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9564 enable_shared_with_static_runtimes
=yes
9569 darwin
* | rhapsody
*)
9572 archive_cmds_need_lc
=no
9574 hardcode_automatic
=yes
9575 hardcode_shlibpath_var
=unsupported
9576 if test yes = "$lt_cv_ld_force_load"; then
9577 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\"`'
9580 whole_archive_flag_spec
=''
9582 link_all_deplibs
=yes
9583 allow_undefined_flag
=$_lt_dar_allow_undefined
9584 case $cc_basename in
9585 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9586 *) _lt_dar_can_shared
=$GCC ;;
9588 if test yes = "$_lt_dar_can_shared"; then
9589 output_verbose_link_cmd
=func_echo_all
9590 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9591 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9592 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"
9593 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"
9602 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9603 hardcode_libdir_flag_spec
='-L$libdir'
9604 hardcode_shlibpath_var
=no
9607 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9608 # support. Future versions do this automatically, but an explicit c++rt0.o
9609 # does not break anything, and helps significantly (at the cost of a little
9612 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9613 hardcode_libdir_flag_spec
='-R$libdir'
9615 hardcode_shlibpath_var
=no
9618 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9620 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9622 hardcode_minus_L
=yes
9623 hardcode_shlibpath_var
=no
9626 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9627 freebsd
* | dragonfly
*)
9628 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9629 hardcode_libdir_flag_spec
='-R$libdir'
9631 hardcode_shlibpath_var
=no
9635 if test yes = "$GCC"; then
9636 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'
9638 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'
9640 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9641 hardcode_libdir_separator
=:
9644 # hardcode_minus_L: Not really in the search PATH,
9645 # but as the default location of the library.
9646 hardcode_minus_L
=yes
9647 export_dynamic_flag_spec
='$wl-E'
9651 if test yes,no
= "$GCC,$with_gnu_ld"; then
9652 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9656 if test no
= "$with_gnu_ld"; then
9657 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9658 hardcode_libdir_separator
=:
9660 hardcode_direct_absolute
=yes
9661 export_dynamic_flag_spec
='$wl-E'
9662 # hardcode_minus_L: Not really in the search PATH,
9663 # but as the default location of the library.
9664 hardcode_minus_L
=yes
9669 if test yes,no
= "$GCC,$with_gnu_ld"; then
9672 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9675 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9678 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9684 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9691 # Older versions of the 11.00 compiler do not understand -b yet
9692 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9694 $as_echo_n "checking if $CC understands -b... " >&6; }
9695 if ${lt_cv_prog_compiler__b+:} false
; then :
9696 $as_echo_n "(cached) " >&6
9698 lt_cv_prog_compiler__b
=no
9699 save_LDFLAGS
=$LDFLAGS
9700 LDFLAGS
="$LDFLAGS -b"
9701 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9702 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9703 # The linker can only warn and ignore the option if not recognized
9704 # So say no if there are warnings
9705 if test -s conftest.err
; then
9706 # Append any errors to the config.log.
9707 cat conftest.err
1>&5
9708 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9709 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9710 if diff conftest.exp conftest.er2
>/dev
/null
; then
9711 lt_cv_prog_compiler__b
=yes
9714 lt_cv_prog_compiler__b
=yes
9718 LDFLAGS
=$save_LDFLAGS
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9722 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9724 if test yes = "$lt_cv_prog_compiler__b"; then
9725 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9727 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9733 if test no
= "$with_gnu_ld"; then
9734 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9735 hardcode_libdir_separator
=:
9740 hardcode_shlibpath_var
=no
9744 hardcode_direct_absolute
=yes
9745 export_dynamic_flag_spec
='$wl-E'
9747 # hardcode_minus_L: Not really in the search PATH,
9748 # but as the default location of the library.
9749 hardcode_minus_L
=yes
9755 irix5
* | irix6
* | nonstopux
*)
9756 if test yes = "$GCC"; then
9757 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'
9758 # Try to use the -exported_symbol ld option, if it does not
9759 # work, assume that -exports_file does not work either and
9760 # implicitly export all symbols.
9761 # This should be the same for all languages, so no per-tag cache variable.
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9763 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9764 if ${lt_cv_irix_exported_symbol+:} false
; then :
9765 $as_echo_n "(cached) " >&6
9767 save_LDFLAGS
=$LDFLAGS
9768 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9770 /* end confdefs.h. */
9771 int foo (void) { return 0; }
9773 if ac_fn_c_try_link
"$LINENO"; then :
9774 lt_cv_irix_exported_symbol
=yes
9776 lt_cv_irix_exported_symbol
=no
9778 rm -f core conftest.err conftest.
$ac_objext \
9779 conftest
$ac_exeext conftest.
$ac_ext
9780 LDFLAGS
=$save_LDFLAGS
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9783 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9784 if test yes = "$lt_cv_irix_exported_symbol"; then
9785 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'
9788 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'
9789 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'
9791 archive_cmds_need_lc
='no'
9792 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9793 hardcode_libdir_separator
=:
9795 link_all_deplibs
=yes
9799 case $cc_basename in
9801 # Fabrice Bellard et al's Tiny C Compiler
9803 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9809 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9810 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9812 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9814 hardcode_libdir_flag_spec
='-R$libdir'
9816 hardcode_shlibpath_var
=no
9820 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9822 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9823 hardcode_libdir_separator
=:
9824 hardcode_shlibpath_var
=no
9831 if test -f /usr
/libexec
/ld.so
; then
9833 hardcode_shlibpath_var
=no
9834 hardcode_direct_absolute
=yes
9835 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9836 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9837 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9838 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9839 export_dynamic_flag_spec
='$wl-E'
9841 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9842 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9850 hardcode_libdir_flag_spec
='-L$libdir'
9851 hardcode_minus_L
=yes
9852 allow_undefined_flag
=unsupported
9854 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9855 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9856 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9857 $ECHO EXPORTS >> $output_objdir/$libname.def~
9858 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9859 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9860 emximp -o $lib $output_objdir/$libname.def'
9861 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9862 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9863 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9864 $ECHO EXPORTS >> $output_objdir/$libname.def~
9866 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9867 prefix_cmds="$prefix_cmds -e 1d";
9869 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9870 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9871 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9872 emximp -o $lib $output_objdir/$libname.def'
9873 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9874 enable_shared_with_static_runtimes
=yes
9878 if test yes = "$GCC"; then
9879 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9880 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'
9882 allow_undefined_flag
=' -expect_unresolved \*'
9883 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'
9885 archive_cmds_need_lc
='no'
9886 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9887 hardcode_libdir_separator
=:
9890 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9891 if test yes = "$GCC"; then
9892 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9893 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'
9894 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9896 allow_undefined_flag
=' -expect_unresolved \*'
9897 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'
9898 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~
9899 $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'
9901 # Both c and cxx compiler support -rpath directly
9902 hardcode_libdir_flag_spec
='-rpath $libdir'
9904 archive_cmds_need_lc
='no'
9905 hardcode_libdir_separator
=:
9909 no_undefined_flag
=' -z defs'
9910 if test yes = "$GCC"; then
9912 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9914 $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'
9916 case `$CC -V 2>&1` in
9919 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9921 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9925 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9926 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9927 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9931 hardcode_libdir_flag_spec
='-R$libdir'
9932 hardcode_shlibpath_var
=no
9934 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9936 # The compiler driver will combine and reorder linker options,
9937 # but understands '-z linker_flag'. GCC discards it without '$wl',
9938 # but is careful enough not to reorder.
9939 # Supported since Solaris 2.6 (maybe 2.5.1?)
9940 if test yes = "$GCC"; then
9941 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9943 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9947 link_all_deplibs
=yes
9951 if test sequent
= "$host_vendor"; then
9952 # Use $CC to link under sequent, because it throws in some extra .o
9953 # files that make .init and .fini sections work.
9954 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9956 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9958 hardcode_libdir_flag_spec
='-L$libdir'
9960 hardcode_minus_L
=yes
9961 hardcode_shlibpath_var
=no
9965 case $host_vendor in
9967 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_direct
=yes # is this really true???
9971 ## LD is ld it makes a PLAMLIB
9972 ## CC just makes a GrossModule.
9973 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9974 reload_cmds
='$CC -r -o $output$reload_objs'
9978 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9979 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9982 runpath_var
='LD_RUN_PATH'
9983 hardcode_shlibpath_var
=no
9987 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9988 hardcode_shlibpath_var
=no
9989 export_dynamic_flag_spec
='-Bexport'
9993 if test -d /usr
/nec
; then
9994 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9995 hardcode_shlibpath_var
=no
9996 runpath_var
=LD_RUN_PATH
9997 hardcode_runpath_var
=yes
10002 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10003 no_undefined_flag
='$wl-z,text'
10004 archive_cmds_need_lc
=no
10005 hardcode_shlibpath_var
=no
10006 runpath_var
='LD_RUN_PATH'
10008 if test yes = "$GCC"; then
10009 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10017 sysv5
* | sco3.2v5
* | sco5v6
*)
10018 # Note: We CANNOT use -z defs as we might desire, because we do not
10019 # link with -lc, and that would cause any symbols used from libc to
10020 # always be unresolved, which means just about no library would
10021 # ever link correctly. If we're not using GNU ld we use -z text
10022 # though, which does catch some bad symbols but isn't as heavy-handed
10024 no_undefined_flag
='$wl-z,text'
10025 allow_undefined_flag
='$wl-z,nodefs'
10026 archive_cmds_need_lc
=no
10027 hardcode_shlibpath_var
=no
10028 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10029 hardcode_libdir_separator
=':'
10030 link_all_deplibs
=yes
10031 export_dynamic_flag_spec
='$wl-Bexport'
10032 runpath_var
='LD_RUN_PATH'
10034 if test yes = "$GCC"; then
10035 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10038 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_libdir_flag_spec
='-L$libdir'
10046 hardcode_shlibpath_var
=no
10054 if test sni
= "$host_vendor"; then
10056 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10057 export_dynamic_flag_spec
='$wl-Blargedynsym'
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10064 $as_echo "$ld_shlibs" >&6; }
10065 test no
= "$ld_shlibs" && can_build_shared
=no
10067 with_gnu_ld
=$with_gnu_ld
10084 # Do we need to explicitly link libc?
10086 case "x$archive_cmds_need_lc" in
10088 # Assume -lc should be added
10089 archive_cmds_need_lc
=yes
10091 if test yes,yes = "$GCC,$enable_shared"; then
10092 case $archive_cmds in
10094 # FIXME: we may have to deal with multi-command sequences.
10097 # Test whether the compiler implicitly links with -lc since on some
10098 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10099 # to ld, don't add -lc before -lgcc.
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10101 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10102 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10103 $as_echo_n "(cached) " >&6
10106 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10108 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10109 (eval $ac_compile) 2>&5
10111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10112 test $ac_status = 0; } 2>conftest.err
; then
10115 libobjs
=conftest.
$ac_objext
10117 wl
=$lt_prog_compiler_wl
10118 pic_flag
=$lt_prog_compiler_pic
10124 lt_save_allow_undefined_flag
=$allow_undefined_flag
10125 allow_undefined_flag
=
10126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10127 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10130 test $ac_status = 0; }
10132 lt_cv_archive_cmds_need_lc
=no
10134 lt_cv_archive_cmds_need_lc
=yes
10136 allow_undefined_flag
=$lt_save_allow_undefined_flag
10138 cat conftest.err
1>&5
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10144 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10145 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10304 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10306 if test yes = "$GCC"; then
10308 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10309 *) lt_awk_arg
='/^libraries:/' ;;
10312 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10313 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10315 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10316 case $lt_search_path_spec in
10318 # if the path contains ";" then we assume it to be the separator
10319 # otherwise default to the standard path separator (i.e. ":") - it is
10320 # assumed that no part of a normal pathname contains ";" but that should
10321 # okay in the real world where ";" in dirpaths is itself problematic.
10322 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10325 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10328 # Ok, now we have the path, separated by spaces, we can step through it
10329 # and add multilib dir if necessary...
10330 lt_tmp_lt_search_path_spec
=
10331 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10332 # ...but if some path component already ends with the multilib dir we assume
10333 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10334 case "$lt_multi_os_dir; $lt_search_path_spec " in
10335 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10339 for lt_sys_path
in $lt_search_path_spec; do
10340 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10341 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10342 elif test -n "$lt_multi_os_dir"; then
10343 test -d "$lt_sys_path" && \
10344 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10347 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10348 BEGIN {RS = " "; FS = "/|\n";} {
10351 for (lt_i = NF; lt_i > 0; lt_i--) {
10352 if ($lt_i != "" && $lt_i != ".") {
10353 if ($lt_i == "..") {
10356 if (lt_count == 0) {
10357 lt_foo = "/" $lt_i lt_foo;
10364 if (lt_foo != "") { lt_freq[lt_foo]++; }
10365 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10367 # AWK program above erroneously prepends '/' to C:/dos/paths
10370 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10371 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10373 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10375 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10377 library_names_spec
=
10378 libname_spec
='lib$name'
10382 postuninstall_cmds
=
10386 shlibpath_overrides_runpath
=unknown
10388 dynamic_linker
="$host_os ld.so"
10389 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10390 need_lib_prefix
=unknown
10391 hardcode_into_libs
=no
10393 # when you set need_version to no, make sure it does not cause -set_version
10394 # flags to be left without arguments
10395 need_version
=unknown
10401 version_type
=linux
# correct to gnu/linux during the next big refactor
10402 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10403 shlibpath_var
=LIBPATH
10405 # AIX 3 has no versioning support, so we append a major version to the name.
10406 soname_spec
='$libname$release$shared_ext$major'
10410 version_type
=linux
# correct to gnu/linux during the next big refactor
10413 hardcode_into_libs
=yes
10414 if test ia64
= "$host_cpu"; then
10415 # AIX 5 supports IA64
10416 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10417 shlibpath_var
=LD_LIBRARY_PATH
10419 # With GCC up to 2.95.x, collect2 would create an import file
10420 # for dependence libraries. The import file would start with
10421 # the line '#! .'. This would cause the generated library to
10422 # depend on '.', always an invalid library. This was fixed in
10423 # development snapshots of GCC prior to 3.0.
10425 aix4 | aix4.
[01] | aix4.
[01].
*)
10426 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10428 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10431 can_build_shared
=no
10435 # Using Import Files as archive members, it is possible to support
10436 # filename-based versioning of shared library archives on AIX. While
10437 # this would work for both with and without runtime linking, it will
10438 # prevent static linking of such archives. So we do filename-based
10439 # shared library versioning with .so extension only, which is used
10440 # when both runtime linking and shared linking is enabled.
10441 # Unfortunately, runtime linking may impact performance, so we do
10442 # not want this to be the default eventually. Also, we use the
10443 # versioned .so libs for executables only if there is the -brtl
10444 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10445 # To allow for filename-based versioning support, we need to create
10446 # libNAME.so.V as an archive file, containing:
10447 # *) an Import File, referring to the versioned filename of the
10448 # archive as well as the shared archive member, telling the
10449 # bitwidth (32 or 64) of that shared object, and providing the
10450 # list of exported symbols of that shared object, eventually
10451 # decorated with the 'weak' keyword
10452 # *) the shared object with the F_LOADONLY flag set, to really avoid
10453 # it being seen by the linker.
10454 # At run time we better use the real file rather than another symlink,
10455 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10457 case $with_aix_soname,$aix_use_runtimelinking in
10458 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10459 # soname into executable. Probably we can add versioning support to
10460 # collect2, so additional links can be useful in future.
10461 aix
,yes) # traditional libtool
10462 dynamic_linker
='AIX unversionable lib.so'
10463 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10464 # instead of lib<name>.a to let people know that these are not
10465 # typical AIX shared libraries.
10466 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10468 aix
,no
) # traditional AIX only
10469 dynamic_linker
='AIX lib.a(lib.so.V)'
10470 # We preserve .a as extension for shared libraries through AIX4.2
10471 # and later when we are not doing run time linking.
10472 library_names_spec
='$libname$release.a $libname.a'
10473 soname_spec
='$libname$release$shared_ext$major'
10475 svr4
,*) # full svr4 only
10476 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10477 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10478 # We do not specify a path in Import Files, so LIBPATH fires.
10479 shlibpath_overrides_runpath
=yes
10481 *,yes) # both, prefer svr4
10482 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10483 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10484 # unpreferred sharedlib libNAME.a needs extra handling
10485 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"'
10486 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"'
10487 # We do not specify a path in Import Files, so LIBPATH fires.
10488 shlibpath_overrides_runpath
=yes
10490 *,no
) # both, prefer aix
10491 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10492 library_names_spec
='$libname$release.a $libname.a'
10493 soname_spec
='$libname$release$shared_ext$major'
10494 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10495 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)'
10496 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"'
10499 shlibpath_var
=LIBPATH
10506 # Since July 2007 AmigaOS4 officially supports .so libraries.
10507 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10508 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10511 library_names_spec
='$libname.ixlibrary $libname.a'
10512 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10513 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'
10519 library_names_spec
='$libname$shared_ext'
10520 dynamic_linker
="$host_os ld.so"
10521 shlibpath_var
=LIBRARY_PATH
10525 version_type
=linux
# correct to gnu/linux during the next big refactor
10527 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10528 soname_spec
='$libname$release$shared_ext$major'
10529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10530 shlibpath_var
=LD_LIBRARY_PATH
10531 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10532 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10533 # the default ld.so.conf also contains /usr/contrib/lib and
10534 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10535 # libtool to hard-code these into programs
10538 cygwin
* | mingw
* | pw32
* | cegcc
*)
10539 version_type
=windows
10544 case $GCC,$cc_basename in
10547 library_names_spec
='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds
='base_file=`basename \$file`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10561 shlibpath_overrides_runpath
=yes
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10568 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10579 dynamic_linker
='Win32 ld.exe'
10584 libname_spec
='$name'
10585 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10586 library_names_spec
='$libname.dll.lib'
10590 sys_lib_search_path_spec
=
10593 for lt_path
in $LIB
10596 # Let DOS variable expansion print the short 8.3 style file name.
10597 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10598 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10601 # Convert to MSYS style.
10602 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10605 # Convert to unix form, then to dos form, then back to unix form
10606 # but this time dos style (no spaces!) so that the unix form looks
10607 # like /cygdrive/c/PROGRA~1:/cygdr...
10608 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10609 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10610 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10613 sys_lib_search_path_spec
=$LIB
10614 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10615 # It is most probably a Windows format PATH.
10616 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10618 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10620 # FIXME: find the short name or the path components, as spaces are
10621 # common. (e.g. "Program Files" -> "PROGRA~1")
10625 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10626 postinstall_cmds
='base_file=`basename \$file`~
10627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10628 dldir=$destdir/`dirname \$dlpath`~
10629 test -d \$dldir || mkdir -p \$dldir~
10630 $install_prog $dir/$dlname \$dldir/$dlname'
10631 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10632 dlpath=$dir/\$dldll~
10634 shlibpath_overrides_runpath
=yes
10635 dynamic_linker
='Win32 link.exe'
10639 # Assume MSVC wrapper
10640 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10641 dynamic_linker
='Win32 ld.exe'
10644 # FIXME: first we should search . and the directory the executable is in
10648 darwin
* | rhapsody
*)
10649 dynamic_linker
="$host_os dyld"
10650 version_type
=darwin
10653 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10654 soname_spec
='$libname$release$major$shared_ext'
10655 shlibpath_overrides_runpath
=yes
10656 shlibpath_var
=DYLD_LIBRARY_PATH
10657 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10659 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10660 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10664 version_type
=linux
# correct to gnu/linux during the next big refactor
10667 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10668 soname_spec
='$libname$release$shared_ext$major'
10669 shlibpath_var
=LD_LIBRARY_PATH
10672 freebsd
* | dragonfly
*)
10673 # DragonFly does not have aout. When/if they implement a new
10674 # versioning mechanism, adjust this.
10675 if test -x /usr
/bin
/objformat
; then
10676 objformat
=`/usr/bin/objformat`
10679 freebsd
[23].
*) objformat
=aout
;;
10680 *) objformat
=elf
;;
10683 version_type
=freebsd-
$objformat
10684 case $version_type in
10686 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10687 soname_spec
='$libname$release$shared_ext$major'
10692 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10696 shlibpath_var
=LD_LIBRARY_PATH
10699 shlibpath_overrides_runpath
=yes
10701 freebsd3.
[01]* | freebsdelf3.
[01]*)
10702 shlibpath_overrides_runpath
=yes
10703 hardcode_into_libs
=yes
10705 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10706 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10707 shlibpath_overrides_runpath
=no
10708 hardcode_into_libs
=yes
10710 *) # from 4.6 on, and DragonFly
10711 shlibpath_overrides_runpath
=yes
10712 hardcode_into_libs
=yes
10718 version_type
=linux
# correct to gnu/linux during the next big refactor
10721 dynamic_linker
="$host_os runtime_loader"
10722 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10723 soname_spec
='$libname$release$shared_ext$major'
10724 shlibpath_var
=LIBRARY_PATH
10725 shlibpath_overrides_runpath
=no
10726 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10727 hardcode_into_libs
=yes
10730 hpux9
* | hpux10
* | hpux11
*)
10731 # Give a soname corresponding to the major version so that dld.sl refuses to
10732 # link against other versions.
10739 hardcode_into_libs
=yes
10740 dynamic_linker
="$host_os dld.so"
10741 shlibpath_var
=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10743 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10744 soname_spec
='$libname$release$shared_ext$major'
10745 if test 32 = "$HPUX_IA64_MODE"; then
10746 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10747 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10749 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10750 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10755 hardcode_into_libs
=yes
10756 dynamic_linker
="$host_os dld.sl"
10757 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10758 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10759 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10760 soname_spec
='$libname$release$shared_ext$major'
10761 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10762 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10766 dynamic_linker
="$host_os dld.sl"
10767 shlibpath_var
=SHLIB_PATH
10768 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10769 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10770 soname_spec
='$libname$release$shared_ext$major'
10773 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10774 postinstall_cmds
='chmod 555 $lib'
10775 # or fails outright, so override atomically:
10776 install_override_mode
=555
10780 version_type
=linux
# correct to gnu/linux during the next big refactor
10783 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10784 soname_spec
='$libname$release$shared_ext$major'
10785 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10786 shlibpath_var
=LD_LIBRARY_PATH
10787 shlibpath_overrides_runpath
=no
10788 hardcode_into_libs
=yes
10791 irix5
* | irix6
* | nonstopux
*)
10793 nonstopux
*) version_type
=nonstopux
;;
10795 if test yes = "$lt_cv_prog_gnu_ld"; then
10796 version_type
=linux
# correct to gnu/linux during the next big refactor
10803 soname_spec
='$libname$release$shared_ext$major'
10804 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10806 irix5
* | nonstopux
*)
10807 libsuff
= shlibsuff
=
10810 case $LD in # libtool.m4 will add one of these switches to LD
10811 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10812 libsuff
= shlibsuff
= libmagic
=32-bit;;
10813 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10814 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10815 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10816 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10817 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10821 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10822 shlibpath_overrides_runpath
=no
10823 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10824 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10825 hardcode_into_libs
=yes
10828 # No shared lib support for Linux oldld, aout, or coff.
10829 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10834 version_type
=none
# Android doesn't support versioned libraries.
10837 library_names_spec
='$libname$release$shared_ext'
10838 soname_spec
='$libname$release$shared_ext'
10840 shlibpath_var
=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath
=yes
10843 # This implies no fast_install, which is unacceptable.
10844 # Some rework will be needed to allow for fast_install
10845 # before this can be enabled.
10846 hardcode_into_libs
=yes
10848 dynamic_linker
='Android linker'
10849 # Don't embed -rpath directories since the linker doesn't support them.
10850 hardcode_libdir_flag_spec
='-L$libdir'
10853 # This must be glibc/ELF.
10854 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10855 version_type
=linux
# correct to gnu/linux during the next big refactor
10858 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10859 soname_spec
='$libname$release$shared_ext$major'
10860 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10861 shlibpath_var
=LD_LIBRARY_PATH
10862 shlibpath_overrides_runpath
=no
10864 # Some binutils ld are patched to set DT_RUNPATH
10865 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10866 $as_echo_n "(cached) " >&6
10868 lt_cv_shlibpath_overrides_runpath
=no
10869 save_LDFLAGS
=$LDFLAGS
10870 save_libdir
=$libdir
10871 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10872 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10884 if ac_fn_c_try_link
"$LINENO"; then :
10885 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10886 lt_cv_shlibpath_overrides_runpath
=yes
10889 rm -f core conftest.err conftest.
$ac_objext \
10890 conftest
$ac_exeext conftest.
$ac_ext
10891 LDFLAGS
=$save_LDFLAGS
10892 libdir
=$save_libdir
10896 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10898 # This implies no fast_install, which is unacceptable.
10899 # Some rework will be needed to allow for fast_install
10900 # before this can be enabled.
10901 hardcode_into_libs
=yes
10903 # Add ABI-specific directories to the system library path.
10904 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10906 # Ideally, we could use ldconfig to report *all* directores which are
10907 # searched for libraries, however this is still not possible. Aside from not
10908 # being certain /sbin/ldconfig is available, command
10909 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10910 # even though it is searched at run-time. Try to do the best guess by
10911 # appending ld.so.conf contents (and includes) to the search path.
10912 if test -f /etc
/ld.so.conf
; then
10913 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' ' '`
10914 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10917 # We used to test for /lib/ld.so.1 and disable shared libraries on
10918 # powerpc, because MkLinux only supported shared libraries with the
10919 # GNU dynamic linker. Since this was broken with cross compilers,
10920 # most powerpc-linux boxes support dynamic linking these days and
10921 # people can always --disable-shared, the test was removed, and we
10922 # assume the GNU/Linux dynamic linker is in use.
10923 dynamic_linker
='GNU/Linux ld.so'
10930 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10931 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10933 dynamic_linker
='NetBSD (a.out) ld.so'
10935 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10936 soname_spec
='$libname$release$shared_ext$major'
10937 dynamic_linker
='NetBSD ld.elf_so'
10939 shlibpath_var
=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath
=yes
10941 hardcode_into_libs
=yes
10945 version_type
=linux
# correct to gnu/linux during the next big refactor
10946 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10947 shlibpath_var
=LD_LIBRARY_PATH
10948 shlibpath_overrides_runpath
=yes
10955 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10956 soname_spec
='$libname$release$shared_ext$major'
10957 shlibpath_var
=LD_LIBRARY_PATH
10958 shlibpath_overrides_runpath
=no
10959 hardcode_into_libs
=yes
10960 dynamic_linker
='ldqnx.so'
10963 openbsd
* | bitrig
*)
10965 sys_lib_dlsearch_path_spec
=/usr
/lib
10967 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10972 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10973 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10974 shlibpath_var
=LD_LIBRARY_PATH
10975 shlibpath_overrides_runpath
=yes
10979 libname_spec
='$name'
10980 version_type
=windows
10984 # OS/2 can only load a DLL with a base name of 8 characters or less.
10985 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
10986 v=$($ECHO $release$versuffix | tr -d .-);
10987 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10988 $ECHO $n$v`$shared_ext'
10989 library_names_spec
='${libname}_dll.$libext'
10990 dynamic_linker
='OS/2 ld.exe'
10991 shlibpath_var
=BEGINLIBPATH
10992 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10993 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10994 postinstall_cmds
='base_file=`basename \$file`~
10995 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10996 dldir=$destdir/`dirname \$dlpath`~
10997 test -d \$dldir || mkdir -p \$dldir~
10998 $install_prog $dir/$dlname \$dldir/$dlname~
10999 chmod a+x \$dldir/$dlname~
11000 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11001 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11003 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11004 dlpath=$dir/\$dldll~
11008 osf3
* | osf4
* | osf5
*)
11012 soname_spec
='$libname$release$shared_ext$major'
11013 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11014 shlibpath_var
=LD_LIBRARY_PATH
11015 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11016 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11024 version_type
=linux
# correct to gnu/linux during the next big refactor
11027 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11028 soname_spec
='$libname$release$shared_ext$major'
11029 shlibpath_var
=LD_LIBRARY_PATH
11030 shlibpath_overrides_runpath
=yes
11031 hardcode_into_libs
=yes
11032 # ldd complains unless libraries are executable
11033 postinstall_cmds
='chmod +x $lib'
11038 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11039 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11040 shlibpath_var
=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath
=yes
11042 if test yes = "$with_gnu_ld"; then
11049 version_type
=linux
# correct to gnu/linux during the next big refactor
11050 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11051 soname_spec
='$libname$release$shared_ext$major'
11052 shlibpath_var
=LD_LIBRARY_PATH
11053 case $host_vendor in
11055 shlibpath_overrides_runpath
=no
11057 runpath_var
=LD_RUN_PATH
11065 shlibpath_overrides_runpath
=no
11066 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11072 if test -d /usr
/nec
; then
11073 version_type
=linux
# correct to gnu/linux during the next big refactor
11074 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11075 soname_spec
='$libname$shared_ext.$major'
11076 shlibpath_var
=LD_LIBRARY_PATH
11080 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11084 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11085 soname_spec
='$libname$release$shared_ext$major'
11086 shlibpath_var
=LD_LIBRARY_PATH
11087 shlibpath_overrides_runpath
=yes
11088 hardcode_into_libs
=yes
11089 if test yes = "$with_gnu_ld"; then
11090 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11092 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11095 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11099 sys_lib_dlsearch_path_spec
='/usr/lib'
11103 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11104 version_type
=linux
# correct to gnu/linux during the next big refactor
11107 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11108 shlibpath_var
=LD_LIBRARY_PATH
11109 shlibpath_overrides_runpath
=no
11110 hardcode_into_libs
=yes
11114 version_type
=linux
# correct to gnu/linux during the next big refactor
11115 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11116 soname_spec
='$libname$release$shared_ext$major'
11117 shlibpath_var
=LD_LIBRARY_PATH
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11125 $as_echo "$dynamic_linker" >&6; }
11126 test no
= "$dynamic_linker" && can_build_shared
=no
11128 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11129 if test yes = "$GCC"; then
11130 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11133 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11134 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11137 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11138 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11141 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11142 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11144 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11145 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11147 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11148 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11247 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11249 if test -n "$hardcode_libdir_flag_spec" ||
11250 test -n "$runpath_var" ||
11251 test yes = "$hardcode_automatic"; then
11253 # We can hardcode non-existent directories.
11254 if test no
!= "$hardcode_direct" &&
11255 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11256 # have to relink, otherwise we might link with an installed library
11257 # when we should be linking with a yet-to-be-installed one
11258 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11259 test no
!= "$hardcode_minus_L"; then
11260 # Linking always hardcodes the temporary library directory.
11261 hardcode_action
=relink
11263 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11264 hardcode_action
=immediate
11267 # We cannot hardcode anything, or else we can only hardcode existing
11269 hardcode_action
=unsupported
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11272 $as_echo "$hardcode_action" >&6; }
11274 if test relink
= "$hardcode_action" ||
11275 test yes = "$inherit_rpath"; then
11276 # Fast installation is not supported
11277 enable_fast_install
=no
11278 elif test yes = "$shlibpath_overrides_runpath" ||
11279 test no
= "$enable_shared"; then
11280 # Fast installation is not necessary
11281 enable_fast_install
=needless
11289 if test yes != "$enable_dlopen"; then
11290 enable_dlopen
=unknown
11291 enable_dlopen_self
=unknown
11292 enable_dlopen_self_static
=unknown
11299 lt_cv_dlopen
=load_add_on
11301 lt_cv_dlopen_self
=yes
11304 mingw
* | pw32
* | cegcc
*)
11305 lt_cv_dlopen
=LoadLibrary
11310 lt_cv_dlopen
=dlopen
11315 # if libdl is installed we need to link against it
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11317 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11318 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11319 $as_echo_n "(cached) " >&6
11321 ac_check_lib_save_LIBS
=$LIBS
11323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11326 /* Override any GCC internal prototype to avoid an error.
11327 Use char because int might match the return type of a GCC
11328 builtin and then its argument prototype would still apply. */
11341 if ac_fn_c_try_link
"$LINENO"; then :
11342 ac_cv_lib_dl_dlopen
=yes
11344 ac_cv_lib_dl_dlopen
=no
11346 rm -f core conftest.err conftest.
$ac_objext \
11347 conftest
$ac_exeext conftest.
$ac_ext
11348 LIBS
=$ac_check_lib_save_LIBS
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11351 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11352 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11353 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11358 lt_cv_dlopen_self
=yes
11365 # Don't try to run any link tests for TPF. We know it's impossible
11366 # because TPF is a cross-compiler, and we know how we open DSOs.
11367 lt_cv_dlopen
=dlopen
11369 lt_cv_dlopen_self
=no
11373 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11374 if test "x$ac_cv_func_shl_load" = xyes
; then :
11375 lt_cv_dlopen
=shl_load
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11378 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11379 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11380 $as_echo_n "(cached) " >&6
11382 ac_check_lib_save_LIBS
=$LIBS
11384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11397 return shl_load ();
11402 if ac_fn_c_try_link
"$LINENO"; then :
11403 ac_cv_lib_dld_shl_load
=yes
11405 ac_cv_lib_dld_shl_load
=no
11407 rm -f core conftest.err conftest.
$ac_objext \
11408 conftest
$ac_exeext conftest.
$ac_ext
11409 LIBS
=$ac_check_lib_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11412 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11413 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11414 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11416 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11417 if test "x$ac_cv_func_dlopen" = xyes
; then :
11418 lt_cv_dlopen
=dlopen
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11421 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11422 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11423 $as_echo_n "(cached) " >&6
11425 ac_check_lib_save_LIBS
=$LIBS
11427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11445 if ac_fn_c_try_link
"$LINENO"; then :
11446 ac_cv_lib_dl_dlopen
=yes
11448 ac_cv_lib_dl_dlopen
=no
11450 rm -f core conftest.err conftest.
$ac_objext \
11451 conftest
$ac_exeext conftest.
$ac_ext
11452 LIBS
=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11455 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11456 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11457 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11460 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11461 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11462 $as_echo_n "(cached) " >&6
11464 ac_check_lib_save_LIBS
=$LIBS
11465 LIBS
="-lsvld $LIBS"
11466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11469 /* Override any GCC internal prototype to avoid an error.
11470 Use char because int might match the return type of a GCC
11471 builtin and then its argument prototype would still apply. */
11484 if ac_fn_c_try_link
"$LINENO"; then :
11485 ac_cv_lib_svld_dlopen
=yes
11487 ac_cv_lib_svld_dlopen
=no
11489 rm -f core conftest.err conftest.
$ac_objext \
11490 conftest
$ac_exeext conftest.
$ac_ext
11491 LIBS
=$ac_check_lib_save_LIBS
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11494 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11495 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11496 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11499 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11500 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11501 $as_echo_n "(cached) " >&6
11503 ac_check_lib_save_LIBS
=$LIBS
11505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11518 return dld_link ();
11523 if ac_fn_c_try_link
"$LINENO"; then :
11524 ac_cv_lib_dld_dld_link
=yes
11526 ac_cv_lib_dld_dld_link
=no
11528 rm -f core conftest.err conftest.
$ac_objext \
11529 conftest
$ac_exeext conftest.
$ac_ext
11530 LIBS
=$ac_check_lib_save_LIBS
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11533 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11534 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11535 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11556 if test no
= "$lt_cv_dlopen"; then
11562 case $lt_cv_dlopen in
11564 save_CPPFLAGS
=$CPPFLAGS
11565 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11567 save_LDFLAGS
=$LDFLAGS
11568 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11571 LIBS
="$lt_cv_dlopen_libs $LIBS"
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11574 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11575 if ${lt_cv_dlopen_self+:} false
; then :
11576 $as_echo_n "(cached) " >&6
11578 if test yes = "$cross_compiling"; then :
11579 lt_cv_dlopen_self
=cross
11581 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11582 lt_status
=$lt_dlunknown
11583 cat > conftest.
$ac_ext <<_LT_EOF
11584 #line $LINENO "configure"
11585 #include "confdefs.h"
11594 # define LT_DLGLOBAL RTLD_GLOBAL
11597 # define LT_DLGLOBAL DL_GLOBAL
11599 # define LT_DLGLOBAL 0
11603 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11604 find out it does not work in some platform. */
11605 #ifndef LT_DLLAZY_OR_NOW
11607 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11610 # define LT_DLLAZY_OR_NOW DL_LAZY
11613 # define LT_DLLAZY_OR_NOW RTLD_NOW
11616 # define LT_DLLAZY_OR_NOW DL_NOW
11618 # define LT_DLLAZY_OR_NOW 0
11625 /* When -fvisibility=hidden is used, assume the code has been annotated
11626 correspondingly for the symbols needed. */
11627 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11628 int fnord () __attribute__((visibility("default")));
11631 int fnord () { return 42; }
11634 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11635 int status = $lt_dlunknown;
11639 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11642 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11643 else puts (dlerror ());
11645 /* dlclose (self); */
11653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11654 (eval $ac_link) 2>&5
11656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11657 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11658 (.
/conftest
; exit; ) >&5 2>/dev
/null
11660 case x
$lt_status in
11661 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11662 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11663 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11666 # compilation failed
11667 lt_cv_dlopen_self
=no
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11675 $as_echo "$lt_cv_dlopen_self" >&6; }
11677 if test yes = "$lt_cv_dlopen_self"; then
11678 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11680 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11681 if ${lt_cv_dlopen_self_static+:} false
; then :
11682 $as_echo_n "(cached) " >&6
11684 if test yes = "$cross_compiling"; then :
11685 lt_cv_dlopen_self_static
=cross
11687 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11688 lt_status
=$lt_dlunknown
11689 cat > conftest.
$ac_ext <<_LT_EOF
11690 #line $LINENO "configure"
11691 #include "confdefs.h"
11700 # define LT_DLGLOBAL RTLD_GLOBAL
11703 # define LT_DLGLOBAL DL_GLOBAL
11705 # define LT_DLGLOBAL 0
11709 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11710 find out it does not work in some platform. */
11711 #ifndef LT_DLLAZY_OR_NOW
11713 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11716 # define LT_DLLAZY_OR_NOW DL_LAZY
11719 # define LT_DLLAZY_OR_NOW RTLD_NOW
11722 # define LT_DLLAZY_OR_NOW DL_NOW
11724 # define LT_DLLAZY_OR_NOW 0
11731 /* When -fvisibility=hidden is used, assume the code has been annotated
11732 correspondingly for the symbols needed. */
11733 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11734 int fnord () __attribute__((visibility("default")));
11737 int fnord () { return 42; }
11740 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11741 int status = $lt_dlunknown;
11745 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11748 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11749 else puts (dlerror ());
11751 /* dlclose (self); */
11759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11760 (eval $ac_link) 2>&5
11762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11763 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11764 (.
/conftest
; exit; ) >&5 2>/dev
/null
11766 case x
$lt_status in
11767 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11768 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11769 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11772 # compilation failed
11773 lt_cv_dlopen_self_static
=no
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11781 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11784 CPPFLAGS
=$save_CPPFLAGS
11785 LDFLAGS
=$save_LDFLAGS
11790 case $lt_cv_dlopen_self in
11791 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11792 *) enable_dlopen_self
=unknown
;;
11795 case $lt_cv_dlopen_self_static in
11796 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11797 *) enable_dlopen_self_static
=unknown
;;
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11820 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11821 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11822 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11823 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11825 $as_echo "yes" >&6; }
11827 # FIXME - insert some real tests, host_os isn't really good enough
11830 if test -n "$STRIP"; then
11831 striplib
="$STRIP -x"
11832 old_striplib
="$STRIP -S"
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11834 $as_echo "yes" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11842 $as_echo "no" >&6; }
11858 # Report what library types will actually be built
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11860 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11862 $as_echo "$can_build_shared" >&6; }
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11865 $as_echo_n "checking whether to build shared libraries... " >&6; }
11866 test no
= "$can_build_shared" && enable_shared
=no
11868 # On AIX, shared libraries and static libraries use the same namespace, and
11869 # are all built from PIC.
11872 test yes = "$enable_shared" && enable_static
=no
11873 if test -n "$RANLIB"; then
11874 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11875 postinstall_cmds
='$RANLIB $lib'
11880 if test ia64
!= "$host_cpu"; then
11881 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11882 yes,aix
,yes) ;; # shared object as lib.so file only
11883 yes,svr4
,*) ;; # shared object as lib.so archive member only
11884 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11890 $as_echo "$enable_shared" >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11893 $as_echo_n "checking whether to build static libraries... " >&6; }
11894 # Make sure either enable_shared or enable_static is yes.
11895 test yes = "$enable_shared" || enable_static
=yes
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11897 $as_echo "$enable_static" >&6; }
11904 ac_cpp
='$CPP $CPPFLAGS'
11905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11925 ac_config_commands
="$ac_config_commands libtool"
11930 # Only expand once:
11934 if test x
$GCC = xyes
11936 CFLAGS
="-Wall $CFLAGS"
11938 if test x
$GXX = xyes
11940 CXXFLAGS
="-Wall $CXXFLAGS"
11943 CFLAGS
="-I../libs -I$srcdir/../libs $CFLAGS"
11944 CXXFLAGS
="-I../libs -I$srcdir/../libs $CXXFLAGS"
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11947 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11948 if ${ac_cv_c_const+:} false
; then :
11949 $as_echo_n "(cached) " >&6
11951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11958 #ifndef __cplusplus
11959 /* Ultrix mips cc rejects this sort of thing. */
11960 typedef int charset[2];
11961 const charset cs = { 0, 0 };
11962 /* SunOS 4.1.1 cc rejects this. */
11963 char const *const *pcpcc;
11965 /* NEC SVR4.0.2 mips cc rejects this. */
11966 struct point {int x, y;};
11967 static struct point const zero = {0,0};
11968 /* AIX XL C 1.02.0.0 rejects this.
11969 It does not let you subtract one const X* pointer from another in
11970 an arm of an if-expression whose if-part is not a constant
11972 const char *g = "string";
11973 pcpcc = &g + (g ? g-g : 0);
11974 /* HPUX 7.0 cc rejects these. */
11976 ppc = (char**) pcpcc;
11977 pcpcc = (char const *const *) ppc;
11978 { /* SCO 3.2v4 cc rejects this sort of thing. */
11981 char const *s = 0 ? (char *) 0 : (char const *) 0;
11986 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11987 int x[] = {25, 17};
11988 const int *foo = &x[0];
11991 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11992 typedef const int *iptr;
11996 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
11997 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11998 struct s { int j; const int *ap[3]; } bx;
11999 struct s *b = &bx; b->j = 5;
12001 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12002 const int foo = 10;
12003 if (!foo) return 0;
12005 return !cs[0] && !zero.x;
12012 if ac_fn_c_try_compile
"$LINENO"; then :
12017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12020 $as_echo "$ac_cv_c_const" >&6; }
12021 if test $ac_cv_c_const = no
; then
12023 $as_echo "#define const /**/" >>confdefs.h
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12028 $as_echo_n "checking for ANSI C header files... " >&6; }
12029 if ${ac_cv_header_stdc+:} false
; then :
12030 $as_echo_n "(cached) " >&6
12032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12034 #include <stdlib.h>
12035 #include <stdarg.h>
12036 #include <string.h>
12047 if ac_fn_c_try_compile
"$LINENO"; then :
12048 ac_cv_header_stdc
=yes
12050 ac_cv_header_stdc
=no
12052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12054 if test $ac_cv_header_stdc = yes; then
12055 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12058 #include <string.h>
12061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12062 $EGREP "memchr" >/dev
/null
2>&1; then :
12065 ac_cv_header_stdc
=no
12071 if test $ac_cv_header_stdc = yes; then
12072 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12075 #include <stdlib.h>
12078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12079 $EGREP "free" >/dev
/null
2>&1; then :
12082 ac_cv_header_stdc
=no
12088 if test $ac_cv_header_stdc = yes; then
12089 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12090 if test "$cross_compiling" = yes; then :
12093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12096 #include <stdlib.h>
12097 #if ((' ' & 0x0FF) == 0x020)
12098 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12099 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12101 # define ISLOWER(c) \
12102 (('a' <= (c) && (c) <= 'i') \
12103 || ('j' <= (c) && (c) <= 'r') \
12104 || ('s' <= (c) && (c) <= 'z'))
12105 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12108 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12113 for (i = 0; i < 256; i++)
12114 if (XOR (islower (i), ISLOWER (i))
12115 || toupper (i) != TOUPPER (i))
12120 if ac_fn_c_try_run
"$LINENO"; then :
12123 ac_cv_header_stdc
=no
12125 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12126 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12132 $as_echo "$ac_cv_header_stdc" >&6; }
12133 if test $ac_cv_header_stdc = yes; then
12135 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12139 for ac_header
in fcntl.h string.h syslog.h
12141 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12142 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12143 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12144 cat >>confdefs.h
<<_ACEOF
12145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12153 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12154 if ${ac_cv_type_uid_t+:} false
; then :
12155 $as_echo_n "(cached) " >&6
12157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159 #include <sys/types.h>
12162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12163 $EGREP "uid_t" >/dev
/null
2>&1; then :
12164 ac_cv_type_uid_t
=yes
12166 ac_cv_type_uid_t
=no
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12172 $as_echo "$ac_cv_type_uid_t" >&6; }
12173 if test $ac_cv_type_uid_t = no
; then
12175 $as_echo "#define uid_t int" >>confdefs.h
12178 $as_echo "#define gid_t int" >>confdefs.h
12182 # Check whether --enable-largefile was given.
12183 if test "${enable_largefile+set}" = set; then :
12184 enableval
=$enable_largefile;
12187 if test "$enable_largefile" != no
; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12190 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12191 if ${ac_cv_sys_largefile_CC+:} false
; then :
12192 $as_echo_n "(cached) " >&6
12194 ac_cv_sys_largefile_CC
=no
12195 if test "$GCC" != yes; then
12198 # IRIX 6.2 and later do not support large files by default,
12199 # so use the C compiler's -n32 option if that helps.
12200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #include <sys/types.h>
12203 /* Check that off_t can represent 2**63 - 1 correctly.
12204 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12205 since some C++ compilers masquerading as C compilers
12206 incorrectly reject 9223372036854775807. */
12207 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12208 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12209 && LARGE_OFF_T % 2147483647 == 1)
12219 if ac_fn_c_try_compile
"$LINENO"; then :
12222 rm -f core conftest.err conftest.
$ac_objext
12224 if ac_fn_c_try_compile
"$LINENO"; then :
12225 ac_cv_sys_largefile_CC
=' -n32'; break
12227 rm -f core conftest.err conftest.
$ac_objext
12231 rm -f conftest.
$ac_ext
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12235 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12236 if test "$ac_cv_sys_largefile_CC" != no
; then
12237 CC
=$CC$ac_cv_sys_largefile_CC
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12241 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12242 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12243 $as_echo_n "(cached) " >&6
12246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12248 #include <sys/types.h>
12249 /* Check that off_t can represent 2**63 - 1 correctly.
12250 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12251 since some C++ compilers masquerading as C compilers
12252 incorrectly reject 9223372036854775807. */
12253 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12254 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12255 && LARGE_OFF_T % 2147483647 == 1)
12265 if ac_fn_c_try_compile
"$LINENO"; then :
12266 ac_cv_sys_file_offset_bits
=no
; break
12268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12271 #define _FILE_OFFSET_BITS 64
12272 #include <sys/types.h>
12273 /* Check that off_t can represent 2**63 - 1 correctly.
12274 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12275 since some C++ compilers masquerading as C compilers
12276 incorrectly reject 9223372036854775807. */
12277 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12278 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12279 && LARGE_OFF_T % 2147483647 == 1)
12289 if ac_fn_c_try_compile
"$LINENO"; then :
12290 ac_cv_sys_file_offset_bits
=64; break
12292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12293 ac_cv_sys_file_offset_bits
=unknown
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12298 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12299 case $ac_cv_sys_file_offset_bits in #(
12302 cat >>confdefs.h
<<_ACEOF
12303 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12308 if test $ac_cv_sys_file_offset_bits = unknown
; then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12310 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12311 if ${ac_cv_sys_large_files+:} false
; then :
12312 $as_echo_n "(cached) " >&6
12315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 #include <sys/types.h>
12318 /* Check that off_t can represent 2**63 - 1 correctly.
12319 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12320 since some C++ compilers masquerading as C compilers
12321 incorrectly reject 9223372036854775807. */
12322 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12323 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12324 && LARGE_OFF_T % 2147483647 == 1)
12334 if ac_fn_c_try_compile
"$LINENO"; then :
12335 ac_cv_sys_large_files
=no
; break
12337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340 #define _LARGE_FILES 1
12341 #include <sys/types.h>
12342 /* Check that off_t can represent 2**63 - 1 correctly.
12343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12344 since some C++ compilers masquerading as C compilers
12345 incorrectly reject 9223372036854775807. */
12346 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12348 && LARGE_OFF_T % 2147483647 == 1)
12358 if ac_fn_c_try_compile
"$LINENO"; then :
12359 ac_cv_sys_large_files
=1; break
12361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12362 ac_cv_sys_large_files
=unknown
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12367 $as_echo "$ac_cv_sys_large_files" >&6; }
12368 case $ac_cv_sys_large_files in #(
12371 cat >>confdefs.h
<<_ACEOF
12372 #define _LARGE_FILES $ac_cv_sys_large_files
12382 for ac_func
in strchr
12384 ac_fn_c_check_func
"$LINENO" "strchr" "ac_cv_func_strchr"
12385 if test "x$ac_cv_func_strchr" = xyes
; then :
12386 cat >>confdefs.h
<<_ACEOF
12387 #define HAVE_STRCHR 1
12395 # Check whether --with-syslog was given.
12396 if test "${with_syslog+set}" = set; then :
12397 withval
=$with_syslog; logdest
="LOG_$withval"
12404 cat >>confdefs.h
<<_ACEOF
12405 #define LOG_DEST $logdest
12408 if test -d ${srcdir}/..
/libs
/docbook
; then
12410 HAVE_SGML_FALSE
='#'
12416 ac_config_files
="$ac_config_files Makefile"
12418 cat >confcache
<<\_ACEOF
12419 # This file is a shell script that caches the results of configure
12420 # tests run on this system so they can be shared between configure
12421 # scripts and configure runs, see configure's option --config-cache.
12422 # It is not useful on other systems. If it contains results you don't
12423 # want to keep, you may remove or edit it.
12425 # config.status only pays attention to the cache file if you give it
12426 # the --recheck option to rerun configure.
12428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12430 # following values.
12434 # The following way of writing the cache mishandles newlines in values,
12435 # but we know of no workaround that is simple, portable, and efficient.
12436 # So, we kill variables containing newlines.
12437 # Ultrix sh set writes to stderr and can't be redirected directly,
12438 # and sets the high bit in the cache file unless we assign to the vars.
12440 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12441 eval ac_val
=\$
$ac_var
12445 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12449 _ | IFS | as_nl
) ;; #(
12450 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12451 *) { eval $ac_var=; unset $ac_var;} ;;
12457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12458 *${as_nl}ac_space
=\
*)
12459 # `set' does not quote correctly, so add quotes: double-quote
12460 # substitution turns \\\\ into \\, and sed turns \\ into \.
12463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12466 # `set' quotes correctly as required by POSIX, so do not add quotes.
12467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12480 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12481 if test -w "$cache_file"; then
12482 if test "x$cache_file" != "x/dev/null"; then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12484 $as_echo "$as_me: updating cache $cache_file" >&6;}
12485 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12486 cat confcache
>"$cache_file"
12488 case $cache_file in #(
12490 mv -f confcache
"$cache_file"$$
&&
12491 mv -f "$cache_file"$$
"$cache_file" ;; #(
12493 mv -f confcache
"$cache_file" ;;
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12499 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12504 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12505 # Let make expand exec_prefix.
12506 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12508 DEFS
=-DHAVE_CONFIG_H
12513 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12514 # 1. Remove the extension, and $U if already installed.
12515 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12516 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12517 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12518 # will be set to the directory where LIBOBJS objects are built.
12519 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12520 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12522 LIBOBJS
=$ac_libobjs
12524 LTLIBOBJS
=$ac_ltlibobjs
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12528 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12529 if test -n "$am_sleep_pid"; then
12530 # Hide warnings about reused PIDs.
12531 wait $am_sleep_pid 2>/dev
/null
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12534 $as_echo "done" >&6; }
12535 if test -n "$EXEEXT"; then
12537 am__EXEEXT_FALSE
='#'
12539 am__EXEEXT_TRUE
='#'
12543 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12544 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12547 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12548 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12551 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
12552 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
12553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12556 : "${CONFIG_STATUS=./config.status}"
12558 ac_clean_files_save
=$ac_clean_files
12559 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12561 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12563 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12565 # Generated by $as_me.
12566 # Run this file to recreate the current configuration.
12567 # Compiler output produced by configure, useful for debugging
12568 # configure, is in config.log if it exists.
12571 ac_cs_recheck=false
12574 SHELL=\${CONFIG_SHELL-$SHELL}
12577 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12578 ## -------------------- ##
12579 ## M4sh Initialization. ##
12580 ## -------------------- ##
12582 # Be more Bourne compatible
12583 DUALCASE
=1; export DUALCASE
# for MKS sh
12584 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12587 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12588 # is contrary to our usage. Disable this feature.
12589 alias -g '${1+"$@"}'='"$@"'
12590 setopt NO_GLOB_SUBST
12592 case `(set -o) 2>/dev/null` in #(
12604 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12605 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12608 # Prefer a ksh shell builtin over an external printf program on Solaris,
12609 # but without wasting forks for bash or zsh.
12610 if test -z "$BASH_VERSION$ZSH_VERSION" \
12611 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12612 as_echo='print
-r --'
12613 as_echo_n='print
-rn --'
12614 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12615 as_echo='printf %s
\n'
12616 as_echo_n='printf %s
'
12618 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12619 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12620 as_echo_n='/usr
/ucb
/echo -n'
12622 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12623 as_echo_n_body='eval
12627 expr "X$arg" : "X\\(.*\\)$as_nl";
12628 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12630 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12632 export as_echo_n_body
12633 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12635 export as_echo_body
12636 as_echo='sh
-c $as_echo_body as_echo
'
12639 # The user is always right.
12640 if test "${PATH_SEPARATOR+set}" != set; then
12642 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12643 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12650 # We need space, tab and new line, in precisely that order. Quoting is
12651 # there to prevent editors from complaining about space-tab.
12652 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12653 # splitting by setting IFS to empty value.)
12656 # Find who we are. Look in the path if we contain no directory separator.
12659 *[\\/]* ) as_myself=$0 ;;
12660 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12661 for as_dir in $PATH
12664 test -z "$as_dir" && as_dir=.
12665 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12671 # We did not find ourselves, most probably we were run as `sh COMMAND'
12672 # in which case we are not to be found in the path.
12673 if test "x$as_myself" = x
; then
12676 if test ! -f "$as_myself"; then
12677 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12681 # Unset variables that we do not need and which cause bugs (e.g. in
12682 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12683 # suppresses any "Segmentation fault" message there. '((' could
12684 # trigger a bug in pdksh 5.2.14.
12685 for as_var
in BASH_ENV ENV MAIL MAILPATH
12686 do eval test x\
${$as_var+set} = xset \
12687 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12700 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12703 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12704 # ----------------------------------------
12705 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12706 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12707 # script with STATUS, using 1 if that was 0.
12710 as_status
=$1; test $as_status -eq 0 && as_status
=1
12712 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12713 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12715 $as_echo "$as_me: error: $2" >&2
12716 as_fn_exit
$as_status
12720 # as_fn_set_status STATUS
12721 # -----------------------
12722 # Set $? to STATUS, without forking.
12723 as_fn_set_status
()
12726 } # as_fn_set_status
12728 # as_fn_exit STATUS
12729 # -----------------
12730 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12734 as_fn_set_status
$1
12740 # Portably unset VAR.
12743 { eval $1=; unset $1;}
12745 as_unset
=as_fn_unset
12746 # as_fn_append VAR VALUE
12747 # ----------------------
12748 # Append the text in VALUE to the end of the definition contained in VAR. Take
12749 # advantage of any shell optimizations that allow amortized linear growth over
12750 # repeated appends, instead of the typical quadratic growth present in naive
12752 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12753 eval 'as_fn_append ()
12764 # as_fn_arith ARG...
12765 # ------------------
12766 # Perform arithmetic evaluation on the ARGs, and store the result in the
12767 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12768 # must be portable across $(()) and expr.
12769 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12770 eval 'as_fn_arith ()
12777 as_val
=`expr "$@" || test $? -eq 1`
12782 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12783 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12789 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12790 as_basename
=basename
12795 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12801 as_me
=`$as_basename -- "$0" ||
12802 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12803 X"$0" : 'X\(//\)$' \| \
12804 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12806 sed '/^.*\/\([^/][^/]*\)\/*$/{
12820 # Avoid depending upon Character Ranges.
12821 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12822 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12823 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12824 as_cr_digits
='0123456789'
12825 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12827 ECHO_C
= ECHO_N
= ECHO_T
=
12828 case `echo -n x` in #(((((
12830 case `echo 'xy\c'` in
12831 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12833 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12840 rm -f conf$$ conf$$.exe conf$$.
file
12841 if test -d conf$$.dir
; then
12842 rm -f conf$$.dir
/conf$$.
file
12845 mkdir conf$$.dir
2>/dev
/null
12847 if (echo >conf$$.
file) 2>/dev
/null
; then
12848 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12850 # ... but there are two gotchas:
12851 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12852 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12853 # In both cases, we have to default to `cp -pR'.
12854 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12856 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12864 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12865 rmdir conf$$.dir
2>/dev
/null
12870 # Create "$as_dir" as a directory, including parents if necessary.
12875 -*) as_dir
=.
/$as_dir;;
12877 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12881 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12882 *) as_qdir
=$as_dir;;
12884 as_dirs
="'$as_qdir' $as_dirs"
12885 as_dir
=`$as_dirname -- "$as_dir" ||
12886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12887 X"$as_dir" : 'X\(//\)[^/]' \| \
12888 X"$as_dir" : 'X\(//\)$' \| \
12889 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12890 $as_echo X"$as_dir" |
12891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12895 /^X\(\/\/\)[^/].*/{
12908 test -d "$as_dir" && break
12910 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12911 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12915 if mkdir
-p .
2>/dev
/null
; then
12916 as_mkdir_p
='mkdir -p "$as_dir"'
12918 test -d .
/-p && rmdir .
/-p
12923 # as_fn_executable_p FILE
12924 # -----------------------
12925 # Test if FILE is an executable regular file.
12926 as_fn_executable_p
()
12928 test -f "$1" && test -x "$1"
12929 } # as_fn_executable_p
12930 as_test_x
='test -x'
12931 as_executable_p
=as_fn_executable_p
12933 # Sed expression to map a string onto a valid CPP name.
12934 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12936 # Sed expression to map a string onto a valid variable name.
12937 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12941 ## ----------------------------------- ##
12942 ## Main body of $CONFIG_STATUS script. ##
12943 ## ----------------------------------- ##
12945 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12948 # Save the log message, to keep $0 and so on meaningful, and to
12949 # report actual input values of CONFIG_FILES etc. instead of their
12950 # values after options handling.
12952 This file was extended by courierlogger $as_me 0.10, which was
12953 generated by GNU Autoconf 2.69. Invocation command line was
12955 CONFIG_FILES = $CONFIG_FILES
12956 CONFIG_HEADERS = $CONFIG_HEADERS
12957 CONFIG_LINKS = $CONFIG_LINKS
12958 CONFIG_COMMANDS = $CONFIG_COMMANDS
12961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12966 case $ac_config_files in *"
12967 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12970 case $ac_config_headers in *"
12971 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12976 # Files that config.status was made for.
12977 config_files="$ac_config_files"
12978 config_headers="$ac_config_headers"
12979 config_commands="$ac_config_commands"
12983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12985 \`$as_me' instantiates files and other configuration actions
12986 from templates according to the current configuration. Unless the files
12987 and actions are specified as TAGs, all are instantiated by default.
12989 Usage: $0 [OPTION]... [TAG]...
12991 -h, --help print this help, then exit
12992 -V, --version print version number and configuration settings, then exit
12993 --config print configuration, then exit
12994 -q, --quiet, --silent
12995 do not print progress messages
12996 -d, --debug don't remove temporary files
12997 --recheck update $as_me by reconfiguring in the same conditions
12998 --file=FILE[:TEMPLATE]
12999 instantiate the configuration file FILE
13000 --header=FILE[:TEMPLATE]
13001 instantiate the configuration header FILE
13003 Configuration files:
13006 Configuration headers:
13009 Configuration commands:
13012 Report bugs to <courier-users@lists.sourceforge.net>."
13015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13016 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13018 courierlogger config.status 0.10
13019 configured by $0, generated by GNU Autoconf 2.69,
13020 with options \\"\$ac_cs_config\\"
13022 Copyright (C) 2012 Free Software Foundation, Inc.
13023 This config.status script is free software; the Free Software Foundation
13024 gives unlimited permission to copy, distribute and modify it."
13031 test -n "\$AWK" || AWK=awk
13034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13035 # The default lists apply if the user does not specify any file.
13041 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13042 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13046 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13058 # Handling of the options.
13059 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13061 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13062 $as_echo "$ac_cs_version"; exit ;;
13063 --config |
--confi |
--conf |
--con |
--co |
--c )
13064 $as_echo "$ac_cs_config"; exit ;;
13065 --debug |
--debu |
--deb |
--de |
--d |
-d )
13067 --file |
--fil |
--fi |
--f )
13070 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13071 '') as_fn_error $?
"missing file argument" ;;
13073 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13074 ac_need_defaults
=false
;;
13075 --header |
--heade |
--head |
--hea )
13078 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13080 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13081 ac_need_defaults
=false
;;
13083 # Conflict between --help and --header
13084 as_fn_error $?
"ambiguous option: \`$1'
13085 Try \`$0 --help' for more information.";;
13086 --help |
--hel |
-h )
13087 $as_echo "$ac_cs_usage"; exit ;;
13088 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13089 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13092 # This is an error.
13093 -*) as_fn_error $?
"unrecognized option: \`$1'
13094 Try \`$0 --help' for more information." ;;
13096 *) as_fn_append ac_config_targets
" $1"
13097 ac_need_defaults
=false
;;
13103 ac_configure_extra_args
=
13105 if $ac_cs_silent; then
13107 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13112 if \$ac_cs_recheck; then
13113 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13115 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13116 CONFIG_SHELL='$SHELL'
13117 export CONFIG_SHELL
13122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13127 ## Running $as_me. ##
13133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13137 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13140 # The HP-UX ksh and POSIX shell print the target directory to stdout
13141 # if CDPATH is set.
13142 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13144 sed_quote_subst='$sed_quote_subst'
13145 double_quote_subst='$double_quote_subst'
13146 delay_variable_subst='$delay_variable_subst'
13147 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13148 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13149 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13150 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13151 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13152 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13153 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13154 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13155 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13156 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13157 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13158 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13159 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13160 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13161 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13162 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13163 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13164 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13165 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13166 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13167 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13168 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13169 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13170 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13171 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13172 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13173 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13174 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13175 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13176 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13177 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13178 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13179 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13180 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13181 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13182 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13183 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13184 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13185 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13186 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13187 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13188 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13189 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13190 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13191 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13192 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13193 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13194 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13195 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13196 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13197 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13198 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13199 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13200 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13201 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13202 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13203 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13204 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13205 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"`'
13206 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13207 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13208 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13209 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13210 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13211 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13212 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13213 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13214 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13215 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13216 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13217 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13218 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13219 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13220 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13221 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13222 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13223 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13224 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13225 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13226 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13227 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13228 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13229 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13230 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13231 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13232 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13233 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13234 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13235 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13236 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13237 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13238 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13239 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13240 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13241 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13242 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13243 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13244 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13245 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13246 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13247 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13248 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13249 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13250 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13251 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13252 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13253 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13254 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13255 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13256 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13257 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13258 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13259 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13260 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13261 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13262 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13263 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13264 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13265 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13266 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13267 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13268 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13269 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13270 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13271 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13272 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13273 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13274 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13275 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13276 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13277 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13278 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13279 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13280 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13281 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13284 LTCFLAGS='$LTCFLAGS'
13285 compiler='$compiler_DEFAULT'
13287 # A function that is used when there is no print builtin or printf.
13288 func_fallback_echo ()
13290 eval 'cat <<_LTECHO_EOF
13295 # Quote evaled strings.
13310 deplibs_check_method \
13315 sharedlib_from_linklib_cmd \
13318 archiver_list_spec \
13324 lt_cv_sys_global_symbol_pipe \
13325 lt_cv_sys_global_symbol_to_cdecl \
13326 lt_cv_sys_global_symbol_to_import \
13327 lt_cv_sys_global_symbol_to_c_name_address \
13328 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13329 lt_cv_nm_interface \
13330 nm_file_list_spec \
13331 lt_cv_truncate_bin \
13332 lt_prog_compiler_no_builtin_flag \
13333 lt_prog_compiler_pic \
13334 lt_prog_compiler_wl \
13335 lt_prog_compiler_static \
13336 lt_cv_prog_compiler_c_o \
13345 export_dynamic_flag_spec \
13346 whole_archive_flag_spec \
13347 compiler_needs_object \
13349 allow_undefined_flag \
13350 no_undefined_flag \
13351 hardcode_libdir_flag_spec \
13352 hardcode_libdir_separator \
13356 variables_saved_for_relink \
13358 library_names_spec \
13360 install_override_mode \
13364 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13365 *[\\\\\\\`\\"\\\$]*)
13366 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13369 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13374 # Double-quote double-evaled strings.
13375 for var in reload_cmds \
13376 old_postinstall_cmds \
13377 old_postuninstall_cmds \
13379 extract_expsyms_cmds \
13380 old_archive_from_new_cmds \
13381 old_archive_from_expsyms_cmds \
13383 archive_expsym_cmds \
13385 module_expsym_cmds \
13386 export_symbols_cmds \
13390 postuninstall_cmds \
13392 sys_lib_search_path_spec \
13393 configure_time_dlsearch_path \
13394 configure_time_lt_sys_library_path; do
13395 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13396 *[\\\\\\\`\\"\\\$]*)
13397 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13400 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13405 ac_aux_dir='$ac_aux_dir'
13407 # See if we are running on zsh, and set the options that allow our
13408 # commands through without removal of \ escapes INIT.
13409 if test -n "\${ZSH_VERSION+set}"; then
13410 setopt NO_GLOB_SUBST
13424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13426 # Handling of arguments.
13427 for ac_config_target
in $ac_config_targets
13429 case $ac_config_target in
13430 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13431 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13432 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13433 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13435 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13440 # If the user did not use the arguments to specify the items to instantiate,
13441 # then the envvar interface is used. Set only those that are not.
13442 # We use the long form for the default assignment because of an extremely
13443 # bizarre bug on SunOS 4.1.3.
13444 if $ac_need_defaults; then
13445 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13446 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13447 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13450 # Have a temporary directory for convenience. Make it in the build tree
13451 # simply because there is no reason against having it here, and in addition,
13452 # creating and moving files from /tmp can sometimes cause problems.
13453 # Hook for its removal unless debugging.
13454 # Note that there is a small window in which the directory will not be cleaned:
13455 # after its creation but before its name has been assigned to `$tmp'.
13459 trap 'exit_status=$?
13460 : "${ac_tmp:=$tmp}"
13461 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13463 trap 'as_fn_exit 1' 1 2 13 15
13465 # Create a (secure) tmp directory for tmp files.
13468 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13472 tmp
=.
/conf$$
-$RANDOM
13473 (umask 077 && mkdir
"$tmp")
13474 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13477 # Set up the scripts for CONFIG_FILES section.
13478 # No need to generate them if there are no CONFIG_FILES.
13479 # This happens for instance with `./config.status config.h'.
13480 if test -n "$CONFIG_FILES"; then
13483 ac_cr
=`echo X | tr X '\015'`
13484 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13485 # But we know of no other shell where ac_cr would be empty at this
13486 # point, so we can use a bashism as a fallback.
13487 if test "x$ac_cr" = x
; then
13488 eval ac_cr
=\$
\'\\r
\'
13490 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13491 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13494 ac_cs_awk_cr
=$ac_cr
13497 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13502 echo "cat >conf$$subs.awk <<_ACEOF" &&
13503 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13505 } >conf$$subs.sh ||
13506 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13507 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13509 for ac_last_try in false false false false false :; do
13510 . ./conf$$subs.sh ||
13511 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13513 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13514 if test $ac_delim_n = $ac_delim_num; then
13516 elif $ac_last_try; then
13517 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13519 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13522 rm -f conf$$subs.sh
13524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13525 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13529 s/^/S["/; s
/!.
*/"]=/
13539 s/\(.\{148\}\)..*/\1/
13541 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13546 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13553 s/\(.\{148\}\)..*/\1/
13555 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13559 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13564 ' <conf$$subs.awk | sed '
13569 ' >>$CONFIG_STATUS || ac_write_fail=1
13570 rm -f conf$$subs.awk
13571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13573 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13574 for (key in S) S_is_set[key] = 1
13580 nfields = split(line, field, "@
")
13582 len = length(field[1])
13583 for (i = 2; i < nfields; i++) {
13585 keylen = length(key)
13586 if (S_is_set[key]) {
13588 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13589 len += length(value) + length(field[++i])
13600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13601 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13602 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13605 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13606 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13609 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13610 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13611 # trailing colons and then remove the whole line if VPATH becomes empty
13612 # (actually we leave an empty line to preserve line numbers).
13613 if test "x
$srcdir" = x.; then
13614 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13633 fi # test -n "$CONFIG_FILES"
13635 # Set up the scripts for CONFIG_HEADERS section.
13636 # No need to generate them if there are no CONFIG_HEADERS.
13637 # This happens for instance with `./config.status Makefile'.
13638 if test -n "$CONFIG_HEADERS"; then
13639 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13643 # Transform confdefs.h into an awk script `defines.awk', embedded as
13644 # here-document in config.status, that substitutes the proper values into
13645 # config.h.in to produce config.h.
13647 # Create a delimiter string that does not exist in confdefs.h, to ease
13648 # handling of long lines.
13650 for ac_last_try in false false :; do
13651 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13652 if test -z "$ac_tt"; then
13654 elif $ac_last_try; then
13655 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13657 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13661 # For the awk script, D is an array of macro values keyed by name,
13662 # likewise P contains macro parameters if any. Preserve backslash
13663 # newline sequences.
13665 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13667 s/.\{148\}/&'"$ac_delim"'/g
13670 s/^[ ]*#[ ]*define[ ][ ]*/ /
13677 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13679 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13684 D["\
1"]=" \
3\\\\\\n
"\\/p
13686 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13691 s/.\{148\}/&'"$ac_delim"'/g
13696 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13699 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13701 ' <confdefs.h | sed '
13702 s/'"$ac_delim"'/"\\\
13703 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13706 for (key in D) D_is_set[key] = 1
13709 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13711 split(line, arg, " ")
13712 if (arg[1] == "#") {
13716 defundef
= substr
(arg
[1], 2)
13719 split(mac1
, mac2
, "(") #)
13721 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13722 if (D_is_set
[macro
]) {
13723 # Preserve the white space surrounding the "#".
13724 print prefix
"define", macro P
[macro
] D
[macro
]
13727 # Replace #undef with comments. This is necessary, for example,
13728 # in the case of _POSIX_SOURCE, which is predefined and required
13729 # on some systems where configure will not decide to define it.
13730 if (defundef
== "undef") {
13731 print
"/*", prefix defundef
, macro
, "*/"
13739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13740 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13741 fi # test -n "$CONFIG_HEADERS"
13744 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13749 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13751 case $ac_mode$ac_tag in
13753 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13754 :[FH
]-) ac_tag
=-:-;;
13755 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13772 -) ac_f
="$ac_tmp/stdin";;
13773 *) # Look for the file first in the build tree, then in the source tree
13774 # (if the path is not absolute). The absolute path cannot be DOS-style,
13775 # because $ac_f cannot contain `:'.
13779 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13781 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13783 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13784 as_fn_append ac_file_inputs
" '$ac_f'"
13787 # Let's still pretend it is `configure' which instantiates (i.e., don't
13788 # use $as_me), people would be surprised to read:
13789 # /* config.h. Generated by config.status. */
13790 configure_input
='Generated from '`
13791 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13793 if test x
"$ac_file" != x-
; then
13794 configure_input
="$ac_file. $configure_input"
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13796 $as_echo "$as_me: creating $ac_file" >&6;}
13798 # Neutralize special characters interpreted by sed in replacement strings.
13799 case $configure_input in #(
13800 *\
&* |
*\|
* |
*\\* )
13801 ac_sed_conf_input
=`$as_echo "$configure_input" |
13802 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13803 *) ac_sed_conf_input
=$configure_input;;
13807 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13808 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13813 ac_dir
=`$as_dirname -- "$ac_file" ||
13814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13815 X"$ac_file" : 'X\(//\)[^/]' \| \
13816 X"$ac_file" : 'X\(//\)$' \| \
13817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13818 $as_echo X"$ac_file" |
13819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13823 /^X\(\/\/\)[^/].*/{
13836 as_dir
="$ac_dir"; as_fn_mkdir_p
13840 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13842 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13843 # A ".." for each directory in $ac_dir_suffix.
13844 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13845 case $ac_top_builddir_sub in
13846 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13847 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13850 ac_abs_top_builddir
=$ac_pwd
13851 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13852 # for backward compatibility:
13853 ac_top_builddir
=$ac_top_build_prefix
13856 .
) # We are building in place.
13858 ac_top_srcdir
=$ac_top_builddir_sub
13859 ac_abs_top_srcdir
=$ac_pwd ;;
13860 [\\/]* | ?
:[\\/]* ) # Absolute name.
13861 ac_srcdir
=$srcdir$ac_dir_suffix;
13862 ac_top_srcdir
=$srcdir
13863 ac_abs_top_srcdir
=$srcdir ;;
13864 *) # Relative name.
13865 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13866 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13867 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13869 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13879 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13880 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13882 ac_MKDIR_P
=$MKDIR_P
13884 [\\/$
]* | ?
:[\\/]* ) ;;
13885 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13890 # If the template does not know about datarootdir, expand it.
13891 # FIXME: This hack should be removed a few years after 2.60.
13892 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13903 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13904 *datarootdir
*) ac_datarootdir_seen
=yes;;
13905 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13907 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13910 ac_datarootdir_hack='
13911 s&@datadir@&$datadir&g
13912 s&@docdir@&$docdir&g
13913 s&@infodir@&$infodir&g
13914 s&@localedir@&$localedir&g
13915 s&@mandir@&$mandir&g
13916 s&\\\${datarootdir}&$datarootdir&g' ;;
13920 # Neutralize VPATH when `$srcdir' = `.'.
13921 # Shell code in configure.ac might set extrasub.
13922 # FIXME: do we really want to maintain this feature?
13923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13924 ac_sed_extra="$ac_vpsub
13927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13929 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13930 s|@configure_input@|
$ac_sed_conf_input|
;t t
13931 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13932 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13933 s
&@srcdir@
&$ac_srcdir&;t t
13934 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13935 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13936 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13937 s
&@builddir@
&$ac_builddir&;t t
13938 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13939 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13940 s
&@INSTALL@
&$ac_INSTALL&;t t
13941 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13942 $ac_datarootdir_hack
13944 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13945 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13947 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13948 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13949 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13950 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13952 which seems to be undefined. Please make sure it is defined" >&5
13953 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13954 which seems to be undefined. Please make sure it is defined" >&2;}
13956 rm -f "$ac_tmp/stdin"
13958 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13959 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13961 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13967 if test x"$ac_file" != x-; then
13969 $as_echo "/* $configure_input */" \
13970 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13971 } >"$ac_tmp/config.h" \
13972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13973 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13975 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13978 mv "$ac_tmp/config.h" "$ac_file" \
13979 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13982 $as_echo "/* $configure_input */" \
13983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13984 || as_fn_error $? "could not create -" "$LINENO" 5
13986 # Compute "$ac_file"'s index
in $config_headers.
13989 for _am_header
in $config_headers :; do
13990 case $_am_header in
13991 $_am_arg |
$_am_arg:* )
13994 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13997 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13998 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13999 X"$_am_arg" : 'X\(//\)[^/]' \| \
14000 X"$_am_arg" : 'X\(//\)$' \| \
14001 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14002 $as_echo X"$_am_arg" |
14003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14007 /^X\(\/\/\)[^/].*/{
14019 s/.*/./; q'`/stamp-h
$_am_stamp_count
14022 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14023 $as_echo "$as_me: executing $ac_file commands" >&6;}
14028 case $ac_file$ac_mode in
14029 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14030 # Older Autoconf quotes --file arguments for eval, but not when files
14031 # are listed without --file. Let's play safe and only enable the eval
14032 # if we detect the quoting.
14033 case $CONFIG_FILES in
14034 *\'*) eval set x
"$CONFIG_FILES" ;;
14035 *) set x
$CONFIG_FILES ;;
14040 # Strip MF so we end up with the name of the file.
14041 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14042 # Check whether this is an Automake generated Makefile or not.
14043 # We used to match only the files named 'Makefile.in', but
14044 # some people rename them; so instead we look at the file content.
14045 # Grep'ing the first line is not enough: some people post-process
14046 # each Makefile.in and add a new line on top of each file to say so.
14047 # Grep'ing the whole file is not good either: AIX grep has a line
14048 # limit of 2048, but all sed's we know have understand at least 4000.
14049 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14050 dirpart
=`$as_dirname -- "$mf" ||
14051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14052 X"$mf" : 'X\(//\)[^/]' \| \
14053 X"$mf" : 'X\(//\)$' \| \
14054 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14060 /^X\(\/\/\)[^/].*/{
14076 # Extract the definition of DEPDIR, am__include, and am__quote
14077 # from the Makefile without running 'make'.
14078 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14079 test -z "$DEPDIR" && continue
14080 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14081 test -z "$am__include" && continue
14082 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14083 # Find all dependency output files, they are included files with
14084 # $(DEPDIR) in their names. We invoke sed twice because it is the
14085 # simplest approach to changing $(DEPDIR) to its actual value in the
14087 for file in `sed -n "
14088 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14089 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14090 # Make sure the directory exists.
14091 test -f "$dirpart/$file" && continue
14092 fdir
=`$as_dirname -- "$file" ||
14093 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14094 X"$file" : 'X\(//\)[^/]' \| \
14095 X"$file" : 'X\(//\)$' \| \
14096 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14097 $as_echo X"$file" |
14098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14102 /^X\(\/\/\)[^/].*/{
14115 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14116 # echo "creating $dirpart/$file"
14117 echo '# dummy' > "$dirpart/$file"
14124 # See if we are running on zsh, and set the options that allow our
14125 # commands through without removal of \ escapes.
14126 if test -n "${ZSH_VERSION+set}"; then
14127 setopt NO_GLOB_SUBST
14131 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14134 cat <<_LT_EOF >> "$cfgfile"
14136 # Generated automatically by $as_me ($PACKAGE) $VERSION
14137 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14138 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14140 # Provide generalized library-building support services.
14141 # Written by Gordon Matzigkeit, 1996
14143 # Copyright (C) 2014 Free Software Foundation, Inc.
14144 # This is free software; see the source for copying conditions. There is NO
14145 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14147 # GNU Libtool is free software; you can redistribute it and/or modify
14148 # it under the terms of the GNU General Public License as published by
14149 # the Free Software Foundation; either version 2 of of the License, or
14150 # (at your option) any later version.
14152 # As a special exception to the GNU General Public License, if you
14153 # distribute this file as part of a program or library that is built
14154 # using GNU Libtool, you may include this file under the same
14155 # distribution terms that you use for the rest of that program.
14157 # GNU Libtool is distributed in the hope that it will be useful, but
14158 # WITHOUT ANY WARRANTY; without even the implied warranty of
14159 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14160 # GNU General Public License for more details.
14162 # You should have received a copy of the GNU General Public License
14163 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14166 # The names of the tagged configurations supported by this script.
14169 # Configured defaults for sys_lib_dlsearch_path munging.
14170 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14172 # ### BEGIN LIBTOOL CONFIG
14174 # Which release of libtool.m4 was used?
14175 macro_version=$macro_version
14176 macro_revision=$macro_revision
14178 # Whether or not to build shared libraries.
14179 build_libtool_libs=$enable_shared
14181 # Whether or not to build static libraries.
14182 build_old_libs=$enable_static
14184 # What type of objects to build.
14187 # Whether or not to optimize for fast installation.
14188 fast_install=$enable_fast_install
14190 # Shared archive member basename,for filename based shared library versioning on AIX.
14191 shared_archive_member_spec=$shared_archive_member_spec
14193 # Shell to use when invoking shell scripts.
14196 # An echo program that protects backslashes.
14199 # The PATH separator for the build system.
14200 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14203 host_alias=$host_alias
14207 # The build system.
14208 build_alias=$build_alias
14212 # A sed program that does not truncate output.
14215 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14216 Xsed="\$SED -e 1s/^X//"
14218 # A grep program that handles long lines.
14224 # A literal string matcher.
14227 # A BSD- or MS-compatible name lister.
14230 # Whether we need soft or hard links.
14233 # What is the maximum length of a command?
14234 max_cmd_len=$max_cmd_len
14236 # Object file suffix (normally "o").
14239 # Executable file suffix (normally "").
14242 # whether the shell understands "unset".
14245 # turn spaces into newlines.
14248 # turn newlines into spaces.
14251 # convert \$build file names to \$host format.
14252 to_host_file_cmd=$lt_cv_to_host_file_cmd
14254 # convert \$build files to toolchain format.
14255 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14257 # An object symbol dumper.
14258 OBJDUMP=$lt_OBJDUMP
14260 # Method to check whether dependent libraries are shared objects.
14261 deplibs_check_method=$lt_deplibs_check_method
14263 # Command to use when deplibs_check_method = "file_magic".
14264 file_magic_cmd=$lt_file_magic_cmd
14266 # How to find potential files when deplibs_check_method = "file_magic".
14267 file_magic_glob=$lt_file_magic_glob
14269 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14270 want_nocaseglob=$lt_want_nocaseglob
14272 # DLL creation program.
14273 DLLTOOL=$lt_DLLTOOL
14275 # Command to associate shared and link libraries.
14276 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14281 # Flags to create an archive.
14282 AR_FLAGS=$lt_AR_FLAGS
14284 # How to feed a file listing to the archiver.
14285 archiver_list_spec=$lt_archiver_list_spec
14287 # A symbol stripping program.
14290 # Commands used to install an old-style archive.
14292 old_postinstall_cmds=$lt_old_postinstall_cmds
14293 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14295 # Whether to use a lock for old archive extraction.
14296 lock_old_archive_extraction=$lock_old_archive_extraction
14301 # LTCC compiler flags.
14302 LTCFLAGS=$lt_CFLAGS
14304 # Take the output of nm and produce a listing of raw symbols and C names.
14305 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14307 # Transform the output of nm in a proper C declaration.
14308 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14310 # Transform the output of nm into a list of symbols to manually relocate.
14311 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14313 # Transform the output of nm in a C name address pair.
14314 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14316 # Transform the output of nm in a C name address pair when lib prefix is needed.
14317 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14319 # The name lister interface.
14320 nm_interface=$lt_lt_cv_nm_interface
14322 # Specify filename containing input files for \$NM.
14323 nm_file_list_spec=$lt_nm_file_list_spec
14325 # The root where to search for dependent libraries,and where our libraries should be installed.
14326 lt_sysroot=$lt_sysroot
14328 # Command to truncate a binary pipe.
14329 lt_truncate_bin=$lt_lt_cv_truncate_bin
14331 # The name of the directory that contains temporary libtool files.
14334 # Used to examine libraries when file_magic_cmd begins with "file".
14335 MAGIC_CMD=$MAGIC_CMD
14337 # Must we lock files when doing compilation?
14338 need_locks=$lt_need_locks
14341 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14343 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14344 DSYMUTIL=$lt_DSYMUTIL
14346 # Tool to change global to local symbols on Mac OS X.
14349 # Tool to manipulate fat objects and archives on Mac OS X.
14352 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14355 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14356 OTOOL64=$lt_OTOOL64
14358 # Old archive suffix (normally "a").
14361 # Shared library suffix (normally ".so").
14362 shrext_cmds=$lt_shrext_cmds
14364 # The commands to extract the exported symbol list from a shared archive.
14365 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14367 # Variables whose values should be saved in libtool wrapper scripts and
14368 # restored at link time.
14369 variables_saved_for_relink=$lt_variables_saved_for_relink
14371 # Do we need the "lib" prefix for modules?
14372 need_lib_prefix=$need_lib_prefix
14374 # Do we need a version for libraries?
14375 need_version=$need_version
14377 # Library versioning type.
14378 version_type=$version_type
14380 # Shared library runtime path variable.
14381 runpath_var=$runpath_var
14383 # Shared library path variable.
14384 shlibpath_var=$shlibpath_var
14386 # Is shlibpath searched before the hard-coded library search path?
14387 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14389 # Format of library name prefix.
14390 libname_spec=$lt_libname_spec
14392 # List of archive names. First name is the real one, the rest are links.
14393 # The last name is the one that the linker finds with -lNAME
14394 library_names_spec=$lt_library_names_spec
14396 # The coded name of the library, if different from the real name.
14397 soname_spec=$lt_soname_spec
14399 # Permission mode override for installation of shared libraries.
14400 install_override_mode=$lt_install_override_mode
14402 # Command to use after installation of a shared archive.
14403 postinstall_cmds=$lt_postinstall_cmds
14405 # Command to use after uninstallation of a shared archive.
14406 postuninstall_cmds=$lt_postuninstall_cmds
14408 # Commands used to finish a libtool library installation in a directory.
14409 finish_cmds=$lt_finish_cmds
14411 # As "finish_cmds", except a single script fragment to be evaled but
14413 finish_eval=$lt_finish_eval
14415 # Whether we should hardcode library paths into libraries.
14416 hardcode_into_libs=$hardcode_into_libs
14418 # Compile-time system search path for libraries.
14419 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14421 # Detected run-time system search path for libraries.
14422 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14424 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14425 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14427 # Whether dlopen is supported.
14428 dlopen_support=$enable_dlopen
14430 # Whether dlopen of programs is supported.
14431 dlopen_self=$enable_dlopen_self
14433 # Whether dlopen of statically linked programs is supported.
14434 dlopen_self_static=$enable_dlopen_self_static
14436 # Commands to strip libraries.
14437 old_striplib=$lt_old_striplib
14438 striplib=$lt_striplib
14441 # The linker used to build libraries.
14444 # How to create reloadable object files.
14445 reload_flag=$lt_reload_flag
14446 reload_cmds=$lt_reload_cmds
14448 # Commands used to build an old-style archive.
14449 old_archive_cmds=$lt_old_archive_cmds
14451 # A language specific compiler.
14454 # Is the compiler the GNU compiler?
14457 # Compiler flag to turn off builtin functions.
14458 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14460 # Additional compiler flags for building library objects.
14461 pic_flag=$lt_lt_prog_compiler_pic
14463 # How to pass a linker flag through the compiler.
14464 wl=$lt_lt_prog_compiler_wl
14466 # Compiler flag to prevent dynamic linking.
14467 link_static_flag=$lt_lt_prog_compiler_static
14469 # Does compiler simultaneously support -c and -o options?
14470 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14472 # Whether or not to add -lc for building shared libraries.
14473 build_libtool_need_lc=$archive_cmds_need_lc
14475 # Whether or not to disallow shared libs when runtime libs are static.
14476 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14478 # Compiler flag to allow reflexive dlopens.
14479 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14481 # Compiler flag to generate shared objects directly from archives.
14482 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14484 # Whether the compiler copes with passing no objects directly.
14485 compiler_needs_object=$lt_compiler_needs_object
14487 # Create an old-style archive from a shared archive.
14488 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14490 # Create a temporary old-style archive to link instead of a shared archive.
14491 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14493 # Commands used to build a shared archive.
14494 archive_cmds=$lt_archive_cmds
14495 archive_expsym_cmds=$lt_archive_expsym_cmds
14497 # Commands used to build a loadable module if different from building
14498 # a shared archive.
14499 module_cmds=$lt_module_cmds
14500 module_expsym_cmds=$lt_module_expsym_cmds
14502 # Whether we are building with GNU ld or not.
14503 with_gnu_ld=$lt_with_gnu_ld
14505 # Flag that allows shared libraries with undefined symbols to be built.
14506 allow_undefined_flag=$lt_allow_undefined_flag
14508 # Flag that enforces no undefined symbols.
14509 no_undefined_flag=$lt_no_undefined_flag
14511 # Flag to hardcode \$libdir into a binary during linking.
14512 # This must work even if \$libdir does not exist
14513 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14515 # Whether we need a single "-rpath" flag with a separated argument.
14516 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14518 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14519 # DIR into the resulting binary.
14520 hardcode_direct=$hardcode_direct
14522 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14523 # DIR into the resulting binary and the resulting library dependency is
14524 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14525 # library is relocated.
14526 hardcode_direct_absolute=$hardcode_direct_absolute
14528 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14529 # into the resulting binary.
14530 hardcode_minus_L=$hardcode_minus_L
14532 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14533 # into the resulting binary.
14534 hardcode_shlibpath_var=$hardcode_shlibpath_var
14536 # Set to "yes" if building a shared library automatically hardcodes DIR
14537 # into the library and all subsequent libraries and executables linked
14539 hardcode_automatic=$hardcode_automatic
14541 # Set to yes if linker adds runtime paths of dependent libraries
14542 # to runtime path list.
14543 inherit_rpath=$inherit_rpath
14545 # Whether libtool must link a program against all its dependency libraries.
14546 link_all_deplibs=$link_all_deplibs
14548 # Set to "yes" if exported symbols are required.
14549 always_export_symbols=$always_export_symbols
14551 # The commands to list exported symbols.
14552 export_symbols_cmds=$lt_export_symbols_cmds
14554 # Symbols that should not be listed in the preloaded symbols.
14555 exclude_expsyms=$lt_exclude_expsyms
14557 # Symbols that must always be exported.
14558 include_expsyms=$lt_include_expsyms
14560 # Commands necessary for linking programs (against libraries) with templates.
14561 prelink_cmds=$lt_prelink_cmds
14563 # Commands necessary for finishing linking programs.
14564 postlink_cmds=$lt_postlink_cmds
14566 # Specify filename containing input files.
14567 file_list_spec=$lt_file_list_spec
14569 # How to hardcode a shared library path into an executable.
14570 hardcode_action=$hardcode_action
14572 # ### END LIBTOOL CONFIG
14576 cat <<'_LT_EOF' >> "$cfgfile"
14578 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14580 # func_munge_path_list VARIABLE PATH
14581 # -----------------------------------
14582 # VARIABLE is name of variable containing _space_ separated list of
14583 # directories to be munged by the contents of PATH, which is string
14586 # string "DIR[ DIR]" will be prepended to VARIABLE
14588 # string "DIR[ DIR]" will be appended to VARIABLE
14589 # "DIRP[:DIRP]::[DIRA:]DIRA"
14590 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14591 # "DIRA[ DIRA]" will be appended to VARIABLE
14593 # VARIABLE will be replaced by "DIR[ DIR]"
14594 func_munge_path_list ()
14600 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14603 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14606 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14607 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14610 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14616 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14617 func_cc_basename ()
14619 for cc_temp in $*""; do
14621 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14622 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14627 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14631 # ### END FUNCTIONS SHARED WITH CONFIGURE
14637 cat <<\_LT_EOF
>> "$cfgfile"
14638 # AIX sometimes has problems with the GCC collect2 program. For some
14639 # reason, if we set the COLLECT_NAMES environment variable, the problems
14640 # vanish in a puff of smoke.
14641 if test set != "${COLLECT_NAMES+set}"; then
14643 export COLLECT_NAMES
14650 ltmain
=$ac_aux_dir/ltmain.sh
14653 # We use sed instead of cat because bash on DJGPP gets confused if
14654 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14655 # text mode, it properly converts lines to CR/LF. This bash problem
14656 # is reportedly fixed, but why not run on old versions too?
14657 sed '$q' "$ltmain" >> "$cfgfile" \
14658 ||
(rm -f "$cfgfile"; exit 1)
14660 mv -f "$cfgfile" "$ofile" ||
14661 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14672 ac_clean_files
=$ac_clean_files_save
14674 test $ac_write_fail = 0 ||
14675 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14678 # configure is writing to config.log, and then calls config.status.
14679 # config.status does its own redirection, appending to config.log.
14680 # Unfortunately, on DOS this fails, as config.log is still kept open
14681 # by configure, so config.status won't be able to write to it; its
14682 # output is simply discarded. So we exec the FD to /dev/null,
14683 # effectively closing config.log, so it can be properly (re)opened and
14684 # appended to by config.status. When coming back to configure, we
14685 # need to make the FD available again.
14686 if test "$no_create" != yes; then
14688 ac_config_status_args
=
14689 test "$silent" = yes &&
14690 ac_config_status_args
="$ac_config_status_args --quiet"
14692 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14694 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14695 # would make configure fail if this is the last instruction.
14696 $ac_cs_success || as_fn_exit
1
14698 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14700 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}