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
700 INSTALL_STRIP_PROGRAM
742 program_transform_name
755 enable_option_checking
757 enable_dependency_tracking
768 ac_precious_vars
='build_alias
779 # Initialize some variables set by options.
781 ac_init_version
=false
782 ac_unrecognized_opts
=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name
=s
,x
,x
,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir
='${exec_prefix}/bin'
808 sbindir
='${exec_prefix}/sbin'
809 libexecdir
='${exec_prefix}/libexec'
810 datarootdir
='${prefix}/share'
811 datadir
='${datarootdir}'
812 sysconfdir
='${prefix}/etc'
813 sharedstatedir
='${prefix}/com'
814 localstatedir
='${prefix}/var'
815 includedir
='${prefix}/include'
816 oldincludedir
='/usr/include'
817 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir
='${datarootdir}/info'
823 libdir
='${exec_prefix}/lib'
824 localedir
='${datarootdir}/locale'
825 mandir
='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\
$ac_option
839 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error $?
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=no
;;
898 -docdir |
--docdir |
--docdi |
--doc |
--do)
900 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
903 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
905 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
908 -enable-* |
--enable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error $?
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error $?
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error $?
"invalid package name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=no
;;
1145 # Obsolete; use --with-x.
1148 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1149 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1150 ac_prev
=x_includes
;;
1151 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1152 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1153 x_includes
=$ac_optarg ;;
1155 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1156 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1157 ac_prev
=x_libraries
;;
1158 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1159 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1160 x_libraries
=$ac_optarg ;;
1162 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information"
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1171 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\
$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187 if test -n "$ac_prev"; then
1188 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error $?
"missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1240 test "$silent" = yes && exec 6>/dev
/null
1243 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di
=`ls -di .` &&
1245 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error $?
"working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error $?
"pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted
=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir
=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted
=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1287 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var
in $ac_precious_vars; do
1304 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1306 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures courierlogger 0.10 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking ...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/courierlogger]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1380 --build=BUILD configure
for building on BUILD
[guessed
]
1381 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1385 if test -n "$ac_init_help"; then
1386 case $ac_init_help in
1387 short | recursive
) echo "Configuration of courierlogger 0.10:";;
1392 --disable-option-checking ignore unrecognized
--enable/--with options
1393 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1394 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1395 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1396 --disable-silent-rules verbose build output
(undo
: "make V=0")
1397 --enable-dependency-tracking
1398 do not reject slow dependency extractors
1399 --disable-dependency-tracking
1400 speeds up one-time build
1401 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1402 --enable-static[=PKGS
] build static libraries
[default
=yes]
1403 --enable-fast-install[=PKGS
]
1404 optimize
for fast installation
[default
=yes]
1405 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1406 --disable-largefile omit support
for large files
1409 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1410 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1411 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1413 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1414 --with-sysroot=DIR Search
for dependent libraries within DIR
1415 (or the compiler
's sysroot if not specified).
1416 --with-syslog=XXX syslog facility [[MAIL]]
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1428 Use these variables to override the choices made by `configure' or to
help
1429 it to
find libraries and programs with nonstandard names
/locations.
1431 Report bugs to
<courier-users@lists.sourceforge.net
>.
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1439 test -d "$ac_dir" ||
1440 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1447 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1455 ac_abs_top_builddir
=$ac_pwd
1456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir
=$ac_top_build_prefix
1461 .
) # We are building in place.
1463 ac_top_srcdir
=$ac_top_builddir_sub
1464 ac_abs_top_srcdir
=$ac_pwd ;;
1465 [\\/]* | ?
:[\\/]* ) # Absolute name.
1466 ac_srcdir
=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir
=$srcdir
1468 ac_abs_top_srcdir
=$srcdir ;;
1470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1485 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1494 courierlogger configure
0.10
1495 generated by GNU Autoconf
2.69
1497 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1498 This configure
script is free software
; the Free Software Foundation
1499 gives unlimited permission to copy
, distribute and modify it.
1504 ## ------------------------ ##
1505 ## Autoconf initialization. ##
1506 ## ------------------------ ##
1508 # ac_fn_c_try_compile LINENO
1509 # --------------------------
1510 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1511 ac_fn_c_try_compile
()
1513 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1514 rm -f conftest.
$ac_objext
1515 if { { ac_try
="$ac_compile"
1517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1518 *) ac_try_echo=$ac_try;;
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522 (eval "$ac_compile") 2>conftest.err
1524 if test -s conftest.err; then
1525 grep -v '^ *+' conftest.err >conftest.er1
1526 cat conftest.er1 >&5
1527 mv -f conftest.er1 conftest.err
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530 test $ac_status = 0; } && {
1531 test -z "$ac_c_werror_flag" ||
1532 test ! -s conftest.err
1533 } && test -s conftest.$ac_objext; then :
1536 $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.$ac_ext >&5
1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1542 as_fn_set_status $ac_retval
1544 } # ac_fn_c_try_compile
1546 # ac_fn_c_try_link LINENO
1547 # -----------------------
1548 # Try to link conftest.$ac_ext, and return whether this succeeded.
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 rm -f conftest.$ac_objext conftest$ac_exeext
1553 if { { ac_try="$ac_link"
1555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1556 *) ac_try_echo
=$ac_try;;
1558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_link") 2>conftest.err
1562 if test -s conftest.err
; then
1563 grep -v '^ *+' conftest.err
>conftest.er1
1564 cat conftest.er1
>&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && {
1569 test -z "$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1571 } && test -s conftest
$ac_exeext && {
1572 test "$cross_compiling" = yes ||
1573 test -x conftest
$ac_exeext
1577 $as_echo "$as_me: failed program was:" >&5
1578 sed 's/^/| /' conftest.
$ac_ext >&5
1582 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1583 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1584 # interfere with the next link command; also delete a directory that is
1585 # left behind by Apple's compiler. We do this before executing the actions.
1586 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 as_fn_set_status
$ac_retval
1590 } # ac_fn_c_try_link
1592 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1593 # -------------------------------------------------------
1594 # Tests whether HEADER exists and can be compiled using the include files in
1595 # INCLUDES, setting the cache variable VAR accordingly.
1596 ac_fn_c_check_header_compile
()
1598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 $as_echo_n "checking for $2... " >&6; }
1601 if eval \
${$3+:} false
; then :
1602 $as_echo_n "(cached) " >&6
1604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1609 if ac_fn_c_try_compile
"$LINENO"; then :
1614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 } # ac_fn_c_check_header_compile
1623 # ac_fn_c_try_cpp LINENO
1624 # ----------------------
1625 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } > conftest.i && {
1645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656 as_fn_set_status $ac_retval
1660 # ac_fn_c_try_run LINENO
1661 # ----------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1663 # that executables *can* be run.
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 if { { ac_try="$ac_link"
1669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1670 *) ac_try_echo
=$ac_try;;
1672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_link") 2>&5
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1678 { { case "(($ac_try" in
1679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_try") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; }; }; then :
1690 $as_echo "$as_me: program exited with status $ac_status" >&5
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1694 ac_retval=$ac_status
1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status $ac_retval
1702 # ac_fn_c_check_func LINENO FUNC VAR
1703 # ----------------------------------
1704 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1705 ac_fn_c_check_func ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if eval \${$3+:} false; then :
1711 $as_echo_n "(cached) " >&6
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1715 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1717 #define $2 innocuous_$2
1719 /* System header to define __stub macros and hopefully few prototypes,
1720 which can conflict with char $2 (); below.
1721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1722 <limits.h> exists even on freestanding compilers. */
1725 # include <limits.h>
1727 # include <assert.h>
1732 /* Override any GCC internal prototype to avoid an error.
1733 Use char because int might match the return type of a GCC
1734 builtin and then its argument prototype would still apply. */
1739 /* The GNU C library defines this for functions which it implements
1740 to always fail with ENOSYS. Some functions are actually named
1741 something starting with __ and the normal name is an alias. */
1742 #if defined __stub_$2 || defined __stub___$2
1754 if ac_fn_c_try_link "$LINENO"; then :
1759 rm -f core conftest.err conftest.$ac_objext \
1760 conftest$ac_exeext conftest.$ac_ext
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 } # ac_fn_c_check_func
1769 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1770 # -------------------------------------------------------
1771 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1772 # the include files in INCLUDES and setting the cache variable VAR
1774 ac_fn_c_check_header_mongrel ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 if eval \${$3+:} false; then :
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781 $as_echo_n "(cached) " >&6
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1787 # Is the header compilable?
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1789 $as_echo_n "checking $2 usability... " >&6; }
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1795 if ac_fn_c_try_compile "$LINENO"; then :
1796 ac_header_compiler=yes
1798 ac_header_compiler=no
1800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1802 $as_echo "$ac_header_compiler" >&6; }
1804 # Is the header present?
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1806 $as_echo_n "checking $2 presence... " >&6; }
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1811 if ac_fn_c_try_cpp "$LINENO"; then :
1812 ac_header_preproc=yes
1814 ac_header_preproc=no
1816 rm -f conftest.err conftest.i conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1818 $as_echo "$ac_header_preproc" >&6; }
1820 # So? What about this header?
1821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1824 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1826 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1830 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1832 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1834 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1836 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1839 ( $as_echo "## -------------------------------------------------- ##
1840 ## Report this to courier-users@lists.sourceforge.net ##
1841 ## -------------------------------------------------- ##"
1842 ) | sed "s/^/$as_me: WARNING: /" >&2
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if eval \${$3+:} false; then :
1848 $as_echo_n "(cached) " >&6
1850 eval "$3=\$ac_header_compiler"
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 } # ac_fn_c_check_header_mongrel
1859 cat >config.log <<_ACEOF
1860 This file contains any messages produced by compilers while
1861 running configure, to aid debugging if configure makes a mistake.
1863 It was created by courierlogger $as_me 0.10, which was
1864 generated by GNU Autoconf 2.69. Invocation command line was
1876 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1877 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1878 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1879 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1880 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1882 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1883 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1885 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1886 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1887 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1888 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1889 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1890 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1891 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir=.
1900 $as_echo "PATH: $as_dir"
1916 # Keep a trace of the command line.
1917 # Strip out --no-create and --no-recursion so they do not pile up.
1918 # Strip out --silent because we don't want to record it for future runs.
1919 # Also quote any args containing shell meta-characters.
1920 # Make two passes to allow for proper duplicate-argument suppression.
1924 ac_must_keep_next=false
1930 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1932 | -silent | --silent | --silen | --sile | --sil)
1935 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1938 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1940 as_fn_append ac_configure_args1 " '$ac_arg'"
1941 if test $ac_must_keep_next = true; then
1942 ac_must_keep_next=false # Got value, back to normal.
1945 *=* | --config-cache | -C | -disable-* | --disable-* \
1946 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1947 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1948 | -with-* | --with-* | -without-* | --without-* | --x)
1949 case "$ac_configure_args0 " in
1950 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1953 -* ) ac_must_keep_next=true ;;
1956 as_fn_append ac_configure_args " '$ac_arg'"
1961 { ac_configure_args0=; unset ac_configure_args0;}
1962 { ac_configure_args1=; unset ac_configure_args1;}
1964 # When interrupted or exit'd, cleanup temporary files, and complete
1965 # config.log. We remove comments because anyway the quotes in there
1966 # would cause problems or look ugly.
1967 # WARNING: Use '\'' to represent an apostrophe within the trap.
1968 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1969 trap 'exit_status=$?
1970 # Save into config.log some information that might help in debugging.
1974 $as_echo "## ---------------- ##
1975 ## Cache variables. ##
1976 ## ---------------- ##"
1978 # The following way of writing the cache mishandles newlines in values,
1980 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1981 eval ac_val=\$$ac_var
1985 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1989 _ | IFS | as_nl) ;; #(
1990 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1991 *) { eval $ac_var=; unset $ac_var;} ;;
1996 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1997 *${as_nl}ac_space=\ *)
1999 "s/'\''/'\''\\\\'\'''\''/g;
2000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2010 $as_echo "## ----------------- ##
2011 ## Output variables. ##
2012 ## ----------------- ##"
2014 for ac_var in $ac_subst_vars
2016 eval ac_val=\$$ac_var
2018 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2020 $as_echo "$ac_var='\''$ac_val'\''"
2024 if test -n "$ac_subst_files"; then
2025 $as_echo "## ------------------- ##
2026 ## File substitutions. ##
2027 ## ------------------- ##"
2029 for ac_var in $ac_subst_files
2031 eval ac_val=\$$ac_var
2033 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 $as_echo "$ac_var='\''$ac_val'\''"
2040 if test -s confdefs.h; then
2041 $as_echo "## ----------- ##
2048 test "$ac_signal" != 0 &&
2049 $as_echo "$as_me: caught signal $ac_signal"
2050 $as_echo "$as_me: exit $exit_status"
2052 rm -f core *.core core.conftest.* &&
2053 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2056 for ac_signal in 1 2 13 15; do
2057 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2061 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2062 rm -f -r conftest* confdefs.h
2064 $as_echo "/* confdefs.h */" > confdefs.h
2066 # Predefined preprocessor variables.
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_NAME "$PACKAGE_NAME"
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_STRING "$PACKAGE_STRING"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_URL "$PACKAGE_URL"
2093 # Let the site file select an alternate cache file if it wants to.
2094 # Prefer an explicitly selected file to automatically selected ones.
2097 if test -n "$CONFIG_SITE"; then
2098 # We do not want a PATH search for config.site.
2099 case $CONFIG_SITE in #((
2100 -*) ac_site_file1=./$CONFIG_SITE;;
2101 */*) ac_site_file1=$CONFIG_SITE;;
2102 *) ac_site_file1=./$CONFIG_SITE;;
2104 elif test "x$prefix" != xNONE; then
2105 ac_site_file1=$prefix/share/config.site
2106 ac_site_file2=$prefix/etc/config.site
2108 ac_site_file1=$ac_default_prefix/share/config.site
2109 ac_site_file2=$ac_default_prefix/etc/config.site
2111 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2113 test "x$ac_site_file" = xNONE && continue
2114 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2116 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2117 sed 's/^/| /' "$ac_site_file" >&5
2119 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2121 as_fn_error $? "failed to load site
script $ac_site_file
2122 See \
`config.log' for more details" "$LINENO" 5; }
2126 if test -r "$cache_file"; then
2127 # Some versions of bash will fail to source /dev/null (special files
2128 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2129 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2131 $as_echo "$as_me: loading cache $cache_file" >&6;}
2133 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2134 *) . "./$cache_file";;
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2139 $as_echo "$as_me: creating cache $cache_file" >&6;}
2143 # Check that the precious variables saved in the cache have kept the same
2145 ac_cache_corrupted=false
2146 for ac_var in $ac_precious_vars; do
2147 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2148 eval ac_new_set=\$ac_env_${ac_var}_set
2149 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2150 eval ac_new_val=\$ac_env_${ac_var}_value
2151 case $ac_old_set,$ac_new_set in
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2154 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2155 ac_cache_corrupted=: ;;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2158 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2159 ac_cache_corrupted=: ;;
2162 if test "x$ac_old_val" != "x$ac_new_val"; then
2163 # differences in whitespace do not lead to failure.
2164 ac_old_val_w=`echo x
$ac_old_val`
2165 ac_new_val_w=`echo x
$ac_new_val`
2166 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2168 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2169 ac_cache_corrupted=:
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2172 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2173 eval $ac_var=\$ac_old_val
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2176 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2178 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2181 # Pass precious variables to config.status.
2182 if test "$ac_new_set" = set; then
2184 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2185 *) ac_arg=$ac_var=$ac_new_val ;;
2187 case " $ac_configure_args " in
2188 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2189 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2193 if $ac_cache_corrupted; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2197 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2198 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2200 ## -------------------- ##
2201 ## Main body of script. ##
2202 ## -------------------- ##
2205 ac_cpp='$CPP $CPPFLAGS'
2206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2212 >confdefs.h # Kill PACKAGE_ macros.
2213 LPATH="$PATH:/usr/local/bin"
2216 for ac_dir in .. "$srcdir"/..; do
2217 if test -f "$ac_dir/install-sh"; then
2219 ac_install_sh="$ac_aux_dir/install-sh -c"
2221 elif test -f "$ac_dir/install.sh"; then
2223 ac_install_sh="$ac_aux_dir/install.sh -c"
2225 elif test -f "$ac_dir/shtool"; then
2227 ac_install_sh="$ac_aux_dir/shtool install -c"
2231 if test -z "$ac_aux_dir"; then
2232 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2235 # These three variables are undocumented and unsupported,
2236 # and are intended to be withdrawn in a future Autoconf release.
2237 # They can cause serious problems if a builder's source tree is in a directory
2238 # whose full name contains unusual characters.
2239 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2240 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2241 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2244 am__api_version='1.13'
2246 # Find a good install program. We prefer a C program (faster),
2247 # so one script is as good as another. But avoid the broken or
2248 # incompatible versions:
2249 # SysV /etc/install, /usr/sbin/install
2250 # SunOS /usr/etc/install
2251 # IRIX /sbin/install
2253 # AmigaOS /C/install, which installs bootblocks on floppy discs
2254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2257 # OS/2's system install, which has a completely different semantic
2258 # ./install, which can be erroneously created by make from ./install.sh.
2259 # Reject install programs that cannot install multiple files.
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2261 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2262 if test -z "$INSTALL"; then
2263 if ${ac_cv_path_install+:} false; then :
2264 $as_echo_n "(cached) " >&6
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir=.
2271 # Account for people who put trailing slashes in PATH elements.
2272 case $as_dir/ in #((
2273 ./ | .// | /[cC]/* | \
2274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2275 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2278 # OSF1 and SCO ODT 3.0 have their own names for install.
2279 # Don't use installbsd from OSF since it installs stuff as root
2281 for ac_prog in ginstall scoinst install; do
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2284 if test $ac_prog = install &&
2285 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2286 # AIX install. It has an incompatible calling convention.
2288 elif test $ac_prog = install &&
2289 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2290 # program-specific install script used by HP pwplus--don't use.
2293 rm -rf conftest.one conftest.two conftest.dir
2294 echo one > conftest.one
2295 echo two > conftest.two
2297 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2298 test -s conftest.one && test -s conftest.two &&
2299 test -s conftest.dir/conftest.one &&
2300 test -s conftest.dir/conftest.two
2302 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2315 rm -rf conftest.one conftest.two conftest.dir
2318 if test "${ac_cv_path_install+set}" = set; then
2319 INSTALL=$ac_cv_path_install
2321 # As a last resort, use the slow shell script. Don't cache a
2322 # value for INSTALL within a source directory, because that will
2323 # break other packages using the cache if that directory is
2324 # removed, or if the value is a relative name.
2325 INSTALL=$ac_install_sh
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2329 $as_echo "$INSTALL" >&6; }
2331 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2332 # It thinks the first close brace ends the variable substitution.
2333 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2335 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2337 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2340 $as_echo_n "checking whether build environment is sane... " >&6; }
2341 # Reject unsafe characters in $srcdir or the absolute working directory
2342 # name. Accept space and tab only in the latter.
2346 *[\\\"\#\$\&\'\`$am_lf]*)
2347 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2350 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2351 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2354 # Do 'set' in a subshell so we don't clobber the current shell's
2355 # arguments. Must try -L first in case configure is actually a
2356 # symlink; some systems play weird games with the mod time of symlinks
2357 # (eg FreeBSD returns the mod time of the symlink's containing
2361 for am_try
in 1 2; do
2362 echo "timestamp, slept: $am_has_slept" > conftest.
file
2363 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2364 if test "$*" = "X"; then
2366 set X
`ls -t "$srcdir/configure" conftest.file`
2368 if test "$*" != "X $srcdir/configure conftest.file" \
2369 && test "$*" != "X conftest.file $srcdir/configure"; then
2371 # If neither matched, then we have a broken ls. This can happen
2372 # if, for instance, CONFIG_SHELL is bash and it inherits a
2373 # broken ls alias from the environment. This has actually
2374 # happened. Such a system could not be considered "sane".
2375 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2376 alias in your environment" "$LINENO" 5
2378 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2385 test "$2" = conftest.
file
2391 as_fn_error $?
"newly created file is older than distributed files!
2392 Check your system clock" "$LINENO" 5
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2395 $as_echo "yes" >&6; }
2396 # If we didn't sleep, we still need to ensure time stamps of config.status and
2397 # generated files are strictly newer.
2399 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2406 test "$program_prefix" != NONE
&&
2407 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2408 # Use a double $ so make ignores it.
2409 test "$program_suffix" != NONE
&&
2410 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2411 # Double any \ or $.
2412 # By default was `s,x,x', remove it if useless.
2413 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2414 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2416 # expand $ac_aux_dir to an absolute path
2417 am_aux_dir
=`cd $ac_aux_dir && pwd`
2419 if test x
"${MISSING+set}" != xset
; then
2422 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2424 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2427 # Use eval to expand $SHELL
2428 if eval "$MISSING --is-lightweight"; then
2429 am_missing_run
="$MISSING "
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2433 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2436 if test x
"${install_sh}" != xset
; then
2439 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2441 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2445 # Installed binaries are usually stripped using 'strip' when the user
2446 # run "make install-strip". However 'strip' might not be the right
2447 # tool to use in cross-compilation environments, therefore Automake
2448 # will honor the 'STRIP' environment variable to overrule this program.
2449 if test "$cross_compiling" != no
; then
2450 if test -n "$ac_tool_prefix"; then
2451 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2452 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if ${ac_cv_prog_STRIP+:} false
; then :
2456 $as_echo_n "(cached) " >&6
2458 if test -n "$STRIP"; then
2459 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir
=.
2466 for ac_exec_ext
in '' $ac_executable_extensions; do
2467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2468 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 STRIP
=$ac_cv_prog_STRIP
2479 if test -n "$STRIP"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2481 $as_echo "$STRIP" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2489 if test -z "$ac_cv_prog_STRIP"; then
2491 # Extract the first word of "strip", so it can be a program name with args.
2492 set dummy strip
; ac_word
=$2
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494 $as_echo_n "checking for $ac_word... " >&6; }
2495 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2496 $as_echo_n "(cached) " >&6
2498 if test -n "$ac_ct_STRIP"; then
2499 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir
=.
2506 for ac_exec_ext
in '' $ac_executable_extensions; do
2507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2508 ac_cv_prog_ac_ct_STRIP
="strip"
2509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2519 if test -n "$ac_ct_STRIP"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2521 $as_echo "$ac_ct_STRIP" >&6; }
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524 $as_echo "no" >&6; }
2527 if test "x$ac_ct_STRIP" = x
; then
2530 case $cross_compiling:$ac_tool_warned in
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2534 ac_tool_warned
=yes ;;
2539 STRIP
="$ac_cv_prog_STRIP"
2543 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2546 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2547 if test -z "$MKDIR_P"; then
2548 if ${ac_cv_path_mkdir+:} false
; then :
2549 $as_echo_n "(cached) " >&6
2551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2555 test -z "$as_dir" && as_dir
=.
2556 for ac_prog
in mkdir gmkdir
; do
2557 for ac_exec_ext
in '' $ac_executable_extensions; do
2558 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2559 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2560 'mkdir (GNU coreutils) '* | \
2561 'mkdir (coreutils) '* | \
2562 'mkdir (fileutils) '4.1*)
2563 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2573 test -d .
/--version && rmdir .
/--version
2574 if test "${ac_cv_path_mkdir+set}" = set; then
2575 MKDIR_P
="$ac_cv_path_mkdir -p"
2577 # As a last resort, use the slow shell script. Don't cache a
2578 # value for MKDIR_P within a source directory, because that will
2579 # break other packages using the cache if that directory is
2580 # removed, or if the value is a relative name.
2581 MKDIR_P
="$ac_install_sh -d"
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2585 $as_echo "$MKDIR_P" >&6; }
2587 for ac_prog
in gawk mawk nawk
awk
2589 # Extract the first word of "$ac_prog", so it can be a program name with args.
2590 set dummy
$ac_prog; ac_word
=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if ${ac_cv_prog_AWK+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$AWK"; then
2597 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2606 ac_cv_prog_AWK
="$ac_prog"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 if test -n "$AWK"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2619 $as_echo "$AWK" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2626 test -n "$AWK" && break
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2630 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2632 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2633 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2634 $as_echo_n "(cached) " >&6
2636 cat >conftest.
make <<\_ACEOF
2639 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2641 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2642 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2644 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2646 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2650 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652 $as_echo "yes" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656 $as_echo "no" >&6; }
2657 SET_MAKE
="MAKE=${MAKE-make}"
2660 rm -rf .tst
2>/dev
/null
2661 mkdir .tst
2>/dev
/null
2662 if test -d .tst
; then
2667 rmdir .tst
2>/dev
/null
2669 # Check whether --enable-silent-rules was given.
2670 if test "${enable_silent_rules+set}" = set; then :
2671 enableval
=$enable_silent_rules;
2674 case $enable_silent_rules in # (((
2675 yes) AM_DEFAULT_VERBOSITY
=0;;
2676 no
) AM_DEFAULT_VERBOSITY
=1;;
2677 *) AM_DEFAULT_VERBOSITY
=1;;
2679 am_make
=${MAKE-make}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2681 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2682 if ${am_cv_make_support_nested_variables+:} false
; then :
2683 $as_echo_n "(cached) " >&6
2685 if $as_echo 'TRUE=$(BAR$(V))
2691 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2692 am_cv_make_support_nested_variables
=yes
2694 am_cv_make_support_nested_variables
=no
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2698 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2699 if test $am_cv_make_support_nested_variables = yes; then
2701 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2703 AM_V
=$AM_DEFAULT_VERBOSITY
2704 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2708 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2709 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2710 # is not polluted with repeated "-I."
2711 am__isrc
=' -I$(srcdir)'
2712 # test to see if srcdir already configured
2713 if test -f $srcdir/config.status
; then
2714 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2718 # test whether we have cygpath
2719 if test -z "$CYGPATH_W"; then
2720 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2721 CYGPATH_W
='cygpath -w'
2728 # Define the identity of the package.
2729 PACKAGE
='courierlogger'
2733 # Some tools Automake needs.
2735 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2738 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2741 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2744 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2747 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2749 # For better backward compatibility. To be removed once Automake 1.9.x
2750 # dies out for good. For more background, see:
2751 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2752 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2753 mkdir_p
='$(MKDIR_P)'
2755 # We need awk for the "check" target. The system "awk" is bad on
2757 # Always define AMTAR for backward compatibility. Yes, it's still used
2758 # in the wild :-( We should find a proper way to deprecate it ...
2762 # We'll loop over all known methods to create a tar archive until one works.
2763 _am_tools
='gnutar pax cpio none'
2765 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2772 ac_config_headers
="$ac_config_headers config.h"
2776 ac_cpp
='$CPP $CPPFLAGS'
2777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2780 if test -n "$ac_tool_prefix"; then
2781 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2782 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if ${ac_cv_prog_CC+:} false
; then :
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$CC"; then
2789 ac_cv_prog_CC
="$CC" # Let the user override the test.
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_exec_ext
in '' $ac_executable_extensions; do
2797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$CC"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2811 $as_echo "$CC" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2819 if test -z "$ac_cv_prog_CC"; then
2821 # Extract the first word of "gcc", so it can be a program name with args.
2822 set dummy gcc
; ac_word
=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$ac_ct_CC"; then
2829 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 for ac_exec_ext
in '' $ac_executable_extensions; do
2837 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2838 ac_cv_prog_ac_ct_CC
="gcc"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2849 if test -n "$ac_ct_CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2851 $as_echo "$ac_ct_CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2857 if test "x$ac_ct_CC" = x
; then
2860 case $cross_compiling:$ac_tool_warned in
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2864 ac_tool_warned
=yes ;;
2872 if test -z "$CC"; then
2873 if test -n "$ac_tool_prefix"; then
2874 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2875 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if ${ac_cv_prog_CC+:} false
; then :
2879 $as_echo_n "(cached) " >&6
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC
="$CC" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2891 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 if test -n "$CC"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904 $as_echo "$CC" >&6; }
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2913 if test -z "$CC"; then
2914 # Extract the first word of "cc", so it can be a program name with args.
2915 set dummy cc
; ac_word
=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if ${ac_cv_prog_CC+:} false
; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$CC"; then
2922 ac_cv_prog_CC
="$CC" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2932 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2933 ac_prog_rejected
=yes
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 if test $ac_prog_rejected = yes; then
2945 # We found a bogon in the path, so make sure we never use it.
2946 set dummy
$ac_cv_prog_CC
2948 if test $# != 0; then
2949 # We chose a different compiler from the bogus one.
2950 # However, it has the same basename, so the bogon will be chosen
2951 # first if we set CC to just the basename; use the full file name.
2953 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2969 if test -z "$CC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 for ac_prog
in cl.exe
2973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_CC+:} false
; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$CC"; then
2981 ac_cv_prog_CC
="$CC" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2990 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CC"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3003 $as_echo "$CC" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3010 test -n "$CC" && break
3013 if test -z "$CC"; then
3015 for ac_prog
in cl.exe
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy
$ac_prog; ac_word
=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$ac_ct_CC"; then
3025 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_ac_ct_CC
="$ac_prog"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3045 if test -n "$ac_ct_CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3047 $as_echo "$ac_ct_CC" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3054 test -n "$ac_ct_CC" && break
3057 if test "x$ac_ct_CC" = x
; then
3060 case $cross_compiling:$ac_tool_warned in
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3064 ac_tool_warned
=yes ;;
3073 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error $?
"no acceptable C compiler found in \$PATH
3076 See \`config.log' for more details" "$LINENO" 5; }
3078 # Provide some information about the compiler.
3079 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3082 for ac_option
in --version -v -V -qversion; do
3083 { { ac_try
="$ac_compiler $ac_option >&5"
3085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3092 if test -s conftest.err; then
3094 ... rest of stderr output deleted ...
3095 10q' conftest.err >conftest.er1
3096 cat conftest.er1 >&5
3098 rm -f conftest.er1 conftest.err
3099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100 test $ac_status = 0; }
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3114 ac_clean_files_save=$ac_clean_files
3115 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3116 # Try to create an executable without -o first, disregard a.out.
3117 # It will help us diagnose broken compilers, and finding out an intuition
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3120 $as_echo_n "checking whether the C compiler works... " >&6; }
3121 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3123 # The possible output files:
3124 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3127 for ac_file in $ac_files
3130 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3131 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3136 if { { ac_try="$ac_link_default"
3138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3139 *) ac_try_echo
=$ac_try;;
3141 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_link_default") 2>&5
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }; then :
3147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3150 # so that the user can short-circuit this test for compilers unknown to
3152 for ac_file
in $ac_files ''
3154 test -f "$ac_file" ||
continue
3156 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3159 # We found the default executable, but exeext='' is most
3163 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3165 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3167 # We set ac_cv_exeext here because the later test for it is not
3168 # safe: cross compilers may not add the suffix if given an `-o'
3169 # argument, so we may need to know it at that point already.
3170 # Even if this section looks crufty: it has the advantage of
3177 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3182 if test -z "$ac_file"; then :
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3185 $as_echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.
$ac_ext >&5
3188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error
77 "C compiler cannot create executables
3191 See \`config.log' for more details" "$LINENO" 5; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3194 $as_echo "yes" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3197 $as_echo_n "checking for C compiler default output file name... " >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3199 $as_echo "$ac_file" >&6; }
3200 ac_exeext
=$ac_cv_exeext
3202 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3203 ac_clean_files
=$ac_clean_files_save
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3205 $as_echo_n "checking for suffix of executables... " >&6; }
3206 if { { ac_try
="$ac_link"
3208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_link") 2>&5
3215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3216 test $ac_status = 0; }; then :
3217 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3218 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3219 # work properly (i.e., refer to `conftest.exe'), while it won't with
3221 for ac_file
in conftest.exe conftest conftest.
*; do
3222 test -f "$ac_file" ||
continue
3224 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3225 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3234 See \`config.log' for more details" "$LINENO" 5; }
3236 rm -f conftest conftest
$ac_cv_exeext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3238 $as_echo "$ac_cv_exeext" >&6; }
3240 rm -f conftest.
$ac_ext
3241 EXEEXT
=$ac_cv_exeext
3243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3249 FILE *f = fopen ("conftest.out", "w");
3250 return ferror (f) || fclose (f) != 0;
3256 ac_clean_files
="$ac_clean_files conftest.out"
3257 # Check that the compiler produces executables we can run. If not, either
3258 # the compiler is broken, or we cross compile.
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3260 $as_echo_n "checking whether we are cross compiling... " >&6; }
3261 if test "$cross_compiling" != yes; then
3262 { { ac_try
="$ac_link"
3264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3268 $as_echo "$ac_try_echo"; } >&5
3269 (eval "$ac_link") 2>&5
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3272 test $ac_status = 0; }
3273 if { ac_try='./conftest$ac_cv_exeext'
3274 { { case "(($ac_try" in
3275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3276 *) ac_try_echo
=$ac_try;;
3278 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_try") 2>&5
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }; }; then
3286 if test "$cross_compiling" = maybe
; then
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $?
"cannot run C compiled programs.
3292 If you meant to cross compile, use \`--host'.
3293 See \`config.log' for more details" "$LINENO" 5; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3298 $as_echo "$cross_compiling" >&6; }
3300 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3301 ac_clean_files
=$ac_clean_files_save
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3303 $as_echo_n "checking for suffix of object files... " >&6; }
3304 if ${ac_cv_objext+:} false
; then :
3305 $as_echo_n "(cached) " >&6
3307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 rm -f conftest.o conftest.obj
3319 if { { ac_try
="$ac_compile"
3321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_compile") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; then :
3330 for ac_file in conftest.o conftest.obj conftest.*; do
3331 test -f "$ac_file" || continue;
3333 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3334 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3339 $as_echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.$ac_ext >&5
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3345 See \
`config.log' for more details" "$LINENO" 5; }
3347 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3350 $as_echo "$ac_cv_objext" >&6; }
3351 OBJEXT=$ac_cv_objext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3354 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3355 if ${ac_cv_c_compiler_gnu+:} false; then :
3356 $as_echo_n "(cached) " >&6
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3372 if ac_fn_c_try_compile "$LINENO"; then :
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3382 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3383 if test $ac_compiler_gnu = yes; then
3388 ac_test_CFLAGS=${CFLAGS+set}
3389 ac_save_CFLAGS=$CFLAGS
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3391 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3392 if ${ac_cv_prog_cc_g+:} false; then :
3393 $as_echo_n "(cached) " >&6
3395 ac_save_c_werror_flag=$ac_c_werror_flag
3396 ac_c_werror_flag=yes
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3410 if ac_fn_c_try_compile "$LINENO"; then :
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 if ac_fn_c_try_compile "$LINENO"; then :
3428 ac_c_werror_flag=$ac_save_c_werror_flag
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449 ac_c_werror_flag=$ac_save_c_werror_flag
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3452 $as_echo "$ac_cv_prog_cc_g" >&6; }
3453 if test "$ac_test_CFLAGS" = set; then
3454 CFLAGS=$ac_save_CFLAGS
3455 elif test $ac_cv_prog_cc_g = yes; then
3456 if test "$GCC" = yes; then
3462 if test "$GCC" = yes; then
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3469 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3470 if ${ac_cv_prog_cc_c89+:} false; then :
3471 $as_echo_n "(cached) " >&6
3473 ac_cv_prog_cc_c89=no
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3480 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3481 struct buf { int x; };
3482 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3483 static char *e (p, i)
3489 static char *f (char * (*g) (char **, int), char **p, ...)
3494 s = g (p, va_arg (v,int));
3499 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3500 function prototypes and stuff, but not '\xHH' hex character constants.
3501 These don't provoke an error unfortunately, instead are silently treated
3502 as 'x'. The following induces an error, until -std is added to get
3503 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3504 array size at least. It's necessary to write '\x00'==0 to get something
3505 that's true only with -std. */
3506 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3508 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3509 inside strings and character constants. */
3511 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3513 int test (int i, double x);
3514 struct s1 {int (*f) (int a);};
3515 struct s2 {int (*f) (double a);};
3516 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3522 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3527 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3528 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3530 CC="$ac_save_CC $ac_arg"
3531 if ac_fn_c_try_compile "$LINENO"; then :
3532 ac_cv_prog_cc_c89=$ac_arg
3534 rm -f core conftest.err conftest.$ac_objext
3535 test "x$ac_cv_prog_cc_c89" != "xno" && break
3537 rm -f conftest.$ac_ext
3542 case "x$ac_cv_prog_cc_c89" in
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3545 $as_echo "none needed" >&6; } ;;
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3548 $as_echo "unsupported" >&6; } ;;
3550 CC="$CC $ac_cv_prog_cc_c89"
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3552 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3554 if test "x$ac_cv_prog_cc_c89" != xno; then :
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 DEPDIR="${am__leading_dot}deps"
3565 ac_config_commands="$ac_config_commands depfiles"
3568 am_make=${MAKE-make}
3569 cat > confinc << 'END'
3571 @echo this is the am__doit target
3574 # If we don't find an include directive, just comment out the code.
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3576 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3580 # First try GNU make style include.
3581 echo "include confinc" > confmf
3582 # Ignore all kinds of additional output from 'make'.
3583 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3584 *the\ am__doit\ target*)
3590 # Now try BSD make style include.
3591 if test "$am__include" = "#"; then
3592 echo '.include "confinc"' > confmf
3593 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3594 *the\ am__doit\ target*)
3595 am__include=.include
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3604 $as_echo "$_am_result" >&6; }
3605 rm -f confinc confmf
3607 # Check whether --enable-dependency-tracking was given.
3608 if test "${enable_dependency_tracking+set}" = set; then :
3609 enableval=$enable_dependency_tracking;
3612 if test "x$enable_dependency_tracking" != xno; then
3613 am_depcomp="$ac_aux_dir/depcomp"
3617 if test "x$enable_dependency_tracking" != xno; then
3627 depcc="$CC" am_compiler_list=
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3630 $as_echo_n "checking dependency style of $depcc... " >&6; }
3631 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3635 # We make a subdir and do the tests there. Otherwise we can end up
3636 # making bogus files that we don't know about and never remove. For
3637 # instance it was reported that on HP-UX the gcc test will end up
3638 # making a dummy file named 'D' -- because '-MD' means "put the output
3642 # Copy depcomp to subdir because otherwise we won't find it if we're
3643 # using a relative directory.
3644 cp "$am_depcomp" conftest.dir
3646 # We will build objects and dependencies in a subdirectory because
3647 # it helps to detect inapplicable dependency modes. For instance
3648 # both Tru64's cc and ICC support -MD to output dependencies as a
3649 # side effect of compilation, but ICC will put the dependencies in
3650 # the current directory while Tru64 will put them in the object
3654 am_cv_CC_dependencies_compiler_type=none
3655 if test "$am_compiler_list" = ""; then
3656 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3659 case " $depcc " in #(
3660 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3663 for depmode in $am_compiler_list; do
3664 # Setup a source with many dependencies, because some compilers
3665 # like to wrap large dependency lists on column 80 (with \), and
3666 # we should not choose a depcomp mode which is confused by this.
3668 # We need to recreate these files for each test, as the compiler may
3669 # overwrite some of them when testing with obscure command lines.
3670 # This happens at least with the AIX C compiler.
3672 for i in 1 2 3 4 5 6; do
3673 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3674 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3675 # Solaris 10 /bin/sh.
3676 echo '/* dummy */' > sub/conftst$i.h
3678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3680 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3681 # mode. It turns out that the SunPro C++ compiler does not properly
3682 # handle '-M -o', and we need to detect this. Also, some Intel
3683 # versions had trouble with output in subdirs.
3684 am__obj=sub/conftest.${OBJEXT-o}
3685 am__minus_obj="-o $am__obj"
3688 # This depmode causes a compiler race in universal mode.
3689 test "$am__universal" = false || continue
3692 # After this tag, mechanisms are not by side-effect, so they'll
3693 # only be used when explicitly requested.
3694 if test "x$enable_dependency_tracking" = xyes; then
3700 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3701 # This compiler won't grok '-c -o', but also, the minuso test has
3702 # not run yet. These depmodes are late enough in the game, and
3703 # so weak that their functioning should not be impacted.
3704 am__obj=conftest.${OBJEXT-o}
3709 if depmode=$depmode \
3710 source=sub/conftest.c object=$am__obj \
3711 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3712 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3713 >/dev/null 2>conftest.err &&
3714 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3715 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3716 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3717 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3718 # icc doesn't choke on unknown options, it will just issue warnings
3719 # or remarks (even with -Werror). So we grep stderr for any message
3720 # that says an option was ignored or not supported.
3721 # When given -MP, icc 7.0 and 7.1 complain thusly:
3722 # icc: Command line warning: ignoring option '-M'; no argument required
3723 # The diagnosis changed in icc 8.0:
3724 # icc: Command line remark: option '-MP' not supported
3725 if (grep 'ignoring option' conftest.err ||
3726 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3727 am_cv_CC_dependencies_compiler_type=$depmode
3736 am_cv_CC_dependencies_compiler_type=none
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3741 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3742 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3745 test "x$enable_dependency_tracking" != xno \
3746 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3748 am__fastdepCC_FALSE='#'
3750 am__fastdepCC_TRUE='#'
3751 am__fastdepCC_FALSE=
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3757 $as_echo_n "checking whether ln -s works... " >&6; }
3759 if test "$LN_S" = "ln -s"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3761 $as_echo "yes" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3764 $as_echo "no, using $LN_S" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3770 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3775 macro_version='2.4.2'
3776 macro_revision='1.3337'
3790 ltmain="$ac_aux_dir/ltmain.sh"
3792 # Make sure we can run config.sub.
3793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3794 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3797 $as_echo_n "checking build system type... " >&6; }
3798 if ${ac_cv_build+:} false; then :
3799 $as_echo_n "(cached) " >&6
3801 ac_build_alias=$build_alias
3802 test "x$ac_build_alias" = x &&
3803 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3804 test "x$ac_build_alias" = x &&
3805 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3806 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3807 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3811 $as_echo "$ac_cv_build" >&6; }
3812 case $ac_cv_build in
3814 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3817 ac_save_IFS=$IFS; IFS='-'
3823 # Remember, the first character of IFS is used to create $*,
3824 # except with old shells:
3827 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3831 $as_echo_n "checking host system type... " >&6; }
3832 if ${ac_cv_host+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 if test "x$host_alias" = x; then
3836 ac_cv_host=$ac_cv_build
3838 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3839 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3844 $as_echo "$ac_cv_host" >&6; }
3847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3850 ac_save_IFS=$IFS; IFS='-'
3856 # Remember, the first character of IFS is used to create $*,
3857 # except with old shells:
3860 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3863 # Backslashify metacharacters that are still active within
3864 # double-quoted strings.
3865 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
3867 # Same as above, but do not quote variable references.
3868 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
3870 # Sed substitution to delay expansion of an escaped shell variable in a
3871 # double_quote_subst'ed string.
3872 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3874 # Sed substitution to delay expansion of an escaped single quote.
3875 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3877 # Sed substitution to avoid accidental globbing in evaled expressions
3878 no_glob_subst='s/\*/\\\*/g'
3880 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3881 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3882 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
3885 $as_echo_n "checking how to print
strings...
" >&6; }
3886 # Test print first, because it will be a builtin if present.
3887 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
3888 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
3890 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
3893 # Use this function as a fallback that always works.
3894 func_fallback_echo ()
3896 eval 'cat <<_LTECHO_EOF
3900 ECHO='func_fallback_echo'
3903 # func_echo_all arg...
3904 # Invoke $ECHO with all args, space-separated.
3911 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
3912 $as_echo "printf" >&6; } ;;
3913 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
3914 $as_echo "print
-r" >&6; } ;;
3915 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
3916 $as_echo "cat" >&6; } ;;
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
3933 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
3934 if ${ac_cv_path_SED+:} false; then :
3935 $as_echo_n "(cached
) " >&6
3937 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3938 for ac_i in 1 2 3 4 5 6 7; do
3939 ac_script="$ac_script$as_nl$ac_script"
3941 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3942 { ac_script=; unset ac_script;}
3943 if test -z "$SED"; then
3944 ac_path_SED_found=false
3945 # Loop through the user's path and test for each of PROGNAME-LIST
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir=.
3951 for ac_prog in sed gsed; do
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3954 as_fn_executable_p "$ac_path_SED" || continue
3955 # Check for GNU ac_path_SED and select it if it is found.
3956 # Check for GNU $ac_path_SED
3957 case `"$ac_path_SED" --version 2>&1` in
3959 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3962 $as_echo_n 0123456789 >"conftest.
in"
3965 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3966 mv "conftest.tmp
" "conftest.
in"
3967 cp "conftest.
in" "conftest.
nl"
3968 $as_echo '' >> "conftest.
nl"
3969 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3970 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3971 as_fn_arith $ac_count + 1 && ac_count=$as_val
3972 if test $ac_count -gt ${ac_path_SED_max-0}; then
3973 # Best one so far, save it but keep looking for a better one
3974 ac_cv_path_SED="$ac_path_SED"
3975 ac_path_SED_max=$ac_count
3977 # 10*(2^10) chars as input seems more than enough
3978 test $ac_count -gt 10 && break
3980 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3983 $ac_path_SED_found && break 3
3988 if test -z "$ac_cv_path_SED"; then
3989 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
3997 $as_echo "$ac_cv_path_SED" >&6; }
3998 SED="$ac_cv_path_SED"
4001 test -z "$SED" && SED=sed
4002 Xsed="$SED -e 1s
/^X
//"
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4015 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4016 if ${ac_cv_path_GREP+:} false; then :
4017 $as_echo_n "(cached
) " >&6
4019 if test -z "$GREP"; then
4020 ac_path_GREP_found=false
4021 # Loop through the user's path and test for each of PROGNAME-LIST
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4026 test -z "$as_dir" && as_dir=.
4027 for ac_prog in grep ggrep; do
4028 for ac_exec_ext in '' $ac_executable_extensions; do
4029 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4030 as_fn_executable_p "$ac_path_GREP" || continue
4031 # Check for GNU ac_path_GREP and select it if it is found.
4032 # Check for GNU $ac_path_GREP
4033 case `"$ac_path_GREP" --version 2>&1` in
4035 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4038 $as_echo_n 0123456789 >"conftest.
in"
4041 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4042 mv "conftest.tmp
" "conftest.
in"
4043 cp "conftest.
in" "conftest.
nl"
4044 $as_echo 'GREP' >> "conftest.
nl"
4045 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4046 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4047 as_fn_arith $ac_count + 1 && ac_count=$as_val
4048 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4049 # Best one so far, save it but keep looking for a better one
4050 ac_cv_path_GREP="$ac_path_GREP"
4051 ac_path_GREP_max=$ac_count
4053 # 10*(2^10) chars as input seems more than enough
4054 test $ac_count -gt 10 && break
4056 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4059 $ac_path_GREP_found && break 3
4064 if test -z "$ac_cv_path_GREP"; then
4065 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4068 ac_cv_path_GREP=$GREP
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4073 $as_echo "$ac_cv_path_GREP" >&6; }
4074 GREP="$ac_cv_path_GREP"
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4078 $as_echo_n "checking
for egrep...
" >&6; }
4079 if ${ac_cv_path_EGREP+:} false; then :
4080 $as_echo_n "(cached
) " >&6
4082 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4083 then ac_cv_path_EGREP="$GREP -E"
4085 if test -z "$EGREP"; then
4086 ac_path_EGREP_found=false
4087 # Loop through the user's path and test for each of PROGNAME-LIST
4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4092 test -z "$as_dir" && as_dir=.
4093 for ac_prog in egrep; do
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4096 as_fn_executable_p "$ac_path_EGREP" || continue
4097 # Check for GNU ac_path_EGREP and select it if it is found.
4098 # Check for GNU $ac_path_EGREP
4099 case `"$ac_path_EGREP" --version 2>&1` in
4101 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4104 $as_echo_n 0123456789 >"conftest.
in"
4107 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4108 mv "conftest.tmp
" "conftest.
in"
4109 cp "conftest.
in" "conftest.
nl"
4110 $as_echo 'EGREP' >> "conftest.
nl"
4111 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4112 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4113 as_fn_arith $ac_count + 1 && ac_count=$as_val
4114 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4115 # Best one so far, save it but keep looking for a better one
4116 ac_cv_path_EGREP="$ac_path_EGREP"
4117 ac_path_EGREP_max=$ac_count
4119 # 10*(2^10) chars as input seems more than enough
4120 test $ac_count -gt 10 && break
4122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4125 $ac_path_EGREP_found && break 3
4130 if test -z "$ac_cv_path_EGREP"; then
4131 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4134 ac_cv_path_EGREP=$EGREP
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4140 $as_echo "$ac_cv_path_EGREP" >&6; }
4141 EGREP="$ac_cv_path_EGREP"
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4145 $as_echo_n "checking
for fgrep...
" >&6; }
4146 if ${ac_cv_path_FGREP+:} false; then :
4147 $as_echo_n "(cached
) " >&6
4149 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4150 then ac_cv_path_FGREP="$GREP -F"
4152 if test -z "$FGREP"; then
4153 ac_path_FGREP_found=false
4154 # Loop through the user's path and test for each of PROGNAME-LIST
4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4159 test -z "$as_dir" && as_dir=.
4160 for ac_prog in fgrep; do
4161 for ac_exec_ext in '' $ac_executable_extensions; do
4162 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4163 as_fn_executable_p "$ac_path_FGREP" || continue
4164 # Check for GNU ac_path_FGREP and select it if it is found.
4165 # Check for GNU $ac_path_FGREP
4166 case `"$ac_path_FGREP" --version 2>&1` in
4168 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4171 $as_echo_n 0123456789 >"conftest.
in"
4174 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4175 mv "conftest.tmp
" "conftest.
in"
4176 cp "conftest.
in" "conftest.
nl"
4177 $as_echo 'FGREP' >> "conftest.
nl"
4178 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4179 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4180 as_fn_arith $ac_count + 1 && ac_count=$as_val
4181 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4182 # Best one so far, save it but keep looking for a better one
4183 ac_cv_path_FGREP="$ac_path_FGREP"
4184 ac_path_FGREP_max=$ac_count
4186 # 10*(2^10) chars as input seems more than enough
4187 test $ac_count -gt 10 && break
4189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4192 $ac_path_FGREP_found && break 3
4197 if test -z "$ac_cv_path_FGREP"; then
4198 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4201 ac_cv_path_FGREP=$FGREP
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4207 $as_echo "$ac_cv_path_FGREP" >&6; }
4208 FGREP="$ac_cv_path_FGREP"
4211 test -z "$GREP" && GREP=grep
4231 # Check whether --with-gnu-ld was given.
4232 if test "${with_gnu_ld+set}" = set; then :
4233 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4239 if test "$GCC" = yes; then
4240 # Check if gcc -print-prog-name=ld gives a path.
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4242 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4245 # gcc leaves a trailing carriage return which upsets mingw
4246 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4248 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4251 # Accept absolute paths.
4253 re_direlt='/[^/][^/]*/\.\./'
4254 # Canonicalize the pathname of ld
4255 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4256 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4257 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4259 test -z "$LD" && LD="$ac_prog"
4262 # If it fails, then pretend we aren't using GCC.
4266 # If it is relative, then search for the first ld in PATH.
4270 elif test "$with_gnu_ld" = yes; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4272 $as_echo_n "checking
for GNU ld...
" >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4275 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4277 if ${lt_cv_path_LD+:} false; then :
4278 $as_echo_n "(cached
) " >&6
4280 if test -z "$LD"; then
4281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4282 for ac_dir in $PATH; do
4284 test -z "$ac_dir" && ac_dir=.
4285 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4286 lt_cv_path_LD="$ac_dir/$ac_prog"
4287 # Check to see if the program is GNU ld. I'd rather use --version,
4288 # but apparently some variants of GNU ld only accept -v.
4289 # Break only if it was the GNU/non-GNU ld that we prefer.
4290 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4291 *GNU* | *'with BFD'*)
4292 test "$with_gnu_ld" != no && break
4295 test "$with_gnu_ld" != yes && break
4302 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4307 if test -n "$LD"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4309 $as_echo "$LD" >&6; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4312 $as_echo "no
" >&6; }
4314 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4316 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4317 if ${lt_cv_prog_gnu_ld+:} false; then :
4318 $as_echo_n "(cached
) " >&6
4320 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4321 case `$LD -v 2>&1 </dev/null` in
4322 *GNU* | *'with BFD'*)
4323 lt_cv_prog_gnu_ld=yes
4326 lt_cv_prog_gnu_ld=no
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4331 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4332 with_gnu_ld=$lt_cv_prog_gnu_ld
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4343 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4344 if ${lt_cv_path_NM+:} false; then :
4345 $as_echo_n "(cached
) " >&6
4347 if test -n "$NM"; then
4348 # Let the user override the test.
4351 lt_nm_to_check="${ac_tool_prefix}nm
"
4352 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4353 lt_nm_to_check="$lt_nm_to_check nm
"
4355 for lt_tmp_nm in $lt_nm_to_check; do
4356 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4357 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4359 test -z "$ac_dir" && ac_dir=.
4360 tmp_nm="$ac_dir/$lt_tmp_nm"
4361 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4362 # Check to see if the nm accepts a BSD-compat flag.
4363 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4364 # nm: unknown option "B
" ignored
4365 # Tru64's nm complains that /dev/null is an invalid object file
4366 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4367 */dev/null* | *'Invalid file or object type'*)
4368 lt_cv_path_NM="$tmp_nm -B"
4372 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4374 lt_cv_path_NM="$tmp_nm -p"
4378 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4379 continue # so that we can try to find one that supports BSD flags
4388 : ${lt_cv_path_NM=no}
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4392 $as_echo "$lt_cv_path_NM" >&6; }
4393 if test "$lt_cv_path_NM" != "no
"; then
4396 # Didn't find any BSD compatible name lister, look for dumpbin.
4397 if test -n "$DUMPBIN"; then :
4398 # Let the user override the test.
4400 if test -n "$ac_tool_prefix"; then
4401 for ac_prog in dumpbin "link
-dump"
4403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4406 $as_echo_n "checking
for $ac_word...
" >&6; }
4407 if ${ac_cv_prog_DUMPBIN+:} false; then :
4408 $as_echo_n "(cached
) " >&6
4410 if test -n "$DUMPBIN"; then
4411 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 test -z "$as_dir" && as_dir=.
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4430 DUMPBIN=$ac_cv_prog_DUMPBIN
4431 if test -n "$DUMPBIN"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4433 $as_echo "$DUMPBIN" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4436 $as_echo "no
" >&6; }
4440 test -n "$DUMPBIN" && break
4443 if test -z "$DUMPBIN"; then
4444 ac_ct_DUMPBIN=$DUMPBIN
4445 for ac_prog in dumpbin "link
-dump"
4447 # Extract the first word of "$ac_prog", so it can be a program name with args.
4448 set dummy $ac_prog; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4450 $as_echo_n "checking
for $ac_word...
" >&6; }
4451 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4452 $as_echo_n "(cached
) " >&6
4454 if test -n "$ac_ct_DUMPBIN"; then
4455 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4464 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4475 if test -n "$ac_ct_DUMPBIN"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4477 $as_echo "$ac_ct_DUMPBIN" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4480 $as_echo "no
" >&6; }
4484 test -n "$ac_ct_DUMPBIN" && break
4487 if test "x
$ac_ct_DUMPBIN" = x; then
4490 case $cross_compiling:$ac_tool_warned in
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4493 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4494 ac_tool_warned=yes ;;
4496 DUMPBIN=$ac_ct_DUMPBIN
4500 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4502 DUMPBIN="$DUMPBIN -symbols"
4510 if test "$DUMPBIN" != ":"; then
4514 test -z "$NM" && NM=nm
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4522 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4523 if ${lt_cv_nm_interface+:} false; then :
4524 $as_echo_n "(cached
) " >&6
4526 lt_cv_nm_interface="BSD nm
"
4527 echo "int some_variable
= 0;" > conftest.$ac_ext
4528 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4529 (eval "$ac_compile" 2>conftest.err)
4530 cat conftest.err >&5
4531 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4532 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4533 cat conftest.err >&5
4534 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4535 cat conftest.out >&5
4536 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4537 lt_cv_nm_interface="MS dumpbin
"
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4542 $as_echo "$lt_cv_nm_interface" >&6; }
4544 # find the maximum length of command line arguments
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4546 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4547 if ${lt_cv_sys_max_cmd_len+:} false; then :
4548 $as_echo_n "(cached
) " >&6
4555 # On DJGPP, this test can blow up pretty badly due to problems in libc
4556 # (any single argument exceeding 2000 bytes causes a buffer overrun
4557 # during glob expansion). Even if it were fixed, the result of this
4558 # check would be larger than it should be.
4559 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4563 # Under GNU Hurd, this test is not required because there is
4564 # no limit to the length of command line arguments.
4565 # Libtool will interpret -1 as no limit whatsoever
4566 lt_cv_sys_max_cmd_len=-1;
4569 cygwin* | mingw* | cegcc*)
4570 # On Win9x/ME, this test blows up -- it succeeds, but takes
4571 # about 5 minutes as the teststring grows exponentially.
4572 # Worse, since 9x/ME are not pre-emptively multitasking,
4573 # you end up with a "frozen
" computer, even though with patience
4574 # the test eventually succeeds (with a max line length of 256k).
4575 # Instead, let's just punt: use the minimum linelength reported by
4576 # all of the supported platforms: 8192 (on NT/2K/XP).
4577 lt_cv_sys_max_cmd_len=8192;
4581 # On MiNT this can take a long time and run out of memory.
4582 lt_cv_sys_max_cmd_len=8192;
4586 # On AmigaOS with pdksh, this test takes hours, literally.
4587 # So we just punt and use a minimum line length of 8192.
4588 lt_cv_sys_max_cmd_len=8192;
4591 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4592 # This has been around since 386BSD, at least. Likely further.
4593 if test -x /sbin/sysctl; then
4594 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4595 elif test -x /usr/sbin/sysctl; then
4596 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4598 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4600 # And add a safety zone
4601 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4602 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4606 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4607 lt_cv_sys_max_cmd_len=196608
4611 # The test takes a long time on OS/2.
4612 lt_cv_sys_max_cmd_len=8192
4616 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4617 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4618 # nice to cause kernel panics so lets avoid the loop below.
4619 # First set a reasonable default.
4620 lt_cv_sys_max_cmd_len=16384
4622 if test -x /sbin/sysconfig; then
4623 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4624 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4629 lt_cv_sys_max_cmd_len=102400
4631 sysv5* | sco5v6* | sysv4.2uw2*)
4632 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4633 if test -n "$kargmax"; then
4634 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4636 lt_cv_sys_max_cmd_len=32768
4640 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4641 if test -n "$lt_cv_sys_max_cmd_len"; then
4642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4645 # Make teststring a little bigger before we do anything with it.
4646 # a 1K string should be a reasonable start.
4647 for i in 1 2 3 4 5 6 7 8 ; do
4648 teststring=$teststring$teststring
4650 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4651 # If test is not a shell built-in, we'll probably end up computing a
4652 # maximum length that is only half of the actual maximum length, but
4654 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
4655 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4656 test $i != 17 # 1/2 MB should be enough
4659 teststring=$teststring$teststring
4661 # Only check the string length outside the loop.
4662 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4664 # Add a significant safety factor because C++ compilers can tack on
4665 # massive amounts of additional arguments before passing them to the
4666 # linker. It appears as though 1/2 is a usable value.
4667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4674 if test -n $lt_cv_sys_max_cmd_len ; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4676 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4679 $as_echo "none
" >&6; }
4681 max_cmd_len=$lt_cv_sys_max_cmd_len
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
4693 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
4694 # Try some XSI features
4697 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4699 && eval 'test $(( 1 + 1 )) -eq 2 \
4700 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4703 $as_echo "$xsi_shell" >&6; }
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4707 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4709 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4711 && lt_shell_append
=yes
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4713 $as_echo "$lt_shell_append" >&6; }
4716 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4726 # test EBCDIC or ASCII
4727 case `echo X|tr X '\101'` in
4728 A
) # ASCII based system
4729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4730 lt_SP2NL
='tr \040 \012'
4731 lt_NL2SP
='tr \015\012 \040\040'
4733 *) # EBCDIC based system
4734 lt_SP2NL
='tr \100 \n'
4735 lt_NL2SP
='tr \r\n \100\100'
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4748 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4749 if ${lt_cv_to_host_file_cmd+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4755 *-*-mingw* ) # actually msys
4756 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4759 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4761 * ) # otherwise, assume *nix
4762 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4768 *-*-mingw* ) # actually msys
4769 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4772 lt_cv_to_host_file_cmd
=func_convert_file_noop
4774 * ) # otherwise, assume *nix
4775 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4779 * ) # unhandled hosts (and "normal" native builds)
4780 lt_cv_to_host_file_cmd
=func_convert_file_noop
4786 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4788 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4795 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4796 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4797 $as_echo_n "(cached) " >&6
4799 #assume ordinary cross tools, or native build.
4800 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4804 *-*-mingw* ) # actually msys
4805 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4813 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4815 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4822 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4823 if ${lt_cv_ld_reload_flag+:} false
; then :
4824 $as_echo_n "(cached) " >&6
4826 lt_cv_ld_reload_flag
='-r'
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4829 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4830 reload_flag
=$lt_cv_ld_reload_flag
4831 case $reload_flag in
4833 *) reload_flag
=" $reload_flag" ;;
4835 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4837 cygwin
* | mingw
* | pw32
* | cegcc
*)
4838 if test "$GCC" != yes; then
4843 if test "$GCC" = yes; then
4844 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4846 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4859 if test -n "$ac_tool_prefix"; then
4860 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4861 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$OBJDUMP"; then
4868 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 OBJDUMP
=$ac_cv_prog_OBJDUMP
4888 if test -n "$OBJDUMP"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4890 $as_echo "$OBJDUMP" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4898 if test -z "$ac_cv_prog_OBJDUMP"; then
4899 ac_ct_OBJDUMP
=$OBJDUMP
4900 # Extract the first word of "objdump", so it can be a program name with args.
4901 set dummy objdump
; ac_word
=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -n "$ac_ct_OBJDUMP"; then
4908 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_exec_ext
in '' $ac_executable_extensions; do
4916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4928 if test -n "$ac_ct_OBJDUMP"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4930 $as_echo "$ac_ct_OBJDUMP" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4936 if test "x$ac_ct_OBJDUMP" = x
; then
4939 case $cross_compiling:$ac_tool_warned in
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4943 ac_tool_warned
=yes ;;
4945 OBJDUMP
=$ac_ct_OBJDUMP
4948 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4951 test -z "$OBJDUMP" && OBJDUMP
=objdump
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4962 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4963 if ${lt_cv_deplibs_check_method+:} false
; then :
4964 $as_echo_n "(cached) " >&6
4966 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4967 lt_cv_file_magic_test_file
=
4968 lt_cv_deplibs_check_method
='unknown'
4969 # Need to set the preceding variable on all platforms that support
4970 # interlibrary dependencies.
4971 # 'none' -- dependencies not supported.
4972 # `unknown' -- same as none, but documents that we really don't know.
4973 # 'pass_all' -- all dependencies passed with no checks.
4974 # 'test_compile' -- check by making test program.
4975 # 'file_magic [[regex]]' -- check by looking for files in library path
4976 # which responds to the $file_magic_cmd with a given extended regex.
4977 # If you have `file' or equivalent on your system and you're not sure
4978 # whether `pass_all' will *always* work, you probably want this one.
4982 lt_cv_deplibs_check_method
=pass_all
4986 lt_cv_deplibs_check_method
=pass_all
4990 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4991 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4992 lt_cv_file_magic_test_file
=/shlib
/libc.so
4996 # func_win32_libid is a shell function defined in ltmain.sh
4997 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4998 lt_cv_file_magic_cmd
='func_win32_libid'
5002 # Base MSYS/MinGW do not provide the 'file' command needed by
5003 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5004 # unless we find 'file', for example because we are cross-compiling.
5005 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5006 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5007 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5008 lt_cv_file_magic_cmd
='func_win32_libid'
5010 # Keep this pattern in sync with the one in func_win32_libid.
5011 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5012 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5017 # use the weaker test based on 'objdump'. See mingw*.
5018 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5019 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5022 darwin
* | rhapsody
*)
5023 lt_cv_deplibs_check_method
=pass_all
5026 freebsd
* | dragonfly
*)
5027 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5030 # Not sure whether the presence of OpenBSD here was a mistake.
5031 # Let's accept both of them until this is cleared up.
5032 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5033 lt_cv_file_magic_cmd
=/usr
/bin
/file
5034 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5038 lt_cv_deplibs_check_method
=pass_all
5043 lt_cv_deplibs_check_method
=pass_all
5047 lt_cv_deplibs_check_method
=pass_all
5050 hpux10.20
* | hpux11
*)
5051 lt_cv_file_magic_cmd
=/usr
/bin
/file
5054 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5055 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5058 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]'
5059 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5062 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5063 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5069 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5070 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5073 irix5
* | irix6
* | nonstopux
*)
5075 *-32|
*"-32 ") libmagic
=32-bit;;
5076 *-n32|
*"-n32 ") libmagic
=N32
;;
5077 *-64|
*"-64 ") libmagic
=64-bit;;
5078 *) libmagic
=never-match
;;
5080 lt_cv_deplibs_check_method
=pass_all
5083 # This must be glibc/ELF.
5084 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5085 lt_cv_deplibs_check_method
=pass_all
5089 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5090 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5092 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5097 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5098 lt_cv_file_magic_cmd
=/usr
/bin
/file
5099 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5103 lt_cv_deplibs_check_method
=pass_all
5107 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5108 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5110 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5114 osf3
* | osf4
* | osf5
*)
5115 lt_cv_deplibs_check_method
=pass_all
5119 lt_cv_deplibs_check_method
=pass_all
5123 lt_cv_deplibs_check_method
=pass_all
5126 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5127 lt_cv_deplibs_check_method
=pass_all
5131 case $host_vendor in
5133 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]'
5134 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5137 lt_cv_deplibs_check_method
=pass_all
5140 lt_cv_file_magic_cmd
='/bin/file'
5141 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5144 lt_cv_file_magic_cmd
='/bin/file'
5145 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5146 lt_cv_file_magic_test_file
=/lib
/libc.so
5149 lt_cv_deplibs_check_method
=pass_all
5152 lt_cv_deplibs_check_method
=pass_all
5158 lt_cv_deplibs_check_method
=pass_all
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5164 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5168 if test "$build" = "$host"; then
5171 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5174 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5180 file_magic_cmd
=$lt_cv_file_magic_cmd
5181 deplibs_check_method
=$lt_cv_deplibs_check_method
5182 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5205 if test -n "$ac_tool_prefix"; then
5206 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5207 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5211 $as_echo_n "(cached) " >&6
5213 if test -n "$DLLTOOL"; then
5214 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_exec_ext
in '' $ac_executable_extensions; do
5222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5223 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 DLLTOOL
=$ac_cv_prog_DLLTOOL
5234 if test -n "$DLLTOOL"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5236 $as_echo "$DLLTOOL" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5244 if test -z "$ac_cv_prog_DLLTOOL"; then
5245 ac_ct_DLLTOOL
=$DLLTOOL
5246 # Extract the first word of "dlltool", so it can be a program name with args.
5247 set dummy dlltool
; ac_word
=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$ac_ct_DLLTOOL"; then
5254 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_exec_ext
in '' $ac_executable_extensions; do
5262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5263 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5274 if test -n "$ac_ct_DLLTOOL"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5276 $as_echo "$ac_ct_DLLTOOL" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5282 if test "x$ac_ct_DLLTOOL" = x
; then
5285 case $cross_compiling:$ac_tool_warned in
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5289 ac_tool_warned
=yes ;;
5291 DLLTOOL
=$ac_ct_DLLTOOL
5294 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5297 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5309 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5310 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5311 $as_echo_n "(cached) " >&6
5313 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5316 cygwin
* | mingw
* | pw32
* | cegcc
*)
5317 # two different shell functions defined in ltmain.sh
5318 # decide which to use based on capabilities of $DLLTOOL
5319 case `$DLLTOOL --help 2>&1` in
5320 *--identify-strict*)
5321 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5324 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5329 # fallback: assume linklib IS sharedlib
5330 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5336 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5337 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5338 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5347 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5351 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if ${ac_cv_prog_AR+:} false
; then :
5355 $as_echo_n "(cached) " >&6
5357 if test -n "$AR"; then
5358 ac_cv_prog_AR
="$AR" # Let the user override the test.
5360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 test -z "$as_dir" && as_dir
=.
5365 for ac_exec_ext
in '' $ac_executable_extensions; do
5366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5367 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 if test -n "$AR"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5380 $as_echo "$AR" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5387 test -n "$AR" && break
5390 if test -z "$AR"; then
5394 # Extract the first word of "$ac_prog", so it can be a program name with args.
5395 set dummy
$ac_prog; ac_word
=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397 $as_echo_n "checking for $ac_word... " >&6; }
5398 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5399 $as_echo_n "(cached) " >&6
5401 if test -n "$ac_ct_AR"; then
5402 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_ac_ct_AR
="$ac_prog"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5422 if test -n "$ac_ct_AR"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5424 $as_echo "$ac_ct_AR" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5431 test -n "$ac_ct_AR" && break
5434 if test "x$ac_ct_AR" = x
; then
5437 case $cross_compiling:$ac_tool_warned in
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5441 ac_tool_warned
=yes ;;
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5461 $as_echo_n "checking for archiver @FILE support... " >&6; }
5462 if ${lt_cv_ar_at_file+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5467 /* end confdefs.h. */
5477 if ac_fn_c_try_compile
"$LINENO"; then :
5478 echo conftest.
$ac_objext > conftest.lst
5479 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5480 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5481 (eval $lt_ar_try) 2>&5
5483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5484 test $ac_status = 0; }
5485 if test "$ac_status" -eq 0; then
5486 # Ensure the archiver fails upon bogus file names.
5487 rm -f conftest.
$ac_objext libconftest.a
5488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5489 (eval $lt_ar_try) 2>&5
5491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5492 test $ac_status = 0; }
5493 if test "$ac_status" -ne 0; then
5497 rm -f conftest.
* libconftest.a
5500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5504 $as_echo "$lt_cv_ar_at_file" >&6; }
5506 if test "x$lt_cv_ar_at_file" = xno
; then
5509 archiver_list_spec
=$lt_cv_ar_at_file
5518 if test -n "$ac_tool_prefix"; then
5519 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5520 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_STRIP+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$STRIP"; then
5527 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_exec_ext
in '' $ac_executable_extensions; do
5535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 STRIP
=$ac_cv_prog_STRIP
5547 if test -n "$STRIP"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5549 $as_echo "$STRIP" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if test -z "$ac_cv_prog_STRIP"; then
5559 # Extract the first word of "strip", so it can be a program name with args.
5560 set dummy strip
; ac_word
=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -n "$ac_ct_STRIP"; then
5567 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_ac_ct_STRIP
="strip"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5587 if test -n "$ac_ct_STRIP"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5589 $as_echo "$ac_ct_STRIP" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5595 if test "x$ac_ct_STRIP" = x
; then
5598 case $cross_compiling:$ac_tool_warned in
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5602 ac_tool_warned
=yes ;;
5607 STRIP
="$ac_cv_prog_STRIP"
5610 test -z "$STRIP" && STRIP
=:
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5619 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621 $as_echo_n "checking for $ac_word... " >&6; }
5622 if ${ac_cv_prog_RANLIB+:} false
; then :
5623 $as_echo_n "(cached) " >&6
5625 if test -n "$RANLIB"; then
5626 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5635 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 RANLIB
=$ac_cv_prog_RANLIB
5646 if test -n "$RANLIB"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5648 $as_echo "$RANLIB" >&6; }
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }
5656 if test -z "$ac_cv_prog_RANLIB"; then
5657 ac_ct_RANLIB
=$RANLIB
5658 # Extract the first word of "ranlib", so it can be a program name with args.
5659 set dummy ranlib
; ac_word
=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$ac_ct_RANLIB"; then
5666 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir
=.
5673 for ac_exec_ext
in '' $ac_executable_extensions; do
5674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5686 if test -n "$ac_ct_RANLIB"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5688 $as_echo "$ac_ct_RANLIB" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5694 if test "x$ac_ct_RANLIB" = x
; then
5697 case $cross_compiling:$ac_tool_warned in
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned
=yes ;;
5703 RANLIB
=$ac_ct_RANLIB
5706 RANLIB
="$ac_cv_prog_RANLIB"
5709 test -z "$RANLIB" && RANLIB
=:
5716 # Determine commands to create old-style static archives.
5717 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5718 old_postinstall_cmds
='chmod 644 $oldlib'
5719 old_postuninstall_cmds
=
5721 if test -n "$RANLIB"; then
5724 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5727 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5730 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5735 lock_old_archive_extraction
=yes ;;
5737 lock_old_archive_extraction
=no
;;
5778 # If no C compiler was specified, use CC.
5781 # If no C compiler flags were specified, use CFLAGS.
5782 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5784 # Allow CC to be a program name with arguments.
5788 # Check for command to grab the raw symbol name followed by C symbol from nm.
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5790 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5791 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5792 $as_echo_n "(cached) " >&6
5795 # These are sane defaults that work on at least a few old systems.
5796 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5798 # Character class describing NM global symbol codes.
5799 symcode
='[BCDEGRST]'
5801 # Regexp to match symbols that can be accessed directly from C.
5802 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5804 # Define system-specific variables.
5809 cygwin
* | mingw
* | pw32
* | cegcc
*)
5810 symcode
='[ABCDGISTW]'
5813 if test "$host_cpu" = ia64
; then
5814 symcode
='[ABCDEGRST]'
5818 symcode
='[BCDEGRST]'
5821 symcode
='[BCDEGQRST]'
5832 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5840 # If we're using GNU nm, then use its standard symbol codes.
5841 case `$NM -V 2>&1` in
5842 *GNU
* |
*'with BFD'*)
5843 symcode
='[ABCDGIRSTW]' ;;
5846 # Transform an extracted symbol line into a proper C declaration.
5847 # Some systems (esp. on ia64) link data and code symbols differently,
5848 # so use this general approach.
5849 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5851 # Transform an extracted symbol line into symbol name and symbol address
5852 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5853 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5855 # Handle CRLF in mingw tool chain
5859 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5863 # Try without a prefix underscore, then with it.
5864 for ac_symprfx
in "" "_"; do
5866 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5867 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5869 # Write the raw and C identifiers.
5870 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5871 # Fake it for dumpbin and say T for any non-static function
5872 # and D for any global variable.
5873 # Also find C++ and __fastcall symbols from MSVC++,
5874 # which start with @ or ?.
5875 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5876 " {last_section=section; section=\$ 3};"\
5877 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5878 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5879 " \$ 0!~/External *\|/{next};"\
5880 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5881 " {if(hide[section]) next};"\
5882 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5883 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5884 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5885 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5886 " ' prfx=^$ac_symprfx"
5888 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5890 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5892 # Check to see that the pipe works correctly.
5896 cat > conftest.
$ac_ext <<_LT_EOF
5901 void nm_test_func(void);
5902 void nm_test_func(void){}
5906 int main(){nm_test_var='a';nm_test_func();return(0);}
5909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5910 (eval $ac_compile) 2>&5
5912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5913 test $ac_status = 0; }; then
5914 # Now try to grab the symbols.
5916 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5917 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
5919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5920 test $ac_status = 0; } && test -s "$nlist"; then
5921 # Try sorting and uniquifying the output.
5922 if sort "$nlist" |
uniq > "$nlist"T
; then
5923 mv -f "$nlist"T
"$nlist"
5928 # Make sure that we snagged all the symbols we need.
5929 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5930 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5931 cat <<_LT_EOF > conftest.$ac_ext
5932 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5933 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5934 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5935 relocations are performed -- see ld's documentation on pseudo-relocs. */
5936 # define LT_DLSYM_CONST
5937 #elif defined(__osf__)
5938 /* This system does not cope well with relocations in const data. */
5939 # define LT_DLSYM_CONST
5941 # define LT_DLSYM_CONST const
5949 # Now generate the symbol file.
5950 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5952 cat <<_LT_EOF >> conftest.$ac_ext
5954 /* The mapping between symbol names and symbols. */
5955 LT_DLSYM_CONST struct {
5959 lt__PROGRAM__LTX_preloaded_symbols[] =
5961 { "@PROGRAM@", (void *) 0 },
5963 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
5964 cat <<\_LT_EOF
>> conftest.
$ac_ext
5968 /* This works around a problem
in FreeBSD linker
*/
5969 #ifdef FREEBSD_WORKAROUND
5970 static const void
*lt_preloaded_setup
() {
5971 return lt__PROGRAM__LTX_preloaded_symbols
;
5979 # Now try linking the two files.
5980 mv conftest.
$ac_objext conftstm.
$ac_objext
5981 lt_globsym_save_LIBS
=$LIBS
5982 lt_globsym_save_CFLAGS
=$CFLAGS
5983 LIBS
="conftstm.$ac_objext"
5984 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5986 (eval $ac_link) 2>&5
5988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5989 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5992 LIBS
=$lt_globsym_save_LIBS
5993 CFLAGS
=$lt_globsym_save_CFLAGS
5995 echo "cannot find nm_test_func in $nlist" >&5
5998 echo "cannot find nm_test_var in $nlist" >&5
6001 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6004 echo "$progname: failed program was:" >&5
6005 cat conftest.
$ac_ext >&5
6007 rm -rf conftest
* conftst
*
6009 # Do not use the global_symbol_pipe unless it works.
6010 if test "$pipe_works" = yes; then
6013 lt_cv_sys_global_symbol_pipe
=
6019 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6020 lt_cv_sys_global_symbol_to_cdecl
=
6022 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6024 $as_echo "failed" >&6; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6027 $as_echo "ok" >&6; }
6030 # Response file support.
6031 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6032 nm_file_list_spec
='@'
6033 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
6034 nm_file_list_spec
='@'
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6064 $as_echo_n "checking for sysroot... " >&6; }
6066 # Check whether --with-sysroot was given.
6067 if test "${with_sysroot+set}" = set; then :
6068 withval
=$with_sysroot;
6075 case ${with_sysroot} in #(
6077 if test "$GCC" = yes; then
6078 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6082 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6088 $as_echo "${with_sysroot}" >&6; }
6089 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6094 $as_echo "${lt_sysroot:-no}" >&6; }
6100 # Check whether --enable-libtool-lock was given.
6101 if test "${enable_libtool_lock+set}" = set; then :
6102 enableval
=$enable_libtool_lock;
6105 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6107 # Some flags need to be propagated to the compiler or linker for good
6111 # Find out which ABI we are using.
6112 echo 'int i;' > conftest.
$ac_ext
6113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6114 (eval $ac_compile) 2>&5
6116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6117 test $ac_status = 0; }; then
6118 case `/usr/bin/file conftest.$ac_objext` in
6130 # Find out which ABI we are using.
6131 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6133 (eval $ac_compile) 2>&5
6135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6136 test $ac_status = 0; }; then
6137 if test "$lt_cv_prog_gnu_ld" = yes; then
6138 case `/usr/bin/file conftest.$ac_objext` in
6140 LD
="${LD-ld} -melf32bsmip"
6143 LD
="${LD-ld} -melf32bmipn32"
6146 LD
="${LD-ld} -melf64bmip"
6150 case `/usr/bin/file conftest.$ac_objext` in
6166 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6167 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6168 # Find out which ABI we are using.
6169 echo 'int i;' > conftest.
$ac_ext
6170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6171 (eval $ac_compile) 2>&5
6173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6174 test $ac_status = 0; }; then
6175 case `/usr/bin/file conftest.o` in
6178 x86_64-
*kfreebsd
*-gnu)
6179 LD
="${LD-ld} -m elf_i386_fbsd"
6182 LD
="${LD-ld} -m elf_i386"
6184 ppc64-
*linux
*|powerpc64-
*linux
*)
6185 LD
="${LD-ld} -m elf32ppclinux"
6188 LD
="${LD-ld} -m elf_s390"
6191 LD
="${LD-ld} -m elf32_sparc"
6197 x86_64-
*kfreebsd
*-gnu)
6198 LD
="${LD-ld} -m elf_x86_64_fbsd"
6201 LD
="${LD-ld} -m elf_x86_64"
6203 ppc
*-*linux
*|powerpc
*-*linux
*)
6204 LD
="${LD-ld} -m elf64ppc"
6206 s390
*-*linux
*|s390
*-*tpf
*)
6207 LD
="${LD-ld} -m elf64_s390"
6210 LD
="${LD-ld} -m elf64_sparc"
6220 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6221 SAVE_CFLAGS
="$CFLAGS"
6222 CFLAGS
="$CFLAGS -belf"
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6224 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6225 if ${lt_cv_cc_needs_belf+:} false
; then :
6226 $as_echo_n "(cached) " >&6
6229 ac_cpp
='$CPP $CPPFLAGS'
6230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6245 if ac_fn_c_try_link
"$LINENO"; then :
6246 lt_cv_cc_needs_belf
=yes
6248 lt_cv_cc_needs_belf
=no
6250 rm -f core conftest.err conftest.
$ac_objext \
6251 conftest
$ac_exeext conftest.
$ac_ext
6253 ac_cpp
='$CPP $CPPFLAGS'
6254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6260 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6261 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6262 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6263 CFLAGS
="$SAVE_CFLAGS"
6267 # Find out which ABI we are using.
6268 echo 'int i;' > conftest.
$ac_ext
6269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6270 (eval $ac_compile) 2>&5
6272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273 test $ac_status = 0; }; then
6274 case `/usr/bin/file conftest.o` in
6276 case $lt_cv_prog_gnu_ld in
6280 LD
="${LD-ld} -m elf_x86_64"
6283 LD
="${LD-ld} -m elf64_sparc"
6286 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6287 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6292 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6304 need_locks
="$enable_libtool_lock"
6306 if test -n "$ac_tool_prefix"; then
6307 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6308 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6312 $as_echo_n "(cached) " >&6
6314 if test -n "$MANIFEST_TOOL"; then
6315 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir
=.
6322 for ac_exec_ext
in '' $ac_executable_extensions; do
6323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6324 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6335 if test -n "$MANIFEST_TOOL"; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6337 $as_echo "$MANIFEST_TOOL" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 $as_echo "no" >&6; }
6345 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6346 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6347 # Extract the first word of "mt", so it can be a program name with args.
6348 set dummy mt
; ac_word
=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6352 $as_echo_n "(cached) " >&6
6354 if test -n "$ac_ct_MANIFEST_TOOL"; then
6355 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir
=.
6362 for ac_exec_ext
in '' $ac_executable_extensions; do
6363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6364 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6375 if test -n "$ac_ct_MANIFEST_TOOL"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6377 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6383 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6386 case $cross_compiling:$ac_tool_warned in
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6390 ac_tool_warned
=yes ;;
6392 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6395 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6398 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6400 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6401 if ${lt_cv_path_mainfest_tool+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6404 lt_cv_path_mainfest_tool
=no
6405 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6406 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6407 cat conftest.err
>&5
6408 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6409 lt_cv_path_mainfest_tool
=yes
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6414 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6415 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6425 rhapsody
* | darwin
*)
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6428 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6432 $as_echo_n "(cached) " >&6
6434 if test -n "$DSYMUTIL"; then
6435 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6441 test -z "$as_dir" && as_dir
=.
6442 for ac_exec_ext
in '' $ac_executable_extensions; do
6443 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6455 if test -n "$DSYMUTIL"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6457 $as_echo "$DSYMUTIL" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6465 if test -z "$ac_cv_prog_DSYMUTIL"; then
6466 ac_ct_DSYMUTIL
=$DSYMUTIL
6467 # Extract the first word of "dsymutil", so it can be a program name with args.
6468 set dummy dsymutil
; ac_word
=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6472 $as_echo_n "(cached) " >&6
6474 if test -n "$ac_ct_DSYMUTIL"; then
6475 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6481 test -z "$as_dir" && as_dir
=.
6482 for ac_exec_ext
in '' $ac_executable_extensions; do
6483 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6495 if test -n "$ac_ct_DSYMUTIL"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6497 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6503 if test "x$ac_ct_DSYMUTIL" = x
; then
6506 case $cross_compiling:$ac_tool_warned in
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6510 ac_tool_warned
=yes ;;
6512 DSYMUTIL
=$ac_ct_DSYMUTIL
6515 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6518 if test -n "$ac_tool_prefix"; then
6519 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6520 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522 $as_echo_n "checking for $ac_word... " >&6; }
6523 if ${ac_cv_prog_NMEDIT+:} false
; then :
6524 $as_echo_n "(cached) " >&6
6526 if test -n "$NMEDIT"; then
6527 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir
=.
6534 for ac_exec_ext
in '' $ac_executable_extensions; do
6535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 NMEDIT
=$ac_cv_prog_NMEDIT
6547 if test -n "$NMEDIT"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6549 $as_echo "$NMEDIT" >&6; }
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552 $as_echo "no" >&6; }
6557 if test -z "$ac_cv_prog_NMEDIT"; then
6558 ac_ct_NMEDIT
=$NMEDIT
6559 # Extract the first word of "nmedit", so it can be a program name with args.
6560 set dummy nmedit
; ac_word
=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6564 $as_echo_n "(cached) " >&6
6566 if test -n "$ac_ct_NMEDIT"; then
6567 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6573 test -z "$as_dir" && as_dir
=.
6574 for ac_exec_ext
in '' $ac_executable_extensions; do
6575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6587 if test -n "$ac_ct_NMEDIT"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6589 $as_echo "$ac_ct_NMEDIT" >&6; }
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6595 if test "x$ac_ct_NMEDIT" = x
; then
6598 case $cross_compiling:$ac_tool_warned in
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6602 ac_tool_warned
=yes ;;
6604 NMEDIT
=$ac_ct_NMEDIT
6607 NMEDIT
="$ac_cv_prog_NMEDIT"
6610 if test -n "$ac_tool_prefix"; then
6611 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6612 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if ${ac_cv_prog_LIPO+:} false
; then :
6616 $as_echo_n "(cached) " >&6
6618 if test -n "$LIPO"; then
6619 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6625 test -z "$as_dir" && as_dir
=.
6626 for ac_exec_ext
in '' $ac_executable_extensions; do
6627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638 LIPO
=$ac_cv_prog_LIPO
6639 if test -n "$LIPO"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6641 $as_echo "$LIPO" >&6; }
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6649 if test -z "$ac_cv_prog_LIPO"; then
6651 # Extract the first word of "lipo", so it can be a program name with args.
6652 set dummy lipo
; ac_word
=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6656 $as_echo_n "(cached) " >&6
6658 if test -n "$ac_ct_LIPO"; then
6659 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6665 test -z "$as_dir" && as_dir
=.
6666 for ac_exec_ext
in '' $ac_executable_extensions; do
6667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6668 ac_cv_prog_ac_ct_LIPO
="lipo"
6669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6679 if test -n "$ac_ct_LIPO"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6681 $as_echo "$ac_ct_LIPO" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6687 if test "x$ac_ct_LIPO" = x
; then
6690 case $cross_compiling:$ac_tool_warned in
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6694 ac_tool_warned
=yes ;;
6699 LIPO
="$ac_cv_prog_LIPO"
6702 if test -n "$ac_tool_prefix"; then
6703 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6704 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if ${ac_cv_prog_OTOOL+:} false
; then :
6708 $as_echo_n "(cached) " >&6
6710 if test -n "$OTOOL"; then
6711 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir
=.
6718 for ac_exec_ext
in '' $ac_executable_extensions; do
6719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6720 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 OTOOL
=$ac_cv_prog_OTOOL
6731 if test -n "$OTOOL"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6733 $as_echo "$OTOOL" >&6; }
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6741 if test -z "$ac_cv_prog_OTOOL"; then
6743 # Extract the first word of "otool", so it can be a program name with args.
6744 set dummy otool
; ac_word
=$2
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6746 $as_echo_n "checking for $ac_word... " >&6; }
6747 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6748 $as_echo_n "(cached) " >&6
6750 if test -n "$ac_ct_OTOOL"; then
6751 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6757 test -z "$as_dir" && as_dir
=.
6758 for ac_exec_ext
in '' $ac_executable_extensions; do
6759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6760 ac_cv_prog_ac_ct_OTOOL
="otool"
6761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6771 if test -n "$ac_ct_OTOOL"; then
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6773 $as_echo "$ac_ct_OTOOL" >&6; }
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 $as_echo "no" >&6; }
6779 if test "x$ac_ct_OTOOL" = x
; then
6782 case $cross_compiling:$ac_tool_warned in
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6786 ac_tool_warned
=yes ;;
6791 OTOOL
="$ac_cv_prog_OTOOL"
6794 if test -n "$ac_tool_prefix"; then
6795 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6796 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if ${ac_cv_prog_OTOOL64+:} false
; then :
6800 $as_echo_n "(cached) " >&6
6802 if test -n "$OTOOL64"; then
6803 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir
=.
6810 for ac_exec_ext
in '' $ac_executable_extensions; do
6811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6812 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 OTOOL64
=$ac_cv_prog_OTOOL64
6823 if test -n "$OTOOL64"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6825 $as_echo "$OTOOL64" >&6; }
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6833 if test -z "$ac_cv_prog_OTOOL64"; then
6834 ac_ct_OTOOL64
=$OTOOL64
6835 # Extract the first word of "otool64", so it can be a program name with args.
6836 set dummy otool64
; ac_word
=$2
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 $as_echo_n "checking for $ac_word... " >&6; }
6839 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6840 $as_echo_n "(cached) " >&6
6842 if test -n "$ac_ct_OTOOL64"; then
6843 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6849 test -z "$as_dir" && as_dir
=.
6850 for ac_exec_ext
in '' $ac_executable_extensions; do
6851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6852 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6863 if test -n "$ac_ct_OTOOL64"; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6865 $as_echo "$ac_ct_OTOOL64" >&6; }
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 $as_echo "no" >&6; }
6871 if test "x$ac_ct_OTOOL64" = x
; then
6874 case $cross_compiling:$ac_tool_warned in
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6878 ac_tool_warned
=yes ;;
6880 OTOOL64
=$ac_ct_OTOOL64
6883 OTOOL64
="$ac_cv_prog_OTOOL64"
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6913 $as_echo_n "checking for -single_module linker flag... " >&6; }
6914 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6915 $as_echo_n "(cached) " >&6
6917 lt_cv_apple_cc_single_mod
=no
6918 if test -z "${LT_MULTI_MODULE}"; then
6919 # By default we will add the -single_module flag. You can override
6920 # by either setting the environment variable LT_MULTI_MODULE
6921 # non-empty at configure time, or by adding -multi_module to the
6923 rm -rf libconftest.dylib
*
6924 echo "int foo(void){return 1;}" > conftest.c
6925 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6926 -dynamiclib -Wl,-single_module conftest.c" >&5
6927 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6928 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6930 # If there is a non-empty error log, and "single_module"
6931 # appears in it, assume the flag caused a linker warning
6932 if test -s conftest.err
&& $GREP single_module conftest.err
; then
6933 cat conftest.err
>&5
6934 # Otherwise, if the output was created with a 0 exit code from
6935 # the compiler, it worked.
6936 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
6937 lt_cv_apple_cc_single_mod
=yes
6939 cat conftest.err
>&5
6941 rm -rf libconftest.dylib
*
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6946 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6949 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6950 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6951 $as_echo_n "(cached) " >&6
6953 lt_cv_ld_exported_symbols_list
=no
6954 save_LDFLAGS
=$LDFLAGS
6955 echo "_main" > conftest.sym
6956 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6968 if ac_fn_c_try_link
"$LINENO"; then :
6969 lt_cv_ld_exported_symbols_list
=yes
6971 lt_cv_ld_exported_symbols_list
=no
6973 rm -f core conftest.err conftest.
$ac_objext \
6974 conftest
$ac_exeext conftest.
$ac_ext
6975 LDFLAGS
="$save_LDFLAGS"
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6979 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6982 $as_echo_n "checking for -force_load linker flag... " >&6; }
6983 if ${lt_cv_ld_force_load+:} false
; then :
6984 $as_echo_n "(cached) " >&6
6986 lt_cv_ld_force_load
=no
6987 cat > conftest.c
<< _LT_EOF
6988 int forced_loaded() { return 2;}
6990 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6991 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6992 echo "$AR cru libconftest.a conftest.o" >&5
6993 $AR cru libconftest.a conftest.o
2>&5
6994 echo "$RANLIB libconftest.a" >&5
6995 $RANLIB libconftest.a
2>&5
6996 cat > conftest.c
<< _LT_EOF
6997 int main() { return 0;}
6999 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7000 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7002 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7003 cat conftest.err
>&5
7004 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7005 lt_cv_ld_force_load
=yes
7007 cat conftest.err
>&5
7009 rm -f conftest.err libconftest.a conftest conftest.c
7010 rm -rf conftest.dSYM
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7014 $as_echo "$lt_cv_ld_force_load" >&6; }
7016 rhapsody
* | darwin1.
[012])
7017 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7019 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7020 darwin
*) # darwin 5.x on
7021 # if running on 10.5 or later, the deployment target defaults
7022 # to the OS version, if on x86, and 10.4, the deployment
7023 # target defaults to 10.4. Don't you love it?
7024 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7025 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7026 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7028 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7030 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7034 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7035 _lt_dar_single_mod
='$single_module'
7037 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7038 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7040 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7042 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7043 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7051 ac_cpp
='$CPP $CPPFLAGS'
7052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7056 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7057 # On Suns, sometimes $CPP names a directory.
7058 if test -n "$CPP" && test -d "$CPP"; then
7061 if test -z "$CPP"; then
7062 if ${ac_cv_prog_CPP+:} false
; then :
7063 $as_echo_n "(cached) " >&6
7065 # Double quotes because CPP needs to be expanded
7066 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7069 for ac_c_preproc_warn_flag
in '' yes
7071 # Use a header file that comes with gcc, so configuring glibc
7072 # with a fresh cross-compiler works.
7073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7074 # <limits.h> exists even on freestanding compilers.
7075 # On the NeXT, cc -E runs the code through the compiler's parser,
7076 # not just through cpp. "Syntax error" is here to catch this case.
7077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h. */
7080 # include <limits.h>
7082 # include <assert.h>
7086 if ac_fn_c_try_cpp
"$LINENO"; then :
7089 # Broken: fails on valid input.
7092 rm -f conftest.err conftest.i conftest.
$ac_ext
7094 # OK, works on sane cases. Now check whether nonexistent headers
7095 # can be detected and how.
7096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h. */
7098 #include <ac_nonexistent.h>
7100 if ac_fn_c_try_cpp
"$LINENO"; then :
7101 # Broken: success on invalid input.
7104 # Passes both tests.
7108 rm -f conftest.err conftest.i conftest.
$ac_ext
7111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7112 rm -f conftest.i conftest.err conftest.
$ac_ext
7113 if $ac_preproc_ok; then :
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7126 $as_echo "$CPP" >&6; }
7128 for ac_c_preproc_warn_flag
in '' yes
7130 # Use a header file that comes with gcc, so configuring glibc
7131 # with a fresh cross-compiler works.
7132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7133 # <limits.h> exists even on freestanding compilers.
7134 # On the NeXT, cc -E runs the code through the compiler's parser,
7135 # not just through cpp. "Syntax error" is here to catch this case.
7136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7139 # include <limits.h>
7141 # include <assert.h>
7145 if ac_fn_c_try_cpp
"$LINENO"; then :
7148 # Broken: fails on valid input.
7151 rm -f conftest.err conftest.i conftest.
$ac_ext
7153 # OK, works on sane cases. Now check whether nonexistent headers
7154 # can be detected and how.
7155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7156 /* end confdefs.h. */
7157 #include <ac_nonexistent.h>
7159 if ac_fn_c_try_cpp
"$LINENO"; then :
7160 # Broken: success on invalid input.
7163 # Passes both tests.
7167 rm -f conftest.err conftest.i conftest.
$ac_ext
7170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7171 rm -f conftest.i conftest.err conftest.
$ac_ext
7172 if $ac_preproc_ok; then :
7175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7177 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7178 See \`config.log' for more details" "$LINENO" 5; }
7182 ac_cpp
='$CPP $CPPFLAGS'
7183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7189 $as_echo_n "checking for ANSI C header files... " >&6; }
7190 if ${ac_cv_header_stdc+:} false
; then :
7191 $as_echo_n "(cached) " >&6
7193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7208 if ac_fn_c_try_compile
"$LINENO"; then :
7209 ac_cv_header_stdc
=yes
7211 ac_cv_header_stdc
=no
7213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7215 if test $ac_cv_header_stdc = yes; then
7216 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7223 $EGREP "memchr" >/dev
/null
2>&1; then :
7226 ac_cv_header_stdc
=no
7232 if test $ac_cv_header_stdc = yes; then
7233 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7235 /* end confdefs.h. */
7239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7240 $EGREP "free" >/dev
/null
2>&1; then :
7243 ac_cv_header_stdc
=no
7249 if test $ac_cv_header_stdc = yes; then
7250 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7251 if test "$cross_compiling" = yes; then :
7254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7258 #if ((' ' & 0x0FF) == 0x020)
7259 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7260 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7262 # define ISLOWER(c) \
7263 (('a' <= (c) && (c) <= 'i') \
7264 || ('j' <= (c) && (c) <= 'r') \
7265 || ('s' <= (c) && (c) <= 'z'))
7266 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7269 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7274 for (i = 0; i < 256; i++)
7275 if (XOR (islower (i), ISLOWER (i))
7276 || toupper (i) != TOUPPER (i))
7281 if ac_fn_c_try_run
"$LINENO"; then :
7284 ac_cv_header_stdc
=no
7286 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7287 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7293 $as_echo "$ac_cv_header_stdc" >&6; }
7294 if test $ac_cv_header_stdc = yes; then
7296 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7300 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7301 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7302 inttypes.h stdint.h unistd.h
7304 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7305 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7307 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7308 cat >>confdefs.h
<<_ACEOF
7309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7317 for ac_header
in dlfcn.h
7319 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7321 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7322 cat >>confdefs.h
<<_ACEOF
7323 #define HAVE_DLFCN_H 1
7344 # Check whether --enable-shared was given.
7345 if test "${enable_shared+set}" = set; then :
7346 enableval
=$enable_shared; p
=${PACKAGE-default}
7348 yes) enable_shared
=yes ;;
7349 no
) enable_shared
=no
;;
7352 # Look at the argument we got. We use all the common list separators.
7353 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7354 for pkg
in $enableval; do
7356 if test "X$pkg" = "X$p"; then
7375 # Check whether --enable-static was given.
7376 if test "${enable_static+set}" = set; then :
7377 enableval
=$enable_static; p
=${PACKAGE-default}
7379 yes) enable_static
=yes ;;
7380 no
) enable_static
=no
;;
7383 # Look at the argument we got. We use all the common list separators.
7384 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7385 for pkg
in $enableval; do
7387 if test "X$pkg" = "X$p"; then
7407 # Check whether --with-pic was given.
7408 if test "${with_pic+set}" = set; then :
7409 withval
=$with_pic; lt_p
=${PACKAGE-default}
7411 yes|no
) pic_mode
=$withval ;;
7414 # Look at the argument we got. We use all the common list separators.
7415 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7416 for lt_pkg
in $withval; do
7418 if test "X$lt_pkg" = "X$lt_p"; then
7430 test -z "$pic_mode" && pic_mode
=default
7438 # Check whether --enable-fast-install was given.
7439 if test "${enable_fast_install+set}" = set; then :
7440 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7442 yes) enable_fast_install
=yes ;;
7443 no
) enable_fast_install
=no
;;
7445 enable_fast_install
=no
7446 # Look at the argument we got. We use all the common list separators.
7447 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7448 for pkg
in $enableval; do
7450 if test "X$pkg" = "X$p"; then
7451 enable_fast_install
=yes
7458 enable_fast_install
=yes
7471 # This can be used to rebuild libtool when needed
7472 LIBTOOL_DEPS
="$ltmain"
7474 # Always use our own libtool.
7475 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7506 test -z "$LN_S" && LN_S
="ln -s"
7521 if test -n "${ZSH_VERSION+set}" ; then
7522 setopt NO_GLOB_SUBST
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7526 $as_echo_n "checking for objdir... " >&6; }
7527 if ${lt_cv_objdir+:} false
; then :
7528 $as_echo_n "(cached) " >&6
7530 rm -f .libs
2>/dev
/null
7531 mkdir .libs
2>/dev
/null
7532 if test -d .libs
; then
7535 # MS-DOS does not allow filenames that begin with a dot.
7538 rmdir .libs
2>/dev
/null
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7541 $as_echo "$lt_cv_objdir" >&6; }
7542 objdir
=$lt_cv_objdir
7548 cat >>confdefs.h
<<_ACEOF
7549 #define LT_OBJDIR "$lt_cv_objdir/"
7557 # AIX sometimes has problems with the GCC collect2 program. For some
7558 # reason, if we set the COLLECT_NAMES environment variable, the problems
7559 # vanish in a puff of smoke.
7560 if test "X${COLLECT_NAMES+set}" != Xset
; then
7562 export COLLECT_NAMES
7569 can_build_shared
=yes
7571 # All known linkers require a `.a' archive for static linking (except MSVC,
7572 # which needs '.lib').
7575 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7578 old_CFLAGS
="$CFLAGS"
7580 # Set sane defaults for various variables
7581 test -z "$CC" && CC
=cc
7582 test -z "$LTCC" && LTCC
=$CC
7583 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7584 test -z "$LD" && LD
=ld
7585 test -z "$ac_objext" && ac_objext
=o
7587 for cc_temp
in $compiler""; do
7589 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7590 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7595 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7598 # Only perform the check for file, if the check method requires it
7599 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7600 case $deplibs_check_method in
7602 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7604 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7605 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7606 $as_echo_n "(cached) " >&6
7610 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7613 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7614 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7615 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7616 for ac_dir
in $ac_dummy; do
7618 test -z "$ac_dir" && ac_dir
=.
7619 if test -f $ac_dir/${ac_tool_prefix}file; then
7620 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7621 if test -n "$file_magic_test_file"; then
7622 case $deplibs_check_method in
7624 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7625 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7626 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7627 $EGREP "$file_magic_regex" > /dev
/null
; then
7632 *** Warning: the command libtool uses to detect shared libraries,
7633 *** $file_magic_cmd, produces output that libtool cannot recognize.
7634 *** The result is that libtool may fail to recognize shared libraries
7635 *** as such. This will affect the creation of libtool libraries that
7636 *** depend on shared libraries, but programs linked with such libtool
7637 *** libraries will work regardless of this problem. Nevertheless, you
7638 *** may want to report the problem to your system manager and/or to
7639 *** bug-libtool@gnu.org
7649 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7654 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7655 if test -n "$MAGIC_CMD"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7657 $as_echo "$MAGIC_CMD" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7667 if test -z "$lt_cv_path_MAGIC_CMD"; then
7668 if test -n "$ac_tool_prefix"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7670 $as_echo_n "checking for file... " >&6; }
7671 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7672 $as_echo_n "(cached) " >&6
7676 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7679 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7680 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7681 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7682 for ac_dir
in $ac_dummy; do
7684 test -z "$ac_dir" && ac_dir
=.
7685 if test -f $ac_dir/file; then
7686 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7687 if test -n "$file_magic_test_file"; then
7688 case $deplibs_check_method in
7690 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7691 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7692 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7693 $EGREP "$file_magic_regex" > /dev
/null
; then
7698 *** Warning: the command libtool uses to detect shared libraries,
7699 *** $file_magic_cmd, produces output that libtool cannot recognize.
7700 *** The result is that libtool may fail to recognize shared libraries
7701 *** as such. This will affect the creation of libtool libraries that
7702 *** depend on shared libraries, but programs linked with such libtool
7703 *** libraries will work regardless of this problem. Nevertheless, you
7704 *** may want to report the problem to your system manager and/or to
7705 *** bug-libtool@gnu.org
7715 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7720 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7721 if test -n "$MAGIC_CMD"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7723 $as_echo "$MAGIC_CMD" >&6; }
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726 $as_echo "no" >&6; }
7739 # Use C for the default configuration in the libtool script
7743 ac_cpp
='$CPP $CPPFLAGS'
7744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7749 # Source file extension for C test sources.
7752 # Object file extension for compiled C test sources.
7756 # Code to be used in simple compile tests
7757 lt_simple_compile_test_code
="int some_variable = 0;"
7759 # Code to be used in simple link tests
7760 lt_simple_link_test_code
='int main(){return(0);}'
7768 # If no C compiler was specified, use CC.
7771 # If no C compiler flags were specified, use CFLAGS.
7772 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7774 # Allow CC to be a program name with arguments.
7777 # Save the default compiler, since it gets overwritten when the other
7778 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7779 compiler_DEFAULT
=$CC
7781 # save warnings/boilerplate of simple test code
7782 ac_outfile
=conftest.
$ac_objext
7783 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7784 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7785 _lt_compiler_boilerplate
=`cat conftest.err`
7788 ac_outfile
=conftest.
$ac_objext
7789 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7790 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7791 _lt_linker_boilerplate
=`cat conftest.err`
7795 if test -n "$compiler"; then
7797 lt_prog_compiler_no_builtin_flag
=
7799 if test "$GCC" = yes; then
7800 case $cc_basename in
7802 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7804 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7808 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7809 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7810 $as_echo_n "(cached) " >&6
7812 lt_cv_prog_compiler_rtti_exceptions
=no
7813 ac_outfile
=conftest.
$ac_objext
7814 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7815 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7816 # Insert the option either (1) after the last *FLAGS variable, or
7817 # (2) before a word containing "conftest.", or (3) at the end.
7818 # Note that $ac_compile itself does not contain backslashes and begins
7819 # with a dollar sign (not a hyphen), so the echo should work correctly.
7820 # The option is referenced via a variable to avoid confusing sed.
7821 lt_compile
=`echo "$ac_compile" | $SED \
7822 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7824 -e 's:$: $lt_compiler_flag:'`
7825 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7826 (eval "$lt_compile" 2>conftest.err
)
7828 cat conftest.err
>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 if (exit $ac_status) && test -s "$ac_outfile"; then
7831 # The compiler can only warn and ignore the option if not recognized
7832 # So say no if there are warnings other than the usual output.
7833 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7834 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7835 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7836 lt_cv_prog_compiler_rtti_exceptions
=yes
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7843 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7845 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7846 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7858 lt_prog_compiler_wl
=
7859 lt_prog_compiler_pic
=
7860 lt_prog_compiler_static
=
7863 if test "$GCC" = yes; then
7864 lt_prog_compiler_wl
='-Wl,'
7865 lt_prog_compiler_static
='-static'
7869 # All AIX code is PIC.
7870 if test "$host_cpu" = ia64
; then
7871 # AIX 5 now supports IA64 processor
7872 lt_prog_compiler_static
='-Bstatic'
7879 # see comment about AmigaOS4 .so support
7880 lt_prog_compiler_pic
='-fPIC'
7883 # FIXME: we need at least 68020 code to build shared libraries, but
7884 # adding the `-m68020' flag to GCC prevents building anything better,
7886 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7891 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7892 # PIC is the default for these OSes.
7895 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7896 # This hack is so that the source file can tell whether it is being
7897 # built for inclusion in a dll (and should export symbols for example).
7898 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7899 # (--disable-auto-import) libraries
7900 lt_prog_compiler_pic
='-DDLL_EXPORT'
7903 darwin
* | rhapsody
*)
7904 # PIC is the default on this platform
7905 # Common symbols not allowed in MH_DYLIB files
7906 lt_prog_compiler_pic
='-fno-common'
7910 # PIC is the default for Haiku.
7911 # The "-static" flag exists, but is broken.
7912 lt_prog_compiler_static
=
7916 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7917 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7918 # sets the default TLS model and affects inlining.
7924 lt_prog_compiler_pic
='-fPIC'
7930 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7931 # Instead, we relocate shared libraries at runtime.
7935 # Just because we use GCC doesn't mean we suddenly get shared libraries
7936 # on systems that don't support them.
7937 lt_prog_compiler_can_build_shared
=no
7942 # QNX uses GNU C++, but need to define -shared option too, otherwise
7944 lt_prog_compiler_pic
='-fPIC -shared'
7948 if test -d /usr
/nec
; then
7949 lt_prog_compiler_pic
=-Kconform_pic
7954 lt_prog_compiler_pic
='-fPIC'
7958 case $cc_basename in
7959 nvcc
*) # Cuda Compiler Driver 2.2
7960 lt_prog_compiler_wl
='-Xlinker '
7961 if test -n "$lt_prog_compiler_pic"; then
7962 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7967 # PORTME Check for flag to pass linker flags through the system compiler.
7970 lt_prog_compiler_wl
='-Wl,'
7971 if test "$host_cpu" = ia64
; then
7972 # AIX 5 now supports IA64 processor
7973 lt_prog_compiler_static
='-Bstatic'
7975 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7979 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7980 # This hack is so that the source file can tell whether it is being
7981 # built for inclusion in a dll (and should export symbols for example).
7982 lt_prog_compiler_pic
='-DDLL_EXPORT'
7985 hpux9
* | hpux10
* | hpux11
*)
7986 lt_prog_compiler_wl
='-Wl,'
7987 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7994 lt_prog_compiler_pic
='+Z'
7997 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7998 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8001 irix5
* | irix6
* | nonstopux
*)
8002 lt_prog_compiler_wl
='-Wl,'
8003 # PIC (with -KPIC) is the default.
8004 lt_prog_compiler_static
='-non_shared'
8007 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8008 case $cc_basename in
8009 # old Intel for x86_64 which still supported -KPIC.
8011 lt_prog_compiler_wl
='-Wl,'
8012 lt_prog_compiler_pic
='-KPIC'
8013 lt_prog_compiler_static
='-static'
8015 # icc used to be incompatible with GCC.
8016 # ICC 10 doesn't accept -KPIC any more.
8018 lt_prog_compiler_wl
='-Wl,'
8019 lt_prog_compiler_pic
='-fPIC'
8020 lt_prog_compiler_static
='-static'
8022 # Lahey Fortran 8.1.
8024 lt_prog_compiler_wl
='-Wl,'
8025 lt_prog_compiler_pic
='--shared'
8026 lt_prog_compiler_static
='--static'
8029 # NAG Fortran compiler
8030 lt_prog_compiler_wl
='-Wl,-Wl,,'
8031 lt_prog_compiler_pic
='-PIC'
8032 lt_prog_compiler_static
='-Bstatic'
8034 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8035 # Portland Group compilers (*not* the Pentium gcc compiler,
8036 # which looks to be a dead project)
8037 lt_prog_compiler_wl
='-Wl,'
8038 lt_prog_compiler_pic
='-fpic'
8039 lt_prog_compiler_static
='-Bstatic'
8042 lt_prog_compiler_wl
='-Wl,'
8043 # All Alpha code is PIC.
8044 lt_prog_compiler_static
='-non_shared'
8046 xl
* | bgxl
* | bgf
* | mpixl
*)
8047 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8048 lt_prog_compiler_wl
='-Wl,'
8049 lt_prog_compiler_pic
='-qpic'
8050 lt_prog_compiler_static
='-qstaticlink'
8053 case `$CC -V 2>&1 | sed 5q` in
8054 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8055 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8056 lt_prog_compiler_pic
='-KPIC'
8057 lt_prog_compiler_static
='-Bstatic'
8058 lt_prog_compiler_wl
=''
8060 *Sun\ F
* |
*Sun
*Fortran
*)
8061 lt_prog_compiler_pic
='-KPIC'
8062 lt_prog_compiler_static
='-Bstatic'
8063 lt_prog_compiler_wl
='-Qoption ld '
8067 lt_prog_compiler_pic
='-KPIC'
8068 lt_prog_compiler_static
='-Bstatic'
8069 lt_prog_compiler_wl
='-Wl,'
8071 *Intel
*\
[CF
]*Compiler
*)
8072 lt_prog_compiler_wl
='-Wl,'
8073 lt_prog_compiler_pic
='-fPIC'
8074 lt_prog_compiler_static
='-static'
8077 lt_prog_compiler_wl
='-Wl,'
8078 lt_prog_compiler_pic
='-fpic'
8079 lt_prog_compiler_static
='-Bstatic'
8087 lt_prog_compiler_pic
='-KPIC'
8088 lt_prog_compiler_static
='-Bstatic'
8092 # QNX uses GNU C++, but need to define -shared option too, otherwise
8094 lt_prog_compiler_pic
='-fPIC -shared'
8097 osf3
* | osf4
* | osf5
*)
8098 lt_prog_compiler_wl
='-Wl,'
8099 # All OSF/1 code is PIC.
8100 lt_prog_compiler_static
='-non_shared'
8104 lt_prog_compiler_static
='-non_shared'
8108 lt_prog_compiler_pic
='-KPIC'
8109 lt_prog_compiler_static
='-Bstatic'
8110 case $cc_basename in
8111 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8112 lt_prog_compiler_wl
='-Qoption ld ';;
8114 lt_prog_compiler_wl
='-Wl,';;
8119 lt_prog_compiler_wl
='-Qoption ld '
8120 lt_prog_compiler_pic
='-PIC'
8121 lt_prog_compiler_static
='-Bstatic'
8124 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8125 lt_prog_compiler_wl
='-Wl,'
8126 lt_prog_compiler_pic
='-KPIC'
8127 lt_prog_compiler_static
='-Bstatic'
8131 if test -d /usr
/nec
;then
8132 lt_prog_compiler_pic
='-Kconform_pic'
8133 lt_prog_compiler_static
='-Bstatic'
8137 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8138 lt_prog_compiler_wl
='-Wl,'
8139 lt_prog_compiler_pic
='-KPIC'
8140 lt_prog_compiler_static
='-Bstatic'
8144 lt_prog_compiler_wl
='-Wl,'
8145 lt_prog_compiler_can_build_shared
=no
8149 lt_prog_compiler_pic
='-pic'
8150 lt_prog_compiler_static
='-Bstatic'
8154 lt_prog_compiler_can_build_shared
=no
8160 # For platforms which do not support PIC, -DPIC is meaningless:
8162 lt_prog_compiler_pic
=
8165 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8170 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8171 if ${lt_cv_prog_compiler_pic+:} false
; then :
8172 $as_echo_n "(cached) " >&6
8174 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8177 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8178 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8181 # Check to make sure the PIC flag actually works.
8183 if test -n "$lt_prog_compiler_pic"; then
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8185 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8186 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8187 $as_echo_n "(cached) " >&6
8189 lt_cv_prog_compiler_pic_works
=no
8190 ac_outfile
=conftest.
$ac_objext
8191 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8192 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8193 # Insert the option either (1) after the last *FLAGS variable, or
8194 # (2) before a word containing "conftest.", or (3) at the end.
8195 # Note that $ac_compile itself does not contain backslashes and begins
8196 # with a dollar sign (not a hyphen), so the echo should work correctly.
8197 # The option is referenced via a variable to avoid confusing sed.
8198 lt_compile
=`echo "$ac_compile" | $SED \
8199 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8200 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8201 -e 's:$: $lt_compiler_flag:'`
8202 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8203 (eval "$lt_compile" 2>conftest.err
)
8205 cat conftest.err
>&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 if (exit $ac_status) && test -s "$ac_outfile"; then
8208 # The compiler can only warn and ignore the option if not recognized
8209 # So say no if there are warnings other than the usual output.
8210 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8211 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8212 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8213 lt_cv_prog_compiler_pic_works
=yes
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8220 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8222 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8223 case $lt_prog_compiler_pic in
8225 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8228 lt_prog_compiler_pic
=
8229 lt_prog_compiler_can_build_shared
=no
8245 # Check to make sure the static flag actually works.
8247 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8249 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8250 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8251 $as_echo_n "(cached) " >&6
8253 lt_cv_prog_compiler_static_works
=no
8254 save_LDFLAGS
="$LDFLAGS"
8255 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8256 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8257 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8258 # The linker can only warn and ignore the option if not recognized
8259 # So say no if there are warnings
8260 if test -s conftest.err
; then
8261 # Append any errors to the config.log.
8262 cat conftest.err
1>&5
8263 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8264 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8265 if diff conftest.exp conftest.er2
>/dev
/null
; then
8266 lt_cv_prog_compiler_static_works
=yes
8269 lt_cv_prog_compiler_static_works
=yes
8273 LDFLAGS
="$save_LDFLAGS"
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8277 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8279 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8282 lt_prog_compiler_static
=
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8292 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8293 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8294 $as_echo_n "(cached) " >&6
8296 lt_cv_prog_compiler_c_o
=no
8297 $RM -r conftest
2>/dev
/null
8301 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8303 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8304 # Insert the option either (1) after the last *FLAGS variable, or
8305 # (2) before a word containing "conftest.", or (3) at the end.
8306 # Note that $ac_compile itself does not contain backslashes and begins
8307 # with a dollar sign (not a hyphen), so the echo should work correctly.
8308 lt_compile
=`echo "$ac_compile" | $SED \
8309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8311 -e 's:$: $lt_compiler_flag:'`
8312 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8313 (eval "$lt_compile" 2>out
/conftest.err
)
8315 cat out
/conftest.err
>&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8319 # The compiler can only warn and ignore the option if not recognized
8320 # So say no if there are warnings
8321 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8322 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8323 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8324 lt_cv_prog_compiler_c_o
=yes
8329 # SGI C++ compiler will create directory out/ii_files/ for
8330 # template instantiation
8331 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8332 $RM out
/* && rmdir out
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8339 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8347 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8348 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8349 $as_echo_n "(cached) " >&6
8351 lt_cv_prog_compiler_c_o
=no
8352 $RM -r conftest
2>/dev
/null
8356 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8358 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8359 # Insert the option either (1) after the last *FLAGS variable, or
8360 # (2) before a word containing "conftest.", or (3) at the end.
8361 # Note that $ac_compile itself does not contain backslashes and begins
8362 # with a dollar sign (not a hyphen), so the echo should work correctly.
8363 lt_compile
=`echo "$ac_compile" | $SED \
8364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8366 -e 's:$: $lt_compiler_flag:'`
8367 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8368 (eval "$lt_compile" 2>out
/conftest.err
)
8370 cat out
/conftest.err
>&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8374 # The compiler can only warn and ignore the option if not recognized
8375 # So say no if there are warnings
8376 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8377 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8378 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8379 lt_cv_prog_compiler_c_o
=yes
8384 # SGI C++ compiler will create directory out/ii_files/ for
8385 # template instantiation
8386 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8387 $RM out
/* && rmdir out
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8394 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8399 hard_links
="nottested"
8400 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8401 # do not overwrite the value of need_locks provided by the user
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8403 $as_echo_n "checking if we can lock with hard links... " >&6; }
8406 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8408 ln conftest.a conftest.b
2>&5 || hard_links
=no
8409 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8411 $as_echo "$hard_links" >&6; }
8412 if test "$hard_links" = no
; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8414 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8427 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8430 allow_undefined_flag
=
8431 always_export_symbols
=no
8433 archive_expsym_cmds
=
8434 compiler_needs_object
=no
8435 enable_shared_with_static_runtimes
=no
8436 export_dynamic_flag_spec
=
8437 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8438 hardcode_automatic
=no
8440 hardcode_direct_absolute
=no
8441 hardcode_libdir_flag_spec
=
8442 hardcode_libdir_separator
=
8444 hardcode_shlibpath_var
=unsupported
8446 link_all_deplibs
=unknown
8449 old_archive_from_new_cmds
=
8450 old_archive_from_expsyms_cmds
=
8451 thread_safe_flag_spec
=
8452 whole_archive_flag_spec
=
8453 # include_expsyms should be a list of space-separated symbols to be *always*
8454 # included in the symbol list
8456 # exclude_expsyms can be an extended regexp of symbols to exclude
8457 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8458 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8459 # as well as any symbol that contains `d'.
8460 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8461 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8462 # platforms (ab)use it in PIC code, but their linkers get confused if
8463 # the symbol is explicitly referenced. Since portable code cannot
8464 # rely on this symbol name, it's probably fine to never include it in
8465 # preloaded symbol tables.
8466 # Exclude shared library initialization/finalization symbols.
8467 extract_expsyms_cmds
=
8470 cygwin
* | mingw
* | pw32
* | cegcc
*)
8471 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8472 # When not using gcc, we currently assume that we are using
8473 # Microsoft Visual C++.
8474 if test "$GCC" != yes; then
8479 # we just hope/assume this is gcc and not c89 (= MSVC++)
8489 # On some targets, GNU ld is compatible enough with the native linker
8490 # that we're better off using the native interface for both.
8491 lt_use_gnu_ld_interface
=no
8492 if test "$with_gnu_ld" = yes; then
8495 # The AIX port of GNU ld has always aspired to compatibility
8496 # with the native linker. However, as the warning in the GNU ld
8497 # block says, versions before 2.19.5* couldn't really create working
8498 # shared libraries, regardless of the interface used.
8499 case `$LD -v 2>&1` in
8500 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8501 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8502 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8504 lt_use_gnu_ld_interface
=yes
8509 lt_use_gnu_ld_interface
=yes
8514 if test "$lt_use_gnu_ld_interface" = yes; then
8515 # If archive_cmds runs LD, not CC, wlarc should be empty
8518 # Set some defaults for GNU ld with shared library support. These
8519 # are reset later if shared libraries are not supported. Putting them
8520 # here allows them to be overridden if necessary.
8521 runpath_var
=LD_RUN_PATH
8522 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8523 export_dynamic_flag_spec
='${wl}--export-dynamic'
8524 # ancient GNU ld didn't support --whole-archive et. al.
8525 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8526 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8528 whole_archive_flag_spec
=
8530 supports_anon_versioning
=no
8531 case `$LD -v 2>&1` in
8532 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8533 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8534 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8535 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8536 *\
2.11.
*) ;; # other 2.11 versions
8537 *) supports_anon_versioning
=yes ;;
8540 # See if GNU ld supports shared libraries.
8543 # On AIX/PPC, the GNU linker is very broken
8544 if test "$host_cpu" != ia64
; then
8548 *** Warning: the GNU linker, at least up to release 2.19, is reported
8549 *** to be unable to reliably create shared libraries on AIX.
8550 *** Therefore, libtool is disabling shared libraries support. If you
8551 *** really care for shared libraries, you may want to install binutils
8552 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8553 *** You will then need to restart the configuration process.
8562 # see comment about AmigaOS4 .so support
8563 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8564 archive_expsym_cmds
=''
8567 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)'
8568 hardcode_libdir_flag_spec
='-L$libdir'
8569 hardcode_minus_L
=yes
8575 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8576 allow_undefined_flag
=unsupported
8577 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8578 # support --undefined. This deserves some investigation. FIXME
8579 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8585 cygwin
* | mingw
* | pw32
* | cegcc
*)
8586 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8587 # as there is no search path for DLLs.
8588 hardcode_libdir_flag_spec
='-L$libdir'
8589 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8590 allow_undefined_flag
=unsupported
8591 always_export_symbols
=no
8592 enable_shared_with_static_runtimes
=yes
8593 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'
8594 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8596 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8597 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8598 # If the export-symbols file already is a .def file (1st line
8599 # is EXPORTS), use it as is; otherwise, prepend...
8600 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8601 cp $export_symbols $output_objdir/$soname.def;
8603 echo EXPORTS > $output_objdir/$soname.def;
8604 cat $export_symbols >> $output_objdir/$soname.def;
8606 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8613 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8614 link_all_deplibs
=yes
8619 hardcode_shlibpath_var
=no
8620 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8621 export_dynamic_flag_spec
='${wl}-E'
8622 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8623 # Instead, shared libraries are loaded at an image base (0x10000000 by
8624 # default) and relocated if they conflict, which is a slow very memory
8625 # consuming and fragmenting process. To avoid this, we pick a random,
8626 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8627 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8628 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8629 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'
8632 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8634 if test "$host_os" = linux-dietlibc
; then
8635 case $cc_basename in
8636 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8639 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8640 && test "$tmp_diet" = no
8642 tmp_addflag
=' $pic_flag'
8643 tmp_sharedflag
='-shared'
8644 case $cc_basename,$host_cpu in
8645 pgcc
*) # Portland Group C compiler
8646 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'
8647 tmp_addflag
=' $pic_flag'
8649 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8650 # Portland Group f77 and f90 compilers
8651 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'
8652 tmp_addflag
=' $pic_flag -Mnomain' ;;
8653 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8654 tmp_addflag
=' -i_dynamic' ;;
8655 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8656 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8657 ifc
* | ifort
*) # Intel Fortran compiler
8658 tmp_addflag
=' -nofor_main' ;;
8659 lf95
*) # Lahey Fortran 8.1
8660 whole_archive_flag_spec
=
8661 tmp_sharedflag
='--shared' ;;
8662 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8663 tmp_sharedflag
='-qmkshrobj'
8665 nvcc
*) # Cuda Compiler Driver 2.2
8666 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'
8667 compiler_needs_object
=yes
8670 case `$CC -V 2>&1 | sed 5q` in
8671 *Sun\ C
*) # Sun C 5.9
8672 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'
8673 compiler_needs_object
=yes
8674 tmp_sharedflag
='-G' ;;
8675 *Sun\ F
*) # Sun Fortran 8.3
8676 tmp_sharedflag
='-G' ;;
8678 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8680 if test "x$supports_anon_versioning" = xyes
; then
8681 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8682 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8683 echo "local: *; };" >> $output_objdir/$libname.ver~
8684 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8687 case $cc_basename in
8688 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8689 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8690 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8691 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8692 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8693 if test "x$supports_anon_versioning" = xyes
; then
8694 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8695 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8696 echo "local: *; };" >> $output_objdir/$libname.ver~
8697 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8707 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8708 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8711 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8712 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8717 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8721 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8722 *** create shared libraries on Solaris systems. Therefore, libtool
8723 *** is disabling shared libraries support. We urge you to upgrade GNU
8724 *** binutils to release 2.9.1 or newer. Another option is to modify
8725 *** your PATH or compiler configuration so that the native linker is
8726 *** used, and then restart.
8729 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8730 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8731 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8737 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8738 case `$LD -v 2>&1` in
8739 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8743 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8744 *** reliably create shared libraries on SCO systems. Therefore, libtool
8745 *** is disabling shared libraries support. We urge you to upgrade GNU
8746 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8747 *** your PATH or compiler configuration so that the native linker is
8748 *** used, and then restart.
8753 # For security reasons, it is highly recommended that you always
8754 # use absolute paths for naming shared libraries, and exclude the
8755 # DT_RUNPATH tag from executables and libraries. But doing so
8756 # requires that you compile everything twice, which is a pain.
8757 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8758 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8759 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8760 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8769 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8772 hardcode_shlibpath_var
=no
8776 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8777 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8778 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8785 if test "$ld_shlibs" = no
; then
8787 hardcode_libdir_flag_spec
=
8788 export_dynamic_flag_spec
=
8789 whole_archive_flag_spec
=
8792 # PORTME fill in a description of your system's linker (not GNU ld)
8795 allow_undefined_flag
=unsupported
8796 always_export_symbols
=yes
8797 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'
8798 # Note: this linker hardcodes the directories in LIBPATH if there
8799 # are no directories specified by -L.
8800 hardcode_minus_L
=yes
8801 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8802 # Neither direct hardcoding nor static linking is supported with a
8804 hardcode_direct
=unsupported
8809 if test "$host_cpu" = ia64
; then
8810 # On IA64, the linker does run time linking by default, so we don't
8811 # have to do anything special.
8812 aix_use_runtimelinking
=no
8813 exp_sym_flag
='-Bexport'
8816 # If we're using GNU nm, then we don't want the "-C" option.
8817 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8818 # Also, AIX nm treats weak defined symbols like other global
8819 # defined symbols, whereas GNU nm marks them as "W".
8820 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8821 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8823 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8825 aix_use_runtimelinking
=no
8827 # Test if we are trying to use run time linking or normal
8828 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8829 # need to do runtime linking.
8830 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8831 for ld_flag
in $LDFLAGS; do
8832 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8833 aix_use_runtimelinking
=yes
8840 exp_sym_flag
='-bexport'
8841 no_entry_flag
='-bnoentry'
8844 # When large executables or shared objects are built, AIX ld can
8845 # have problems creating the table of contents. If linking a library
8846 # or program results in "error TOC overflow" add -mminimal-toc to
8847 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8848 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8852 hardcode_direct_absolute
=yes
8853 hardcode_libdir_separator
=':'
8854 link_all_deplibs
=yes
8855 file_list_spec
='${wl}-f,'
8857 if test "$GCC" = yes; then
8858 case $host_os in aix4.
[012]|aix4.
[012].
*)
8859 # We only want to do this on AIX 4.2 and lower, the check
8860 # below for broken collect2 doesn't work under 4.3+
8861 collect2name
=`${CC} -print-prog-name=collect2`
8862 if test -f "$collect2name" &&
8863 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8865 # We have reworked collect2
8868 # We have old collect2
8869 hardcode_direct
=unsupported
8870 # It fails to find uninstalled libraries when the uninstalled
8871 # path is not listed in the libpath. Setting hardcode_minus_L
8872 # to unsupported forces relinking
8873 hardcode_minus_L
=yes
8874 hardcode_libdir_flag_spec
='-L$libdir'
8875 hardcode_libdir_separator
=
8879 shared_flag
='-shared'
8880 if test "$aix_use_runtimelinking" = yes; then
8881 shared_flag
="$shared_flag "'${wl}-G'
8885 if test "$host_cpu" = ia64
; then
8886 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8887 # chokes on -Wl,-G. The following line is correct:
8890 if test "$aix_use_runtimelinking" = yes; then
8891 shared_flag
='${wl}-G'
8893 shared_flag
='${wl}-bM:SRE'
8898 export_dynamic_flag_spec
='${wl}-bexpall'
8899 # It seems that -bexpall does not export symbols beginning with
8900 # underscore (_), so it is better to generate a list of symbols to export.
8901 always_export_symbols
=yes
8902 if test "$aix_use_runtimelinking" = yes; then
8903 # Warning - without using the other runtime loading flags (-brtl),
8904 # -berok will link without error, but may produce a broken library.
8905 allow_undefined_flag
='-berok'
8906 # Determine the default libpath from the value encoded in an
8908 if test "${lt_cv_aix_libpath+set}" = set; then
8909 aix_libpath
=$lt_cv_aix_libpath
8911 if ${lt_cv_aix_libpath_+:} false
; then :
8912 $as_echo_n "(cached) " >&6
8914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8925 if ac_fn_c_try_link
"$LINENO"; then :
8927 lt_aix_libpath_sed
='
8928 /Import File Strings/,/^$/ {
8930 s/^0 *\([^ ]*\) *$/\1/
8934 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8935 # Check for a 64-bit object if we didn't find anything.
8936 if test -z "$lt_cv_aix_libpath_"; then
8937 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8940 rm -f core conftest.err conftest.
$ac_objext \
8941 conftest
$ac_exeext conftest.
$ac_ext
8942 if test -z "$lt_cv_aix_libpath_"; then
8943 lt_cv_aix_libpath_
="/usr/lib:/lib"
8948 aix_libpath
=$lt_cv_aix_libpath_
8951 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8952 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8954 if test "$host_cpu" = ia64
; then
8955 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8956 allow_undefined_flag
="-z nodefs"
8957 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"
8959 # Determine the default libpath from the value encoded in an
8961 if test "${lt_cv_aix_libpath+set}" = set; then
8962 aix_libpath
=$lt_cv_aix_libpath
8964 if ${lt_cv_aix_libpath_+:} false
; then :
8965 $as_echo_n "(cached) " >&6
8967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8978 if ac_fn_c_try_link
"$LINENO"; then :
8980 lt_aix_libpath_sed
='
8981 /Import File Strings/,/^$/ {
8983 s/^0 *\([^ ]*\) *$/\1/
8987 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8988 # Check for a 64-bit object if we didn't find anything.
8989 if test -z "$lt_cv_aix_libpath_"; then
8990 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8993 rm -f core conftest.err conftest.
$ac_objext \
8994 conftest
$ac_exeext conftest.
$ac_ext
8995 if test -z "$lt_cv_aix_libpath_"; then
8996 lt_cv_aix_libpath_
="/usr/lib:/lib"
9001 aix_libpath
=$lt_cv_aix_libpath_
9004 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9005 # Warning - without using the other run time loading flags,
9006 # -berok will link without error, but may produce a broken library.
9007 no_undefined_flag
=' ${wl}-bernotok'
9008 allow_undefined_flag
=' ${wl}-berok'
9009 if test "$with_gnu_ld" = yes; then
9010 # We only use this code for GNU lds that support --whole-archive.
9011 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9013 # Exported symbols can be pulled into shared objects from archives
9014 whole_archive_flag_spec
='$convenience'
9016 archive_cmds_need_lc
=yes
9017 # This is similar to how AIX traditionally builds its shared libraries.
9018 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9026 # see comment about AmigaOS4 .so support
9027 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9028 archive_expsym_cmds
=''
9031 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)'
9032 hardcode_libdir_flag_spec
='-L$libdir'
9033 hardcode_minus_L
=yes
9039 export_dynamic_flag_spec
=-rdynamic
9042 cygwin
* | mingw
* | pw32
* | cegcc
*)
9043 # When not using gcc, we currently assume that we are using
9044 # Microsoft Visual C++.
9045 # hardcode_libdir_flag_spec is actually meaningless, as there is
9046 # no search path for DLLs.
9047 case $cc_basename in
9050 hardcode_libdir_flag_spec
=' '
9051 allow_undefined_flag
=unsupported
9052 always_export_symbols
=yes
9054 # Tell ltmain to make .lib files, not .a files.
9056 # Tell ltmain to make .dll files, not .so files.
9058 # FIXME: Setting linknames here is a bad hack.
9059 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9060 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9061 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9063 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9065 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9067 # The linker will not automatically build a static lib if we build a DLL.
9068 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9069 enable_shared_with_static_runtimes
=yes
9070 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9071 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9073 old_postinstall_cmds
='chmod 644 $oldlib'
9074 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9075 lt_tool_outputfile="@TOOL_OUTPUT@"~
9076 case $lt_outputfile in
9079 lt_outputfile="$lt_outputfile.exe"
9080 lt_tool_outputfile="$lt_tool_outputfile.exe"
9083 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9084 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9085 $RM "$lt_outputfile.manifest";
9089 # Assume MSVC wrapper
9090 hardcode_libdir_flag_spec
=' '
9091 allow_undefined_flag
=unsupported
9092 # Tell ltmain to make .lib files, not .a files.
9094 # Tell ltmain to make .dll files, not .so files.
9096 # FIXME: Setting linknames here is a bad hack.
9097 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9098 # The linker will automatically build a .lib file if we build a DLL.
9099 old_archive_from_new_cmds
='true'
9100 # FIXME: Should let the user specify the lib program.
9101 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9102 enable_shared_with_static_runtimes
=yes
9107 darwin
* | rhapsody
*)
9110 archive_cmds_need_lc
=no
9112 hardcode_automatic
=yes
9113 hardcode_shlibpath_var
=unsupported
9114 if test "$lt_cv_ld_force_load" = "yes"; then
9115 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\"`'
9118 whole_archive_flag_spec
=''
9120 link_all_deplibs
=yes
9121 allow_undefined_flag
="$_lt_dar_allow_undefined"
9122 case $cc_basename in
9123 ifort
*) _lt_dar_can_shared
=yes ;;
9124 *) _lt_dar_can_shared
=$GCC ;;
9126 if test "$_lt_dar_can_shared" = "yes"; then
9127 output_verbose_link_cmd
=func_echo_all
9128 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9129 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9130 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}"
9131 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}"
9140 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9141 hardcode_libdir_flag_spec
='-L$libdir'
9142 hardcode_shlibpath_var
=no
9145 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9146 # support. Future versions do this automatically, but an explicit c++rt0.o
9147 # does not break anything, and helps significantly (at the cost of a little
9150 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9151 hardcode_libdir_flag_spec
='-R$libdir'
9153 hardcode_shlibpath_var
=no
9156 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9158 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9160 hardcode_minus_L
=yes
9161 hardcode_shlibpath_var
=no
9164 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9165 freebsd
* | dragonfly
*)
9166 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9167 hardcode_libdir_flag_spec
='-R$libdir'
9169 hardcode_shlibpath_var
=no
9173 if test "$GCC" = yes; then
9174 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9176 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9178 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9179 hardcode_libdir_separator
=:
9182 # hardcode_minus_L: Not really in the search PATH,
9183 # but as the default location of the library.
9184 hardcode_minus_L
=yes
9185 export_dynamic_flag_spec
='${wl}-E'
9189 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9190 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9192 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9194 if test "$with_gnu_ld" = no
; then
9195 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9196 hardcode_libdir_separator
=:
9198 hardcode_direct_absolute
=yes
9199 export_dynamic_flag_spec
='${wl}-E'
9200 # hardcode_minus_L: Not really in the search PATH,
9201 # but as the default location of the library.
9202 hardcode_minus_L
=yes
9207 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9210 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9213 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9216 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9222 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9225 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9229 # Older versions of the 11.00 compiler do not understand -b yet
9230 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9232 $as_echo_n "checking if $CC understands -b... " >&6; }
9233 if ${lt_cv_prog_compiler__b+:} false
; then :
9234 $as_echo_n "(cached) " >&6
9236 lt_cv_prog_compiler__b
=no
9237 save_LDFLAGS
="$LDFLAGS"
9238 LDFLAGS
="$LDFLAGS -b"
9239 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9240 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9241 # The linker can only warn and ignore the option if not recognized
9242 # So say no if there are warnings
9243 if test -s conftest.err
; then
9244 # Append any errors to the config.log.
9245 cat conftest.err
1>&5
9246 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9247 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9248 if diff conftest.exp conftest.er2
>/dev
/null
; then
9249 lt_cv_prog_compiler__b
=yes
9252 lt_cv_prog_compiler__b
=yes
9256 LDFLAGS
="$save_LDFLAGS"
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9260 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9262 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9263 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9265 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9271 if test "$with_gnu_ld" = no
; then
9272 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9273 hardcode_libdir_separator
=:
9278 hardcode_shlibpath_var
=no
9282 hardcode_direct_absolute
=yes
9283 export_dynamic_flag_spec
='${wl}-E'
9285 # hardcode_minus_L: Not really in the search PATH,
9286 # but as the default location of the library.
9287 hardcode_minus_L
=yes
9293 irix5
* | irix6
* | nonstopux
*)
9294 if test "$GCC" = yes; then
9295 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'
9296 # Try to use the -exported_symbol ld option, if it does not
9297 # work, assume that -exports_file does not work either and
9298 # implicitly export all symbols.
9299 # This should be the same for all languages, so no per-tag cache variable.
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9301 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9302 if ${lt_cv_irix_exported_symbol+:} false
; then :
9303 $as_echo_n "(cached) " >&6
9305 save_LDFLAGS
="$LDFLAGS"
9306 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9309 int foo (void) { return 0; }
9311 if ac_fn_c_try_link
"$LINENO"; then :
9312 lt_cv_irix_exported_symbol
=yes
9314 lt_cv_irix_exported_symbol
=no
9316 rm -f core conftest.err conftest.
$ac_objext \
9317 conftest
$ac_exeext conftest.
$ac_ext
9318 LDFLAGS
="$save_LDFLAGS"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9321 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9322 if test "$lt_cv_irix_exported_symbol" = yes; then
9323 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'
9326 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'
9327 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'
9329 archive_cmds_need_lc
='no'
9330 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9331 hardcode_libdir_separator
=:
9333 link_all_deplibs
=yes
9337 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9338 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9340 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9342 hardcode_libdir_flag_spec
='-R$libdir'
9344 hardcode_shlibpath_var
=no
9348 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9350 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9351 hardcode_libdir_separator
=:
9352 hardcode_shlibpath_var
=no
9359 if test -f /usr
/libexec
/ld.so
; then
9361 hardcode_shlibpath_var
=no
9362 hardcode_direct_absolute
=yes
9363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9364 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9365 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9366 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9367 export_dynamic_flag_spec
='${wl}-E'
9370 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9371 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9372 hardcode_libdir_flag_spec
='-R$libdir'
9375 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9376 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9386 hardcode_libdir_flag_spec
='-L$libdir'
9387 hardcode_minus_L
=yes
9388 allow_undefined_flag
=unsupported
9389 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9390 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9394 if test "$GCC" = yes; then
9395 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9396 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'
9398 allow_undefined_flag
=' -expect_unresolved \*'
9399 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'
9401 archive_cmds_need_lc
='no'
9402 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9403 hardcode_libdir_separator
=:
9406 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9407 if test "$GCC" = yes; then
9408 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9409 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'
9410 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9412 allow_undefined_flag
=' -expect_unresolved \*'
9413 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'
9414 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~
9415 $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'
9417 # Both c and cxx compiler support -rpath directly
9418 hardcode_libdir_flag_spec
='-rpath $libdir'
9420 archive_cmds_need_lc
='no'
9421 hardcode_libdir_separator
=:
9425 no_undefined_flag
=' -z defs'
9426 if test "$GCC" = yes; then
9428 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9429 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9430 $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'
9432 case `$CC -V 2>&1` in
9435 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9436 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9437 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9441 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9442 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9443 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9447 hardcode_libdir_flag_spec
='-R$libdir'
9448 hardcode_shlibpath_var
=no
9450 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9452 # The compiler driver will combine and reorder linker options,
9453 # but understands `-z linker_flag'. GCC discards it without `$wl',
9454 # but is careful enough not to reorder.
9455 # Supported since Solaris 2.6 (maybe 2.5.1?)
9456 if test "$GCC" = yes; then
9457 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9459 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9463 link_all_deplibs
=yes
9467 if test "x$host_vendor" = xsequent
; then
9468 # Use $CC to link under sequent, because it throws in some extra .o
9469 # files that make .init and .fini sections work.
9470 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9472 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9474 hardcode_libdir_flag_spec
='-L$libdir'
9476 hardcode_minus_L
=yes
9477 hardcode_shlibpath_var
=no
9481 case $host_vendor in
9483 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9484 hardcode_direct
=yes # is this really true???
9487 ## LD is ld it makes a PLAMLIB
9488 ## CC just makes a GrossModule.
9489 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9490 reload_cmds
='$CC -r -o $output$reload_objs'
9494 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9495 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9498 runpath_var
='LD_RUN_PATH'
9499 hardcode_shlibpath_var
=no
9503 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9504 hardcode_shlibpath_var
=no
9505 export_dynamic_flag_spec
='-Bexport'
9509 if test -d /usr
/nec
; then
9510 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9511 hardcode_shlibpath_var
=no
9512 runpath_var
=LD_RUN_PATH
9513 hardcode_runpath_var
=yes
9518 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9519 no_undefined_flag
='${wl}-z,text'
9520 archive_cmds_need_lc
=no
9521 hardcode_shlibpath_var
=no
9522 runpath_var
='LD_RUN_PATH'
9524 if test "$GCC" = yes; then
9525 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9526 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9528 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9529 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9533 sysv5
* | sco3.2v5
* | sco5v6
*)
9534 # Note: We can NOT use -z defs as we might desire, because we do not
9535 # link with -lc, and that would cause any symbols used from libc to
9536 # always be unresolved, which means just about no library would
9537 # ever link correctly. If we're not using GNU ld we use -z text
9538 # though, which does catch some bad symbols but isn't as heavy-handed
9540 no_undefined_flag
='${wl}-z,text'
9541 allow_undefined_flag
='${wl}-z,nodefs'
9542 archive_cmds_need_lc
=no
9543 hardcode_shlibpath_var
=no
9544 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9545 hardcode_libdir_separator
=':'
9546 link_all_deplibs
=yes
9547 export_dynamic_flag_spec
='${wl}-Bexport'
9548 runpath_var
='LD_RUN_PATH'
9550 if test "$GCC" = yes; then
9551 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9552 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9560 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9561 hardcode_libdir_flag_spec
='-L$libdir'
9562 hardcode_shlibpath_var
=no
9570 if test x
$host_vendor = xsni
; then
9572 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9573 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9580 $as_echo "$ld_shlibs" >&6; }
9581 test "$ld_shlibs" = no
&& can_build_shared
=no
9583 with_gnu_ld
=$with_gnu_ld
9600 # Do we need to explicitly link libc?
9602 case "x$archive_cmds_need_lc" in
9604 # Assume -lc should be added
9605 archive_cmds_need_lc
=yes
9607 if test "$enable_shared" = yes && test "$GCC" = yes; then
9608 case $archive_cmds in
9610 # FIXME: we may have to deal with multi-command sequences.
9613 # Test whether the compiler implicitly links with -lc since on some
9614 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9615 # to ld, don't add -lc before -lgcc.
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9617 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9618 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9619 $as_echo_n "(cached) " >&6
9622 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9625 (eval $ac_compile) 2>&5
9627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9628 test $ac_status = 0; } 2>conftest.err
; then
9631 libobjs
=conftest.
$ac_objext
9633 wl
=$lt_prog_compiler_wl
9634 pic_flag
=$lt_prog_compiler_pic
9640 lt_save_allow_undefined_flag
=$allow_undefined_flag
9641 allow_undefined_flag
=
9642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9643 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9646 test $ac_status = 0; }
9648 lt_cv_archive_cmds_need_lc
=no
9650 lt_cv_archive_cmds_need_lc
=yes
9652 allow_undefined_flag
=$lt_save_allow_undefined_flag
9654 cat conftest.err
1>&5
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9660 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9661 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9820 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9822 if test "$GCC" = yes; then
9824 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9825 *) lt_awk_arg
="/^libraries:/" ;;
9828 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9829 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9831 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9832 case $lt_search_path_spec in
9834 # if the path contains ";" then we assume it to be the separator
9835 # otherwise default to the standard path separator (i.e. ":") - it is
9836 # assumed that no part of a normal pathname contains ";" but that should
9837 # okay in the real world where ";" in dirpaths is itself problematic.
9838 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9841 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9844 # Ok, now we have the path, separated by spaces, we can step through it
9845 # and add multilib dir if necessary.
9846 lt_tmp_lt_search_path_spec
=
9847 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9848 for lt_sys_path
in $lt_search_path_spec; do
9849 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9850 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9852 test -d "$lt_sys_path" && \
9853 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9856 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9857 BEGIN {RS=" "; FS="/|\n";} {
9860 for (lt_i = NF; lt_i > 0; lt_i--) {
9861 if ($lt_i != "" && $lt_i != ".") {
9862 if ($lt_i == "..") {
9865 if (lt_count == 0) {
9866 lt_foo="/" $lt_i lt_foo;
9873 if (lt_foo != "") { lt_freq[lt_foo]++; }
9874 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9876 # AWK program above erroneously prepends '/' to C:/dos/paths
9879 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9880 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9882 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9884 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9887 libname_spec
='lib$name'
9895 shlibpath_overrides_runpath
=unknown
9897 dynamic_linker
="$host_os ld.so"
9898 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9899 need_lib_prefix
=unknown
9900 hardcode_into_libs
=no
9902 # when you set need_version to no, make sure it does not cause -set_version
9903 # flags to be left without arguments
9904 need_version
=unknown
9908 version_type
=linux
# correct to gnu/linux during the next big refactor
9909 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9910 shlibpath_var
=LIBPATH
9912 # AIX 3 has no versioning support, so we append a major version to the name.
9913 soname_spec
='${libname}${release}${shared_ext}$major'
9917 version_type
=linux
# correct to gnu/linux during the next big refactor
9920 hardcode_into_libs
=yes
9921 if test "$host_cpu" = ia64
; then
9922 # AIX 5 supports IA64
9923 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9924 shlibpath_var
=LD_LIBRARY_PATH
9926 # With GCC up to 2.95.x, collect2 would create an import file
9927 # for dependence libraries. The import file would start with
9928 # the line `#! .'. This would cause the generated library to
9929 # depend on `.', always an invalid library. This was fixed in
9930 # development snapshots of GCC prior to 3.0.
9932 aix4 | aix4.
[01] | aix4.
[01].
*)
9933 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9935 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9942 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9943 # soname into executable. Probably we can add versioning support to
9944 # collect2, so additional links can be useful in future.
9945 if test "$aix_use_runtimelinking" = yes; then
9946 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9947 # instead of lib<name>.a to let people know that these are not
9948 # typical AIX shared libraries.
9949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9951 # We preserve .a as extension for shared libraries through AIX4.2
9952 # and later when we are not doing run time linking.
9953 library_names_spec
='${libname}${release}.a $libname.a'
9954 soname_spec
='${libname}${release}${shared_ext}$major'
9956 shlibpath_var
=LIBPATH
9963 # Since July 2007 AmigaOS4 officially supports .so libraries.
9964 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9968 library_names_spec
='$libname.ixlibrary $libname.a'
9969 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9970 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9976 library_names_spec
='${libname}${shared_ext}'
9977 dynamic_linker
="$host_os ld.so"
9978 shlibpath_var
=LIBRARY_PATH
9982 version_type
=linux
# correct to gnu/linux during the next big refactor
9984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9985 soname_spec
='${libname}${release}${shared_ext}$major'
9986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9987 shlibpath_var
=LD_LIBRARY_PATH
9988 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9989 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9990 # the default ld.so.conf also contains /usr/contrib/lib and
9991 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9992 # libtool to hard-code these into programs
9995 cygwin
* | mingw
* | pw32
* | cegcc
*)
9996 version_type
=windows
10001 case $GCC,$cc_basename in
10004 library_names_spec
='$libname.dll.a'
10005 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10006 postinstall_cmds
='base_file=`basename \${file}`~
10007 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10008 dldir=$destdir/`dirname \$dlpath`~
10009 test -d \$dldir || mkdir -p \$dldir~
10010 $install_prog $dir/$dlname \$dldir/$dlname~
10011 chmod a+x \$dldir/$dlname~
10012 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10013 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10015 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10016 dlpath=$dir/\$dldll~
10018 shlibpath_overrides_runpath
=yes
10022 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10023 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10025 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10028 # MinGW DLLs use traditional 'lib' prefix
10029 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10032 # pw32 DLLs use 'pw' prefix rather than 'lib'
10033 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10036 dynamic_linker
='Win32 ld.exe'
10041 libname_spec
='$name'
10042 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10043 library_names_spec
='${libname}.dll.lib'
10047 sys_lib_search_path_spec
=
10050 for lt_path
in $LIB
10053 # Let DOS variable expansion print the short 8.3 style file name.
10054 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10055 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10058 # Convert to MSYS style.
10059 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10062 # Convert to unix form, then to dos form, then back to unix form
10063 # but this time dos style (no spaces!) so that the unix form looks
10064 # like /cygdrive/c/PROGRA~1:/cygdr...
10065 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10066 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10067 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10070 sys_lib_search_path_spec
="$LIB"
10071 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10072 # It is most probably a Windows format PATH.
10073 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10075 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10077 # FIXME: find the short name or the path components, as spaces are
10078 # common. (e.g. "Program Files" -> "PROGRA~1")
10082 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10083 postinstall_cmds
='base_file=`basename \${file}`~
10084 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10085 dldir=$destdir/`dirname \$dlpath`~
10086 test -d \$dldir || mkdir -p \$dldir~
10087 $install_prog $dir/$dlname \$dldir/$dlname'
10088 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10089 dlpath=$dir/\$dldll~
10091 shlibpath_overrides_runpath
=yes
10092 dynamic_linker
='Win32 link.exe'
10096 # Assume MSVC wrapper
10097 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10098 dynamic_linker
='Win32 ld.exe'
10101 # FIXME: first we should search . and the directory the executable is in
10105 darwin
* | rhapsody
*)
10106 dynamic_linker
="$host_os dyld"
10107 version_type
=darwin
10110 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10111 soname_spec
='${libname}${release}${major}$shared_ext'
10112 shlibpath_overrides_runpath
=yes
10113 shlibpath_var
=DYLD_LIBRARY_PATH
10114 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10116 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10117 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10121 version_type
=linux
# correct to gnu/linux during the next big refactor
10124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10125 soname_spec
='${libname}${release}${shared_ext}$major'
10126 shlibpath_var
=LD_LIBRARY_PATH
10129 freebsd
* | dragonfly
*)
10130 # DragonFly does not have aout. When/if they implement a new
10131 # versioning mechanism, adjust this.
10132 if test -x /usr
/bin
/objformat
; then
10133 objformat
=`/usr/bin/objformat`
10136 freebsd
[23].
*) objformat
=aout
;;
10137 *) objformat
=elf
;;
10140 version_type
=freebsd-
$objformat
10141 case $version_type in
10143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10148 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10152 shlibpath_var
=LD_LIBRARY_PATH
10155 shlibpath_overrides_runpath
=yes
10157 freebsd3.
[01]* | freebsdelf3.
[01]*)
10158 shlibpath_overrides_runpath
=yes
10159 hardcode_into_libs
=yes
10161 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10162 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10163 shlibpath_overrides_runpath
=no
10164 hardcode_into_libs
=yes
10166 *) # from 4.6 on, and DragonFly
10167 shlibpath_overrides_runpath
=yes
10168 hardcode_into_libs
=yes
10174 version_type
=linux
# correct to gnu/linux during the next big refactor
10177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10178 soname_spec
='${libname}${release}${shared_ext}$major'
10179 shlibpath_var
=LD_LIBRARY_PATH
10180 shlibpath_overrides_runpath
=no
10181 hardcode_into_libs
=yes
10185 version_type
=linux
# correct to gnu/linux during the next big refactor
10188 dynamic_linker
="$host_os runtime_loader"
10189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10190 soname_spec
='${libname}${release}${shared_ext}$major'
10191 shlibpath_var
=LIBRARY_PATH
10192 shlibpath_overrides_runpath
=yes
10193 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10194 hardcode_into_libs
=yes
10197 hpux9
* | hpux10
* | hpux11
*)
10198 # Give a soname corresponding to the major version so that dld.sl refuses to
10199 # link against other versions.
10206 hardcode_into_libs
=yes
10207 dynamic_linker
="$host_os dld.so"
10208 shlibpath_var
=LD_LIBRARY_PATH
10209 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10211 soname_spec
='${libname}${release}${shared_ext}$major'
10212 if test "X$HPUX_IA64_MODE" = X32
; then
10213 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10215 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10217 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10221 hardcode_into_libs
=yes
10222 dynamic_linker
="$host_os dld.sl"
10223 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10224 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10226 soname_spec
='${libname}${release}${shared_ext}$major'
10227 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10228 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10232 dynamic_linker
="$host_os dld.sl"
10233 shlibpath_var
=SHLIB_PATH
10234 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10236 soname_spec
='${libname}${release}${shared_ext}$major'
10239 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10240 postinstall_cmds
='chmod 555 $lib'
10241 # or fails outright, so override atomically:
10242 install_override_mode
=555
10246 version_type
=linux
# correct to gnu/linux during the next big refactor
10249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10250 soname_spec
='${libname}${release}${shared_ext}$major'
10251 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10252 shlibpath_var
=LD_LIBRARY_PATH
10253 shlibpath_overrides_runpath
=no
10254 hardcode_into_libs
=yes
10257 irix5
* | irix6
* | nonstopux
*)
10259 nonstopux
*) version_type
=nonstopux
;;
10261 if test "$lt_cv_prog_gnu_ld" = yes; then
10262 version_type
=linux
# correct to gnu/linux during the next big refactor
10269 soname_spec
='${libname}${release}${shared_ext}$major'
10270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10272 irix5
* | nonstopux
*)
10273 libsuff
= shlibsuff
=
10276 case $LD in # libtool.m4 will add one of these switches to LD
10277 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10278 libsuff
= shlibsuff
= libmagic
=32-bit;;
10279 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10280 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10281 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10282 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10283 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10287 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10288 shlibpath_overrides_runpath
=no
10289 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10290 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10291 hardcode_into_libs
=yes
10294 # No shared lib support for Linux oldld, aout, or coff.
10295 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10299 # This must be glibc/ELF.
10300 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10301 version_type
=linux
# correct to gnu/linux during the next big refactor
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305 soname_spec
='${libname}${release}${shared_ext}$major'
10306 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10307 shlibpath_var
=LD_LIBRARY_PATH
10308 shlibpath_overrides_runpath
=no
10310 # Some binutils ld are patched to set DT_RUNPATH
10311 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10312 $as_echo_n "(cached) " >&6
10314 lt_cv_shlibpath_overrides_runpath
=no
10315 save_LDFLAGS
=$LDFLAGS
10316 save_libdir
=$libdir
10317 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10318 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10330 if ac_fn_c_try_link
"$LINENO"; then :
10331 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10332 lt_cv_shlibpath_overrides_runpath
=yes
10335 rm -f core conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 LDFLAGS
=$save_LDFLAGS
10338 libdir
=$save_libdir
10342 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10344 # This implies no fast_install, which is unacceptable.
10345 # Some rework will be needed to allow for fast_install
10346 # before this can be enabled.
10347 hardcode_into_libs
=yes
10349 # Add ABI-specific directories to the system library path.
10350 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10352 # Append ld.so.conf contents to the search path
10353 if test -f /etc
/ld.so.conf
; then
10354 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' ' '`
10355 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10359 # We used to test for /lib/ld.so.1 and disable shared libraries on
10360 # powerpc, because MkLinux only supported shared libraries with the
10361 # GNU dynamic linker. Since this was broken with cross compilers,
10362 # most powerpc-linux boxes support dynamic linking these days and
10363 # people can always --disable-shared, the test was removed, and we
10364 # assume the GNU/Linux dynamic linker is in use.
10365 dynamic_linker
='GNU/Linux ld.so'
10372 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10374 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10375 dynamic_linker
='NetBSD (a.out) ld.so'
10377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10378 soname_spec
='${libname}${release}${shared_ext}$major'
10379 dynamic_linker
='NetBSD ld.elf_so'
10381 shlibpath_var
=LD_LIBRARY_PATH
10382 shlibpath_overrides_runpath
=yes
10383 hardcode_into_libs
=yes
10387 version_type
=linux
# correct to gnu/linux during the next big refactor
10388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10389 shlibpath_var
=LD_LIBRARY_PATH
10390 shlibpath_overrides_runpath
=yes
10397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398 soname_spec
='${libname}${release}${shared_ext}$major'
10399 shlibpath_var
=LD_LIBRARY_PATH
10400 shlibpath_overrides_runpath
=no
10401 hardcode_into_libs
=yes
10402 dynamic_linker
='ldqnx.so'
10407 sys_lib_dlsearch_path_spec
="/usr/lib"
10409 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10411 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10412 *) need_version
=no
;;
10414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10416 shlibpath_var
=LD_LIBRARY_PATH
10417 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10419 openbsd2.
[89] | openbsd2.
[89].
*)
10420 shlibpath_overrides_runpath
=no
10423 shlibpath_overrides_runpath
=yes
10427 shlibpath_overrides_runpath
=yes
10432 libname_spec
='$name'
10435 library_names_spec
='$libname${shared_ext} $libname.a'
10436 dynamic_linker
='OS/2 ld.exe'
10437 shlibpath_var
=LIBPATH
10440 osf3
* | osf4
* | osf5
*)
10444 soname_spec
='${libname}${release}${shared_ext}$major'
10445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446 shlibpath_var
=LD_LIBRARY_PATH
10447 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10448 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10456 version_type
=linux
# correct to gnu/linux during the next big refactor
10459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460 soname_spec
='${libname}${release}${shared_ext}$major'
10461 shlibpath_var
=LD_LIBRARY_PATH
10462 shlibpath_overrides_runpath
=yes
10463 hardcode_into_libs
=yes
10464 # ldd complains unless libraries are executable
10465 postinstall_cmds
='chmod +x $lib'
10470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10471 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath
=yes
10474 if test "$with_gnu_ld" = yes; then
10481 version_type
=linux
# correct to gnu/linux during the next big refactor
10482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10483 soname_spec
='${libname}${release}${shared_ext}$major'
10484 shlibpath_var
=LD_LIBRARY_PATH
10485 case $host_vendor in
10487 shlibpath_overrides_runpath
=no
10489 runpath_var
=LD_RUN_PATH
10497 shlibpath_overrides_runpath
=no
10498 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10504 if test -d /usr
/nec
;then
10505 version_type
=linux
# correct to gnu/linux during the next big refactor
10506 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10507 soname_spec
='$libname${shared_ext}.$major'
10508 shlibpath_var
=LD_LIBRARY_PATH
10512 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10513 version_type
=freebsd-elf
10516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10517 soname_spec
='${libname}${release}${shared_ext}$major'
10518 shlibpath_var
=LD_LIBRARY_PATH
10519 shlibpath_overrides_runpath
=yes
10520 hardcode_into_libs
=yes
10521 if test "$with_gnu_ld" = yes; then
10522 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10524 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10527 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10531 sys_lib_dlsearch_path_spec
='/usr/lib'
10535 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10536 version_type
=linux
# correct to gnu/linux during the next big refactor
10539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540 shlibpath_var
=LD_LIBRARY_PATH
10541 shlibpath_overrides_runpath
=no
10542 hardcode_into_libs
=yes
10546 version_type
=linux
# correct to gnu/linux during the next big refactor
10547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10548 soname_spec
='${libname}${release}${shared_ext}$major'
10549 shlibpath_var
=LD_LIBRARY_PATH
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10557 $as_echo "$dynamic_linker" >&6; }
10558 test "$dynamic_linker" = no
&& can_build_shared
=no
10560 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10561 if test "$GCC" = yes; then
10562 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10565 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10566 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10568 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10569 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10664 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10666 if test -n "$hardcode_libdir_flag_spec" ||
10667 test -n "$runpath_var" ||
10668 test "X$hardcode_automatic" = "Xyes" ; then
10670 # We can hardcode non-existent directories.
10671 if test "$hardcode_direct" != no
&&
10672 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10673 # have to relink, otherwise we might link with an installed library
10674 # when we should be linking with a yet-to-be-installed one
10675 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10676 test "$hardcode_minus_L" != no
; then
10677 # Linking always hardcodes the temporary library directory.
10678 hardcode_action
=relink
10680 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10681 hardcode_action
=immediate
10684 # We cannot hardcode anything, or else we can only hardcode existing
10686 hardcode_action
=unsupported
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10689 $as_echo "$hardcode_action" >&6; }
10691 if test "$hardcode_action" = relink ||
10692 test "$inherit_rpath" = yes; then
10693 # Fast installation is not supported
10694 enable_fast_install
=no
10695 elif test "$shlibpath_overrides_runpath" = yes ||
10696 test "$enable_shared" = no
; then
10697 # Fast installation is not necessary
10698 enable_fast_install
=needless
10706 if test "x$enable_dlopen" != xyes
; then
10707 enable_dlopen
=unknown
10708 enable_dlopen_self
=unknown
10709 enable_dlopen_self_static
=unknown
10716 lt_cv_dlopen
="load_add_on"
10718 lt_cv_dlopen_self
=yes
10721 mingw
* | pw32
* | cegcc
*)
10722 lt_cv_dlopen
="LoadLibrary"
10727 lt_cv_dlopen
="dlopen"
10732 # if libdl is installed we need to link against it
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10734 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10735 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10736 $as_echo_n "(cached) " >&6
10738 ac_check_lib_save_LIBS
=$LIBS
10740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10758 if ac_fn_c_try_link
"$LINENO"; then :
10759 ac_cv_lib_dl_dlopen
=yes
10761 ac_cv_lib_dl_dlopen
=no
10763 rm -f core conftest.err conftest.
$ac_objext \
10764 conftest
$ac_exeext conftest.
$ac_ext
10765 LIBS
=$ac_check_lib_save_LIBS
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10768 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10769 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10770 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10773 lt_cv_dlopen
="dyld"
10775 lt_cv_dlopen_self
=yes
10782 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10783 if test "x$ac_cv_func_shl_load" = xyes
; then :
10784 lt_cv_dlopen
="shl_load"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10787 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10788 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS
=$LIBS
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10806 return shl_load ();
10811 if ac_fn_c_try_link
"$LINENO"; then :
10812 ac_cv_lib_dld_shl_load
=yes
10814 ac_cv_lib_dld_shl_load
=no
10816 rm -f core conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10818 LIBS
=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10821 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10822 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10823 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10825 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10826 if test "x$ac_cv_func_dlopen" = xyes
; then :
10827 lt_cv_dlopen
="dlopen"
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10830 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10831 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10832 $as_echo_n "(cached) " >&6
10834 ac_check_lib_save_LIBS
=$LIBS
10836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10854 if ac_fn_c_try_link
"$LINENO"; then :
10855 ac_cv_lib_dl_dlopen
=yes
10857 ac_cv_lib_dl_dlopen
=no
10859 rm -f core conftest.err conftest.
$ac_objext \
10860 conftest
$ac_exeext conftest.
$ac_ext
10861 LIBS
=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10864 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10865 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10866 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10869 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10870 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10871 $as_echo_n "(cached) " >&6
10873 ac_check_lib_save_LIBS
=$LIBS
10874 LIBS
="-lsvld $LIBS"
10875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10893 if ac_fn_c_try_link
"$LINENO"; then :
10894 ac_cv_lib_svld_dlopen
=yes
10896 ac_cv_lib_svld_dlopen
=no
10898 rm -f core conftest.err conftest.
$ac_objext \
10899 conftest
$ac_exeext conftest.
$ac_ext
10900 LIBS
=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10903 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10904 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10905 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10908 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10909 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10910 $as_echo_n "(cached) " >&6
10912 ac_check_lib_save_LIBS
=$LIBS
10914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10927 return dld_link ();
10932 if ac_fn_c_try_link
"$LINENO"; then :
10933 ac_cv_lib_dld_dld_link
=yes
10935 ac_cv_lib_dld_dld_link
=no
10937 rm -f core conftest.err conftest.
$ac_objext \
10938 conftest
$ac_exeext conftest.
$ac_ext
10939 LIBS
=$ac_check_lib_save_LIBS
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10942 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10943 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10944 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10965 if test "x$lt_cv_dlopen" != xno
; then
10971 case $lt_cv_dlopen in
10973 save_CPPFLAGS
="$CPPFLAGS"
10974 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10976 save_LDFLAGS
="$LDFLAGS"
10977 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10980 LIBS
="$lt_cv_dlopen_libs $LIBS"
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10983 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10984 if ${lt_cv_dlopen_self+:} false
; then :
10985 $as_echo_n "(cached) " >&6
10987 if test "$cross_compiling" = yes; then :
10988 lt_cv_dlopen_self
=cross
10990 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10991 lt_status
=$lt_dlunknown
10992 cat > conftest.
$ac_ext <<_LT_EOF
10993 #line $LINENO "configure"
10994 #include "confdefs.h"
11003 # define LT_DLGLOBAL RTLD_GLOBAL
11006 # define LT_DLGLOBAL DL_GLOBAL
11008 # define LT_DLGLOBAL 0
11012 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11013 find out it does not work in some platform. */
11014 #ifndef LT_DLLAZY_OR_NOW
11016 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11019 # define LT_DLLAZY_OR_NOW DL_LAZY
11022 # define LT_DLLAZY_OR_NOW RTLD_NOW
11025 # define LT_DLLAZY_OR_NOW DL_NOW
11027 # define LT_DLLAZY_OR_NOW 0
11034 /* When -fvisbility=hidden is used, assume the code has been annotated
11035 correspondingly for the symbols needed. */
11036 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11037 int fnord () __attribute__((visibility("default")));
11040 int fnord () { return 42; }
11043 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11044 int status = $lt_dlunknown;
11048 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11051 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11052 else puts (dlerror ());
11054 /* dlclose (self); */
11062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11063 (eval $ac_link) 2>&5
11065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11066 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11067 (.
/conftest
; exit; ) >&5 2>/dev
/null
11069 case x
$lt_status in
11070 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11071 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11072 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11075 # compilation failed
11076 lt_cv_dlopen_self
=no
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11084 $as_echo "$lt_cv_dlopen_self" >&6; }
11086 if test "x$lt_cv_dlopen_self" = xyes
; then
11087 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11089 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11090 if ${lt_cv_dlopen_self_static+:} false
; then :
11091 $as_echo_n "(cached) " >&6
11093 if test "$cross_compiling" = yes; then :
11094 lt_cv_dlopen_self_static
=cross
11096 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11097 lt_status
=$lt_dlunknown
11098 cat > conftest.
$ac_ext <<_LT_EOF
11099 #line $LINENO "configure"
11100 #include "confdefs.h"
11109 # define LT_DLGLOBAL RTLD_GLOBAL
11112 # define LT_DLGLOBAL DL_GLOBAL
11114 # define LT_DLGLOBAL 0
11118 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11119 find out it does not work in some platform. */
11120 #ifndef LT_DLLAZY_OR_NOW
11122 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11125 # define LT_DLLAZY_OR_NOW DL_LAZY
11128 # define LT_DLLAZY_OR_NOW RTLD_NOW
11131 # define LT_DLLAZY_OR_NOW DL_NOW
11133 # define LT_DLLAZY_OR_NOW 0
11140 /* When -fvisbility=hidden is used, assume the code has been annotated
11141 correspondingly for the symbols needed. */
11142 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11143 int fnord () __attribute__((visibility("default")));
11146 int fnord () { return 42; }
11149 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11150 int status = $lt_dlunknown;
11154 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11157 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11158 else puts (dlerror ());
11160 /* dlclose (self); */
11168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11169 (eval $ac_link) 2>&5
11171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11172 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11173 (.
/conftest
; exit; ) >&5 2>/dev
/null
11175 case x
$lt_status in
11176 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11177 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11178 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11181 # compilation failed
11182 lt_cv_dlopen_self_static
=no
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11190 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11193 CPPFLAGS
="$save_CPPFLAGS"
11194 LDFLAGS
="$save_LDFLAGS"
11199 case $lt_cv_dlopen_self in
11200 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11201 *) enable_dlopen_self
=unknown
;;
11204 case $lt_cv_dlopen_self_static in
11205 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11206 *) enable_dlopen_self_static
=unknown
;;
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11229 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11230 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11231 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11232 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11234 $as_echo "yes" >&6; }
11236 # FIXME - insert some real tests, host_os isn't really good enough
11239 if test -n "$STRIP" ; then
11240 striplib
="$STRIP -x"
11241 old_striplib
="$STRIP -S"
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11243 $as_echo "yes" >&6; }
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11246 $as_echo "no" >&6; }
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251 $as_echo "no" >&6; }
11267 # Report which library types will actually be built
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11269 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11271 $as_echo "$can_build_shared" >&6; }
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11274 $as_echo_n "checking whether to build shared libraries... " >&6; }
11275 test "$can_build_shared" = "no" && enable_shared
=no
11277 # On AIX, shared libraries and static libraries use the same namespace, and
11278 # are all built from PIC.
11281 test "$enable_shared" = yes && enable_static
=no
11282 if test -n "$RANLIB"; then
11283 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11284 postinstall_cmds
='$RANLIB $lib'
11289 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11290 test "$enable_shared" = yes && enable_static
=no
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11295 $as_echo "$enable_shared" >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11298 $as_echo_n "checking whether to build static libraries... " >&6; }
11299 # Make sure either enable_shared or enable_static is yes.
11300 test "$enable_shared" = yes || enable_static
=yes
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11302 $as_echo "$enable_static" >&6; }
11309 ac_cpp
='$CPP $CPPFLAGS'
11310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11330 ac_config_commands
="$ac_config_commands libtool"
11335 # Only expand once:
11339 if test x
$GCC = xyes
11341 CFLAGS
="-Wall $CFLAGS"
11343 if test x
$GXX = xyes
11345 CXXFLAGS
="-Wall $CXXFLAGS"
11348 CFLAGS
="-I../libs -I$srcdir/../libs $CFLAGS"
11349 CXXFLAGS
="-I../libs -I$srcdir/../libs $CXXFLAGS"
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11352 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11353 if ${ac_cv_c_const+:} false
; then :
11354 $as_echo_n "(cached) " >&6
11356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11363 #ifndef __cplusplus
11364 /* Ultrix mips cc rejects this sort of thing. */
11365 typedef int charset[2];
11366 const charset cs = { 0, 0 };
11367 /* SunOS 4.1.1 cc rejects this. */
11368 char const *const *pcpcc;
11370 /* NEC SVR4.0.2 mips cc rejects this. */
11371 struct point {int x, y;};
11372 static struct point const zero = {0,0};
11373 /* AIX XL C 1.02.0.0 rejects this.
11374 It does not let you subtract one const X* pointer from another in
11375 an arm of an if-expression whose if-part is not a constant
11377 const char *g = "string";
11378 pcpcc = &g + (g ? g-g : 0);
11379 /* HPUX 7.0 cc rejects these. */
11381 ppc = (char**) pcpcc;
11382 pcpcc = (char const *const *) ppc;
11383 { /* SCO 3.2v4 cc rejects this sort of thing. */
11386 char const *s = 0 ? (char *) 0 : (char const *) 0;
11391 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11392 int x[] = {25, 17};
11393 const int *foo = &x[0];
11396 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11397 typedef const int *iptr;
11401 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
11402 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11403 struct s { int j; const int *ap[3]; } bx;
11404 struct s *b = &bx; b->j = 5;
11406 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11407 const int foo = 10;
11408 if (!foo) return 0;
11410 return !cs[0] && !zero.x;
11417 if ac_fn_c_try_compile
"$LINENO"; then :
11422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11425 $as_echo "$ac_cv_c_const" >&6; }
11426 if test $ac_cv_c_const = no
; then
11428 $as_echo "#define const /**/" >>confdefs.h
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11433 $as_echo_n "checking for ANSI C header files... " >&6; }
11434 if ${ac_cv_header_stdc+:} false
; then :
11435 $as_echo_n "(cached) " >&6
11437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439 #include <stdlib.h>
11440 #include <stdarg.h>
11441 #include <string.h>
11452 if ac_fn_c_try_compile
"$LINENO"; then :
11453 ac_cv_header_stdc
=yes
11455 ac_cv_header_stdc
=no
11457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11459 if test $ac_cv_header_stdc = yes; then
11460 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11463 #include <string.h>
11466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11467 $EGREP "memchr" >/dev
/null
2>&1; then :
11470 ac_cv_header_stdc
=no
11476 if test $ac_cv_header_stdc = yes; then
11477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11480 #include <stdlib.h>
11483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11484 $EGREP "free" >/dev
/null
2>&1; then :
11487 ac_cv_header_stdc
=no
11493 if test $ac_cv_header_stdc = yes; then
11494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11495 if test "$cross_compiling" = yes; then :
11498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 #include <stdlib.h>
11502 #if ((' ' & 0x0FF) == 0x020)
11503 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11504 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11506 # define ISLOWER(c) \
11507 (('a' <= (c) && (c) <= 'i') \
11508 || ('j' <= (c) && (c) <= 'r') \
11509 || ('s' <= (c) && (c) <= 'z'))
11510 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11513 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11518 for (i = 0; i < 256; i++)
11519 if (XOR (islower (i), ISLOWER (i))
11520 || toupper (i) != TOUPPER (i))
11525 if ac_fn_c_try_run
"$LINENO"; then :
11528 ac_cv_header_stdc
=no
11530 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11531 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11537 $as_echo "$ac_cv_header_stdc" >&6; }
11538 if test $ac_cv_header_stdc = yes; then
11540 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11544 for ac_header
in fcntl.h string.h syslog.h
11546 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11547 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11548 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11549 cat >>confdefs.h
<<_ACEOF
11550 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11558 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11559 if ${ac_cv_type_uid_t+:} false
; then :
11560 $as_echo_n "(cached) " >&6
11562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 #include <sys/types.h>
11567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11568 $EGREP "uid_t" >/dev
/null
2>&1; then :
11569 ac_cv_type_uid_t
=yes
11571 ac_cv_type_uid_t
=no
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11577 $as_echo "$ac_cv_type_uid_t" >&6; }
11578 if test $ac_cv_type_uid_t = no
; then
11580 $as_echo "#define uid_t int" >>confdefs.h
11583 $as_echo "#define gid_t int" >>confdefs.h
11587 # Check whether --enable-largefile was given.
11588 if test "${enable_largefile+set}" = set; then :
11589 enableval
=$enable_largefile;
11592 if test "$enable_largefile" != no
; then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11595 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11596 if ${ac_cv_sys_largefile_CC+:} false
; then :
11597 $as_echo_n "(cached) " >&6
11599 ac_cv_sys_largefile_CC
=no
11600 if test "$GCC" != yes; then
11603 # IRIX 6.2 and later do not support large files by default,
11604 # so use the C compiler's -n32 option if that helps.
11605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 #include <sys/types.h>
11608 /* Check that off_t can represent 2**63 - 1 correctly.
11609 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11610 since some C++ compilers masquerading as C compilers
11611 incorrectly reject 9223372036854775807. */
11612 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11613 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11614 && LARGE_OFF_T % 2147483647 == 1)
11624 if ac_fn_c_try_compile
"$LINENO"; then :
11627 rm -f core conftest.err conftest.
$ac_objext
11629 if ac_fn_c_try_compile
"$LINENO"; then :
11630 ac_cv_sys_largefile_CC
=' -n32'; break
11632 rm -f core conftest.err conftest.
$ac_objext
11636 rm -f conftest.
$ac_ext
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11640 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11641 if test "$ac_cv_sys_largefile_CC" != no
; then
11642 CC
=$CC$ac_cv_sys_largefile_CC
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11646 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11647 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11648 $as_echo_n "(cached) " >&6
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 #include <sys/types.h>
11654 /* Check that off_t can represent 2**63 - 1 correctly.
11655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11656 since some C++ compilers masquerading as C compilers
11657 incorrectly reject 9223372036854775807. */
11658 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11660 && LARGE_OFF_T % 2147483647 == 1)
11670 if ac_fn_c_try_compile
"$LINENO"; then :
11671 ac_cv_sys_file_offset_bits
=no
; break
11673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 #define _FILE_OFFSET_BITS 64
11677 #include <sys/types.h>
11678 /* Check that off_t can represent 2**63 - 1 correctly.
11679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11680 since some C++ compilers masquerading as C compilers
11681 incorrectly reject 9223372036854775807. */
11682 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11684 && LARGE_OFF_T % 2147483647 == 1)
11694 if ac_fn_c_try_compile
"$LINENO"; then :
11695 ac_cv_sys_file_offset_bits
=64; break
11697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11698 ac_cv_sys_file_offset_bits
=unknown
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11703 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11704 case $ac_cv_sys_file_offset_bits in #(
11707 cat >>confdefs.h
<<_ACEOF
11708 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11713 if test $ac_cv_sys_file_offset_bits = unknown
; then
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11715 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11716 if ${ac_cv_sys_large_files+:} false
; then :
11717 $as_echo_n "(cached) " >&6
11720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11722 #include <sys/types.h>
11723 /* Check that off_t can represent 2**63 - 1 correctly.
11724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11725 since some C++ compilers masquerading as C compilers
11726 incorrectly reject 9223372036854775807. */
11727 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11729 && LARGE_OFF_T % 2147483647 == 1)
11739 if ac_fn_c_try_compile
"$LINENO"; then :
11740 ac_cv_sys_large_files
=no
; break
11742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11744 /* end confdefs.h. */
11745 #define _LARGE_FILES 1
11746 #include <sys/types.h>
11747 /* Check that off_t can represent 2**63 - 1 correctly.
11748 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11749 since some C++ compilers masquerading as C compilers
11750 incorrectly reject 9223372036854775807. */
11751 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11752 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11753 && LARGE_OFF_T % 2147483647 == 1)
11763 if ac_fn_c_try_compile
"$LINENO"; then :
11764 ac_cv_sys_large_files
=1; break
11766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11767 ac_cv_sys_large_files
=unknown
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11772 $as_echo "$ac_cv_sys_large_files" >&6; }
11773 case $ac_cv_sys_large_files in #(
11776 cat >>confdefs.h
<<_ACEOF
11777 #define _LARGE_FILES $ac_cv_sys_large_files
11787 for ac_func
in strchr
11789 ac_fn_c_check_func
"$LINENO" "strchr" "ac_cv_func_strchr"
11790 if test "x$ac_cv_func_strchr" = xyes
; then :
11791 cat >>confdefs.h
<<_ACEOF
11792 #define HAVE_STRCHR 1
11800 # Check whether --with-syslog was given.
11801 if test "${with_syslog+set}" = set; then :
11802 withval
=$with_syslog; logdest
="LOG_$withval"
11809 cat >>confdefs.h
<<_ACEOF
11810 #define LOG_DEST $logdest
11813 if test -d ${srcdir}/..
/libs
/docbook
; then
11815 HAVE_SGML_FALSE
='#'
11821 ac_config_files
="$ac_config_files Makefile"
11823 cat >confcache
<<\_ACEOF
11824 # This file is a shell script that caches the results of configure
11825 # tests run on this system so they can be shared between configure
11826 # scripts and configure runs, see configure's option --config-cache.
11827 # It is not useful on other systems. If it contains results you don't
11828 # want to keep, you may remove or edit it.
11830 # config.status only pays attention to the cache file if you give it
11831 # the --recheck option to rerun configure.
11833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11835 # following values.
11839 # The following way of writing the cache mishandles newlines in values,
11840 # but we know of no workaround that is simple, portable, and efficient.
11841 # So, we kill variables containing newlines.
11842 # Ultrix sh set writes to stderr and can't be redirected directly,
11843 # and sets the high bit in the cache file unless we assign to the vars.
11845 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11846 eval ac_val
=\$
$ac_var
11850 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11854 _ | IFS | as_nl
) ;; #(
11855 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11856 *) { eval $ac_var=; unset $ac_var;} ;;
11862 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11863 *${as_nl}ac_space
=\
*)
11864 # `set' does not quote correctly, so add quotes: double-quote
11865 # substitution turns \\\\ into \\, and sed turns \\ into \.
11868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11871 # `set' quotes correctly as required by POSIX, so do not add quotes.
11872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11883 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11885 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11886 if test -w "$cache_file"; then
11887 if test "x$cache_file" != "x/dev/null"; then
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11889 $as_echo "$as_me: updating cache $cache_file" >&6;}
11890 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11891 cat confcache
>"$cache_file"
11893 case $cache_file in #(
11895 mv -f confcache
"$cache_file"$$
&&
11896 mv -f "$cache_file"$$
"$cache_file" ;; #(
11898 mv -f confcache
"$cache_file" ;;
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11904 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11909 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11910 # Let make expand exec_prefix.
11911 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11913 DEFS
=-DHAVE_CONFIG_H
11917 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11918 # 1. Remove the extension, and $U if already installed.
11919 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11920 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11921 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11922 # will be set to the directory where LIBOBJS objects are built.
11923 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11924 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11926 LIBOBJS
=$ac_libobjs
11928 LTLIBOBJS
=$ac_ltlibobjs
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
11932 $as_echo_n "checking that generated files are newer than configure... " >&6; }
11933 if test -n "$am_sleep_pid"; then
11934 # Hide warnings about reused PIDs.
11935 wait $am_sleep_pid 2>/dev
/null
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11938 $as_echo "done" >&6; }
11939 if test -n "$EXEEXT"; then
11941 am__EXEEXT_FALSE
='#'
11943 am__EXEEXT_TRUE
='#'
11947 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11948 as_fn_error $?
"conditional \"AMDEP\" was never defined.
11949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11951 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11952 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
11953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11955 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
11956 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
11957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11960 : "${CONFIG_STATUS=./config.status}"
11962 ac_clean_files_save
=$ac_clean_files
11963 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11965 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11967 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11969 # Generated by $as_me.
11970 # Run this file to recreate the current configuration.
11971 # Compiler output produced by configure, useful for debugging
11972 # configure, is in config.log if it exists.
11975 ac_cs_recheck=false
11978 SHELL=\${CONFIG_SHELL-$SHELL}
11981 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11982 ## -------------------- ##
11983 ## M4sh Initialization. ##
11984 ## -------------------- ##
11986 # Be more Bourne compatible
11987 DUALCASE
=1; export DUALCASE
# for MKS sh
11988 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11991 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11992 # is contrary to our usage. Disable this feature.
11993 alias -g '${1+"$@"}'='"$@"'
11994 setopt NO_GLOB_SUBST
11996 case `(set -o) 2>/dev/null` in #(
12008 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12009 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12010 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12011 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12012 # Prefer a ksh shell builtin over an external printf program on Solaris,
12013 # but without wasting forks for bash or zsh.
12014 if test -z "$BASH_VERSION$ZSH_VERSION" \
12015 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12016 as_echo='print
-r --'
12017 as_echo_n='print
-rn --'
12018 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12019 as_echo='printf %s
\n'
12020 as_echo_n='printf %s
'
12022 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12023 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12024 as_echo_n='/usr
/ucb
/echo -n'
12026 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12027 as_echo_n_body='eval
12031 expr "X$arg" : "X\\(.*\\)$as_nl";
12032 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12034 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12036 export as_echo_n_body
12037 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12039 export as_echo_body
12040 as_echo='sh
-c $as_echo_body as_echo
'
12043 # The user is always right.
12044 if test "${PATH_SEPARATOR+set}" != set; then
12046 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12047 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12054 # We need space, tab and new line, in precisely that order. Quoting is
12055 # there to prevent editors from complaining about space-tab.
12056 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12057 # splitting by setting IFS to empty value.)
12060 # Find who we are. Look in the path if we contain no directory separator.
12063 *[\\/]* ) as_myself=$0 ;;
12064 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12065 for as_dir in $PATH
12068 test -z "$as_dir" && as_dir=.
12069 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12075 # We did not find ourselves, most probably we were run as `sh COMMAND'
12076 # in which case we are not to be found in the path.
12077 if test "x$as_myself" = x
; then
12080 if test ! -f "$as_myself"; then
12081 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12085 # Unset variables that we do not need and which cause bugs (e.g. in
12086 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12087 # suppresses any "Segmentation fault" message there. '((' could
12088 # trigger a bug in pdksh 5.2.14.
12089 for as_var
in BASH_ENV ENV MAIL MAILPATH
12090 do eval test x\
${$as_var+set} = xset \
12091 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12104 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12107 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12108 # ----------------------------------------
12109 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12110 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12111 # script with STATUS, using 1 if that was 0.
12114 as_status
=$1; test $as_status -eq 0 && as_status
=1
12116 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12117 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12119 $as_echo "$as_me: error: $2" >&2
12120 as_fn_exit
$as_status
12124 # as_fn_set_status STATUS
12125 # -----------------------
12126 # Set $? to STATUS, without forking.
12127 as_fn_set_status
()
12130 } # as_fn_set_status
12132 # as_fn_exit STATUS
12133 # -----------------
12134 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12138 as_fn_set_status
$1
12144 # Portably unset VAR.
12147 { eval $1=; unset $1;}
12149 as_unset
=as_fn_unset
12150 # as_fn_append VAR VALUE
12151 # ----------------------
12152 # Append the text in VALUE to the end of the definition contained in VAR. Take
12153 # advantage of any shell optimizations that allow amortized linear growth over
12154 # repeated appends, instead of the typical quadratic growth present in naive
12156 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12157 eval 'as_fn_append ()
12168 # as_fn_arith ARG...
12169 # ------------------
12170 # Perform arithmetic evaluation on the ARGs, and store the result in the
12171 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12172 # must be portable across $(()) and expr.
12173 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12174 eval 'as_fn_arith ()
12181 as_val
=`expr "$@" || test $? -eq 1`
12186 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12187 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12193 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12194 as_basename
=basename
12199 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12205 as_me
=`$as_basename -- "$0" ||
12206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12207 X"$0" : 'X\(//\)$' \| \
12208 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12210 sed '/^.*\/\([^/][^/]*\)\/*$/{
12224 # Avoid depending upon Character Ranges.
12225 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12226 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12227 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12228 as_cr_digits
='0123456789'
12229 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12231 ECHO_C
= ECHO_N
= ECHO_T
=
12232 case `echo -n x` in #(((((
12234 case `echo 'xy\c'` in
12235 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12237 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12244 rm -f conf$$ conf$$.exe conf$$.
file
12245 if test -d conf$$.dir
; then
12246 rm -f conf$$.dir
/conf$$.
file
12249 mkdir conf$$.dir
2>/dev
/null
12251 if (echo >conf$$.
file) 2>/dev
/null
; then
12252 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12254 # ... but there are two gotchas:
12255 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12256 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12257 # In both cases, we have to default to `cp -pR'.
12258 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12260 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12268 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12269 rmdir conf$$.dir
2>/dev
/null
12274 # Create "$as_dir" as a directory, including parents if necessary.
12279 -*) as_dir
=.
/$as_dir;;
12281 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12285 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12286 *) as_qdir
=$as_dir;;
12288 as_dirs
="'$as_qdir' $as_dirs"
12289 as_dir
=`$as_dirname -- "$as_dir" ||
12290 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12291 X"$as_dir" : 'X\(//\)[^/]' \| \
12292 X"$as_dir" : 'X\(//\)$' \| \
12293 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12294 $as_echo X"$as_dir" |
12295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12299 /^X\(\/\/\)[^/].*/{
12312 test -d "$as_dir" && break
12314 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12315 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12319 if mkdir
-p .
2>/dev
/null
; then
12320 as_mkdir_p
='mkdir -p "$as_dir"'
12322 test -d .
/-p && rmdir .
/-p
12327 # as_fn_executable_p FILE
12328 # -----------------------
12329 # Test if FILE is an executable regular file.
12330 as_fn_executable_p
()
12332 test -f "$1" && test -x "$1"
12333 } # as_fn_executable_p
12334 as_test_x
='test -x'
12335 as_executable_p
=as_fn_executable_p
12337 # Sed expression to map a string onto a valid CPP name.
12338 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12340 # Sed expression to map a string onto a valid variable name.
12341 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12345 ## ----------------------------------- ##
12346 ## Main body of $CONFIG_STATUS script. ##
12347 ## ----------------------------------- ##
12349 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12352 # Save the log message, to keep $0 and so on meaningful, and to
12353 # report actual input values of CONFIG_FILES etc. instead of their
12354 # values after options handling.
12356 This file was extended by courierlogger $as_me 0.10, which was
12357 generated by GNU Autoconf 2.69. Invocation command line was
12359 CONFIG_FILES = $CONFIG_FILES
12360 CONFIG_HEADERS = $CONFIG_HEADERS
12361 CONFIG_LINKS = $CONFIG_LINKS
12362 CONFIG_COMMANDS = $CONFIG_COMMANDS
12365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12370 case $ac_config_files in *"
12371 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12374 case $ac_config_headers in *"
12375 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12380 # Files that config.status was made for.
12381 config_files="$ac_config_files"
12382 config_headers="$ac_config_headers"
12383 config_commands="$ac_config_commands"
12387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12389 \`$as_me' instantiates files and other configuration actions
12390 from templates according to the current configuration. Unless the files
12391 and actions are specified as TAGs, all are instantiated by default.
12393 Usage: $0 [OPTION]... [TAG]...
12395 -h, --help print this help, then exit
12396 -V, --version print version number and configuration settings, then exit
12397 --config print configuration, then exit
12398 -q, --quiet, --silent
12399 do not print progress messages
12400 -d, --debug don't remove temporary files
12401 --recheck update $as_me by reconfiguring in the same conditions
12402 --file=FILE[:TEMPLATE]
12403 instantiate the configuration file FILE
12404 --header=FILE[:TEMPLATE]
12405 instantiate the configuration header FILE
12407 Configuration files:
12410 Configuration headers:
12413 Configuration commands:
12416 Report bugs to <courier-users@lists.sourceforge.net>."
12419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12420 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12422 courierlogger config.status 0.10
12423 configured by $0, generated by GNU Autoconf 2.69,
12424 with options \\"\$ac_cs_config\\"
12426 Copyright (C) 2012 Free Software Foundation, Inc.
12427 This config.status script is free software; the Free Software Foundation
12428 gives unlimited permission to copy, distribute and modify it."
12435 test -n "\$AWK" || AWK=awk
12438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12439 # The default lists apply if the user does not specify any file.
12445 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12446 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12450 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12462 # Handling of the options.
12463 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12465 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12466 $as_echo "$ac_cs_version"; exit ;;
12467 --config |
--confi |
--conf |
--con |
--co |
--c )
12468 $as_echo "$ac_cs_config"; exit ;;
12469 --debug |
--debu |
--deb |
--de |
--d |
-d )
12471 --file |
--fil |
--fi |
--f )
12474 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12475 '') as_fn_error $?
"missing file argument" ;;
12477 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12478 ac_need_defaults
=false
;;
12479 --header |
--heade |
--head |
--hea )
12482 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12484 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12485 ac_need_defaults
=false
;;
12487 # Conflict between --help and --header
12488 as_fn_error $?
"ambiguous option: \`$1'
12489 Try \`$0 --help' for more information.";;
12490 --help |
--hel |
-h )
12491 $as_echo "$ac_cs_usage"; exit ;;
12492 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12493 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12496 # This is an error.
12497 -*) as_fn_error $?
"unrecognized option: \`$1'
12498 Try \`$0 --help' for more information." ;;
12500 *) as_fn_append ac_config_targets
" $1"
12501 ac_need_defaults
=false
;;
12507 ac_configure_extra_args
=
12509 if $ac_cs_silent; then
12511 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12516 if \$ac_cs_recheck; then
12517 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12519 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12520 CONFIG_SHELL='$SHELL'
12521 export CONFIG_SHELL
12526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12531 ## Running $as_me. ##
12537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12541 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12544 # The HP-UX ksh and POSIX shell print the target directory to stdout
12545 # if CDPATH is set.
12546 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12548 sed_quote_subst='$sed_quote_subst'
12549 double_quote_subst='$double_quote_subst'
12550 delay_variable_subst='$delay_variable_subst'
12551 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12552 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12553 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12554 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12555 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12556 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12557 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12558 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12559 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12560 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12561 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12562 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12563 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12564 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12565 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12566 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12567 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12568 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12569 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12570 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12571 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12572 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12573 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12574 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12575 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12576 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12577 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12578 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12579 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12580 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12581 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12582 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12583 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12584 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12585 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12586 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12587 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12588 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12589 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12590 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12591 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12592 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12593 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12594 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12595 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12596 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12597 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12598 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12599 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12600 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12601 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12602 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12603 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12604 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12605 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12606 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12607 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"`'
12608 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12609 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12610 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12611 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12612 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12613 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12614 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12615 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12616 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12617 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12618 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12619 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12620 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12621 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12622 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12623 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12624 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12625 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12626 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12627 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12628 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12629 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12630 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12631 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12632 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12633 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12634 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12635 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12636 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12637 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12638 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12639 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12640 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12641 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12642 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12643 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12644 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12645 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12646 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12647 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12648 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12649 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12650 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12651 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12652 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12653 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12654 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12655 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12656 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12657 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12658 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12659 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12660 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12661 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12662 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12663 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12664 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12665 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12666 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12667 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12668 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12669 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12670 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12671 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12672 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12673 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12674 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12675 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12676 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12677 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12678 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12679 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12680 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12683 LTCFLAGS='$LTCFLAGS'
12684 compiler='$compiler_DEFAULT'
12686 # A function that is used when there is no print builtin or printf.
12687 func_fallback_echo ()
12689 eval 'cat <<_LTECHO_EOF
12694 # Quote evaled strings.
12709 deplibs_check_method \
12714 sharedlib_from_linklib_cmd \
12717 archiver_list_spec \
12723 lt_cv_sys_global_symbol_pipe \
12724 lt_cv_sys_global_symbol_to_cdecl \
12725 lt_cv_sys_global_symbol_to_c_name_address \
12726 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12727 nm_file_list_spec \
12728 lt_prog_compiler_no_builtin_flag \
12729 lt_prog_compiler_pic \
12730 lt_prog_compiler_wl \
12731 lt_prog_compiler_static \
12732 lt_cv_prog_compiler_c_o \
12741 export_dynamic_flag_spec \
12742 whole_archive_flag_spec \
12743 compiler_needs_object \
12745 allow_undefined_flag \
12746 no_undefined_flag \
12747 hardcode_libdir_flag_spec \
12748 hardcode_libdir_separator \
12752 variables_saved_for_relink \
12754 library_names_spec \
12756 install_override_mode \
12760 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12761 *[\\\\\\\`\\"\\\$]*)
12762 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12765 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12770 # Double-quote double-evaled strings.
12771 for var in reload_cmds \
12772 old_postinstall_cmds \
12773 old_postuninstall_cmds \
12775 extract_expsyms_cmds \
12776 old_archive_from_new_cmds \
12777 old_archive_from_expsyms_cmds \
12779 archive_expsym_cmds \
12781 module_expsym_cmds \
12782 export_symbols_cmds \
12786 postuninstall_cmds \
12788 sys_lib_search_path_spec \
12789 sys_lib_dlsearch_path_spec; do
12790 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12791 *[\\\\\\\`\\"\\\$]*)
12792 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12795 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12800 ac_aux_dir='$ac_aux_dir'
12801 xsi_shell='$xsi_shell'
12802 lt_shell_append='$lt_shell_append'
12804 # See if we are running on zsh, and set the options which allow our
12805 # commands through without removal of \ escapes INIT.
12806 if test -n "\${ZSH_VERSION+set}" ; then
12807 setopt NO_GLOB_SUBST
12813 TIMESTAMP='$TIMESTAMP'
12822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12824 # Handling of arguments.
12825 for ac_config_target
in $ac_config_targets
12827 case $ac_config_target in
12828 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12829 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12830 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12831 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12833 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12838 # If the user did not use the arguments to specify the items to instantiate,
12839 # then the envvar interface is used. Set only those that are not.
12840 # We use the long form for the default assignment because of an extremely
12841 # bizarre bug on SunOS 4.1.3.
12842 if $ac_need_defaults; then
12843 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12844 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12845 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12848 # Have a temporary directory for convenience. Make it in the build tree
12849 # simply because there is no reason against having it here, and in addition,
12850 # creating and moving files from /tmp can sometimes cause problems.
12851 # Hook for its removal unless debugging.
12852 # Note that there is a small window in which the directory will not be cleaned:
12853 # after its creation but before its name has been assigned to `$tmp'.
12857 trap 'exit_status=$?
12858 : "${ac_tmp:=$tmp}"
12859 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12861 trap 'as_fn_exit 1' 1 2 13 15
12863 # Create a (secure) tmp directory for tmp files.
12866 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12870 tmp
=.
/conf$$
-$RANDOM
12871 (umask 077 && mkdir
"$tmp")
12872 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
12875 # Set up the scripts for CONFIG_FILES section.
12876 # No need to generate them if there are no CONFIG_FILES.
12877 # This happens for instance with `./config.status config.h'.
12878 if test -n "$CONFIG_FILES"; then
12881 ac_cr
=`echo X | tr X '\015'`
12882 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12883 # But we know of no other shell where ac_cr would be empty at this
12884 # point, so we can use a bashism as a fallback.
12885 if test "x$ac_cr" = x
; then
12886 eval ac_cr
=\$
\'\\r
\'
12888 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12889 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12892 ac_cs_awk_cr
=$ac_cr
12895 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12900 echo "cat >conf$$subs.awk <<_ACEOF" &&
12901 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12903 } >conf$$subs.sh ||
12904 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12905 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12907 for ac_last_try in false false false false false :; do
12908 . ./conf$$subs.sh ||
12909 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12911 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12912 if test $ac_delim_n = $ac_delim_num; then
12914 elif $ac_last_try; then
12915 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
12917 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12920 rm -f conf$$subs.sh
12922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12923 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
12927 s/^/S["/; s
/!.
*/"]=/
12937 s/\(.\{148\}\)..*/\1/
12939 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12944 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12951 s/\(.\{148\}\)..*/\1/
12953 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12957 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12962 ' <conf$$subs.awk | sed '
12967 ' >>$CONFIG_STATUS || ac_write_fail=1
12968 rm -f conf$$subs.awk
12969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12971 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
12972 for (key in S) S_is_set[key] = 1
12978 nfields = split(line, field, "@
")
12980 len = length(field[1])
12981 for (i = 2; i < nfields; i++) {
12983 keylen = length(key)
12984 if (S_is_set[key]) {
12986 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12987 len += length(value) + length(field[++i])
12998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12999 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13000 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13003 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13004 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13007 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13008 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13009 # trailing colons and then remove the whole line if VPATH becomes empty
13010 # (actually we leave an empty line to preserve line numbers).
13011 if test "x
$srcdir" = x.; then
13012 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13031 fi # test -n "$CONFIG_FILES"
13033 # Set up the scripts for CONFIG_HEADERS section.
13034 # No need to generate them if there are no CONFIG_HEADERS.
13035 # This happens for instance with `./config.status Makefile'.
13036 if test -n "$CONFIG_HEADERS"; then
13037 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13041 # Transform confdefs.h into an awk script `defines.awk', embedded as
13042 # here-document in config.status, that substitutes the proper values into
13043 # config.h.in to produce config.h.
13045 # Create a delimiter string that does not exist in confdefs.h, to ease
13046 # handling of long lines.
13048 for ac_last_try in false false :; do
13049 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13050 if test -z "$ac_tt"; then
13052 elif $ac_last_try; then
13053 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13055 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13059 # For the awk script, D is an array of macro values keyed by name,
13060 # likewise P contains macro parameters if any. Preserve backslash
13061 # newline sequences.
13063 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13065 s/.\{148\}/&'"$ac_delim"'/g
13068 s/^[ ]*#[ ]*define[ ][ ]*/ /
13075 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13077 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13081 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13082 D["\
1"]=" \
3\\\\\\n
"\\/p
13084 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13089 s/.\{148\}/&'"$ac_delim"'/g
13094 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13097 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13099 ' <confdefs.h | sed '
13100 s/'"$ac_delim"'/"\\\
13101 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13104 for (key in D) D_is_set[key] = 1
13107 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13109 split(line, arg, " ")
13110 if (arg[1] == "#") {
13114 defundef
= substr
(arg
[1], 2)
13117 split(mac1
, mac2
, "(") #)
13119 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13120 if (D_is_set
[macro
]) {
13121 # Preserve the white space surrounding the "#".
13122 print prefix
"define", macro P
[macro
] D
[macro
]
13125 # Replace #undef with comments. This is necessary, for example,
13126 # in the case of _POSIX_SOURCE, which is predefined and required
13127 # on some systems where configure will not decide to define it.
13128 if (defundef
== "undef") {
13129 print
"/*", prefix defundef
, macro
, "*/"
13137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13138 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13139 fi # test -n "$CONFIG_HEADERS"
13142 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13147 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13149 case $ac_mode$ac_tag in
13151 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13152 :[FH
]-) ac_tag
=-:-;;
13153 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13170 -) ac_f
="$ac_tmp/stdin";;
13171 *) # Look for the file first in the build tree, then in the source tree
13172 # (if the path is not absolute). The absolute path cannot be DOS-style,
13173 # because $ac_f cannot contain `:'.
13177 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13179 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13181 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13182 as_fn_append ac_file_inputs
" '$ac_f'"
13185 # Let's still pretend it is `configure' which instantiates (i.e., don't
13186 # use $as_me), people would be surprised to read:
13187 # /* config.h. Generated by config.status. */
13188 configure_input
='Generated from '`
13189 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13191 if test x
"$ac_file" != x-
; then
13192 configure_input
="$ac_file. $configure_input"
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13194 $as_echo "$as_me: creating $ac_file" >&6;}
13196 # Neutralize special characters interpreted by sed in replacement strings.
13197 case $configure_input in #(
13198 *\
&* |
*\|
* |
*\\* )
13199 ac_sed_conf_input
=`$as_echo "$configure_input" |
13200 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13201 *) ac_sed_conf_input
=$configure_input;;
13205 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13206 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13211 ac_dir
=`$as_dirname -- "$ac_file" ||
13212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13213 X"$ac_file" : 'X\(//\)[^/]' \| \
13214 X"$ac_file" : 'X\(//\)$' \| \
13215 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13216 $as_echo X"$ac_file" |
13217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13221 /^X\(\/\/\)[^/].*/{
13234 as_dir
="$ac_dir"; as_fn_mkdir_p
13238 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13240 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13241 # A ".." for each directory in $ac_dir_suffix.
13242 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13243 case $ac_top_builddir_sub in
13244 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13245 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13248 ac_abs_top_builddir
=$ac_pwd
13249 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13250 # for backward compatibility:
13251 ac_top_builddir
=$ac_top_build_prefix
13254 .
) # We are building in place.
13256 ac_top_srcdir
=$ac_top_builddir_sub
13257 ac_abs_top_srcdir
=$ac_pwd ;;
13258 [\\/]* | ?
:[\\/]* ) # Absolute name.
13259 ac_srcdir
=$srcdir$ac_dir_suffix;
13260 ac_top_srcdir
=$srcdir
13261 ac_abs_top_srcdir
=$srcdir ;;
13262 *) # Relative name.
13263 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13264 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13265 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13267 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13277 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13278 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13280 ac_MKDIR_P
=$MKDIR_P
13282 [\\/$
]* | ?
:[\\/]* ) ;;
13283 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13288 # If the template does not know about datarootdir, expand it.
13289 # FIXME: This hack should be removed a few years after 2.60.
13290 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13301 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13302 *datarootdir
*) ac_datarootdir_seen
=yes;;
13303 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13305 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13308 ac_datarootdir_hack='
13309 s&@datadir@&$datadir&g
13310 s&@docdir@&$docdir&g
13311 s&@infodir@&$infodir&g
13312 s&@localedir@&$localedir&g
13313 s&@mandir@&$mandir&g
13314 s&\\\${datarootdir}&$datarootdir&g' ;;
13318 # Neutralize VPATH when `$srcdir' = `.'.
13319 # Shell code in configure.ac might set extrasub.
13320 # FIXME: do we really want to maintain this feature?
13321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13322 ac_sed_extra="$ac_vpsub
13325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13327 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13328 s|@configure_input@|
$ac_sed_conf_input|
;t t
13329 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13330 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13331 s
&@srcdir@
&$ac_srcdir&;t t
13332 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13333 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13334 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13335 s
&@builddir@
&$ac_builddir&;t t
13336 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13337 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13338 s
&@INSTALL@
&$ac_INSTALL&;t t
13339 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13340 $ac_datarootdir_hack
13342 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13343 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13345 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13346 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13347 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13348 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13350 which seems to be undefined. Please make sure it is defined" >&5
13351 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13352 which seems to be undefined. Please make sure it is defined" >&2;}
13354 rm -f "$ac_tmp/stdin"
13356 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13357 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13359 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13365 if test x"$ac_file" != x-; then
13367 $as_echo "/* $configure_input */" \
13368 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13369 } >"$ac_tmp/config.h" \
13370 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13371 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13373 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13376 mv "$ac_tmp/config.h" "$ac_file" \
13377 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13380 $as_echo "/* $configure_input */" \
13381 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13382 || as_fn_error $? "could not create -" "$LINENO" 5
13384 # Compute "$ac_file"'s index
in $config_headers.
13387 for _am_header
in $config_headers :; do
13388 case $_am_header in
13389 $_am_arg |
$_am_arg:* )
13392 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13395 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13396 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13397 X"$_am_arg" : 'X\(//\)[^/]' \| \
13398 X"$_am_arg" : 'X\(//\)$' \| \
13399 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13400 $as_echo X"$_am_arg" |
13401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13405 /^X\(\/\/\)[^/].*/{
13417 s/.*/./; q'`/stamp-h
$_am_stamp_count
13420 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13421 $as_echo "$as_me: executing $ac_file commands" >&6;}
13426 case $ac_file$ac_mode in
13427 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13428 # Older Autoconf quotes --file arguments for eval, but not when files
13429 # are listed without --file. Let's play safe and only enable the eval
13430 # if we detect the quoting.
13431 case $CONFIG_FILES in
13432 *\'*) eval set x
"$CONFIG_FILES" ;;
13433 *) set x
$CONFIG_FILES ;;
13438 # Strip MF so we end up with the name of the file.
13439 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13440 # Check whether this is an Automake generated Makefile or not.
13441 # We used to match only the files named 'Makefile.in', but
13442 # some people rename them; so instead we look at the file content.
13443 # Grep'ing the first line is not enough: some people post-process
13444 # each Makefile.in and add a new line on top of each file to say so.
13445 # Grep'ing the whole file is not good either: AIX grep has a line
13446 # limit of 2048, but all sed's we know have understand at least 4000.
13447 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13448 dirpart
=`$as_dirname -- "$mf" ||
13449 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13450 X"$mf" : 'X\(//\)[^/]' \| \
13451 X"$mf" : 'X\(//\)$' \| \
13452 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13458 /^X\(\/\/\)[^/].*/{
13474 # Extract the definition of DEPDIR, am__include, and am__quote
13475 # from the Makefile without running 'make'.
13476 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13477 test -z "$DEPDIR" && continue
13478 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13479 test -z "$am__include" && continue
13480 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13481 # Find all dependency output files, they are included files with
13482 # $(DEPDIR) in their names. We invoke sed twice because it is the
13483 # simplest approach to changing $(DEPDIR) to its actual value in the
13485 for file in `sed -n "
13486 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13487 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13488 # Make sure the directory exists.
13489 test -f "$dirpart/$file" && continue
13490 fdir
=`$as_dirname -- "$file" ||
13491 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13492 X"$file" : 'X\(//\)[^/]' \| \
13493 X"$file" : 'X\(//\)$' \| \
13494 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13495 $as_echo X"$file" |
13496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13500 /^X\(\/\/\)[^/].*/{
13513 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13514 # echo "creating $dirpart/$file"
13515 echo '# dummy' > "$dirpart/$file"
13522 # See if we are running on zsh, and set the options which allow our
13523 # commands through without removal of \ escapes.
13524 if test -n "${ZSH_VERSION+set}" ; then
13525 setopt NO_GLOB_SUBST
13528 cfgfile
="${ofile}T"
13529 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13532 cat <<_LT_EOF >> "$cfgfile"
13535 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13536 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13537 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13538 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13540 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13541 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13543 # Written by Gordon Matzigkeit, 1996
13545 # This file is part of GNU Libtool.
13547 # GNU Libtool is free software; you can redistribute it and/or
13548 # modify it under the terms of the GNU General Public License as
13549 # published by the Free Software Foundation; either version 2 of
13550 # the License, or (at your option) any later version.
13552 # As a special exception to the GNU General Public License,
13553 # if you distribute this file as part of a program or library that
13554 # is built using GNU Libtool, you may include this file under the
13555 # same distribution terms that you use for the rest of that program.
13557 # GNU Libtool is distributed in the hope that it will be useful,
13558 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13560 # GNU General Public License for more details.
13562 # You should have received a copy of the GNU General Public License
13563 # along with GNU Libtool; see the file COPYING. If not, a copy
13564 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13565 # obtained by writing to the Free Software Foundation, Inc.,
13566 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13569 # The names of the tagged configurations supported by this script.
13572 # ### BEGIN LIBTOOL CONFIG
13574 # Which release of libtool.m4 was used?
13575 macro_version=$macro_version
13576 macro_revision=$macro_revision
13578 # Whether or not to build shared libraries.
13579 build_libtool_libs=$enable_shared
13581 # Whether or not to build static libraries.
13582 build_old_libs=$enable_static
13584 # What type of objects to build.
13587 # Whether or not to optimize for fast installation.
13588 fast_install=$enable_fast_install
13590 # Shell to use when invoking shell scripts.
13593 # An echo program that protects backslashes.
13596 # The PATH separator for the build system.
13597 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13600 host_alias=$host_alias
13604 # The build system.
13605 build_alias=$build_alias
13609 # A sed program that does not truncate output.
13612 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13613 Xsed="\$SED -e 1s/^X//"
13615 # A grep program that handles long lines.
13621 # A literal string matcher.
13624 # A BSD- or MS-compatible name lister.
13627 # Whether we need soft or hard links.
13630 # What is the maximum length of a command?
13631 max_cmd_len=$max_cmd_len
13633 # Object file suffix (normally "o").
13636 # Executable file suffix (normally "").
13639 # whether the shell understands "unset".
13642 # turn spaces into newlines.
13645 # turn newlines into spaces.
13648 # convert \$build file names to \$host format.
13649 to_host_file_cmd=$lt_cv_to_host_file_cmd
13651 # convert \$build files to toolchain format.
13652 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13654 # An object symbol dumper.
13655 OBJDUMP=$lt_OBJDUMP
13657 # Method to check whether dependent libraries are shared objects.
13658 deplibs_check_method=$lt_deplibs_check_method
13660 # Command to use when deplibs_check_method = "file_magic".
13661 file_magic_cmd=$lt_file_magic_cmd
13663 # How to find potential files when deplibs_check_method = "file_magic".
13664 file_magic_glob=$lt_file_magic_glob
13666 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13667 want_nocaseglob=$lt_want_nocaseglob
13669 # DLL creation program.
13670 DLLTOOL=$lt_DLLTOOL
13672 # Command to associate shared and link libraries.
13673 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13678 # Flags to create an archive.
13679 AR_FLAGS=$lt_AR_FLAGS
13681 # How to feed a file listing to the archiver.
13682 archiver_list_spec=$lt_archiver_list_spec
13684 # A symbol stripping program.
13687 # Commands used to install an old-style archive.
13689 old_postinstall_cmds=$lt_old_postinstall_cmds
13690 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13692 # Whether to use a lock for old archive extraction.
13693 lock_old_archive_extraction=$lock_old_archive_extraction
13698 # LTCC compiler flags.
13699 LTCFLAGS=$lt_CFLAGS
13701 # Take the output of nm and produce a listing of raw symbols and C names.
13702 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13704 # Transform the output of nm in a proper C declaration.
13705 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13707 # Transform the output of nm in a C name address pair.
13708 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13710 # Transform the output of nm in a C name address pair when lib prefix is needed.
13711 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13713 # Specify filename containing input files for \$NM.
13714 nm_file_list_spec=$lt_nm_file_list_spec
13716 # The root where to search for dependent libraries,and in which our libraries should be installed.
13717 lt_sysroot=$lt_sysroot
13719 # The name of the directory that contains temporary libtool files.
13722 # Used to examine libraries when file_magic_cmd begins with "file".
13723 MAGIC_CMD=$MAGIC_CMD
13725 # Must we lock files when doing compilation?
13726 need_locks=$lt_need_locks
13729 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13731 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13732 DSYMUTIL=$lt_DSYMUTIL
13734 # Tool to change global to local symbols on Mac OS X.
13737 # Tool to manipulate fat objects and archives on Mac OS X.
13740 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13743 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13744 OTOOL64=$lt_OTOOL64
13746 # Old archive suffix (normally "a").
13749 # Shared library suffix (normally ".so").
13750 shrext_cmds=$lt_shrext_cmds
13752 # The commands to extract the exported symbol list from a shared archive.
13753 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13755 # Variables whose values should be saved in libtool wrapper scripts and
13756 # restored at link time.
13757 variables_saved_for_relink=$lt_variables_saved_for_relink
13759 # Do we need the "lib" prefix for modules?
13760 need_lib_prefix=$need_lib_prefix
13762 # Do we need a version for libraries?
13763 need_version=$need_version
13765 # Library versioning type.
13766 version_type=$version_type
13768 # Shared library runtime path variable.
13769 runpath_var=$runpath_var
13771 # Shared library path variable.
13772 shlibpath_var=$shlibpath_var
13774 # Is shlibpath searched before the hard-coded library search path?
13775 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13777 # Format of library name prefix.
13778 libname_spec=$lt_libname_spec
13780 # List of archive names. First name is the real one, the rest are links.
13781 # The last name is the one that the linker finds with -lNAME
13782 library_names_spec=$lt_library_names_spec
13784 # The coded name of the library, if different from the real name.
13785 soname_spec=$lt_soname_spec
13787 # Permission mode override for installation of shared libraries.
13788 install_override_mode=$lt_install_override_mode
13790 # Command to use after installation of a shared archive.
13791 postinstall_cmds=$lt_postinstall_cmds
13793 # Command to use after uninstallation of a shared archive.
13794 postuninstall_cmds=$lt_postuninstall_cmds
13796 # Commands used to finish a libtool library installation in a directory.
13797 finish_cmds=$lt_finish_cmds
13799 # As "finish_cmds", except a single script fragment to be evaled but
13801 finish_eval=$lt_finish_eval
13803 # Whether we should hardcode library paths into libraries.
13804 hardcode_into_libs=$hardcode_into_libs
13806 # Compile-time system search path for libraries.
13807 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13809 # Run-time system search path for libraries.
13810 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13812 # Whether dlopen is supported.
13813 dlopen_support=$enable_dlopen
13815 # Whether dlopen of programs is supported.
13816 dlopen_self=$enable_dlopen_self
13818 # Whether dlopen of statically linked programs is supported.
13819 dlopen_self_static=$enable_dlopen_self_static
13821 # Commands to strip libraries.
13822 old_striplib=$lt_old_striplib
13823 striplib=$lt_striplib
13826 # The linker used to build libraries.
13829 # How to create reloadable object files.
13830 reload_flag=$lt_reload_flag
13831 reload_cmds=$lt_reload_cmds
13833 # Commands used to build an old-style archive.
13834 old_archive_cmds=$lt_old_archive_cmds
13836 # A language specific compiler.
13839 # Is the compiler the GNU compiler?
13842 # Compiler flag to turn off builtin functions.
13843 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13845 # Additional compiler flags for building library objects.
13846 pic_flag=$lt_lt_prog_compiler_pic
13848 # How to pass a linker flag through the compiler.
13849 wl=$lt_lt_prog_compiler_wl
13851 # Compiler flag to prevent dynamic linking.
13852 link_static_flag=$lt_lt_prog_compiler_static
13854 # Does compiler simultaneously support -c and -o options?
13855 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13857 # Whether or not to add -lc for building shared libraries.
13858 build_libtool_need_lc=$archive_cmds_need_lc
13860 # Whether or not to disallow shared libs when runtime libs are static.
13861 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13863 # Compiler flag to allow reflexive dlopens.
13864 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13866 # Compiler flag to generate shared objects directly from archives.
13867 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13869 # Whether the compiler copes with passing no objects directly.
13870 compiler_needs_object=$lt_compiler_needs_object
13872 # Create an old-style archive from a shared archive.
13873 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13875 # Create a temporary old-style archive to link instead of a shared archive.
13876 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13878 # Commands used to build a shared archive.
13879 archive_cmds=$lt_archive_cmds
13880 archive_expsym_cmds=$lt_archive_expsym_cmds
13882 # Commands used to build a loadable module if different from building
13883 # a shared archive.
13884 module_cmds=$lt_module_cmds
13885 module_expsym_cmds=$lt_module_expsym_cmds
13887 # Whether we are building with GNU ld or not.
13888 with_gnu_ld=$lt_with_gnu_ld
13890 # Flag that allows shared libraries with undefined symbols to be built.
13891 allow_undefined_flag=$lt_allow_undefined_flag
13893 # Flag that enforces no undefined symbols.
13894 no_undefined_flag=$lt_no_undefined_flag
13896 # Flag to hardcode \$libdir into a binary during linking.
13897 # This must work even if \$libdir does not exist
13898 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13900 # Whether we need a single "-rpath" flag with a separated argument.
13901 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13903 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13904 # DIR into the resulting binary.
13905 hardcode_direct=$hardcode_direct
13907 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13908 # DIR into the resulting binary and the resulting library dependency is
13909 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13910 # library is relocated.
13911 hardcode_direct_absolute=$hardcode_direct_absolute
13913 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13914 # into the resulting binary.
13915 hardcode_minus_L=$hardcode_minus_L
13917 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13918 # into the resulting binary.
13919 hardcode_shlibpath_var=$hardcode_shlibpath_var
13921 # Set to "yes" if building a shared library automatically hardcodes DIR
13922 # into the library and all subsequent libraries and executables linked
13924 hardcode_automatic=$hardcode_automatic
13926 # Set to yes if linker adds runtime paths of dependent libraries
13927 # to runtime path list.
13928 inherit_rpath=$inherit_rpath
13930 # Whether libtool must link a program against all its dependency libraries.
13931 link_all_deplibs=$link_all_deplibs
13933 # Set to "yes" if exported symbols are required.
13934 always_export_symbols=$always_export_symbols
13936 # The commands to list exported symbols.
13937 export_symbols_cmds=$lt_export_symbols_cmds
13939 # Symbols that should not be listed in the preloaded symbols.
13940 exclude_expsyms=$lt_exclude_expsyms
13942 # Symbols that must always be exported.
13943 include_expsyms=$lt_include_expsyms
13945 # Commands necessary for linking programs (against libraries) with templates.
13946 prelink_cmds=$lt_prelink_cmds
13948 # Commands necessary for finishing linking programs.
13949 postlink_cmds=$lt_postlink_cmds
13951 # Specify filename containing input files.
13952 file_list_spec=$lt_file_list_spec
13954 # How to hardcode a shared library path into an executable.
13955 hardcode_action=$hardcode_action
13957 # ### END LIBTOOL CONFIG
13963 cat <<\_LT_EOF
>> "$cfgfile"
13964 # AIX sometimes has problems with the GCC collect2 program. For some
13965 # reason, if we set the COLLECT_NAMES environment variable, the problems
13966 # vanish in a puff of smoke.
13967 if test "X${COLLECT_NAMES+set}" != Xset
; then
13969 export COLLECT_NAMES
13976 ltmain
="$ac_aux_dir/ltmain.sh"
13979 # We use sed instead of cat because bash on DJGPP gets confused if
13980 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13981 # text mode, it properly converts lines to CR/LF. This bash problem
13982 # is reportedly fixed, but why not run on old versions too?
13983 sed '$q' "$ltmain" >> "$cfgfile" \
13984 ||
(rm -f "$cfgfile"; exit 1)
13986 if test x
"$xsi_shell" = xyes
; then
13987 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13991 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13992 \ * ) func_dirname_result="${3}" ;;\
13994 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13995 && mv -f "$cfgfile.tmp" "$cfgfile" \
13996 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13997 test 0 -eq $? || _lt_function_replace_fail
=:
14000 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14003 \ func_basename_result="${1##*/}"\
14004 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14005 && mv -f "$cfgfile.tmp" "$cfgfile" \
14006 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14007 test 0 -eq $? || _lt_function_replace_fail
=:
14010 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14011 func_dirname_and_basename ()\
14014 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14015 \ * ) func_dirname_result="${3}" ;;\
14017 \ func_basename_result="${1##*/}"\
14018 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14019 && mv -f "$cfgfile.tmp" "$cfgfile" \
14020 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14021 test 0 -eq $? || _lt_function_replace_fail
=:
14024 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14027 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14028 \ # positional parameters, so assign one to ordinary parameter first.\
14029 \ func_stripname_result=${3}\
14030 \ func_stripname_result=${func_stripname_result#"${1}"}\
14031 \ func_stripname_result=${func_stripname_result%"${2}"}\
14032 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14033 && mv -f "$cfgfile.tmp" "$cfgfile" \
14034 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14035 test 0 -eq $? || _lt_function_replace_fail
=:
14038 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14039 func_split_long_opt ()\
14041 \ func_split_long_opt_name=${1%%=*}\
14042 \ func_split_long_opt_arg=${1#*=}\
14043 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14044 && mv -f "$cfgfile.tmp" "$cfgfile" \
14045 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14046 test 0 -eq $? || _lt_function_replace_fail
=:
14049 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14050 func_split_short_opt ()\
14052 \ func_split_short_opt_arg=${1#??}\
14053 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14054 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14055 && mv -f "$cfgfile.tmp" "$cfgfile" \
14056 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14057 test 0 -eq $? || _lt_function_replace_fail
=:
14060 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14064 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14065 \ *) func_lo2o_result=${1} ;;\
14067 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14068 && mv -f "$cfgfile.tmp" "$cfgfile" \
14069 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14070 test 0 -eq $? || _lt_function_replace_fail
=:
14073 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14076 func_xform_result=${1%.*}.lo\
14077 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14078 && mv -f "$cfgfile.tmp" "$cfgfile" \
14079 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14080 test 0 -eq $? || _lt_function_replace_fail
=:
14083 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14086 func_arith_result=$(( $* ))\
14087 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14088 && mv -f "$cfgfile.tmp" "$cfgfile" \
14089 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14090 test 0 -eq $? || _lt_function_replace_fail
=:
14093 sed -e '/^func_len ()$/,/^} # func_len /c\
14096 func_len_result=${#1}\
14097 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14098 && mv -f "$cfgfile.tmp" "$cfgfile" \
14099 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14100 test 0 -eq $? || _lt_function_replace_fail
=:
14104 if test x
"$lt_shell_append" = xyes
; then
14105 sed -e '/^func_append ()$/,/^} # func_append /c\
14108 eval "${1}+=\\${2}"\
14109 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14110 && mv -f "$cfgfile.tmp" "$cfgfile" \
14111 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14112 test 0 -eq $? || _lt_function_replace_fail
=:
14115 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14116 func_append_quoted ()\
14118 \ func_quote_for_eval "${2}"\
14119 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14120 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14121 && mv -f "$cfgfile.tmp" "$cfgfile" \
14122 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14123 test 0 -eq $? || _lt_function_replace_fail
=:
14126 # Save a `func_append' function call where possible by direct use of '+='
14127 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14128 && mv -f "$cfgfile.tmp" "$cfgfile" \
14129 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14130 test 0 -eq $? || _lt_function_replace_fail
=:
14132 # Save a `func_append' function call even when '+=' is not available
14133 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14134 && mv -f "$cfgfile.tmp" "$cfgfile" \
14135 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14136 test 0 -eq $? || _lt_function_replace_fail
=:
14139 if test x
"$_lt_function_replace_fail" = x
":"; then
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14141 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14145 mv -f "$cfgfile" "$ofile" ||
14146 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14157 ac_clean_files
=$ac_clean_files_save
14159 test $ac_write_fail = 0 ||
14160 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14163 # configure is writing to config.log, and then calls config.status.
14164 # config.status does its own redirection, appending to config.log.
14165 # Unfortunately, on DOS this fails, as config.log is still kept open
14166 # by configure, so config.status won't be able to write to it; its
14167 # output is simply discarded. So we exec the FD to /dev/null,
14168 # effectively closing config.log, so it can be properly (re)opened and
14169 # appended to by config.status. When coming back to configure, we
14170 # need to make the FD available again.
14171 if test "$no_create" != yes; then
14173 ac_config_status_args
=
14174 test "$silent" = yes &&
14175 ac_config_status_args
="$ac_config_status_args --quiet"
14177 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14179 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14180 # would make configure fail if this is the last instruction.
14181 $ac_cs_success || as_fn_exit
1
14183 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14185 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}