2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for liblock 0.60.
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
='liblock'
592 PACKAGE_TARNAME
='liblock'
593 PACKAGE_VERSION
='0.60'
594 PACKAGE_STRING
='liblock 0.60'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="liblock.h"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
706 INSTALL_STRIP_PROGRAM
748 program_transform_name
761 enable_option_checking
763 enable_dependency_tracking
774 ac_precious_vars
='build_alias
785 # Initialize some variables set by options.
787 ac_init_version
=false
788 ac_unrecognized_opts
=
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
799 program_transform_name
=s
,x
,x
,
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir
='${exec_prefix}/bin'
814 sbindir
='${exec_prefix}/sbin'
815 libexecdir
='${exec_prefix}/libexec'
816 datarootdir
='${prefix}/share'
817 datadir
='${datarootdir}'
818 sysconfdir
='${prefix}/etc'
819 sharedstatedir
='${prefix}/com'
820 localstatedir
='${prefix}/var'
821 includedir
='${prefix}/include'
822 oldincludedir
='/usr/include'
823 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir
='${datarootdir}/info'
829 libdir
='${exec_prefix}/lib'
830 localedir
='${datarootdir}/locale'
831 mandir
='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\
$ac_option
845 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 # Accept the important Cygnus configure options, so we can diagnose typos.
852 case $ac_dashdash$ac_option in
856 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
858 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
861 -build |
--build |
--buil |
--bui |
--bu)
862 ac_prev
=build_alias
;;
863 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
864 build_alias
=$ac_optarg ;;
866 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
867 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
868 ac_prev
=cache_file
;;
869 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
870 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
871 cache_file
=$ac_optarg ;;
874 cache_file
=config.cache
;;
876 -datadir |
--datadir |
--datadi |
--datad)
878 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
879 datadir
=$ac_optarg ;;
881 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
882 |
--dataroo |
--dataro |
--datar)
883 ac_prev
=datarootdir
;;
884 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
885 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
886 datarootdir
=$ac_optarg ;;
888 -disable-* |
--disable-*)
889 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
892 as_fn_error $?
"invalid feature name: $ac_useropt"
893 ac_useropt_orig
=$ac_useropt
894 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900 ac_unrecognized_sep
=', ';;
902 eval enable_
$ac_useropt=no
;;
904 -docdir |
--docdir |
--docdi |
--doc |
--do)
906 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
909 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
911 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
914 -enable-* |
--enable-*)
915 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
918 as_fn_error $?
"invalid feature name: $ac_useropt"
919 ac_useropt_orig
=$ac_useropt
920 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926 ac_unrecognized_sep
=', ';;
928 eval enable_
$ac_useropt=\
$ac_optarg ;;
930 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
931 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
932 |
--exec |
--exe |
--ex)
933 ac_prev
=exec_prefix
;;
934 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
935 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
936 |
--exec=* |
--exe=* |
--ex=*)
937 exec_prefix
=$ac_optarg ;;
939 -gas |
--gas |
--ga |
--g)
940 # Obsolete; use --with-gas.
943 -help |
--help |
--hel |
--he |
-h)
945 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
946 ac_init_help
=recursive
;;
947 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
948 ac_init_help
=short
;;
950 -host |
--host |
--hos |
--ho)
951 ac_prev
=host_alias
;;
952 -host=* |
--host=* |
--hos=* |
--ho=*)
953 host_alias
=$ac_optarg ;;
955 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
957 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
959 htmldir
=$ac_optarg ;;
961 -includedir |
--includedir |
--includedi |
--included |
--include \
962 |
--includ |
--inclu |
--incl |
--inc)
963 ac_prev
=includedir
;;
964 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
965 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
966 includedir
=$ac_optarg ;;
968 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
970 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
971 infodir
=$ac_optarg ;;
973 -libdir |
--libdir |
--libdi |
--libd)
975 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
978 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
979 |
--libexe |
--libex |
--libe)
980 ac_prev
=libexecdir
;;
981 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
982 |
--libexe=* |
--libex=* |
--libe=*)
983 libexecdir
=$ac_optarg ;;
985 -localedir |
--localedir |
--localedi |
--localed |
--locale)
987 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
988 localedir
=$ac_optarg ;;
990 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
991 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
992 ac_prev
=localstatedir
;;
993 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
994 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
995 localstatedir
=$ac_optarg ;;
997 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
999 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 mandir
=$ac_optarg ;;
1002 -nfp |
--nfp |
--nf)
1003 # Obsolete; use --without-fp.
1006 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1007 |
--no-cr |
--no-c |
-n)
1010 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1011 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1014 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1015 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1016 |
--oldin |
--oldi |
--old |
--ol |
--o)
1017 ac_prev
=oldincludedir
;;
1018 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1019 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1020 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1021 oldincludedir
=$ac_optarg ;;
1023 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1025 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1026 prefix
=$ac_optarg ;;
1028 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1029 |
--program-pre |
--program-pr |
--program-p)
1030 ac_prev
=program_prefix
;;
1031 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1032 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1033 program_prefix
=$ac_optarg ;;
1035 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1036 |
--program-suf |
--program-su |
--program-s)
1037 ac_prev
=program_suffix
;;
1038 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1039 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1040 program_suffix
=$ac_optarg ;;
1042 -program-transform-name |
--program-transform-name \
1043 |
--program-transform-nam |
--program-transform-na \
1044 |
--program-transform-n |
--program-transform- \
1045 |
--program-transform |
--program-transfor \
1046 |
--program-transfo |
--program-transf \
1047 |
--program-trans |
--program-tran \
1048 |
--progr-tra |
--program-tr |
--program-t)
1049 ac_prev
=program_transform_name
;;
1050 -program-transform-name=* |
--program-transform-name=* \
1051 |
--program-transform-nam=* |
--program-transform-na=* \
1052 |
--program-transform-n=* |
--program-transform-=* \
1053 |
--program-transform=* |
--program-transfor=* \
1054 |
--program-transfo=* |
--program-transf=* \
1055 |
--program-trans=* |
--program-tran=* \
1056 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1057 program_transform_name
=$ac_optarg ;;
1059 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1061 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1062 pdfdir
=$ac_optarg ;;
1064 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1066 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1070 |
-silent |
--silent |
--silen |
--sile |
--sil)
1073 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1075 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1077 sbindir
=$ac_optarg ;;
1079 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1080 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1081 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1083 ac_prev
=sharedstatedir
;;
1084 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1085 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1086 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1088 sharedstatedir
=$ac_optarg ;;
1090 -site |
--site |
--sit)
1092 -site=* |
--site=* |
--sit=*)
1095 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1097 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1098 srcdir
=$ac_optarg ;;
1100 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1101 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1102 ac_prev
=sysconfdir
;;
1103 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1104 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1105 sysconfdir
=$ac_optarg ;;
1107 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1108 ac_prev
=target_alias
;;
1109 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1110 target_alias
=$ac_optarg ;;
1112 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1115 -version |
--version |
--versio |
--versi |
--vers |
-V)
1116 ac_init_version
=: ;;
1119 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 as_fn_error $?
"invalid package name: $ac_useropt"
1123 ac_useropt_orig
=$ac_useropt
1124 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 ac_unrecognized_sep
=', ';;
1132 eval with_
$ac_useropt=\
$ac_optarg ;;
1134 -without-* |
--without-*)
1135 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 as_fn_error $?
"invalid package name: $ac_useropt"
1139 ac_useropt_orig
=$ac_useropt
1140 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146 ac_unrecognized_sep
=', ';;
1148 eval with_
$ac_useropt=no
;;
1151 # Obsolete; use --with-x.
1154 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1155 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1156 ac_prev
=x_includes
;;
1157 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1158 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1159 x_includes
=$ac_optarg ;;
1161 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1162 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1163 ac_prev
=x_libraries
;;
1164 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1165 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1166 x_libraries
=$ac_optarg ;;
1168 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1169 Try \`$0 --help' for more information"
1173 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1174 # Reject names that are not valid shell variable names.
1175 case $ac_envvar in #(
1176 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1177 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1179 eval $ac_envvar=\
$ac_optarg
1180 export $ac_envvar ;;
1183 # FIXME: should be removed in autoconf 3.0.
1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 if test -n "$ac_prev"; then
1194 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1195 as_fn_error $?
"missing argument to $ac_option"
1198 if test -n "$ac_unrecognized_opts"; then
1199 case $enable_option_checking in
1201 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 # Check all directory arguments for consistency.
1207 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208 datadir sysconfdir sharedstatedir localstatedir includedir \
1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210 libdir localedir mandir
1212 eval ac_val
=\$
$ac_var
1213 # Remove trailing slashes.
1216 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217 eval $ac_var=\
$ac_val;;
1219 # Be sure to have absolute directory names.
1221 [\\/$
]* | ?
:[\\/]* ) continue;;
1222 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1224 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1227 # There might be people who depend on the old broken behavior: `$host'
1228 # used to hold the argument of --host etc.
1229 # FIXME: To remove some day.
1232 target
=$target_alias
1234 # FIXME: To remove some day.
1235 if test "x$host_alias" != x
; then
1236 if test "x$build_alias" = x
; then
1237 cross_compiling
=maybe
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1246 test "$silent" = yes && exec 6>/dev
/null
1249 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di
=`ls -di .` &&
1251 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $?
"working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $?
"pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted
=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir
=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted
=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1293 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var
in $ac_precious_vars; do
1310 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1312 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures liblock 0.60 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/liblock]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1386 --build=BUILD configure
for building on BUILD
[guessed
]
1387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 if test -n "$ac_init_help"; then
1392 case $ac_init_help in
1393 short | recursive
) echo "Configuration of liblock 0.60:";;
1398 --disable-option-checking ignore unrecognized
--enable/--with options
1399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1401 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1402 --disable-silent-rules verbose build output
(undo
: "make V=0")
1403 --enable-dependency-tracking
1404 do not reject slow dependency extractors
1405 --disable-dependency-tracking
1406 speeds up one-time build
1407 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1408 --enable-static[=PKGS
] build static libraries
[default
=yes]
1409 --enable-fast-install[=PKGS
]
1410 optimize
for fast installation
[default
=yes]
1411 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1412 --disable-largefile omit support
for large files
1415 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1416 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1417 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1419 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1420 --with-sysroot=DIR Search
for dependent libraries within DIR
1421 (or the compiler
's sysroot if not specified).
1424 Some influential environment variables:
1425 CC C compiler command
1426 CFLAGS C compiler flags
1427 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1428 nonstandard directory <lib dir>
1429 LIBS libraries to pass to the linker, e.g. -l<library>
1430 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1431 you have headers in a nonstandard directory <include dir>
1434 Use these variables to override the choices made by `configure' or to
help
1435 it to
find libraries and programs with nonstandard names
/locations.
1437 Report bugs to
<courier-users@lists.sourceforge.net
>.
1442 if test "$ac_init_help" = "recursive"; then
1443 # If there are subdirs, report their specific --help.
1444 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1445 test -d "$ac_dir" ||
1446 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1451 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1453 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1454 # A ".." for each directory in $ac_dir_suffix.
1455 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1456 case $ac_top_builddir_sub in
1457 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1458 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1461 ac_abs_top_builddir
=$ac_pwd
1462 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1463 # for backward compatibility:
1464 ac_top_builddir
=$ac_top_build_prefix
1467 .
) # We are building in place.
1469 ac_top_srcdir
=$ac_top_builddir_sub
1470 ac_abs_top_srcdir
=$ac_pwd ;;
1471 [\\/]* | ?
:[\\/]* ) # Absolute name.
1472 ac_srcdir
=$srcdir$ac_dir_suffix;
1473 ac_top_srcdir
=$srcdir
1474 ac_abs_top_srcdir
=$srcdir ;;
1476 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1477 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1478 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1480 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1482 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1483 # Check for guested configure.
1484 if test -f "$ac_srcdir/configure.gnu"; then
1486 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1487 elif test -f "$ac_srcdir/configure"; then
1489 $SHELL "$ac_srcdir/configure" --help=recursive
1491 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1497 test -n "$ac_init_help" && exit $ac_status
1498 if $ac_init_version; then
1500 liblock configure
0.60
1501 generated by GNU Autoconf
2.69
1503 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1504 This configure
script is free software
; the Free Software Foundation
1505 gives unlimited permission to copy
, distribute and modify it.
1510 ## ------------------------ ##
1511 ## Autoconf initialization. ##
1512 ## ------------------------ ##
1514 # ac_fn_c_try_compile LINENO
1515 # --------------------------
1516 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1517 ac_fn_c_try_compile
()
1519 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1520 rm -f conftest.
$ac_objext
1521 if { { ac_try
="$ac_compile"
1523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1524 *) ac_try_echo=$ac_try;;
1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527 $as_echo "$ac_try_echo"; } >&5
1528 (eval "$ac_compile") 2>conftest.err
1530 if test -s conftest.err; then
1531 grep -v '^ *+' conftest.err >conftest.er1
1532 cat conftest.er1 >&5
1533 mv -f conftest.er1 conftest.err
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test $ac_status = 0; } && {
1537 test -z "$ac_c_werror_flag" ||
1538 test ! -s conftest.err
1539 } && test -s conftest.$ac_objext; then :
1542 $as_echo "$as_me: failed program was:" >&5
1543 sed 's/^/| /' conftest.$ac_ext >&5
1547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548 as_fn_set_status $ac_retval
1550 } # ac_fn_c_try_compile
1552 # ac_fn_c_try_link LINENO
1553 # -----------------------
1554 # Try to link conftest.$ac_ext, and return whether this succeeded.
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 rm -f conftest.$ac_objext conftest$ac_exeext
1559 if { { ac_try="$ac_link"
1561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1562 *) ac_try_echo
=$ac_try;;
1564 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_link") 2>conftest.err
1568 if test -s conftest.err
; then
1569 grep -v '^ *+' conftest.err
>conftest.er1
1570 cat conftest.er1
>&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && {
1575 test -z "$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1577 } && test -s conftest
$ac_exeext && {
1578 test "$cross_compiling" = yes ||
1579 test -x conftest
$ac_exeext
1583 $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.
$ac_ext >&5
1588 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1589 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1590 # interfere with the next link command; also delete a directory that is
1591 # left behind by Apple's compiler. We do this before executing the actions.
1592 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 as_fn_set_status
$ac_retval
1596 } # ac_fn_c_try_link
1598 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1599 # -------------------------------------------------------
1600 # Tests whether HEADER exists and can be compiled using the include files in
1601 # INCLUDES, setting the cache variable VAR accordingly.
1602 ac_fn_c_check_header_compile
()
1604 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if eval \
${$3+:} false
; then :
1608 $as_echo_n "(cached) " >&6
1610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1615 if ac_fn_c_try_compile
"$LINENO"; then :
1620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1624 $as_echo "$ac_res" >&6; }
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 } # ac_fn_c_check_header_compile
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } > conftest.i && {
1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1666 # ac_fn_c_try_run LINENO
1667 # ----------------------
1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1669 # that executables *can* be run.
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if { { ac_try="$ac_link"
1675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1676 *) ac_try_echo
=$ac_try;;
1678 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_link") 2>&5
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1684 { { case "(($ac_try" in
1685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_try") 2>&5
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; }; }; then :
1696 $as_echo "$as_me: program exited with status $ac_status" >&5
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1700 ac_retval=$ac_status
1702 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 as_fn_set_status $ac_retval
1708 # ac_fn_c_check_func LINENO FUNC VAR
1709 # ----------------------------------
1710 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1711 ac_fn_c_check_func ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717 $as_echo_n "(cached) " >&6
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1721 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1723 #define $2 innocuous_$2
1725 /* System header to define __stub macros and hopefully few prototypes,
1726 which can conflict with char $2 (); below.
1727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1728 <limits.h> exists even on freestanding compilers. */
1731 # include <limits.h>
1733 # include <assert.h>
1738 /* Override any GCC internal prototype to avoid an error.
1739 Use char because int might match the return type of a GCC
1740 builtin and then its argument prototype would still apply. */
1745 /* The GNU C library defines this for functions which it implements
1746 to always fail with ENOSYS. Some functions are actually named
1747 something starting with __ and the normal name is an alias. */
1748 #if defined __stub_$2 || defined __stub___$2
1760 if ac_fn_c_try_link "$LINENO"; then :
1765 rm -f core conftest.err conftest.$ac_objext \
1766 conftest$ac_exeext conftest.$ac_ext
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 } # ac_fn_c_check_func
1775 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1778 # the include files in INCLUDES and setting the cache variable VAR
1780 ac_fn_c_check_header_mongrel ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 if eval \${$3+:} false; then :
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1793 # Is the header compilable?
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1795 $as_echo_n "checking $2 usability... " >&6; }
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802 ac_header_compiler=yes
1804 ac_header_compiler=no
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1808 $as_echo "$ac_header_compiler" >&6; }
1810 # Is the header present?
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1812 $as_echo_n "checking $2 presence... " >&6; }
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1817 if ac_fn_c_try_cpp "$LINENO"; then :
1818 ac_header_preproc=yes
1820 ac_header_preproc=no
1822 rm -f conftest.err conftest.i conftest.$ac_ext
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1824 $as_echo "$ac_header_preproc" >&6; }
1826 # So? What about this header?
1827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1830 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1832 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1836 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1838 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1840 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1842 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1844 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1845 ( $as_echo "## -------------------------------------------------- ##
1846 ## Report this to courier-users@lists.sourceforge.net ##
1847 ## -------------------------------------------------- ##"
1848 ) | sed "s/^/$as_me: WARNING: /" >&2
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6
1856 eval "$3=\$ac_header_compiler"
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 } # ac_fn_c_check_header_mongrel
1866 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1867 # -------------------------------------------
1868 # Tests whether TYPE exists after having included INCLUDES, setting cache
1869 # variable VAR accordingly.
1870 ac_fn_c_check_type ()
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval \${$3+:} false; then :
1876 $as_echo_n "(cached) " >&6
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1904 if ac_fn_c_try_compile "$LINENO"; then :
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 $as_echo "$ac_res" >&6; }
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 } # ac_fn_c_check_type
1919 cat >config.log <<_ACEOF
1920 This file contains any messages produced by compilers while
1921 running configure, to aid debugging if configure makes a mistake.
1923 It was created by liblock $as_me 0.60, which was
1924 generated by GNU Autoconf 2.69. Invocation command line was
1936 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1937 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1938 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1939 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1940 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1942 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1943 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1945 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1946 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1947 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1948 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1949 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1950 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1951 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir=.
1960 $as_echo "PATH: $as_dir"
1976 # Keep a trace of the command line.
1977 # Strip out --no-create and --no-recursion so they do not pile up.
1978 # Strip out --silent because we don't want to record it for future runs.
1979 # Also quote any args containing shell meta-characters.
1980 # Make two passes to allow for proper duplicate-argument suppression.
1984 ac_must_keep_next=false
1990 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1992 | -silent | --silent | --silen | --sile | --sil)
1995 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1998 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2000 as_fn_append ac_configure_args1 " '$ac_arg'"
2001 if test $ac_must_keep_next = true; then
2002 ac_must_keep_next=false # Got value, back to normal.
2005 *=* | --config-cache | -C | -disable-* | --disable-* \
2006 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2007 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2008 | -with-* | --with-* | -without-* | --without-* | --x)
2009 case "$ac_configure_args0 " in
2010 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2013 -* ) ac_must_keep_next=true ;;
2016 as_fn_append ac_configure_args " '$ac_arg'"
2021 { ac_configure_args0=; unset ac_configure_args0;}
2022 { ac_configure_args1=; unset ac_configure_args1;}
2024 # When interrupted or exit'd, cleanup temporary files, and complete
2025 # config.log. We remove comments because anyway the quotes in there
2026 # would cause problems or look ugly.
2027 # WARNING: Use '\'' to represent an apostrophe within the trap.
2028 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2029 trap 'exit_status=$?
2030 # Save into config.log some information that might help in debugging.
2034 $as_echo "## ---------------- ##
2035 ## Cache variables. ##
2036 ## ---------------- ##"
2038 # The following way of writing the cache mishandles newlines in values,
2040 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2041 eval ac_val=\$$ac_var
2045 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2049 _ | IFS | as_nl) ;; #(
2050 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2051 *) { eval $ac_var=; unset $ac_var;} ;;
2056 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2057 *${as_nl}ac_space=\ *)
2059 "s/'\''/'\''\\\\'\'''\''/g;
2060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2063 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2070 $as_echo "## ----------------- ##
2071 ## Output variables. ##
2072 ## ----------------- ##"
2074 for ac_var in $ac_subst_vars
2076 eval ac_val=\$$ac_var
2078 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2080 $as_echo "$ac_var='\''$ac_val'\''"
2084 if test -n "$ac_subst_files"; then
2085 $as_echo "## ------------------- ##
2086 ## File substitutions. ##
2087 ## ------------------- ##"
2089 for ac_var in $ac_subst_files
2091 eval ac_val=\$$ac_var
2093 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2095 $as_echo "$ac_var='\''$ac_val'\''"
2100 if test -s confdefs.h; then
2101 $as_echo "## ----------- ##
2108 test "$ac_signal" != 0 &&
2109 $as_echo "$as_me: caught signal $ac_signal"
2110 $as_echo "$as_me: exit $exit_status"
2112 rm -f core *.core core.conftest.* &&
2113 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2116 for ac_signal in 1 2 13 15; do
2117 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2121 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2122 rm -f -r conftest* confdefs.h
2124 $as_echo "/* confdefs.h */" > confdefs.h
2126 # Predefined preprocessor variables.
2128 cat >>confdefs.h <<_ACEOF
2129 #define PACKAGE_NAME "$PACKAGE_NAME"
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_STRING "$PACKAGE_STRING"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_URL "$PACKAGE_URL"
2153 # Let the site file select an alternate cache file if it wants to.
2154 # Prefer an explicitly selected file to automatically selected ones.
2157 if test -n "$CONFIG_SITE"; then
2158 # We do not want a PATH search for config.site.
2159 case $CONFIG_SITE in #((
2160 -*) ac_site_file1=./$CONFIG_SITE;;
2161 */*) ac_site_file1=$CONFIG_SITE;;
2162 *) ac_site_file1=./$CONFIG_SITE;;
2164 elif test "x$prefix" != xNONE; then
2165 ac_site_file1=$prefix/share/config.site
2166 ac_site_file2=$prefix/etc/config.site
2168 ac_site_file1=$ac_default_prefix/share/config.site
2169 ac_site_file2=$ac_default_prefix/etc/config.site
2171 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2173 test "x$ac_site_file" = xNONE && continue
2174 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2176 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2177 sed 's/^/| /' "$ac_site_file" >&5
2179 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2181 as_fn_error $? "failed to load site
script $ac_site_file
2182 See \
`config.log' for more details" "$LINENO" 5; }
2186 if test -r "$cache_file"; then
2187 # Some versions of bash will fail to source /dev/null (special files
2188 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2189 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2191 $as_echo "$as_me: loading cache $cache_file" >&6;}
2193 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2194 *) . "./$cache_file";;
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2199 $as_echo "$as_me: creating cache $cache_file" >&6;}
2203 # Check that the precious variables saved in the cache have kept the same
2205 ac_cache_corrupted=false
2206 for ac_var in $ac_precious_vars; do
2207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2208 eval ac_new_set=\$ac_env_${ac_var}_set
2209 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2210 eval ac_new_val=\$ac_env_${ac_var}_value
2211 case $ac_old_set,$ac_new_set in
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2214 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2215 ac_cache_corrupted=: ;;
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2218 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2219 ac_cache_corrupted=: ;;
2222 if test "x$ac_old_val" != "x$ac_new_val"; then
2223 # differences in whitespace do not lead to failure.
2224 ac_old_val_w=`echo x
$ac_old_val`
2225 ac_new_val_w=`echo x
$ac_new_val`
2226 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2228 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2229 ac_cache_corrupted=:
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2232 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2233 eval $ac_var=\$ac_old_val
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2236 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2238 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2241 # Pass precious variables to config.status.
2242 if test "$ac_new_set" = set; then
2244 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2245 *) ac_arg=$ac_var=$ac_new_val ;;
2247 case " $ac_configure_args " in
2248 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2249 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2253 if $ac_cache_corrupted; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2257 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2258 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2260 ## -------------------- ##
2261 ## Main body of script. ##
2262 ## -------------------- ##
2265 ac_cpp='$CPP $CPPFLAGS'
2266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2272 >confdefs.h # Kill PACKAGE_ macros
2276 for ac_dir in ../.. "$srcdir"/../..; do
2277 if test -f "$ac_dir/install-sh"; then
2279 ac_install_sh="$ac_aux_dir/install-sh -c"
2281 elif test -f "$ac_dir/install.sh"; then
2283 ac_install_sh="$ac_aux_dir/install.sh -c"
2285 elif test -f "$ac_dir/shtool"; then
2287 ac_install_sh="$ac_aux_dir/shtool install -c"
2291 if test -z "$ac_aux_dir"; then
2292 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2295 # These three variables are undocumented and unsupported,
2296 # and are intended to be withdrawn in a future Autoconf release.
2297 # They can cause serious problems if a builder's source tree is in a directory
2298 # whose full name contains unusual characters.
2299 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2300 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2301 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2304 ac_config_headers="$ac_config_headers config.h"
2306 am__api_version='1.13'
2308 # Find a good install program. We prefer a C program (faster),
2309 # so one script is as good as another. But avoid the broken or
2310 # incompatible versions:
2311 # SysV /etc/install, /usr/sbin/install
2312 # SunOS /usr/etc/install
2313 # IRIX /sbin/install
2315 # AmigaOS /C/install, which installs bootblocks on floppy discs
2316 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2317 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2318 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2319 # OS/2's system install, which has a completely different semantic
2320 # ./install, which can be erroneously created by make from ./install.sh.
2321 # Reject install programs that cannot install multiple files.
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2323 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2324 if test -z "$INSTALL"; then
2325 if ${ac_cv_path_install+:} false; then :
2326 $as_echo_n "(cached) " >&6
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 # Account for people who put trailing slashes in PATH elements.
2334 case $as_dir/ in #((
2335 ./ | .// | /[cC]/* | \
2336 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2337 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2340 # OSF1 and SCO ODT 3.0 have their own names for install.
2341 # Don't use installbsd from OSF since it installs stuff as root
2343 for ac_prog in ginstall scoinst install; do
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2346 if test $ac_prog = install &&
2347 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2348 # AIX install. It has an incompatible calling convention.
2350 elif test $ac_prog = install &&
2351 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2352 # program-specific install script used by HP pwplus--don't use.
2355 rm -rf conftest.one conftest.two conftest.dir
2356 echo one > conftest.one
2357 echo two > conftest.two
2359 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2360 test -s conftest.one && test -s conftest.two &&
2361 test -s conftest.dir/conftest.one &&
2362 test -s conftest.dir/conftest.two
2364 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2377 rm -rf conftest.one conftest.two conftest.dir
2380 if test "${ac_cv_path_install+set}" = set; then
2381 INSTALL=$ac_cv_path_install
2383 # As a last resort, use the slow shell script. Don't cache a
2384 # value for INSTALL within a source directory, because that will
2385 # break other packages using the cache if that directory is
2386 # removed, or if the value is a relative name.
2387 INSTALL=$ac_install_sh
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2391 $as_echo "$INSTALL" >&6; }
2393 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2394 # It thinks the first close brace ends the variable substitution.
2395 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2397 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2399 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2402 $as_echo_n "checking whether build environment is sane... " >&6; }
2403 # Reject unsafe characters in $srcdir or the absolute working directory
2404 # name. Accept space and tab only in the latter.
2408 *[\\\"\#\$\&\'\`$am_lf]*)
2409 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2412 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2413 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2416 # Do 'set' in a subshell so we don't clobber the current shell's
2417 # arguments. Must try -L first in case configure is actually a
2418 # symlink; some systems play weird games with the mod time of symlinks
2419 # (eg FreeBSD returns the mod time of the symlink's containing
2423 for am_try
in 1 2; do
2424 echo "timestamp, slept: $am_has_slept" > conftest.
file
2425 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2426 if test "$*" = "X"; then
2428 set X
`ls -t "$srcdir/configure" conftest.file`
2430 if test "$*" != "X $srcdir/configure conftest.file" \
2431 && test "$*" != "X conftest.file $srcdir/configure"; then
2433 # If neither matched, then we have a broken ls. This can happen
2434 # if, for instance, CONFIG_SHELL is bash and it inherits a
2435 # broken ls alias from the environment. This has actually
2436 # happened. Such a system could not be considered "sane".
2437 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2438 alias in your environment" "$LINENO" 5
2440 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2447 test "$2" = conftest.
file
2453 as_fn_error $?
"newly created file is older than distributed files!
2454 Check your system clock" "$LINENO" 5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2457 $as_echo "yes" >&6; }
2458 # If we didn't sleep, we still need to ensure time stamps of config.status and
2459 # generated files are strictly newer.
2461 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2468 test "$program_prefix" != NONE
&&
2469 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2470 # Use a double $ so make ignores it.
2471 test "$program_suffix" != NONE
&&
2472 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2473 # Double any \ or $.
2474 # By default was `s,x,x', remove it if useless.
2475 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2476 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2478 # expand $ac_aux_dir to an absolute path
2479 am_aux_dir
=`cd $ac_aux_dir && pwd`
2481 if test x
"${MISSING+set}" != xset
; then
2484 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2486 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2489 # Use eval to expand $SHELL
2490 if eval "$MISSING --is-lightweight"; then
2491 am_missing_run
="$MISSING "
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2495 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2498 if test x
"${install_sh}" != xset
; then
2501 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2503 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2507 # Installed binaries are usually stripped using 'strip' when the user
2508 # run "make install-strip". However 'strip' might not be the right
2509 # tool to use in cross-compilation environments, therefore Automake
2510 # will honor the 'STRIP' environment variable to overrule this program.
2511 if test "$cross_compiling" != no
; then
2512 if test -n "$ac_tool_prefix"; then
2513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2514 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_STRIP+:} false
; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$STRIP"; then
2521 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 STRIP
=$ac_cv_prog_STRIP
2541 if test -n "$STRIP"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2543 $as_echo "$STRIP" >&6; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2551 if test -z "$ac_cv_prog_STRIP"; then
2553 # Extract the first word of "strip", so it can be a program name with args.
2554 set dummy strip
; ac_word
=$2
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2558 $as_echo_n "(cached) " >&6
2560 if test -n "$ac_ct_STRIP"; then
2561 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_exec_ext
in '' $ac_executable_extensions; do
2569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2570 ac_cv_prog_ac_ct_STRIP
="strip"
2571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2581 if test -n "$ac_ct_STRIP"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2583 $as_echo "$ac_ct_STRIP" >&6; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586 $as_echo "no" >&6; }
2589 if test "x$ac_ct_STRIP" = x
; then
2592 case $cross_compiling:$ac_tool_warned in
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2596 ac_tool_warned
=yes ;;
2601 STRIP
="$ac_cv_prog_STRIP"
2605 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2608 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2609 if test -z "$MKDIR_P"; then
2610 if ${ac_cv_path_mkdir+:} false
; then :
2611 $as_echo_n "(cached) " >&6
2613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2617 test -z "$as_dir" && as_dir
=.
2618 for ac_prog
in mkdir gmkdir
; do
2619 for ac_exec_ext
in '' $ac_executable_extensions; do
2620 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2621 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2622 'mkdir (GNU coreutils) '* | \
2623 'mkdir (coreutils) '* | \
2624 'mkdir (fileutils) '4.1*)
2625 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2635 test -d .
/--version && rmdir .
/--version
2636 if test "${ac_cv_path_mkdir+set}" = set; then
2637 MKDIR_P
="$ac_cv_path_mkdir -p"
2639 # As a last resort, use the slow shell script. Don't cache a
2640 # value for MKDIR_P within a source directory, because that will
2641 # break other packages using the cache if that directory is
2642 # removed, or if the value is a relative name.
2643 MKDIR_P
="$ac_install_sh -d"
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2647 $as_echo "$MKDIR_P" >&6; }
2649 for ac_prog
in gawk mawk nawk
awk
2651 # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy
$ac_prog; ac_word
=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_AWK+:} false
; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$AWK"; then
2659 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_AWK
="$ac_prog"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$AWK"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2681 $as_echo "$AWK" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2688 test -n "$AWK" && break
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2692 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2694 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2695 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 cat >conftest.
make <<\_ACEOF
2701 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2703 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2704 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2706 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2708 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2712 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2719 SET_MAKE
="MAKE=${MAKE-make}"
2722 rm -rf .tst
2>/dev
/null
2723 mkdir .tst
2>/dev
/null
2724 if test -d .tst
; then
2729 rmdir .tst
2>/dev
/null
2731 # Check whether --enable-silent-rules was given.
2732 if test "${enable_silent_rules+set}" = set; then :
2733 enableval
=$enable_silent_rules;
2736 case $enable_silent_rules in # (((
2737 yes) AM_DEFAULT_VERBOSITY
=0;;
2738 no
) AM_DEFAULT_VERBOSITY
=1;;
2739 *) AM_DEFAULT_VERBOSITY
=1;;
2741 am_make
=${MAKE-make}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2743 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2744 if ${am_cv_make_support_nested_variables+:} false
; then :
2745 $as_echo_n "(cached) " >&6
2747 if $as_echo 'TRUE=$(BAR$(V))
2753 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2754 am_cv_make_support_nested_variables
=yes
2756 am_cv_make_support_nested_variables
=no
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2760 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2761 if test $am_cv_make_support_nested_variables = yes; then
2763 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2765 AM_V
=$AM_DEFAULT_VERBOSITY
2766 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2770 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2771 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2772 # is not polluted with repeated "-I."
2773 am__isrc
=' -I$(srcdir)'
2774 # test to see if srcdir already configured
2775 if test -f $srcdir/config.status
; then
2776 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2780 # test whether we have cygpath
2781 if test -z "$CYGPATH_W"; then
2782 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2783 CYGPATH_W
='cygpath -w'
2790 # Define the identity of the package.
2795 # Some tools Automake needs.
2797 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2800 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2803 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2806 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2809 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2811 # For better backward compatibility. To be removed once Automake 1.9.x
2812 # dies out for good. For more background, see:
2813 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2814 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2815 mkdir_p
='$(MKDIR_P)'
2817 # We need awk for the "check" target. The system "awk" is bad on
2819 # Always define AMTAR for backward compatibility. Yes, it's still used
2820 # in the wild :-( We should find a proper way to deprecate it ...
2824 # We'll loop over all known methods to create a tar archive until one works.
2825 _am_tools
='gnutar pax cpio none'
2827 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2835 CFLAGS
="-I.. -I${srcdir}/.. $CFLAGS"
2837 for ac_prog
in gawk mawk nawk
awk
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy
$ac_prog; ac_word
=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_AWK+:} false
; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$AWK"; then
2847 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_AWK
="$ac_prog"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867 if test -n "$AWK"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2869 $as_echo "$AWK" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2876 test -n "$AWK" && break
2880 ac_cpp
='$CPP $CPPFLAGS'
2881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2884 if test -n "$ac_tool_prefix"; then
2885 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2886 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if ${ac_cv_prog_CC+:} false
; then :
2890 $as_echo_n "(cached) " >&6
2892 if test -n "$CC"; then
2893 ac_cv_prog_CC
="$CC" # Let the user override the test.
2895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir
=.
2900 for ac_exec_ext
in '' $ac_executable_extensions; do
2901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2902 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 if test -n "$CC"; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2915 $as_echo "$CC" >&6; }
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918 $as_echo "no" >&6; }
2923 if test -z "$ac_cv_prog_CC"; then
2925 # Extract the first word of "gcc", so it can be a program name with args.
2926 set dummy gcc
; ac_word
=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2930 $as_echo_n "(cached) " >&6
2932 if test -n "$ac_ct_CC"; then
2933 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2942 ac_cv_prog_ac_ct_CC
="gcc"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2953 if test -n "$ac_ct_CC"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2955 $as_echo "$ac_ct_CC" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2961 if test "x$ac_ct_CC" = x
; then
2964 case $cross_compiling:$ac_tool_warned in
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2968 ac_tool_warned
=yes ;;
2976 if test -z "$CC"; then
2977 if test -n "$ac_tool_prefix"; then
2978 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2979 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_CC+:} false
; then :
2983 $as_echo_n "(cached) " >&6
2985 if test -n "$CC"; then
2986 ac_cv_prog_CC
="$CC" # Let the user override the test.
2988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir
=.
2993 for ac_exec_ext
in '' $ac_executable_extensions; do
2994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 if test -n "$CC"; then
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3008 $as_echo "$CC" >&6; }
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3017 if test -z "$CC"; then
3018 # Extract the first word of "cc", so it can be a program name with args.
3019 set dummy cc
; ac_word
=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_CC+:} false
; then :
3023 $as_echo_n "(cached) " >&6
3025 if test -n "$CC"; then
3026 ac_cv_prog_CC
="$CC" # Let the user override the test.
3029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir
=.
3034 for ac_exec_ext
in '' $ac_executable_extensions; do
3035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3036 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3037 ac_prog_rejected
=yes
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 if test $ac_prog_rejected = yes; then
3049 # We found a bogon in the path, so make sure we never use it.
3050 set dummy
$ac_cv_prog_CC
3052 if test $# != 0; then
3053 # We chose a different compiler from the bogus one.
3054 # However, it has the same basename, so the bogon will be chosen
3055 # first if we set CC to just the basename; use the full file name.
3057 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3063 if test -n "$CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3065 $as_echo "$CC" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3073 if test -z "$CC"; then
3074 if test -n "$ac_tool_prefix"; then
3075 for ac_prog
in cl.exe
3077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3078 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if ${ac_cv_prog_CC+:} false
; then :
3082 $as_echo_n "(cached) " >&6
3084 if test -n "$CC"; then
3085 ac_cv_prog_CC
="$CC" # Let the user override the test.
3087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir
=.
3092 for ac_exec_ext
in '' $ac_executable_extensions; do
3093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3094 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 if test -n "$CC"; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3107 $as_echo "$CC" >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3114 test -n "$CC" && break
3117 if test -z "$CC"; then
3119 for ac_prog
in cl.exe
3121 # Extract the first word of "$ac_prog", so it can be a program name with args.
3122 set dummy
$ac_prog; ac_word
=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$ac_ct_CC"; then
3129 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_exec_ext
in '' $ac_executable_extensions; do
3137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_ac_ct_CC
="$ac_prog"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3149 if test -n "$ac_ct_CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3151 $as_echo "$ac_ct_CC" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3158 test -n "$ac_ct_CC" && break
3161 if test "x$ac_ct_CC" = x
; then
3164 case $cross_compiling:$ac_tool_warned in
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3168 ac_tool_warned
=yes ;;
3177 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 as_fn_error $?
"no acceptable C compiler found in \$PATH
3180 See \`config.log' for more details" "$LINENO" 5; }
3182 # Provide some information about the compiler.
3183 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3186 for ac_option
in --version -v -V -qversion; do
3187 { { ac_try
="$ac_compiler $ac_option >&5"
3189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3193 $as_echo "$ac_try_echo"; } >&5
3194 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3196 if test -s conftest.err; then
3198 ... rest of stderr output deleted ...
3199 10q' conftest.err >conftest.er1
3200 cat conftest.er1 >&5
3202 rm -f conftest.er1 conftest.err
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3218 ac_clean_files_save=$ac_clean_files
3219 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3220 # Try to create an executable without -o first, disregard a.out.
3221 # It will help us diagnose broken compilers, and finding out an intuition
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3224 $as_echo_n "checking whether the C compiler works... " >&6; }
3225 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3227 # The possible output files:
3228 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3231 for ac_file in $ac_files
3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3235 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3240 if { { ac_try="$ac_link_default"
3242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3243 *) ac_try_echo
=$ac_try;;
3245 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246 $as_echo "$ac_try_echo"; } >&5
3247 (eval "$ac_link_default") 2>&5
3249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; }; then :
3251 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3252 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3253 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3254 # so that the user can short-circuit this test for compilers unknown to
3256 for ac_file
in $ac_files ''
3258 test -f "$ac_file" ||
continue
3260 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3263 # We found the default executable, but exeext='' is most
3267 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3269 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3271 # We set ac_cv_exeext here because the later test for it is not
3272 # safe: cross compilers may not add the suffix if given an `-o'
3273 # argument, so we may need to know it at that point already.
3274 # Even if this section looks crufty: it has the advantage of
3281 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3286 if test -z "$ac_file"; then :
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 $as_echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.
$ac_ext >&5
3292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3294 as_fn_error
77 "C compiler cannot create executables
3295 See \`config.log' for more details" "$LINENO" 5; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3301 $as_echo_n "checking for C compiler default output file name... " >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3303 $as_echo "$ac_file" >&6; }
3304 ac_exeext
=$ac_cv_exeext
3306 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3307 ac_clean_files
=$ac_clean_files_save
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3309 $as_echo_n "checking for suffix of executables... " >&6; }
3310 if { { ac_try
="$ac_link"
3312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3316 $as_echo "$ac_try_echo"; } >&5
3317 (eval "$ac_link") 2>&5
3319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3320 test $ac_status = 0; }; then :
3321 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3322 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3323 # work properly (i.e., refer to `conftest.exe'), while it won't with
3325 for ac_file
in conftest.exe conftest conftest.
*; do
3326 test -f "$ac_file" ||
continue
3328 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3329 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3338 See \`config.log' for more details" "$LINENO" 5; }
3340 rm -f conftest conftest
$ac_cv_exeext
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3342 $as_echo "$ac_cv_exeext" >&6; }
3344 rm -f conftest.
$ac_ext
3345 EXEEXT
=$ac_cv_exeext
3347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3353 FILE *f = fopen ("conftest.out", "w");
3354 return ferror (f) || fclose (f) != 0;
3360 ac_clean_files
="$ac_clean_files conftest.out"
3361 # Check that the compiler produces executables we can run. If not, either
3362 # the compiler is broken, or we cross compile.
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3364 $as_echo_n "checking whether we are cross compiling... " >&6; }
3365 if test "$cross_compiling" != yes; then
3366 { { ac_try
="$ac_link"
3368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372 $as_echo "$ac_try_echo"; } >&5
3373 (eval "$ac_link") 2>&5
3375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376 test $ac_status = 0; }
3377 if { ac_try='./conftest$ac_cv_exeext'
3378 { { case "(($ac_try" in
3379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3380 *) ac_try_echo
=$ac_try;;
3382 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3383 $as_echo "$ac_try_echo"; } >&5
3384 (eval "$ac_try") 2>&5
3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387 test $ac_status = 0; }; }; then
3390 if test "$cross_compiling" = maybe
; then
3393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3395 as_fn_error $?
"cannot run C compiled programs.
3396 If you meant to cross compile, use \`--host'.
3397 See \`config.log' for more details" "$LINENO" 5; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3402 $as_echo "$cross_compiling" >&6; }
3404 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3405 ac_clean_files
=$ac_clean_files_save
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3407 $as_echo_n "checking for suffix of object files... " >&6; }
3408 if ${ac_cv_objext+:} false
; then :
3409 $as_echo_n "(cached) " >&6
3411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3422 rm -f conftest.o conftest.obj
3423 if { { ac_try
="$ac_compile"
3425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_compile") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }; then :
3434 for ac_file in conftest.o conftest.obj conftest.*; do
3435 test -f "$ac_file" || continue;
3437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3438 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3443 $as_echo "$as_me: failed program was:" >&5
3444 sed 's/^/| /' conftest.$ac_ext >&5
3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3448 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3449 See \
`config.log' for more details" "$LINENO" 5; }
3451 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3454 $as_echo "$ac_cv_objext" >&6; }
3455 OBJEXT=$ac_cv_objext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3458 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3459 if ${ac_cv_c_compiler_gnu+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3476 if ac_fn_c_try_compile "$LINENO"; then :
3481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3482 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3486 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3487 if test $ac_compiler_gnu = yes; then
3492 ac_test_CFLAGS=${CFLAGS+set}
3493 ac_save_CFLAGS=$CFLAGS
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3495 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3496 if ${ac_cv_prog_cc_g+:} false; then :
3497 $as_echo_n "(cached) " >&6
3499 ac_save_c_werror_flag=$ac_c_werror_flag
3500 ac_c_werror_flag=yes
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3514 if ac_fn_c_try_compile "$LINENO"; then :
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3529 if ac_fn_c_try_compile "$LINENO"; then :
3532 ac_c_werror_flag=$ac_save_c_werror_flag
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3545 if ac_fn_c_try_compile "$LINENO"; then :
3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3553 ac_c_werror_flag=$ac_save_c_werror_flag
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3556 $as_echo "$ac_cv_prog_cc_g" >&6; }
3557 if test "$ac_test_CFLAGS" = set; then
3558 CFLAGS=$ac_save_CFLAGS
3559 elif test $ac_cv_prog_cc_g = yes; then
3560 if test "$GCC" = yes; then
3566 if test "$GCC" = yes; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3573 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3574 if ${ac_cv_prog_cc_c89+:} false; then :
3575 $as_echo_n "(cached) " >&6
3577 ac_cv_prog_cc_c89=no
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3584 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3585 struct buf { int x; };
3586 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3587 static char *e (p, i)
3593 static char *f (char * (*g) (char **, int), char **p, ...)
3598 s = g (p, va_arg (v,int));
3603 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3604 function prototypes and stuff, but not '\xHH' hex character constants.
3605 These don't provoke an error unfortunately, instead are silently treated
3606 as 'x'. The following induces an error, until -std is added to get
3607 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3608 array size at least. It's necessary to write '\x00'==0 to get something
3609 that's true only with -std. */
3610 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3612 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3613 inside strings and character constants. */
3615 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3617 int test (int i, double x);
3618 struct s1 {int (*f) (int a);};
3619 struct s2 {int (*f) (double a);};
3620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3626 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3632 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3634 CC="$ac_save_CC $ac_arg"
3635 if ac_fn_c_try_compile "$LINENO"; then :
3636 ac_cv_prog_cc_c89=$ac_arg
3638 rm -f core conftest.err conftest.$ac_objext
3639 test "x$ac_cv_prog_cc_c89" != "xno" && break
3641 rm -f conftest.$ac_ext
3646 case "x$ac_cv_prog_cc_c89" in
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3649 $as_echo "none needed" >&6; } ;;
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3652 $as_echo "unsupported" >&6; } ;;
3654 CC="$CC $ac_cv_prog_cc_c89"
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3656 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3658 if test "x$ac_cv_prog_cc_c89" != xno; then :
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 DEPDIR="${am__leading_dot}deps"
3669 ac_config_commands="$ac_config_commands depfiles"
3672 am_make=${MAKE-make}
3673 cat > confinc << 'END'
3675 @echo this is the am__doit target
3678 # If we don't find an include directive, just comment out the code.
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3680 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3684 # First try GNU make style include.
3685 echo "include confinc" > confmf
3686 # Ignore all kinds of additional output from 'make'.
3687 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3688 *the\ am__doit\ target*)
3694 # Now try BSD make style include.
3695 if test "$am__include" = "#"; then
3696 echo '.include "confinc"' > confmf
3697 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3698 *the\ am__doit\ target*)
3699 am__include=.include
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3708 $as_echo "$_am_result" >&6; }
3709 rm -f confinc confmf
3711 # Check whether --enable-dependency-tracking was given.
3712 if test "${enable_dependency_tracking+set}" = set; then :
3713 enableval=$enable_dependency_tracking;
3716 if test "x$enable_dependency_tracking" != xno; then
3717 am_depcomp="$ac_aux_dir/depcomp"
3721 if test "x$enable_dependency_tracking" != xno; then
3731 depcc="$CC" am_compiler_list=
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3734 $as_echo_n "checking dependency style of $depcc... " >&6; }
3735 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3739 # We make a subdir and do the tests there. Otherwise we can end up
3740 # making bogus files that we don't know about and never remove. For
3741 # instance it was reported that on HP-UX the gcc test will end up
3742 # making a dummy file named 'D' -- because '-MD' means "put the output
3746 # Copy depcomp to subdir because otherwise we won't find it if we're
3747 # using a relative directory.
3748 cp "$am_depcomp" conftest.dir
3750 # We will build objects and dependencies in a subdirectory because
3751 # it helps to detect inapplicable dependency modes. For instance
3752 # both Tru64's cc and ICC support -MD to output dependencies as a
3753 # side effect of compilation, but ICC will put the dependencies in
3754 # the current directory while Tru64 will put them in the object
3758 am_cv_CC_dependencies_compiler_type=none
3759 if test "$am_compiler_list" = ""; then
3760 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3763 case " $depcc " in #(
3764 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3767 for depmode in $am_compiler_list; do
3768 # Setup a source with many dependencies, because some compilers
3769 # like to wrap large dependency lists on column 80 (with \), and
3770 # we should not choose a depcomp mode which is confused by this.
3772 # We need to recreate these files for each test, as the compiler may
3773 # overwrite some of them when testing with obscure command lines.
3774 # This happens at least with the AIX C compiler.
3776 for i in 1 2 3 4 5 6; do
3777 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3778 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3779 # Solaris 10 /bin/sh.
3780 echo '/* dummy */' > sub/conftst$i.h
3782 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3784 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3785 # mode. It turns out that the SunPro C++ compiler does not properly
3786 # handle '-M -o', and we need to detect this. Also, some Intel
3787 # versions had trouble with output in subdirs.
3788 am__obj=sub/conftest.${OBJEXT-o}
3789 am__minus_obj="-o $am__obj"
3792 # This depmode causes a compiler race in universal mode.
3793 test "$am__universal" = false || continue
3796 # After this tag, mechanisms are not by side-effect, so they'll
3797 # only be used when explicitly requested.
3798 if test "x$enable_dependency_tracking" = xyes; then
3804 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3805 # This compiler won't grok '-c -o', but also, the minuso test has
3806 # not run yet. These depmodes are late enough in the game, and
3807 # so weak that their functioning should not be impacted.
3808 am__obj=conftest.${OBJEXT-o}
3813 if depmode=$depmode \
3814 source=sub/conftest.c object=$am__obj \
3815 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3816 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3817 >/dev/null 2>conftest.err &&
3818 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3819 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3820 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3821 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3822 # icc doesn't choke on unknown options, it will just issue warnings
3823 # or remarks (even with -Werror). So we grep stderr for any message
3824 # that says an option was ignored or not supported.
3825 # When given -MP, icc 7.0 and 7.1 complain thusly:
3826 # icc: Command line warning: ignoring option '-M'; no argument required
3827 # The diagnosis changed in icc 8.0:
3828 # icc: Command line remark: option '-MP' not supported
3829 if (grep 'ignoring option' conftest.err ||
3830 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3831 am_cv_CC_dependencies_compiler_type=$depmode
3840 am_cv_CC_dependencies_compiler_type=none
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3845 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3846 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3849 test "x$enable_dependency_tracking" != xno \
3850 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3852 am__fastdepCC_FALSE='#'
3854 am__fastdepCC_TRUE='#'
3855 am__fastdepCC_FALSE=
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3861 $as_echo_n "checking whether ln -s works... " >&6; }
3863 if test "$LN_S" = "ln -s"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3865 $as_echo "yes" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3868 $as_echo "no, using $LN_S" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3874 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3879 macro_version='2.4.2'
3880 macro_revision='1.3337'
3894 ltmain="$ac_aux_dir/ltmain.sh"
3896 # Make sure we can run config.sub.
3897 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3898 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3901 $as_echo_n "checking build system type... " >&6; }
3902 if ${ac_cv_build+:} false; then :
3903 $as_echo_n "(cached) " >&6
3905 ac_build_alias=$build_alias
3906 test "x$ac_build_alias" = x &&
3907 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3908 test "x$ac_build_alias" = x &&
3909 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3910 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3911 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3915 $as_echo "$ac_cv_build" >&6; }
3916 case $ac_cv_build in
3918 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3921 ac_save_IFS=$IFS; IFS='-'
3927 # Remember, the first character of IFS is used to create $*,
3928 # except with old shells:
3931 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3935 $as_echo_n "checking host system type... " >&6; }
3936 if ${ac_cv_host+:} false; then :
3937 $as_echo_n "(cached) " >&6
3939 if test "x$host_alias" = x; then
3940 ac_cv_host=$ac_cv_build
3942 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3943 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3948 $as_echo "$ac_cv_host" >&6; }
3951 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3954 ac_save_IFS=$IFS; IFS='-'
3960 # Remember, the first character of IFS is used to create $*,
3961 # except with old shells:
3964 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3967 # Backslashify metacharacters that are still active within
3968 # double-quoted strings.
3969 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
3971 # Same as above, but do not quote variable references.
3972 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
3974 # Sed substitution to delay expansion of an escaped shell variable in a
3975 # double_quote_subst'ed string.
3976 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3978 # Sed substitution to delay expansion of an escaped single quote.
3979 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3981 # Sed substitution to avoid accidental globbing in evaled expressions
3982 no_glob_subst='s/\*/\\\*/g'
3984 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3985 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3986 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
3989 $as_echo_n "checking how to print
strings...
" >&6; }
3990 # Test print first, because it will be a builtin if present.
3991 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
3992 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
3994 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
3997 # Use this function as a fallback that always works.
3998 func_fallback_echo ()
4000 eval 'cat <<_LTECHO_EOF
4004 ECHO='func_fallback_echo'
4007 # func_echo_all arg...
4008 # Invoke $ECHO with all args, space-separated.
4015 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4016 $as_echo "printf" >&6; } ;;
4017 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4018 $as_echo "print
-r" >&6; } ;;
4019 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4020 $as_echo "cat" >&6; } ;;
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4037 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4038 if ${ac_cv_path_SED+:} false; then :
4039 $as_echo_n "(cached
) " >&6
4041 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4042 for ac_i in 1 2 3 4 5 6 7; do
4043 ac_script="$ac_script$as_nl$ac_script"
4045 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4046 { ac_script=; unset ac_script;}
4047 if test -z "$SED"; then
4048 ac_path_SED_found=false
4049 # Loop through the user's path and test for each of PROGNAME-LIST
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 test -z "$as_dir" && as_dir=.
4055 for ac_prog in sed gsed; do
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4058 as_fn_executable_p "$ac_path_SED" || continue
4059 # Check for GNU ac_path_SED and select it if it is found.
4060 # Check for GNU $ac_path_SED
4061 case `"$ac_path_SED" --version 2>&1` in
4063 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4066 $as_echo_n 0123456789 >"conftest.
in"
4069 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4070 mv "conftest.tmp
" "conftest.
in"
4071 cp "conftest.
in" "conftest.
nl"
4072 $as_echo '' >> "conftest.
nl"
4073 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4074 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4075 as_fn_arith $ac_count + 1 && ac_count=$as_val
4076 if test $ac_count -gt ${ac_path_SED_max-0}; then
4077 # Best one so far, save it but keep looking for a better one
4078 ac_cv_path_SED="$ac_path_SED"
4079 ac_path_SED_max=$ac_count
4081 # 10*(2^10) chars as input seems more than enough
4082 test $ac_count -gt 10 && break
4084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4087 $ac_path_SED_found && break 3
4092 if test -z "$ac_cv_path_SED"; then
4093 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4101 $as_echo "$ac_cv_path_SED" >&6; }
4102 SED="$ac_cv_path_SED"
4105 test -z "$SED" && SED=sed
4106 Xsed="$SED -e 1s
/^X
//"
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4119 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4120 if ${ac_cv_path_GREP+:} false; then :
4121 $as_echo_n "(cached
) " >&6
4123 if test -z "$GREP"; then
4124 ac_path_GREP_found=false
4125 # Loop through the user's path and test for each of PROGNAME-LIST
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4130 test -z "$as_dir" && as_dir=.
4131 for ac_prog in grep ggrep; do
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4134 as_fn_executable_p "$ac_path_GREP" || continue
4135 # Check for GNU ac_path_GREP and select it if it is found.
4136 # Check for GNU $ac_path_GREP
4137 case `"$ac_path_GREP" --version 2>&1` in
4139 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4142 $as_echo_n 0123456789 >"conftest.
in"
4145 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4146 mv "conftest.tmp
" "conftest.
in"
4147 cp "conftest.
in" "conftest.
nl"
4148 $as_echo 'GREP' >> "conftest.
nl"
4149 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4150 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4151 as_fn_arith $ac_count + 1 && ac_count=$as_val
4152 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4153 # Best one so far, save it but keep looking for a better one
4154 ac_cv_path_GREP="$ac_path_GREP"
4155 ac_path_GREP_max=$ac_count
4157 # 10*(2^10) chars as input seems more than enough
4158 test $ac_count -gt 10 && break
4160 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4163 $ac_path_GREP_found && break 3
4168 if test -z "$ac_cv_path_GREP"; then
4169 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4172 ac_cv_path_GREP=$GREP
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4177 $as_echo "$ac_cv_path_GREP" >&6; }
4178 GREP="$ac_cv_path_GREP"
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4182 $as_echo_n "checking
for egrep...
" >&6; }
4183 if ${ac_cv_path_EGREP+:} false; then :
4184 $as_echo_n "(cached
) " >&6
4186 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4187 then ac_cv_path_EGREP="$GREP -E"
4189 if test -z "$EGREP"; then
4190 ac_path_EGREP_found=false
4191 # Loop through the user's path and test for each of PROGNAME-LIST
4192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4193 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4196 test -z "$as_dir" && as_dir=.
4197 for ac_prog in egrep; do
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4200 as_fn_executable_p "$ac_path_EGREP" || continue
4201 # Check for GNU ac_path_EGREP and select it if it is found.
4202 # Check for GNU $ac_path_EGREP
4203 case `"$ac_path_EGREP" --version 2>&1` in
4205 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4208 $as_echo_n 0123456789 >"conftest.
in"
4211 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4212 mv "conftest.tmp
" "conftest.
in"
4213 cp "conftest.
in" "conftest.
nl"
4214 $as_echo 'EGREP' >> "conftest.
nl"
4215 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4216 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4217 as_fn_arith $ac_count + 1 && ac_count=$as_val
4218 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4219 # Best one so far, save it but keep looking for a better one
4220 ac_cv_path_EGREP="$ac_path_EGREP"
4221 ac_path_EGREP_max=$ac_count
4223 # 10*(2^10) chars as input seems more than enough
4224 test $ac_count -gt 10 && break
4226 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4229 $ac_path_EGREP_found && break 3
4234 if test -z "$ac_cv_path_EGREP"; then
4235 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4238 ac_cv_path_EGREP=$EGREP
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4244 $as_echo "$ac_cv_path_EGREP" >&6; }
4245 EGREP="$ac_cv_path_EGREP"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4249 $as_echo_n "checking
for fgrep...
" >&6; }
4250 if ${ac_cv_path_FGREP+:} false; then :
4251 $as_echo_n "(cached
) " >&6
4253 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4254 then ac_cv_path_FGREP="$GREP -F"
4256 if test -z "$FGREP"; then
4257 ac_path_FGREP_found=false
4258 # Loop through the user's path and test for each of PROGNAME-LIST
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4263 test -z "$as_dir" && as_dir=.
4264 for ac_prog in fgrep; do
4265 for ac_exec_ext in '' $ac_executable_extensions; do
4266 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4267 as_fn_executable_p "$ac_path_FGREP" || continue
4268 # Check for GNU ac_path_FGREP and select it if it is found.
4269 # Check for GNU $ac_path_FGREP
4270 case `"$ac_path_FGREP" --version 2>&1` in
4272 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4275 $as_echo_n 0123456789 >"conftest.
in"
4278 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4279 mv "conftest.tmp
" "conftest.
in"
4280 cp "conftest.
in" "conftest.
nl"
4281 $as_echo 'FGREP' >> "conftest.
nl"
4282 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4283 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4284 as_fn_arith $ac_count + 1 && ac_count=$as_val
4285 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4286 # Best one so far, save it but keep looking for a better one
4287 ac_cv_path_FGREP="$ac_path_FGREP"
4288 ac_path_FGREP_max=$ac_count
4290 # 10*(2^10) chars as input seems more than enough
4291 test $ac_count -gt 10 && break
4293 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4296 $ac_path_FGREP_found && break 3
4301 if test -z "$ac_cv_path_FGREP"; then
4302 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4305 ac_cv_path_FGREP=$FGREP
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4311 $as_echo "$ac_cv_path_FGREP" >&6; }
4312 FGREP="$ac_cv_path_FGREP"
4315 test -z "$GREP" && GREP=grep
4335 # Check whether --with-gnu-ld was given.
4336 if test "${with_gnu_ld+set}" = set; then :
4337 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4343 if test "$GCC" = yes; then
4344 # Check if gcc -print-prog-name=ld gives a path.
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4346 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4349 # gcc leaves a trailing carriage return which upsets mingw
4350 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4352 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4355 # Accept absolute paths.
4357 re_direlt='/[^/][^/]*/\.\./'
4358 # Canonicalize the pathname of ld
4359 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4360 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4361 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4363 test -z "$LD" && LD="$ac_prog"
4366 # If it fails, then pretend we aren't using GCC.
4370 # If it is relative, then search for the first ld in PATH.
4374 elif test "$with_gnu_ld" = yes; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4376 $as_echo_n "checking
for GNU ld...
" >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4379 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4381 if ${lt_cv_path_LD+:} false; then :
4382 $as_echo_n "(cached
) " >&6
4384 if test -z "$LD"; then
4385 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4386 for ac_dir in $PATH; do
4388 test -z "$ac_dir" && ac_dir=.
4389 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4390 lt_cv_path_LD="$ac_dir/$ac_prog"
4391 # Check to see if the program is GNU ld. I'd rather use --version,
4392 # but apparently some variants of GNU ld only accept -v.
4393 # Break only if it was the GNU/non-GNU ld that we prefer.
4394 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4395 *GNU* | *'with BFD'*)
4396 test "$with_gnu_ld" != no && break
4399 test "$with_gnu_ld" != yes && break
4406 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4411 if test -n "$LD"; then
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4413 $as_echo "$LD" >&6; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4416 $as_echo "no
" >&6; }
4418 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4420 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4421 if ${lt_cv_prog_gnu_ld+:} false; then :
4422 $as_echo_n "(cached
) " >&6
4424 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4425 case `$LD -v 2>&1 </dev/null` in
4426 *GNU* | *'with BFD'*)
4427 lt_cv_prog_gnu_ld=yes
4430 lt_cv_prog_gnu_ld=no
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4435 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4436 with_gnu_ld=$lt_cv_prog_gnu_ld
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4447 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4448 if ${lt_cv_path_NM+:} false; then :
4449 $as_echo_n "(cached
) " >&6
4451 if test -n "$NM"; then
4452 # Let the user override the test.
4455 lt_nm_to_check="${ac_tool_prefix}nm
"
4456 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4457 lt_nm_to_check="$lt_nm_to_check nm
"
4459 for lt_tmp_nm in $lt_nm_to_check; do
4460 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4461 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4463 test -z "$ac_dir" && ac_dir=.
4464 tmp_nm="$ac_dir/$lt_tmp_nm"
4465 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4466 # Check to see if the nm accepts a BSD-compat flag.
4467 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4468 # nm: unknown option "B
" ignored
4469 # Tru64's nm complains that /dev/null is an invalid object file
4470 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4471 */dev/null* | *'Invalid file or object type'*)
4472 lt_cv_path_NM="$tmp_nm -B"
4476 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4478 lt_cv_path_NM="$tmp_nm -p"
4482 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4483 continue # so that we can try to find one that supports BSD flags
4492 : ${lt_cv_path_NM=no}
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4496 $as_echo "$lt_cv_path_NM" >&6; }
4497 if test "$lt_cv_path_NM" != "no
"; then
4500 # Didn't find any BSD compatible name lister, look for dumpbin.
4501 if test -n "$DUMPBIN"; then :
4502 # Let the user override the test.
4504 if test -n "$ac_tool_prefix"; then
4505 for ac_prog in dumpbin "link
-dump"
4507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4510 $as_echo_n "checking
for $ac_word...
" >&6; }
4511 if ${ac_cv_prog_DUMPBIN+:} false; then :
4512 $as_echo_n "(cached
) " >&6
4514 if test -n "$DUMPBIN"; then
4515 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4534 DUMPBIN=$ac_cv_prog_DUMPBIN
4535 if test -n "$DUMPBIN"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4537 $as_echo "$DUMPBIN" >&6; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4540 $as_echo "no
" >&6; }
4544 test -n "$DUMPBIN" && break
4547 if test -z "$DUMPBIN"; then
4548 ac_ct_DUMPBIN=$DUMPBIN
4549 for ac_prog in dumpbin "link
-dump"
4551 # Extract the first word of "$ac_prog", so it can be a program name with args.
4552 set dummy $ac_prog; ac_word=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4554 $as_echo_n "checking
for $ac_word...
" >&6; }
4555 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4556 $as_echo_n "(cached
) " >&6
4558 if test -n "$ac_ct_DUMPBIN"; then
4559 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4578 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4579 if test -n "$ac_ct_DUMPBIN"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4581 $as_echo "$ac_ct_DUMPBIN" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4584 $as_echo "no
" >&6; }
4588 test -n "$ac_ct_DUMPBIN" && break
4591 if test "x
$ac_ct_DUMPBIN" = x; then
4594 case $cross_compiling:$ac_tool_warned in
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4597 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4598 ac_tool_warned=yes ;;
4600 DUMPBIN=$ac_ct_DUMPBIN
4604 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4606 DUMPBIN="$DUMPBIN -symbols"
4614 if test "$DUMPBIN" != ":"; then
4618 test -z "$NM" && NM=nm
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4626 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4627 if ${lt_cv_nm_interface+:} false; then :
4628 $as_echo_n "(cached
) " >&6
4630 lt_cv_nm_interface="BSD nm
"
4631 echo "int some_variable
= 0;" > conftest.$ac_ext
4632 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4633 (eval "$ac_compile" 2>conftest.err)
4634 cat conftest.err >&5
4635 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4636 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4637 cat conftest.err >&5
4638 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4639 cat conftest.out >&5
4640 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4641 lt_cv_nm_interface="MS dumpbin
"
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4646 $as_echo "$lt_cv_nm_interface" >&6; }
4648 # find the maximum length of command line arguments
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4650 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4651 if ${lt_cv_sys_max_cmd_len+:} false; then :
4652 $as_echo_n "(cached
) " >&6
4659 # On DJGPP, this test can blow up pretty badly due to problems in libc
4660 # (any single argument exceeding 2000 bytes causes a buffer overrun
4661 # during glob expansion). Even if it were fixed, the result of this
4662 # check would be larger than it should be.
4663 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4667 # Under GNU Hurd, this test is not required because there is
4668 # no limit to the length of command line arguments.
4669 # Libtool will interpret -1 as no limit whatsoever
4670 lt_cv_sys_max_cmd_len=-1;
4673 cygwin* | mingw* | cegcc*)
4674 # On Win9x/ME, this test blows up -- it succeeds, but takes
4675 # about 5 minutes as the teststring grows exponentially.
4676 # Worse, since 9x/ME are not pre-emptively multitasking,
4677 # you end up with a "frozen
" computer, even though with patience
4678 # the test eventually succeeds (with a max line length of 256k).
4679 # Instead, let's just punt: use the minimum linelength reported by
4680 # all of the supported platforms: 8192 (on NT/2K/XP).
4681 lt_cv_sys_max_cmd_len=8192;
4685 # On MiNT this can take a long time and run out of memory.
4686 lt_cv_sys_max_cmd_len=8192;
4690 # On AmigaOS with pdksh, this test takes hours, literally.
4691 # So we just punt and use a minimum line length of 8192.
4692 lt_cv_sys_max_cmd_len=8192;
4695 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4696 # This has been around since 386BSD, at least. Likely further.
4697 if test -x /sbin/sysctl; then
4698 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4699 elif test -x /usr/sbin/sysctl; then
4700 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4702 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4704 # And add a safety zone
4705 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4706 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4710 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4711 lt_cv_sys_max_cmd_len=196608
4715 # The test takes a long time on OS/2.
4716 lt_cv_sys_max_cmd_len=8192
4720 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4721 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4722 # nice to cause kernel panics so lets avoid the loop below.
4723 # First set a reasonable default.
4724 lt_cv_sys_max_cmd_len=16384
4726 if test -x /sbin/sysconfig; then
4727 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4728 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4733 lt_cv_sys_max_cmd_len=102400
4735 sysv5* | sco5v6* | sysv4.2uw2*)
4736 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4737 if test -n "$kargmax"; then
4738 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4740 lt_cv_sys_max_cmd_len=32768
4744 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4745 if test -n "$lt_cv_sys_max_cmd_len"; then
4746 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4747 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4749 # Make teststring a little bigger before we do anything with it.
4750 # a 1K string should be a reasonable start.
4751 for i in 1 2 3 4 5 6 7 8 ; do
4752 teststring=$teststring$teststring
4754 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4755 # If test is not a shell built-in, we'll probably end up computing a
4756 # maximum length that is only half of the actual maximum length, but
4758 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
4759 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4760 test $i != 17 # 1/2 MB should be enough
4763 teststring=$teststring$teststring
4765 # Only check the string length outside the loop.
4766 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4768 # Add a significant safety factor because C++ compilers can tack on
4769 # massive amounts of additional arguments before passing them to the
4770 # linker. It appears as though 1/2 is a usable value.
4771 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4778 if test -n $lt_cv_sys_max_cmd_len ; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4780 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4783 $as_echo "none
" >&6; }
4785 max_cmd_len=$lt_cv_sys_max_cmd_len
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
4797 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
4798 # Try some XSI features
4801 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4803 && eval 'test $(( 1 + 1 )) -eq 2 \
4804 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4807 $as_echo "$xsi_shell" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4811 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4813 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4815 && lt_shell_append
=yes
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4817 $as_echo "$lt_shell_append" >&6; }
4820 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4830 # test EBCDIC or ASCII
4831 case `echo X|tr X '\101'` in
4832 A
) # ASCII based system
4833 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4834 lt_SP2NL
='tr \040 \012'
4835 lt_NL2SP
='tr \015\012 \040\040'
4837 *) # EBCDIC based system
4838 lt_SP2NL
='tr \100 \n'
4839 lt_NL2SP
='tr \r\n \100\100'
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4852 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4853 if ${lt_cv_to_host_file_cmd+:} false
; then :
4854 $as_echo_n "(cached) " >&6
4859 *-*-mingw* ) # actually msys
4860 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4863 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4865 * ) # otherwise, assume *nix
4866 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4872 *-*-mingw* ) # actually msys
4873 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4876 lt_cv_to_host_file_cmd
=func_convert_file_noop
4878 * ) # otherwise, assume *nix
4879 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4883 * ) # unhandled hosts (and "normal" native builds)
4884 lt_cv_to_host_file_cmd
=func_convert_file_noop
4890 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4892 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4899 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4900 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4901 $as_echo_n "(cached) " >&6
4903 #assume ordinary cross tools, or native build.
4904 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4908 *-*-mingw* ) # actually msys
4909 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4917 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4919 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4926 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4927 if ${lt_cv_ld_reload_flag+:} false
; then :
4928 $as_echo_n "(cached) " >&6
4930 lt_cv_ld_reload_flag
='-r'
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4933 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4934 reload_flag
=$lt_cv_ld_reload_flag
4935 case $reload_flag in
4937 *) reload_flag
=" $reload_flag" ;;
4939 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4941 cygwin
* | mingw
* | pw32
* | cegcc
*)
4942 if test "$GCC" != yes; then
4947 if test "$GCC" = yes; then
4948 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4950 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4963 if test -n "$ac_tool_prefix"; then
4964 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4965 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -n "$OBJDUMP"; then
4972 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir
=.
4979 for ac_exec_ext
in '' $ac_executable_extensions; do
4980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4981 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 OBJDUMP
=$ac_cv_prog_OBJDUMP
4992 if test -n "$OBJDUMP"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4994 $as_echo "$OBJDUMP" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5002 if test -z "$ac_cv_prog_OBJDUMP"; then
5003 ac_ct_OBJDUMP
=$OBJDUMP
5004 # Extract the first word of "objdump", so it can be a program name with args.
5005 set dummy objdump
; ac_word
=$2
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5008 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5009 $as_echo_n "(cached) " >&6
5011 if test -n "$ac_ct_OBJDUMP"; then
5012 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5032 if test -n "$ac_ct_OBJDUMP"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5034 $as_echo "$ac_ct_OBJDUMP" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5040 if test "x$ac_ct_OBJDUMP" = x
; then
5043 case $cross_compiling:$ac_tool_warned in
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5047 ac_tool_warned
=yes ;;
5049 OBJDUMP
=$ac_ct_OBJDUMP
5052 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5055 test -z "$OBJDUMP" && OBJDUMP
=objdump
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5066 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5067 if ${lt_cv_deplibs_check_method+:} false
; then :
5068 $as_echo_n "(cached) " >&6
5070 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5071 lt_cv_file_magic_test_file
=
5072 lt_cv_deplibs_check_method
='unknown'
5073 # Need to set the preceding variable on all platforms that support
5074 # interlibrary dependencies.
5075 # 'none' -- dependencies not supported.
5076 # `unknown' -- same as none, but documents that we really don't know.
5077 # 'pass_all' -- all dependencies passed with no checks.
5078 # 'test_compile' -- check by making test program.
5079 # 'file_magic [[regex]]' -- check by looking for files in library path
5080 # which responds to the $file_magic_cmd with a given extended regex.
5081 # If you have `file' or equivalent on your system and you're not sure
5082 # whether `pass_all' will *always* work, you probably want this one.
5086 lt_cv_deplibs_check_method
=pass_all
5090 lt_cv_deplibs_check_method
=pass_all
5094 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5095 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5096 lt_cv_file_magic_test_file
=/shlib
/libc.so
5100 # func_win32_libid is a shell function defined in ltmain.sh
5101 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5102 lt_cv_file_magic_cmd
='func_win32_libid'
5106 # Base MSYS/MinGW do not provide the 'file' command needed by
5107 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5108 # unless we find 'file', for example because we are cross-compiling.
5109 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5110 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5111 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5112 lt_cv_file_magic_cmd
='func_win32_libid'
5114 # Keep this pattern in sync with the one in func_win32_libid.
5115 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5116 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5121 # use the weaker test based on 'objdump'. See mingw*.
5122 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5123 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5126 darwin
* | rhapsody
*)
5127 lt_cv_deplibs_check_method
=pass_all
5130 freebsd
* | dragonfly
*)
5131 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5134 # Not sure whether the presence of OpenBSD here was a mistake.
5135 # Let's accept both of them until this is cleared up.
5136 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5137 lt_cv_file_magic_cmd
=/usr
/bin
/file
5138 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5142 lt_cv_deplibs_check_method
=pass_all
5147 lt_cv_deplibs_check_method
=pass_all
5151 lt_cv_deplibs_check_method
=pass_all
5154 hpux10.20
* | hpux11
*)
5155 lt_cv_file_magic_cmd
=/usr
/bin
/file
5158 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5159 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5162 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]'
5163 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5166 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5167 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5173 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5174 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5177 irix5
* | irix6
* | nonstopux
*)
5179 *-32|
*"-32 ") libmagic
=32-bit;;
5180 *-n32|
*"-n32 ") libmagic
=N32
;;
5181 *-64|
*"-64 ") libmagic
=64-bit;;
5182 *) libmagic
=never-match
;;
5184 lt_cv_deplibs_check_method
=pass_all
5187 # This must be glibc/ELF.
5188 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5189 lt_cv_deplibs_check_method
=pass_all
5193 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5194 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5196 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5201 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5202 lt_cv_file_magic_cmd
=/usr
/bin
/file
5203 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5207 lt_cv_deplibs_check_method
=pass_all
5211 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5212 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5214 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5218 osf3
* | osf4
* | osf5
*)
5219 lt_cv_deplibs_check_method
=pass_all
5223 lt_cv_deplibs_check_method
=pass_all
5227 lt_cv_deplibs_check_method
=pass_all
5230 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5231 lt_cv_deplibs_check_method
=pass_all
5235 case $host_vendor in
5237 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]'
5238 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5241 lt_cv_deplibs_check_method
=pass_all
5244 lt_cv_file_magic_cmd
='/bin/file'
5245 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5248 lt_cv_file_magic_cmd
='/bin/file'
5249 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5250 lt_cv_file_magic_test_file
=/lib
/libc.so
5253 lt_cv_deplibs_check_method
=pass_all
5256 lt_cv_deplibs_check_method
=pass_all
5262 lt_cv_deplibs_check_method
=pass_all
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5268 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5272 if test "$build" = "$host"; then
5275 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5278 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5284 file_magic_cmd
=$lt_cv_file_magic_cmd
5285 deplibs_check_method
=$lt_cv_deplibs_check_method
5286 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5309 if test -n "$ac_tool_prefix"; then
5310 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5311 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313 $as_echo_n "checking for $ac_word... " >&6; }
5314 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5315 $as_echo_n "(cached) " >&6
5317 if test -n "$DLLTOOL"; then
5318 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 DLLTOOL
=$ac_cv_prog_DLLTOOL
5338 if test -n "$DLLTOOL"; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5340 $as_echo "$DLLTOOL" >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343 $as_echo "no" >&6; }
5348 if test -z "$ac_cv_prog_DLLTOOL"; then
5349 ac_ct_DLLTOOL
=$DLLTOOL
5350 # Extract the first word of "dlltool", so it can be a program name with args.
5351 set dummy dlltool
; 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_ac_ct_DLLTOOL+:} false
; then :
5355 $as_echo_n "(cached) " >&6
5357 if test -n "$ac_ct_DLLTOOL"; then
5358 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # 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_ac_ct_DLLTOOL
="dlltool"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5378 if test -n "$ac_ct_DLLTOOL"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5380 $as_echo "$ac_ct_DLLTOOL" >&6; }
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5386 if test "x$ac_ct_DLLTOOL" = x
; then
5389 case $cross_compiling:$ac_tool_warned in
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5393 ac_tool_warned
=yes ;;
5395 DLLTOOL
=$ac_ct_DLLTOOL
5398 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5401 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5413 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5414 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5415 $as_echo_n "(cached) " >&6
5417 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5420 cygwin
* | mingw
* | pw32
* | cegcc
*)
5421 # two different shell functions defined in ltmain.sh
5422 # decide which to use based on capabilities of $DLLTOOL
5423 case `$DLLTOOL --help 2>&1` in
5424 *--identify-strict*)
5425 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5428 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5433 # fallback: assume linklib IS sharedlib
5434 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5440 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5441 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5442 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5451 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5455 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_AR+:} false
; then :
5459 $as_echo_n "(cached) " >&6
5461 if test -n "$AR"; then
5462 ac_cv_prog_AR
="$AR" # Let the user override the test.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 if test -n "$AR"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5484 $as_echo "$AR" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 test -n "$AR" && break
5494 if test -z "$AR"; then
5498 # Extract the first word of "$ac_prog", so it can be a program name with args.
5499 set dummy
$ac_prog; ac_word
=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5503 $as_echo_n "(cached) " >&6
5505 if test -n "$ac_ct_AR"; then
5506 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir
=.
5513 for ac_exec_ext
in '' $ac_executable_extensions; do
5514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_AR
="$ac_prog"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5526 if test -n "$ac_ct_AR"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5528 $as_echo "$ac_ct_AR" >&6; }
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5535 test -n "$ac_ct_AR" && break
5538 if test "x$ac_ct_AR" = x
; then
5541 case $cross_compiling:$ac_tool_warned in
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned
=yes ;;
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5565 $as_echo_n "checking for archiver @FILE support... " >&6; }
5566 if ${lt_cv_ar_at_file+:} false
; then :
5567 $as_echo_n "(cached) " >&6
5570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5581 if ac_fn_c_try_compile
"$LINENO"; then :
5582 echo conftest.
$ac_objext > conftest.lst
5583 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5584 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5585 (eval $lt_ar_try) 2>&5
5587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5588 test $ac_status = 0; }
5589 if test "$ac_status" -eq 0; then
5590 # Ensure the archiver fails upon bogus file names.
5591 rm -f conftest.
$ac_objext libconftest.a
5592 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5593 (eval $lt_ar_try) 2>&5
5595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5596 test $ac_status = 0; }
5597 if test "$ac_status" -ne 0; then
5601 rm -f conftest.
* libconftest.a
5604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5608 $as_echo "$lt_cv_ar_at_file" >&6; }
5610 if test "x$lt_cv_ar_at_file" = xno
; then
5613 archiver_list_spec
=$lt_cv_ar_at_file
5622 if test -n "$ac_tool_prefix"; then
5623 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5624 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_STRIP+:} false
; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$STRIP"; then
5631 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 STRIP
=$ac_cv_prog_STRIP
5651 if test -n "$STRIP"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5653 $as_echo "$STRIP" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5661 if test -z "$ac_cv_prog_STRIP"; then
5663 # Extract the first word of "strip", so it can be a program name with args.
5664 set dummy strip
; ac_word
=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5668 $as_echo_n "(cached) " >&6
5670 if test -n "$ac_ct_STRIP"; then
5671 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir
=.
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_ac_ct_STRIP
="strip"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5691 if test -n "$ac_ct_STRIP"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5693 $as_echo "$ac_ct_STRIP" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5699 if test "x$ac_ct_STRIP" = x
; then
5702 case $cross_compiling:$ac_tool_warned in
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5706 ac_tool_warned
=yes ;;
5711 STRIP
="$ac_cv_prog_STRIP"
5714 test -z "$STRIP" && STRIP
=:
5721 if test -n "$ac_tool_prefix"; then
5722 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5723 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5725 $as_echo_n "checking for $ac_word... " >&6; }
5726 if ${ac_cv_prog_RANLIB+:} false
; then :
5727 $as_echo_n "(cached) " >&6
5729 if test -n "$RANLIB"; then
5730 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 RANLIB
=$ac_cv_prog_RANLIB
5750 if test -n "$RANLIB"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5752 $as_echo "$RANLIB" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5755 $as_echo "no" >&6; }
5760 if test -z "$ac_cv_prog_RANLIB"; then
5761 ac_ct_RANLIB
=$RANLIB
5762 # Extract the first word of "ranlib", so it can be a program name with args.
5763 set dummy ranlib
; ac_word
=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5767 $as_echo_n "(cached) " >&6
5769 if test -n "$ac_ct_RANLIB"; then
5770 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir
=.
5777 for ac_exec_ext
in '' $ac_executable_extensions; do
5778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5790 if test -n "$ac_ct_RANLIB"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5792 $as_echo "$ac_ct_RANLIB" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5798 if test "x$ac_ct_RANLIB" = x
; then
5801 case $cross_compiling:$ac_tool_warned in
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5805 ac_tool_warned
=yes ;;
5807 RANLIB
=$ac_ct_RANLIB
5810 RANLIB
="$ac_cv_prog_RANLIB"
5813 test -z "$RANLIB" && RANLIB
=:
5820 # Determine commands to create old-style static archives.
5821 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5822 old_postinstall_cmds
='chmod 644 $oldlib'
5823 old_postuninstall_cmds
=
5825 if test -n "$RANLIB"; then
5828 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5831 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5834 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5839 lock_old_archive_extraction
=yes ;;
5841 lock_old_archive_extraction
=no
;;
5882 # If no C compiler was specified, use CC.
5885 # If no C compiler flags were specified, use CFLAGS.
5886 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5888 # Allow CC to be a program name with arguments.
5892 # Check for command to grab the raw symbol name followed by C symbol from nm.
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5894 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5895 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5899 # These are sane defaults that work on at least a few old systems.
5900 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5902 # Character class describing NM global symbol codes.
5903 symcode
='[BCDEGRST]'
5905 # Regexp to match symbols that can be accessed directly from C.
5906 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5908 # Define system-specific variables.
5913 cygwin
* | mingw
* | pw32
* | cegcc
*)
5914 symcode
='[ABCDGISTW]'
5917 if test "$host_cpu" = ia64
; then
5918 symcode
='[ABCDEGRST]'
5922 symcode
='[BCDEGRST]'
5925 symcode
='[BCDEGQRST]'
5936 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5944 # If we're using GNU nm, then use its standard symbol codes.
5945 case `$NM -V 2>&1` in
5946 *GNU
* |
*'with BFD'*)
5947 symcode
='[ABCDGIRSTW]' ;;
5950 # Transform an extracted symbol line into a proper C declaration.
5951 # Some systems (esp. on ia64) link data and code symbols differently,
5952 # so use this general approach.
5953 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5955 # Transform an extracted symbol line into symbol name and symbol address
5956 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5957 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'"
5959 # Handle CRLF in mingw tool chain
5963 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5967 # Try without a prefix underscore, then with it.
5968 for ac_symprfx
in "" "_"; do
5970 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5971 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5973 # Write the raw and C identifiers.
5974 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5975 # Fake it for dumpbin and say T for any non-static function
5976 # and D for any global variable.
5977 # Also find C++ and __fastcall symbols from MSVC++,
5978 # which start with @ or ?.
5979 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5980 " {last_section=section; section=\$ 3};"\
5981 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5982 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5983 " \$ 0!~/External *\|/{next};"\
5984 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5985 " {if(hide[section]) next};"\
5986 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5987 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5988 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5989 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5990 " ' prfx=^$ac_symprfx"
5992 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5994 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5996 # Check to see that the pipe works correctly.
6000 cat > conftest.
$ac_ext <<_LT_EOF
6005 void nm_test_func(void);
6006 void nm_test_func(void){}
6010 int main(){nm_test_var='a';nm_test_func();return(0);}
6013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6014 (eval $ac_compile) 2>&5
6016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6017 test $ac_status = 0; }; then
6018 # Now try to grab the symbols.
6020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6021 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6024 test $ac_status = 0; } && test -s "$nlist"; then
6025 # Try sorting and uniquifying the output.
6026 if sort "$nlist" |
uniq > "$nlist"T
; then
6027 mv -f "$nlist"T
"$nlist"
6032 # Make sure that we snagged all the symbols we need.
6033 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6034 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6035 cat <<_LT_EOF > conftest.$ac_ext
6036 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6037 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6038 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6039 relocations are performed -- see ld's documentation on pseudo-relocs. */
6040 # define LT_DLSYM_CONST
6041 #elif defined(__osf__)
6042 /* This system does not cope well with relocations in const data. */
6043 # define LT_DLSYM_CONST
6045 # define LT_DLSYM_CONST const
6053 # Now generate the symbol file.
6054 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6056 cat <<_LT_EOF >> conftest.$ac_ext
6058 /* The mapping between symbol names and symbols. */
6059 LT_DLSYM_CONST struct {
6063 lt__PROGRAM__LTX_preloaded_symbols[] =
6065 { "@PROGRAM@", (void *) 0 },
6067 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6068 cat <<\_LT_EOF
>> conftest.
$ac_ext
6072 /* This works around a problem
in FreeBSD linker
*/
6073 #ifdef FREEBSD_WORKAROUND
6074 static const void
*lt_preloaded_setup
() {
6075 return lt__PROGRAM__LTX_preloaded_symbols
;
6083 # Now try linking the two files.
6084 mv conftest.
$ac_objext conftstm.
$ac_objext
6085 lt_globsym_save_LIBS
=$LIBS
6086 lt_globsym_save_CFLAGS
=$CFLAGS
6087 LIBS
="conftstm.$ac_objext"
6088 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6089 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6090 (eval $ac_link) 2>&5
6092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6093 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6096 LIBS
=$lt_globsym_save_LIBS
6097 CFLAGS
=$lt_globsym_save_CFLAGS
6099 echo "cannot find nm_test_func in $nlist" >&5
6102 echo "cannot find nm_test_var in $nlist" >&5
6105 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6108 echo "$progname: failed program was:" >&5
6109 cat conftest.
$ac_ext >&5
6111 rm -rf conftest
* conftst
*
6113 # Do not use the global_symbol_pipe unless it works.
6114 if test "$pipe_works" = yes; then
6117 lt_cv_sys_global_symbol_pipe
=
6123 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6124 lt_cv_sys_global_symbol_to_cdecl
=
6126 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6128 $as_echo "failed" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6131 $as_echo "ok" >&6; }
6134 # Response file support.
6135 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6136 nm_file_list_spec
='@'
6137 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
6138 nm_file_list_spec
='@'
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6168 $as_echo_n "checking for sysroot... " >&6; }
6170 # Check whether --with-sysroot was given.
6171 if test "${with_sysroot+set}" = set; then :
6172 withval
=$with_sysroot;
6179 case ${with_sysroot} in #(
6181 if test "$GCC" = yes; then
6182 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6186 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6192 $as_echo "${with_sysroot}" >&6; }
6193 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6198 $as_echo "${lt_sysroot:-no}" >&6; }
6204 # Check whether --enable-libtool-lock was given.
6205 if test "${enable_libtool_lock+set}" = set; then :
6206 enableval
=$enable_libtool_lock;
6209 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6211 # Some flags need to be propagated to the compiler or linker for good
6215 # Find out which ABI we are using.
6216 echo 'int i;' > conftest.
$ac_ext
6217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6218 (eval $ac_compile) 2>&5
6220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6221 test $ac_status = 0; }; then
6222 case `/usr/bin/file conftest.$ac_objext` in
6234 # Find out which ABI we are using.
6235 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6236 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6237 (eval $ac_compile) 2>&5
6239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6240 test $ac_status = 0; }; then
6241 if test "$lt_cv_prog_gnu_ld" = yes; then
6242 case `/usr/bin/file conftest.$ac_objext` in
6244 LD
="${LD-ld} -melf32bsmip"
6247 LD
="${LD-ld} -melf32bmipn32"
6250 LD
="${LD-ld} -melf64bmip"
6254 case `/usr/bin/file conftest.$ac_objext` in
6270 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6271 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6272 # Find out which ABI we are using.
6273 echo 'int i;' > conftest.
$ac_ext
6274 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6275 (eval $ac_compile) 2>&5
6277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6278 test $ac_status = 0; }; then
6279 case `/usr/bin/file conftest.o` in
6282 x86_64-
*kfreebsd
*-gnu)
6283 LD
="${LD-ld} -m elf_i386_fbsd"
6286 LD
="${LD-ld} -m elf_i386"
6288 ppc64-
*linux
*|powerpc64-
*linux
*)
6289 LD
="${LD-ld} -m elf32ppclinux"
6292 LD
="${LD-ld} -m elf_s390"
6295 LD
="${LD-ld} -m elf32_sparc"
6301 x86_64-
*kfreebsd
*-gnu)
6302 LD
="${LD-ld} -m elf_x86_64_fbsd"
6305 LD
="${LD-ld} -m elf_x86_64"
6307 ppc
*-*linux
*|powerpc
*-*linux
*)
6308 LD
="${LD-ld} -m elf64ppc"
6310 s390
*-*linux
*|s390
*-*tpf
*)
6311 LD
="${LD-ld} -m elf64_s390"
6314 LD
="${LD-ld} -m elf64_sparc"
6324 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6325 SAVE_CFLAGS
="$CFLAGS"
6326 CFLAGS
="$CFLAGS -belf"
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6328 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6329 if ${lt_cv_cc_needs_belf+:} false
; then :
6330 $as_echo_n "(cached) " >&6
6333 ac_cpp
='$CPP $CPPFLAGS'
6334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6349 if ac_fn_c_try_link
"$LINENO"; then :
6350 lt_cv_cc_needs_belf
=yes
6352 lt_cv_cc_needs_belf
=no
6354 rm -f core conftest.err conftest.
$ac_objext \
6355 conftest
$ac_exeext conftest.
$ac_ext
6357 ac_cpp
='$CPP $CPPFLAGS'
6358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6364 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6365 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6366 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6367 CFLAGS
="$SAVE_CFLAGS"
6371 # Find out which ABI we are using.
6372 echo 'int i;' > conftest.
$ac_ext
6373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6374 (eval $ac_compile) 2>&5
6376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6377 test $ac_status = 0; }; then
6378 case `/usr/bin/file conftest.o` in
6380 case $lt_cv_prog_gnu_ld in
6384 LD
="${LD-ld} -m elf_x86_64"
6387 LD
="${LD-ld} -m elf64_sparc"
6390 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6391 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6396 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6408 need_locks
="$enable_libtool_lock"
6410 if test -n "$ac_tool_prefix"; then
6411 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6412 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414 $as_echo_n "checking for $ac_word... " >&6; }
6415 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6416 $as_echo_n "(cached) " >&6
6418 if test -n "$MANIFEST_TOOL"; then
6419 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6425 test -z "$as_dir" && as_dir
=.
6426 for ac_exec_ext
in '' $ac_executable_extensions; do
6427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6428 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6439 if test -n "$MANIFEST_TOOL"; then
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6441 $as_echo "$MANIFEST_TOOL" >&6; }
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6444 $as_echo "no" >&6; }
6449 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6450 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6451 # Extract the first word of "mt", so it can be a program name with args.
6452 set dummy mt
; ac_word
=$2
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6454 $as_echo_n "checking for $ac_word... " >&6; }
6455 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6456 $as_echo_n "(cached) " >&6
6458 if test -n "$ac_ct_MANIFEST_TOOL"; then
6459 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6465 test -z "$as_dir" && as_dir
=.
6466 for ac_exec_ext
in '' $ac_executable_extensions; do
6467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6468 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6479 if test -n "$ac_ct_MANIFEST_TOOL"; then
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6481 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6484 $as_echo "no" >&6; }
6487 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6490 case $cross_compiling:$ac_tool_warned in
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6494 ac_tool_warned
=yes ;;
6496 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6499 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6502 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6504 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6505 if ${lt_cv_path_mainfest_tool+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 lt_cv_path_mainfest_tool
=no
6509 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6510 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6511 cat conftest.err
>&5
6512 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6513 lt_cv_path_mainfest_tool
=yes
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6518 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6519 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6529 rhapsody
* | darwin
*)
6530 if test -n "$ac_tool_prefix"; then
6531 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6532 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6536 $as_echo_n "(cached) " >&6
6538 if test -n "$DSYMUTIL"; then
6539 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6545 test -z "$as_dir" && as_dir
=.
6546 for ac_exec_ext
in '' $ac_executable_extensions; do
6547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6559 if test -n "$DSYMUTIL"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6561 $as_echo "$DSYMUTIL" >&6; }
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6569 if test -z "$ac_cv_prog_DSYMUTIL"; then
6570 ac_ct_DSYMUTIL
=$DSYMUTIL
6571 # Extract the first word of "dsymutil", so it can be a program name with args.
6572 set dummy dsymutil
; ac_word
=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6576 $as_echo_n "(cached) " >&6
6578 if test -n "$ac_ct_DSYMUTIL"; then
6579 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6585 test -z "$as_dir" && as_dir
=.
6586 for ac_exec_ext
in '' $ac_executable_extensions; do
6587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6599 if test -n "$ac_ct_DSYMUTIL"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6601 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6607 if test "x$ac_ct_DSYMUTIL" = x
; then
6610 case $cross_compiling:$ac_tool_warned in
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6614 ac_tool_warned
=yes ;;
6616 DSYMUTIL
=$ac_ct_DSYMUTIL
6619 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6622 if test -n "$ac_tool_prefix"; then
6623 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6624 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 $as_echo_n "checking for $ac_word... " >&6; }
6627 if ${ac_cv_prog_NMEDIT+:} false
; then :
6628 $as_echo_n "(cached) " >&6
6630 if test -n "$NMEDIT"; then
6631 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6637 test -z "$as_dir" && as_dir
=.
6638 for ac_exec_ext
in '' $ac_executable_extensions; do
6639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6640 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6650 NMEDIT
=$ac_cv_prog_NMEDIT
6651 if test -n "$NMEDIT"; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6653 $as_echo "$NMEDIT" >&6; }
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6661 if test -z "$ac_cv_prog_NMEDIT"; then
6662 ac_ct_NMEDIT
=$NMEDIT
6663 # Extract the first word of "nmedit", so it can be a program name with args.
6664 set dummy nmedit
; ac_word
=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6668 $as_echo_n "(cached) " >&6
6670 if test -n "$ac_ct_NMEDIT"; then
6671 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir
=.
6678 for ac_exec_ext
in '' $ac_executable_extensions; do
6679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6691 if test -n "$ac_ct_NMEDIT"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6693 $as_echo "$ac_ct_NMEDIT" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6699 if test "x$ac_ct_NMEDIT" = x
; then
6702 case $cross_compiling:$ac_tool_warned in
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6706 ac_tool_warned
=yes ;;
6708 NMEDIT
=$ac_ct_NMEDIT
6711 NMEDIT
="$ac_cv_prog_NMEDIT"
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6716 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_LIPO+:} false
; then :
6720 $as_echo_n "(cached) " >&6
6722 if test -n "$LIPO"; then
6723 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6729 test -z "$as_dir" && as_dir
=.
6730 for ac_exec_ext
in '' $ac_executable_extensions; do
6731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 LIPO
=$ac_cv_prog_LIPO
6743 if test -n "$LIPO"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6745 $as_echo "$LIPO" >&6; }
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6753 if test -z "$ac_cv_prog_LIPO"; then
6755 # Extract the first word of "lipo", so it can be a program name with args.
6756 set dummy lipo
; ac_word
=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6760 $as_echo_n "(cached) " >&6
6762 if test -n "$ac_ct_LIPO"; then
6763 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir
=.
6770 for ac_exec_ext
in '' $ac_executable_extensions; do
6771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_ac_ct_LIPO
="lipo"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6783 if test -n "$ac_ct_LIPO"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6785 $as_echo "$ac_ct_LIPO" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6791 if test "x$ac_ct_LIPO" = x
; then
6794 case $cross_compiling:$ac_tool_warned in
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6798 ac_tool_warned
=yes ;;
6803 LIPO
="$ac_cv_prog_LIPO"
6806 if test -n "$ac_tool_prefix"; then
6807 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6808 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_OTOOL+:} false
; then :
6812 $as_echo_n "(cached) " >&6
6814 if test -n "$OTOOL"; then
6815 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6821 test -z "$as_dir" && as_dir
=.
6822 for ac_exec_ext
in '' $ac_executable_extensions; do
6823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6824 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 OTOOL
=$ac_cv_prog_OTOOL
6835 if test -n "$OTOOL"; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6837 $as_echo "$OTOOL" >&6; }
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6845 if test -z "$ac_cv_prog_OTOOL"; then
6847 # Extract the first word of "otool", so it can be a program name with args.
6848 set dummy otool
; ac_word
=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$ac_ct_OTOOL"; then
6855 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir
=.
6862 for ac_exec_ext
in '' $ac_executable_extensions; do
6863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_ac_ct_OTOOL
="otool"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6875 if test -n "$ac_ct_OTOOL"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6877 $as_echo "$ac_ct_OTOOL" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6883 if test "x$ac_ct_OTOOL" = x
; then
6886 case $cross_compiling:$ac_tool_warned in
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned
=yes ;;
6895 OTOOL
="$ac_cv_prog_OTOOL"
6898 if test -n "$ac_tool_prefix"; then
6899 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6900 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6902 $as_echo_n "checking for $ac_word... " >&6; }
6903 if ${ac_cv_prog_OTOOL64+:} false
; then :
6904 $as_echo_n "(cached) " >&6
6906 if test -n "$OTOOL64"; then
6907 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir
=.
6914 for ac_exec_ext
in '' $ac_executable_extensions; do
6915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 OTOOL64
=$ac_cv_prog_OTOOL64
6927 if test -n "$OTOOL64"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6929 $as_echo "$OTOOL64" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6937 if test -z "$ac_cv_prog_OTOOL64"; then
6938 ac_ct_OTOOL64
=$OTOOL64
6939 # Extract the first word of "otool64", so it can be a program name with args.
6940 set dummy otool64
; ac_word
=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 $as_echo_n "checking for $ac_word... " >&6; }
6943 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6944 $as_echo_n "(cached) " >&6
6946 if test -n "$ac_ct_OTOOL64"; then
6947 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6953 test -z "$as_dir" && as_dir
=.
6954 for ac_exec_ext
in '' $ac_executable_extensions; do
6955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6956 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6967 if test -n "$ac_ct_OTOOL64"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6969 $as_echo "$ac_ct_OTOOL64" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6975 if test "x$ac_ct_OTOOL64" = x
; then
6978 case $cross_compiling:$ac_tool_warned in
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6982 ac_tool_warned
=yes ;;
6984 OTOOL64
=$ac_ct_OTOOL64
6987 OTOOL64
="$ac_cv_prog_OTOOL64"
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7017 $as_echo_n "checking for -single_module linker flag... " >&6; }
7018 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7019 $as_echo_n "(cached) " >&6
7021 lt_cv_apple_cc_single_mod
=no
7022 if test -z "${LT_MULTI_MODULE}"; then
7023 # By default we will add the -single_module flag. You can override
7024 # by either setting the environment variable LT_MULTI_MODULE
7025 # non-empty at configure time, or by adding -multi_module to the
7027 rm -rf libconftest.dylib
*
7028 echo "int foo(void){return 1;}" > conftest.c
7029 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7030 -dynamiclib -Wl,-single_module conftest.c" >&5
7031 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7032 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7034 # If there is a non-empty error log, and "single_module"
7035 # appears in it, assume the flag caused a linker warning
7036 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7037 cat conftest.err
>&5
7038 # Otherwise, if the output was created with a 0 exit code from
7039 # the compiler, it worked.
7040 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
7041 lt_cv_apple_cc_single_mod
=yes
7043 cat conftest.err
>&5
7045 rm -rf libconftest.dylib
*
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7050 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7053 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7054 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7055 $as_echo_n "(cached) " >&6
7057 lt_cv_ld_exported_symbols_list
=no
7058 save_LDFLAGS
=$LDFLAGS
7059 echo "_main" > conftest.sym
7060 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7072 if ac_fn_c_try_link
"$LINENO"; then :
7073 lt_cv_ld_exported_symbols_list
=yes
7075 lt_cv_ld_exported_symbols_list
=no
7077 rm -f core conftest.err conftest.
$ac_objext \
7078 conftest
$ac_exeext conftest.
$ac_ext
7079 LDFLAGS
="$save_LDFLAGS"
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7083 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7086 $as_echo_n "checking for -force_load linker flag... " >&6; }
7087 if ${lt_cv_ld_force_load+:} false
; then :
7088 $as_echo_n "(cached) " >&6
7090 lt_cv_ld_force_load
=no
7091 cat > conftest.c
<< _LT_EOF
7092 int forced_loaded() { return 2;}
7094 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7095 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7096 echo "$AR cru libconftest.a conftest.o" >&5
7097 $AR cru libconftest.a conftest.o
2>&5
7098 echo "$RANLIB libconftest.a" >&5
7099 $RANLIB libconftest.a
2>&5
7100 cat > conftest.c
<< _LT_EOF
7101 int main() { return 0;}
7103 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7104 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7106 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7107 cat conftest.err
>&5
7108 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7109 lt_cv_ld_force_load
=yes
7111 cat conftest.err
>&5
7113 rm -f conftest.err libconftest.a conftest conftest.c
7114 rm -rf conftest.dSYM
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7118 $as_echo "$lt_cv_ld_force_load" >&6; }
7120 rhapsody
* | darwin1.
[012])
7121 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7123 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7124 darwin
*) # darwin 5.x on
7125 # if running on 10.5 or later, the deployment target defaults
7126 # to the OS version, if on x86, and 10.4, the deployment
7127 # target defaults to 10.4. Don't you love it?
7128 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7129 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7130 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7132 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7134 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7138 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7139 _lt_dar_single_mod
='$single_module'
7141 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7142 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7144 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7146 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7147 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7155 ac_cpp
='$CPP $CPPFLAGS'
7156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7160 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7161 # On Suns, sometimes $CPP names a directory.
7162 if test -n "$CPP" && test -d "$CPP"; then
7165 if test -z "$CPP"; then
7166 if ${ac_cv_prog_CPP+:} false
; then :
7167 $as_echo_n "(cached) " >&6
7169 # Double quotes because CPP needs to be expanded
7170 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7173 for ac_c_preproc_warn_flag
in '' yes
7175 # Use a header file that comes with gcc, so configuring glibc
7176 # with a fresh cross-compiler works.
7177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7178 # <limits.h> exists even on freestanding compilers.
7179 # On the NeXT, cc -E runs the code through the compiler's parser,
7180 # not just through cpp. "Syntax error" is here to catch this case.
7181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7184 # include <limits.h>
7186 # include <assert.h>
7190 if ac_fn_c_try_cpp
"$LINENO"; then :
7193 # Broken: fails on valid input.
7196 rm -f conftest.err conftest.i conftest.
$ac_ext
7198 # OK, works on sane cases. Now check whether nonexistent headers
7199 # can be detected and how.
7200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7201 /* end confdefs.h. */
7202 #include <ac_nonexistent.h>
7204 if ac_fn_c_try_cpp
"$LINENO"; then :
7205 # Broken: success on invalid input.
7208 # Passes both tests.
7212 rm -f conftest.err conftest.i conftest.
$ac_ext
7215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7216 rm -f conftest.i conftest.err conftest.
$ac_ext
7217 if $ac_preproc_ok; then :
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7230 $as_echo "$CPP" >&6; }
7232 for ac_c_preproc_warn_flag
in '' yes
7234 # Use a header file that comes with gcc, so configuring glibc
7235 # with a fresh cross-compiler works.
7236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7237 # <limits.h> exists even on freestanding compilers.
7238 # On the NeXT, cc -E runs the code through the compiler's parser,
7239 # not just through cpp. "Syntax error" is here to catch this case.
7240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7243 # include <limits.h>
7245 # include <assert.h>
7249 if ac_fn_c_try_cpp
"$LINENO"; then :
7252 # Broken: fails on valid input.
7255 rm -f conftest.err conftest.i conftest.
$ac_ext
7257 # OK, works on sane cases. Now check whether nonexistent headers
7258 # can be detected and how.
7259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <ac_nonexistent.h>
7263 if ac_fn_c_try_cpp
"$LINENO"; then :
7264 # Broken: success on invalid input.
7267 # Passes both tests.
7271 rm -f conftest.err conftest.i conftest.
$ac_ext
7274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7275 rm -f conftest.i conftest.err conftest.
$ac_ext
7276 if $ac_preproc_ok; then :
7279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7281 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7282 See \`config.log' for more details" "$LINENO" 5; }
7286 ac_cpp
='$CPP $CPPFLAGS'
7287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7293 $as_echo_n "checking for ANSI C header files... " >&6; }
7294 if ${ac_cv_header_stdc+:} false
; then :
7295 $as_echo_n "(cached) " >&6
7297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h. */
7312 if ac_fn_c_try_compile
"$LINENO"; then :
7313 ac_cv_header_stdc
=yes
7315 ac_cv_header_stdc
=no
7317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7319 if test $ac_cv_header_stdc = yes; then
7320 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7327 $EGREP "memchr" >/dev
/null
2>&1; then :
7330 ac_cv_header_stdc
=no
7336 if test $ac_cv_header_stdc = yes; then
7337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7339 /* end confdefs.h. */
7343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7344 $EGREP "free" >/dev
/null
2>&1; then :
7347 ac_cv_header_stdc
=no
7353 if test $ac_cv_header_stdc = yes; then
7354 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7355 if test "$cross_compiling" = yes; then :
7358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7362 #if ((' ' & 0x0FF) == 0x020)
7363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7366 # define ISLOWER(c) \
7367 (('a' <= (c) && (c) <= 'i') \
7368 || ('j' <= (c) && (c) <= 'r') \
7369 || ('s' <= (c) && (c) <= 'z'))
7370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7378 for (i = 0; i < 256; i++)
7379 if (XOR (islower (i), ISLOWER (i))
7380 || toupper (i) != TOUPPER (i))
7385 if ac_fn_c_try_run
"$LINENO"; then :
7388 ac_cv_header_stdc
=no
7390 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7391 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7397 $as_echo "$ac_cv_header_stdc" >&6; }
7398 if test $ac_cv_header_stdc = yes; then
7400 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7404 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7405 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7406 inttypes.h stdint.h unistd.h
7408 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7411 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7412 cat >>confdefs.h
<<_ACEOF
7413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7421 for ac_header
in dlfcn.h
7423 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7425 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7426 cat >>confdefs.h
<<_ACEOF
7427 #define HAVE_DLFCN_H 1
7448 # Check whether --enable-shared was given.
7449 if test "${enable_shared+set}" = set; then :
7450 enableval
=$enable_shared; p
=${PACKAGE-default}
7452 yes) enable_shared
=yes ;;
7453 no
) enable_shared
=no
;;
7456 # Look at the argument we got. We use all the common list separators.
7457 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7458 for pkg
in $enableval; do
7460 if test "X$pkg" = "X$p"; then
7479 # Check whether --enable-static was given.
7480 if test "${enable_static+set}" = set; then :
7481 enableval
=$enable_static; p
=${PACKAGE-default}
7483 yes) enable_static
=yes ;;
7484 no
) enable_static
=no
;;
7487 # Look at the argument we got. We use all the common list separators.
7488 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7489 for pkg
in $enableval; do
7491 if test "X$pkg" = "X$p"; then
7511 # Check whether --with-pic was given.
7512 if test "${with_pic+set}" = set; then :
7513 withval
=$with_pic; lt_p
=${PACKAGE-default}
7515 yes|no
) pic_mode
=$withval ;;
7518 # Look at the argument we got. We use all the common list separators.
7519 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7520 for lt_pkg
in $withval; do
7522 if test "X$lt_pkg" = "X$lt_p"; then
7534 test -z "$pic_mode" && pic_mode
=default
7542 # Check whether --enable-fast-install was given.
7543 if test "${enable_fast_install+set}" = set; then :
7544 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7546 yes) enable_fast_install
=yes ;;
7547 no
) enable_fast_install
=no
;;
7549 enable_fast_install
=no
7550 # Look at the argument we got. We use all the common list separators.
7551 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7552 for pkg
in $enableval; do
7554 if test "X$pkg" = "X$p"; then
7555 enable_fast_install
=yes
7562 enable_fast_install
=yes
7575 # This can be used to rebuild libtool when needed
7576 LIBTOOL_DEPS
="$ltmain"
7578 # Always use our own libtool.
7579 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7610 test -z "$LN_S" && LN_S
="ln -s"
7625 if test -n "${ZSH_VERSION+set}" ; then
7626 setopt NO_GLOB_SUBST
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7630 $as_echo_n "checking for objdir... " >&6; }
7631 if ${lt_cv_objdir+:} false
; then :
7632 $as_echo_n "(cached) " >&6
7634 rm -f .libs
2>/dev
/null
7635 mkdir .libs
2>/dev
/null
7636 if test -d .libs
; then
7639 # MS-DOS does not allow filenames that begin with a dot.
7642 rmdir .libs
2>/dev
/null
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7645 $as_echo "$lt_cv_objdir" >&6; }
7646 objdir
=$lt_cv_objdir
7652 cat >>confdefs.h
<<_ACEOF
7653 #define LT_OBJDIR "$lt_cv_objdir/"
7661 # AIX sometimes has problems with the GCC collect2 program. For some
7662 # reason, if we set the COLLECT_NAMES environment variable, the problems
7663 # vanish in a puff of smoke.
7664 if test "X${COLLECT_NAMES+set}" != Xset
; then
7666 export COLLECT_NAMES
7673 can_build_shared
=yes
7675 # All known linkers require a `.a' archive for static linking (except MSVC,
7676 # which needs '.lib').
7679 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7682 old_CFLAGS
="$CFLAGS"
7684 # Set sane defaults for various variables
7685 test -z "$CC" && CC
=cc
7686 test -z "$LTCC" && LTCC
=$CC
7687 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7688 test -z "$LD" && LD
=ld
7689 test -z "$ac_objext" && ac_objext
=o
7691 for cc_temp
in $compiler""; do
7693 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7694 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7699 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7702 # Only perform the check for file, if the check method requires it
7703 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7704 case $deplibs_check_method in
7706 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7708 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7709 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7710 $as_echo_n "(cached) " >&6
7714 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7717 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7718 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7719 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7720 for ac_dir
in $ac_dummy; do
7722 test -z "$ac_dir" && ac_dir
=.
7723 if test -f $ac_dir/${ac_tool_prefix}file; then
7724 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7725 if test -n "$file_magic_test_file"; then
7726 case $deplibs_check_method in
7728 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7729 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7730 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7731 $EGREP "$file_magic_regex" > /dev
/null
; then
7736 *** Warning: the command libtool uses to detect shared libraries,
7737 *** $file_magic_cmd, produces output that libtool cannot recognize.
7738 *** The result is that libtool may fail to recognize shared libraries
7739 *** as such. This will affect the creation of libtool libraries that
7740 *** depend on shared libraries, but programs linked with such libtool
7741 *** libraries will work regardless of this problem. Nevertheless, you
7742 *** may want to report the problem to your system manager and/or to
7743 *** bug-libtool@gnu.org
7753 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7758 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7759 if test -n "$MAGIC_CMD"; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7761 $as_echo "$MAGIC_CMD" >&6; }
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7764 $as_echo "no" >&6; }
7771 if test -z "$lt_cv_path_MAGIC_CMD"; then
7772 if test -n "$ac_tool_prefix"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7774 $as_echo_n "checking for file... " >&6; }
7775 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7776 $as_echo_n "(cached) " >&6
7780 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7783 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7784 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7785 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7786 for ac_dir
in $ac_dummy; do
7788 test -z "$ac_dir" && ac_dir
=.
7789 if test -f $ac_dir/file; then
7790 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7791 if test -n "$file_magic_test_file"; then
7792 case $deplibs_check_method in
7794 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7795 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7796 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7797 $EGREP "$file_magic_regex" > /dev
/null
; then
7802 *** Warning: the command libtool uses to detect shared libraries,
7803 *** $file_magic_cmd, produces output that libtool cannot recognize.
7804 *** The result is that libtool may fail to recognize shared libraries
7805 *** as such. This will affect the creation of libtool libraries that
7806 *** depend on shared libraries, but programs linked with such libtool
7807 *** libraries will work regardless of this problem. Nevertheless, you
7808 *** may want to report the problem to your system manager and/or to
7809 *** bug-libtool@gnu.org
7819 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7824 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7825 if test -n "$MAGIC_CMD"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7827 $as_echo "$MAGIC_CMD" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830 $as_echo "no" >&6; }
7843 # Use C for the default configuration in the libtool script
7847 ac_cpp
='$CPP $CPPFLAGS'
7848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7853 # Source file extension for C test sources.
7856 # Object file extension for compiled C test sources.
7860 # Code to be used in simple compile tests
7861 lt_simple_compile_test_code
="int some_variable = 0;"
7863 # Code to be used in simple link tests
7864 lt_simple_link_test_code
='int main(){return(0);}'
7872 # If no C compiler was specified, use CC.
7875 # If no C compiler flags were specified, use CFLAGS.
7876 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7878 # Allow CC to be a program name with arguments.
7881 # Save the default compiler, since it gets overwritten when the other
7882 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7883 compiler_DEFAULT
=$CC
7885 # save warnings/boilerplate of simple test code
7886 ac_outfile
=conftest.
$ac_objext
7887 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7888 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7889 _lt_compiler_boilerplate
=`cat conftest.err`
7892 ac_outfile
=conftest.
$ac_objext
7893 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7894 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7895 _lt_linker_boilerplate
=`cat conftest.err`
7899 if test -n "$compiler"; then
7901 lt_prog_compiler_no_builtin_flag
=
7903 if test "$GCC" = yes; then
7904 case $cc_basename in
7906 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7908 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7912 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7913 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7914 $as_echo_n "(cached) " >&6
7916 lt_cv_prog_compiler_rtti_exceptions
=no
7917 ac_outfile
=conftest.
$ac_objext
7918 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7919 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7920 # Insert the option either (1) after the last *FLAGS variable, or
7921 # (2) before a word containing "conftest.", or (3) at the end.
7922 # Note that $ac_compile itself does not contain backslashes and begins
7923 # with a dollar sign (not a hyphen), so the echo should work correctly.
7924 # The option is referenced via a variable to avoid confusing sed.
7925 lt_compile
=`echo "$ac_compile" | $SED \
7926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7928 -e 's:$: $lt_compiler_flag:'`
7929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7930 (eval "$lt_compile" 2>conftest.err
)
7932 cat conftest.err
>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 if (exit $ac_status) && test -s "$ac_outfile"; then
7935 # The compiler can only warn and ignore the option if not recognized
7936 # So say no if there are warnings other than the usual output.
7937 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7938 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7939 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7940 lt_cv_prog_compiler_rtti_exceptions
=yes
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7947 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7949 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7950 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7962 lt_prog_compiler_wl
=
7963 lt_prog_compiler_pic
=
7964 lt_prog_compiler_static
=
7967 if test "$GCC" = yes; then
7968 lt_prog_compiler_wl
='-Wl,'
7969 lt_prog_compiler_static
='-static'
7973 # All AIX code is PIC.
7974 if test "$host_cpu" = ia64
; then
7975 # AIX 5 now supports IA64 processor
7976 lt_prog_compiler_static
='-Bstatic'
7983 # see comment about AmigaOS4 .so support
7984 lt_prog_compiler_pic
='-fPIC'
7987 # FIXME: we need at least 68020 code to build shared libraries, but
7988 # adding the `-m68020' flag to GCC prevents building anything better,
7990 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7995 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7996 # PIC is the default for these OSes.
7999 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8000 # This hack is so that the source file can tell whether it is being
8001 # built for inclusion in a dll (and should export symbols for example).
8002 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8003 # (--disable-auto-import) libraries
8004 lt_prog_compiler_pic
='-DDLL_EXPORT'
8007 darwin
* | rhapsody
*)
8008 # PIC is the default on this platform
8009 # Common symbols not allowed in MH_DYLIB files
8010 lt_prog_compiler_pic
='-fno-common'
8014 # PIC is the default for Haiku.
8015 # The "-static" flag exists, but is broken.
8016 lt_prog_compiler_static
=
8020 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8021 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8022 # sets the default TLS model and affects inlining.
8028 lt_prog_compiler_pic
='-fPIC'
8034 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8035 # Instead, we relocate shared libraries at runtime.
8039 # Just because we use GCC doesn't mean we suddenly get shared libraries
8040 # on systems that don't support them.
8041 lt_prog_compiler_can_build_shared
=no
8046 # QNX uses GNU C++, but need to define -shared option too, otherwise
8048 lt_prog_compiler_pic
='-fPIC -shared'
8052 if test -d /usr
/nec
; then
8053 lt_prog_compiler_pic
=-Kconform_pic
8058 lt_prog_compiler_pic
='-fPIC'
8062 case $cc_basename in
8063 nvcc
*) # Cuda Compiler Driver 2.2
8064 lt_prog_compiler_wl
='-Xlinker '
8065 if test -n "$lt_prog_compiler_pic"; then
8066 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8071 # PORTME Check for flag to pass linker flags through the system compiler.
8074 lt_prog_compiler_wl
='-Wl,'
8075 if test "$host_cpu" = ia64
; then
8076 # AIX 5 now supports IA64 processor
8077 lt_prog_compiler_static
='-Bstatic'
8079 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8083 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8084 # This hack is so that the source file can tell whether it is being
8085 # built for inclusion in a dll (and should export symbols for example).
8086 lt_prog_compiler_pic
='-DDLL_EXPORT'
8089 hpux9
* | hpux10
* | hpux11
*)
8090 lt_prog_compiler_wl
='-Wl,'
8091 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8098 lt_prog_compiler_pic
='+Z'
8101 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8102 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8105 irix5
* | irix6
* | nonstopux
*)
8106 lt_prog_compiler_wl
='-Wl,'
8107 # PIC (with -KPIC) is the default.
8108 lt_prog_compiler_static
='-non_shared'
8111 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8112 case $cc_basename in
8113 # old Intel for x86_64 which still supported -KPIC.
8115 lt_prog_compiler_wl
='-Wl,'
8116 lt_prog_compiler_pic
='-KPIC'
8117 lt_prog_compiler_static
='-static'
8119 # icc used to be incompatible with GCC.
8120 # ICC 10 doesn't accept -KPIC any more.
8122 lt_prog_compiler_wl
='-Wl,'
8123 lt_prog_compiler_pic
='-fPIC'
8124 lt_prog_compiler_static
='-static'
8126 # Lahey Fortran 8.1.
8128 lt_prog_compiler_wl
='-Wl,'
8129 lt_prog_compiler_pic
='--shared'
8130 lt_prog_compiler_static
='--static'
8133 # NAG Fortran compiler
8134 lt_prog_compiler_wl
='-Wl,-Wl,,'
8135 lt_prog_compiler_pic
='-PIC'
8136 lt_prog_compiler_static
='-Bstatic'
8138 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8139 # Portland Group compilers (*not* the Pentium gcc compiler,
8140 # which looks to be a dead project)
8141 lt_prog_compiler_wl
='-Wl,'
8142 lt_prog_compiler_pic
='-fpic'
8143 lt_prog_compiler_static
='-Bstatic'
8146 lt_prog_compiler_wl
='-Wl,'
8147 # All Alpha code is PIC.
8148 lt_prog_compiler_static
='-non_shared'
8150 xl
* | bgxl
* | bgf
* | mpixl
*)
8151 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8152 lt_prog_compiler_wl
='-Wl,'
8153 lt_prog_compiler_pic
='-qpic'
8154 lt_prog_compiler_static
='-qstaticlink'
8157 case `$CC -V 2>&1 | sed 5q` in
8158 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8159 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8160 lt_prog_compiler_pic
='-KPIC'
8161 lt_prog_compiler_static
='-Bstatic'
8162 lt_prog_compiler_wl
=''
8164 *Sun\ F
* |
*Sun
*Fortran
*)
8165 lt_prog_compiler_pic
='-KPIC'
8166 lt_prog_compiler_static
='-Bstatic'
8167 lt_prog_compiler_wl
='-Qoption ld '
8171 lt_prog_compiler_pic
='-KPIC'
8172 lt_prog_compiler_static
='-Bstatic'
8173 lt_prog_compiler_wl
='-Wl,'
8175 *Intel
*\
[CF
]*Compiler
*)
8176 lt_prog_compiler_wl
='-Wl,'
8177 lt_prog_compiler_pic
='-fPIC'
8178 lt_prog_compiler_static
='-static'
8181 lt_prog_compiler_wl
='-Wl,'
8182 lt_prog_compiler_pic
='-fpic'
8183 lt_prog_compiler_static
='-Bstatic'
8191 lt_prog_compiler_pic
='-KPIC'
8192 lt_prog_compiler_static
='-Bstatic'
8196 # QNX uses GNU C++, but need to define -shared option too, otherwise
8198 lt_prog_compiler_pic
='-fPIC -shared'
8201 osf3
* | osf4
* | osf5
*)
8202 lt_prog_compiler_wl
='-Wl,'
8203 # All OSF/1 code is PIC.
8204 lt_prog_compiler_static
='-non_shared'
8208 lt_prog_compiler_static
='-non_shared'
8212 lt_prog_compiler_pic
='-KPIC'
8213 lt_prog_compiler_static
='-Bstatic'
8214 case $cc_basename in
8215 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8216 lt_prog_compiler_wl
='-Qoption ld ';;
8218 lt_prog_compiler_wl
='-Wl,';;
8223 lt_prog_compiler_wl
='-Qoption ld '
8224 lt_prog_compiler_pic
='-PIC'
8225 lt_prog_compiler_static
='-Bstatic'
8228 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8229 lt_prog_compiler_wl
='-Wl,'
8230 lt_prog_compiler_pic
='-KPIC'
8231 lt_prog_compiler_static
='-Bstatic'
8235 if test -d /usr
/nec
;then
8236 lt_prog_compiler_pic
='-Kconform_pic'
8237 lt_prog_compiler_static
='-Bstatic'
8241 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8242 lt_prog_compiler_wl
='-Wl,'
8243 lt_prog_compiler_pic
='-KPIC'
8244 lt_prog_compiler_static
='-Bstatic'
8248 lt_prog_compiler_wl
='-Wl,'
8249 lt_prog_compiler_can_build_shared
=no
8253 lt_prog_compiler_pic
='-pic'
8254 lt_prog_compiler_static
='-Bstatic'
8258 lt_prog_compiler_can_build_shared
=no
8264 # For platforms which do not support PIC, -DPIC is meaningless:
8266 lt_prog_compiler_pic
=
8269 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8274 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8275 if ${lt_cv_prog_compiler_pic+:} false
; then :
8276 $as_echo_n "(cached) " >&6
8278 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8281 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8282 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8285 # Check to make sure the PIC flag actually works.
8287 if test -n "$lt_prog_compiler_pic"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8289 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8290 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8291 $as_echo_n "(cached) " >&6
8293 lt_cv_prog_compiler_pic_works
=no
8294 ac_outfile
=conftest.
$ac_objext
8295 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8296 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8297 # Insert the option either (1) after the last *FLAGS variable, or
8298 # (2) before a word containing "conftest.", or (3) at the end.
8299 # Note that $ac_compile itself does not contain backslashes and begins
8300 # with a dollar sign (not a hyphen), so the echo should work correctly.
8301 # The option is referenced via a variable to avoid confusing sed.
8302 lt_compile
=`echo "$ac_compile" | $SED \
8303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305 -e 's:$: $lt_compiler_flag:'`
8306 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8307 (eval "$lt_compile" 2>conftest.err
)
8309 cat conftest.err
>&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 if (exit $ac_status) && test -s "$ac_outfile"; then
8312 # The compiler can only warn and ignore the option if not recognized
8313 # So say no if there are warnings other than the usual output.
8314 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8316 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8317 lt_cv_prog_compiler_pic_works
=yes
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8324 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8326 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8327 case $lt_prog_compiler_pic in
8329 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8332 lt_prog_compiler_pic
=
8333 lt_prog_compiler_can_build_shared
=no
8349 # Check to make sure the static flag actually works.
8351 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8353 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8354 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8355 $as_echo_n "(cached) " >&6
8357 lt_cv_prog_compiler_static_works
=no
8358 save_LDFLAGS
="$LDFLAGS"
8359 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8360 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8361 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8362 # The linker can only warn and ignore the option if not recognized
8363 # So say no if there are warnings
8364 if test -s conftest.err
; then
8365 # Append any errors to the config.log.
8366 cat conftest.err
1>&5
8367 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8368 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8369 if diff conftest.exp conftest.er2
>/dev
/null
; then
8370 lt_cv_prog_compiler_static_works
=yes
8373 lt_cv_prog_compiler_static_works
=yes
8377 LDFLAGS
="$save_LDFLAGS"
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8381 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8383 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8386 lt_prog_compiler_static
=
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8396 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8397 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8398 $as_echo_n "(cached) " >&6
8400 lt_cv_prog_compiler_c_o
=no
8401 $RM -r conftest
2>/dev
/null
8405 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8407 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8408 # Insert the option either (1) after the last *FLAGS variable, or
8409 # (2) before a word containing "conftest.", or (3) at the end.
8410 # Note that $ac_compile itself does not contain backslashes and begins
8411 # with a dollar sign (not a hyphen), so the echo should work correctly.
8412 lt_compile
=`echo "$ac_compile" | $SED \
8413 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8414 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8415 -e 's:$: $lt_compiler_flag:'`
8416 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8417 (eval "$lt_compile" 2>out
/conftest.err
)
8419 cat out
/conftest.err
>&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8423 # The compiler can only warn and ignore the option if not recognized
8424 # So say no if there are warnings
8425 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8426 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8427 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8428 lt_cv_prog_compiler_c_o
=yes
8433 # SGI C++ compiler will create directory out/ii_files/ for
8434 # template instantiation
8435 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8436 $RM out
/* && rmdir out
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8443 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8451 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8452 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8453 $as_echo_n "(cached) " >&6
8455 lt_cv_prog_compiler_c_o
=no
8456 $RM -r conftest
2>/dev
/null
8460 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8462 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8463 # Insert the option either (1) after the last *FLAGS variable, or
8464 # (2) before a word containing "conftest.", or (3) at the end.
8465 # Note that $ac_compile itself does not contain backslashes and begins
8466 # with a dollar sign (not a hyphen), so the echo should work correctly.
8467 lt_compile
=`echo "$ac_compile" | $SED \
8468 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8470 -e 's:$: $lt_compiler_flag:'`
8471 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8472 (eval "$lt_compile" 2>out
/conftest.err
)
8474 cat out
/conftest.err
>&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8478 # The compiler can only warn and ignore the option if not recognized
8479 # So say no if there are warnings
8480 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8481 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8482 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8483 lt_cv_prog_compiler_c_o
=yes
8488 # SGI C++ compiler will create directory out/ii_files/ for
8489 # template instantiation
8490 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8491 $RM out
/* && rmdir out
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8498 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8503 hard_links
="nottested"
8504 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8505 # do not overwrite the value of need_locks provided by the user
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8507 $as_echo_n "checking if we can lock with hard links... " >&6; }
8510 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8512 ln conftest.a conftest.b
2>&5 || hard_links
=no
8513 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8515 $as_echo "$hard_links" >&6; }
8516 if test "$hard_links" = no
; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8518 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8531 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8534 allow_undefined_flag
=
8535 always_export_symbols
=no
8537 archive_expsym_cmds
=
8538 compiler_needs_object
=no
8539 enable_shared_with_static_runtimes
=no
8540 export_dynamic_flag_spec
=
8541 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8542 hardcode_automatic
=no
8544 hardcode_direct_absolute
=no
8545 hardcode_libdir_flag_spec
=
8546 hardcode_libdir_separator
=
8548 hardcode_shlibpath_var
=unsupported
8550 link_all_deplibs
=unknown
8553 old_archive_from_new_cmds
=
8554 old_archive_from_expsyms_cmds
=
8555 thread_safe_flag_spec
=
8556 whole_archive_flag_spec
=
8557 # include_expsyms should be a list of space-separated symbols to be *always*
8558 # included in the symbol list
8560 # exclude_expsyms can be an extended regexp of symbols to exclude
8561 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8562 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8563 # as well as any symbol that contains `d'.
8564 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8565 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8566 # platforms (ab)use it in PIC code, but their linkers get confused if
8567 # the symbol is explicitly referenced. Since portable code cannot
8568 # rely on this symbol name, it's probably fine to never include it in
8569 # preloaded symbol tables.
8570 # Exclude shared library initialization/finalization symbols.
8571 extract_expsyms_cmds
=
8574 cygwin
* | mingw
* | pw32
* | cegcc
*)
8575 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8576 # When not using gcc, we currently assume that we are using
8577 # Microsoft Visual C++.
8578 if test "$GCC" != yes; then
8583 # we just hope/assume this is gcc and not c89 (= MSVC++)
8593 # On some targets, GNU ld is compatible enough with the native linker
8594 # that we're better off using the native interface for both.
8595 lt_use_gnu_ld_interface
=no
8596 if test "$with_gnu_ld" = yes; then
8599 # The AIX port of GNU ld has always aspired to compatibility
8600 # with the native linker. However, as the warning in the GNU ld
8601 # block says, versions before 2.19.5* couldn't really create working
8602 # shared libraries, regardless of the interface used.
8603 case `$LD -v 2>&1` in
8604 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8605 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8606 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8608 lt_use_gnu_ld_interface
=yes
8613 lt_use_gnu_ld_interface
=yes
8618 if test "$lt_use_gnu_ld_interface" = yes; then
8619 # If archive_cmds runs LD, not CC, wlarc should be empty
8622 # Set some defaults for GNU ld with shared library support. These
8623 # are reset later if shared libraries are not supported. Putting them
8624 # here allows them to be overridden if necessary.
8625 runpath_var
=LD_RUN_PATH
8626 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8627 export_dynamic_flag_spec
='${wl}--export-dynamic'
8628 # ancient GNU ld didn't support --whole-archive et. al.
8629 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8630 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8632 whole_archive_flag_spec
=
8634 supports_anon_versioning
=no
8635 case `$LD -v 2>&1` in
8636 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8637 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8638 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8639 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8640 *\
2.11.
*) ;; # other 2.11 versions
8641 *) supports_anon_versioning
=yes ;;
8644 # See if GNU ld supports shared libraries.
8647 # On AIX/PPC, the GNU linker is very broken
8648 if test "$host_cpu" != ia64
; then
8652 *** Warning: the GNU linker, at least up to release 2.19, is reported
8653 *** to be unable to reliably create shared libraries on AIX.
8654 *** Therefore, libtool is disabling shared libraries support. If you
8655 *** really care for shared libraries, you may want to install binutils
8656 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8657 *** You will then need to restart the configuration process.
8666 # see comment about AmigaOS4 .so support
8667 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8668 archive_expsym_cmds
=''
8671 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)'
8672 hardcode_libdir_flag_spec
='-L$libdir'
8673 hardcode_minus_L
=yes
8679 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8680 allow_undefined_flag
=unsupported
8681 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8682 # support --undefined. This deserves some investigation. FIXME
8683 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8689 cygwin
* | mingw
* | pw32
* | cegcc
*)
8690 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8691 # as there is no search path for DLLs.
8692 hardcode_libdir_flag_spec
='-L$libdir'
8693 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8694 allow_undefined_flag
=unsupported
8695 always_export_symbols
=no
8696 enable_shared_with_static_runtimes
=yes
8697 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'
8698 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8700 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8701 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8702 # If the export-symbols file already is a .def file (1st line
8703 # is EXPORTS), use it as is; otherwise, prepend...
8704 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8705 cp $export_symbols $output_objdir/$soname.def;
8707 echo EXPORTS > $output_objdir/$soname.def;
8708 cat $export_symbols >> $output_objdir/$soname.def;
8710 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8717 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8718 link_all_deplibs
=yes
8723 hardcode_shlibpath_var
=no
8724 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8725 export_dynamic_flag_spec
='${wl}-E'
8726 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8727 # Instead, shared libraries are loaded at an image base (0x10000000 by
8728 # default) and relocated if they conflict, which is a slow very memory
8729 # consuming and fragmenting process. To avoid this, we pick a random,
8730 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8731 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8732 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8733 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'
8736 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8738 if test "$host_os" = linux-dietlibc
; then
8739 case $cc_basename in
8740 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8743 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8744 && test "$tmp_diet" = no
8746 tmp_addflag
=' $pic_flag'
8747 tmp_sharedflag
='-shared'
8748 case $cc_basename,$host_cpu in
8749 pgcc
*) # Portland Group C compiler
8750 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'
8751 tmp_addflag
=' $pic_flag'
8753 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8754 # Portland Group f77 and f90 compilers
8755 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'
8756 tmp_addflag
=' $pic_flag -Mnomain' ;;
8757 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8758 tmp_addflag
=' -i_dynamic' ;;
8759 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8760 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8761 ifc
* | ifort
*) # Intel Fortran compiler
8762 tmp_addflag
=' -nofor_main' ;;
8763 lf95
*) # Lahey Fortran 8.1
8764 whole_archive_flag_spec
=
8765 tmp_sharedflag
='--shared' ;;
8766 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8767 tmp_sharedflag
='-qmkshrobj'
8769 nvcc
*) # Cuda Compiler Driver 2.2
8770 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'
8771 compiler_needs_object
=yes
8774 case `$CC -V 2>&1 | sed 5q` in
8775 *Sun\ C
*) # Sun C 5.9
8776 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'
8777 compiler_needs_object
=yes
8778 tmp_sharedflag
='-G' ;;
8779 *Sun\ F
*) # Sun Fortran 8.3
8780 tmp_sharedflag
='-G' ;;
8782 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8784 if test "x$supports_anon_versioning" = xyes
; then
8785 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8786 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8787 echo "local: *; };" >> $output_objdir/$libname.ver~
8788 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8791 case $cc_basename in
8792 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8793 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8794 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8795 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8796 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8797 if test "x$supports_anon_versioning" = xyes
; then
8798 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8799 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8800 echo "local: *; };" >> $output_objdir/$libname.ver~
8801 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8811 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8812 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8815 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8816 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8821 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8825 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8826 *** create shared libraries on Solaris systems. Therefore, libtool
8827 *** is disabling shared libraries support. We urge you to upgrade GNU
8828 *** binutils to release 2.9.1 or newer. Another option is to modify
8829 *** your PATH or compiler configuration so that the native linker is
8830 *** used, and then restart.
8833 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8834 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8835 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8841 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8842 case `$LD -v 2>&1` in
8843 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8847 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8848 *** reliably create shared libraries on SCO systems. Therefore, libtool
8849 *** is disabling shared libraries support. We urge you to upgrade GNU
8850 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8851 *** your PATH or compiler configuration so that the native linker is
8852 *** used, and then restart.
8857 # For security reasons, it is highly recommended that you always
8858 # use absolute paths for naming shared libraries, and exclude the
8859 # DT_RUNPATH tag from executables and libraries. But doing so
8860 # requires that you compile everything twice, which is a pain.
8861 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8862 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8863 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8864 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8873 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8876 hardcode_shlibpath_var
=no
8880 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8881 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8882 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8889 if test "$ld_shlibs" = no
; then
8891 hardcode_libdir_flag_spec
=
8892 export_dynamic_flag_spec
=
8893 whole_archive_flag_spec
=
8896 # PORTME fill in a description of your system's linker (not GNU ld)
8899 allow_undefined_flag
=unsupported
8900 always_export_symbols
=yes
8901 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'
8902 # Note: this linker hardcodes the directories in LIBPATH if there
8903 # are no directories specified by -L.
8904 hardcode_minus_L
=yes
8905 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8906 # Neither direct hardcoding nor static linking is supported with a
8908 hardcode_direct
=unsupported
8913 if test "$host_cpu" = ia64
; then
8914 # On IA64, the linker does run time linking by default, so we don't
8915 # have to do anything special.
8916 aix_use_runtimelinking
=no
8917 exp_sym_flag
='-Bexport'
8920 # If we're using GNU nm, then we don't want the "-C" option.
8921 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8922 # Also, AIX nm treats weak defined symbols like other global
8923 # defined symbols, whereas GNU nm marks them as "W".
8924 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8925 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'
8927 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'
8929 aix_use_runtimelinking
=no
8931 # Test if we are trying to use run time linking or normal
8932 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8933 # need to do runtime linking.
8934 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8935 for ld_flag
in $LDFLAGS; do
8936 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8937 aix_use_runtimelinking
=yes
8944 exp_sym_flag
='-bexport'
8945 no_entry_flag
='-bnoentry'
8948 # When large executables or shared objects are built, AIX ld can
8949 # have problems creating the table of contents. If linking a library
8950 # or program results in "error TOC overflow" add -mminimal-toc to
8951 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8952 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8956 hardcode_direct_absolute
=yes
8957 hardcode_libdir_separator
=':'
8958 link_all_deplibs
=yes
8959 file_list_spec
='${wl}-f,'
8961 if test "$GCC" = yes; then
8962 case $host_os in aix4.
[012]|aix4.
[012].
*)
8963 # We only want to do this on AIX 4.2 and lower, the check
8964 # below for broken collect2 doesn't work under 4.3+
8965 collect2name
=`${CC} -print-prog-name=collect2`
8966 if test -f "$collect2name" &&
8967 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8969 # We have reworked collect2
8972 # We have old collect2
8973 hardcode_direct
=unsupported
8974 # It fails to find uninstalled libraries when the uninstalled
8975 # path is not listed in the libpath. Setting hardcode_minus_L
8976 # to unsupported forces relinking
8977 hardcode_minus_L
=yes
8978 hardcode_libdir_flag_spec
='-L$libdir'
8979 hardcode_libdir_separator
=
8983 shared_flag
='-shared'
8984 if test "$aix_use_runtimelinking" = yes; then
8985 shared_flag
="$shared_flag "'${wl}-G'
8989 if test "$host_cpu" = ia64
; then
8990 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8991 # chokes on -Wl,-G. The following line is correct:
8994 if test "$aix_use_runtimelinking" = yes; then
8995 shared_flag
='${wl}-G'
8997 shared_flag
='${wl}-bM:SRE'
9002 export_dynamic_flag_spec
='${wl}-bexpall'
9003 # It seems that -bexpall does not export symbols beginning with
9004 # underscore (_), so it is better to generate a list of symbols to export.
9005 always_export_symbols
=yes
9006 if test "$aix_use_runtimelinking" = yes; then
9007 # Warning - without using the other runtime loading flags (-brtl),
9008 # -berok will link without error, but may produce a broken library.
9009 allow_undefined_flag
='-berok'
9010 # Determine the default libpath from the value encoded in an
9012 if test "${lt_cv_aix_libpath+set}" = set; then
9013 aix_libpath
=$lt_cv_aix_libpath
9015 if ${lt_cv_aix_libpath_+:} false
; then :
9016 $as_echo_n "(cached) " >&6
9018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9029 if ac_fn_c_try_link
"$LINENO"; then :
9031 lt_aix_libpath_sed
='
9032 /Import File Strings/,/^$/ {
9034 s/^0 *\([^ ]*\) *$/\1/
9038 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9039 # Check for a 64-bit object if we didn't find anything.
9040 if test -z "$lt_cv_aix_libpath_"; then
9041 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9044 rm -f core conftest.err conftest.
$ac_objext \
9045 conftest
$ac_exeext conftest.
$ac_ext
9046 if test -z "$lt_cv_aix_libpath_"; then
9047 lt_cv_aix_libpath_
="/usr/lib:/lib"
9052 aix_libpath
=$lt_cv_aix_libpath_
9055 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9056 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"
9058 if test "$host_cpu" = ia64
; then
9059 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9060 allow_undefined_flag
="-z nodefs"
9061 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"
9063 # Determine the default libpath from the value encoded in an
9065 if test "${lt_cv_aix_libpath+set}" = set; then
9066 aix_libpath
=$lt_cv_aix_libpath
9068 if ${lt_cv_aix_libpath_+:} false
; then :
9069 $as_echo_n "(cached) " >&6
9071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9082 if ac_fn_c_try_link
"$LINENO"; then :
9084 lt_aix_libpath_sed
='
9085 /Import File Strings/,/^$/ {
9087 s/^0 *\([^ ]*\) *$/\1/
9091 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9092 # Check for a 64-bit object if we didn't find anything.
9093 if test -z "$lt_cv_aix_libpath_"; then
9094 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9097 rm -f core conftest.err conftest.
$ac_objext \
9098 conftest
$ac_exeext conftest.
$ac_ext
9099 if test -z "$lt_cv_aix_libpath_"; then
9100 lt_cv_aix_libpath_
="/usr/lib:/lib"
9105 aix_libpath
=$lt_cv_aix_libpath_
9108 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9109 # Warning - without using the other run time loading flags,
9110 # -berok will link without error, but may produce a broken library.
9111 no_undefined_flag
=' ${wl}-bernotok'
9112 allow_undefined_flag
=' ${wl}-berok'
9113 if test "$with_gnu_ld" = yes; then
9114 # We only use this code for GNU lds that support --whole-archive.
9115 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9117 # Exported symbols can be pulled into shared objects from archives
9118 whole_archive_flag_spec
='$convenience'
9120 archive_cmds_need_lc
=yes
9121 # This is similar to how AIX traditionally builds its shared libraries.
9122 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'
9130 # see comment about AmigaOS4 .so support
9131 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9132 archive_expsym_cmds
=''
9135 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)'
9136 hardcode_libdir_flag_spec
='-L$libdir'
9137 hardcode_minus_L
=yes
9143 export_dynamic_flag_spec
=-rdynamic
9146 cygwin
* | mingw
* | pw32
* | cegcc
*)
9147 # When not using gcc, we currently assume that we are using
9148 # Microsoft Visual C++.
9149 # hardcode_libdir_flag_spec is actually meaningless, as there is
9150 # no search path for DLLs.
9151 case $cc_basename in
9154 hardcode_libdir_flag_spec
=' '
9155 allow_undefined_flag
=unsupported
9156 always_export_symbols
=yes
9158 # Tell ltmain to make .lib files, not .a files.
9160 # Tell ltmain to make .dll files, not .so files.
9162 # FIXME: Setting linknames here is a bad hack.
9163 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9164 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9165 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9167 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9169 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9171 # The linker will not automatically build a static lib if we build a DLL.
9172 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9173 enable_shared_with_static_runtimes
=yes
9174 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9175 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9177 old_postinstall_cmds
='chmod 644 $oldlib'
9178 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9179 lt_tool_outputfile="@TOOL_OUTPUT@"~
9180 case $lt_outputfile in
9183 lt_outputfile="$lt_outputfile.exe"
9184 lt_tool_outputfile="$lt_tool_outputfile.exe"
9187 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9188 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9189 $RM "$lt_outputfile.manifest";
9193 # Assume MSVC wrapper
9194 hardcode_libdir_flag_spec
=' '
9195 allow_undefined_flag
=unsupported
9196 # Tell ltmain to make .lib files, not .a files.
9198 # Tell ltmain to make .dll files, not .so files.
9200 # FIXME: Setting linknames here is a bad hack.
9201 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9202 # The linker will automatically build a .lib file if we build a DLL.
9203 old_archive_from_new_cmds
='true'
9204 # FIXME: Should let the user specify the lib program.
9205 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9206 enable_shared_with_static_runtimes
=yes
9211 darwin
* | rhapsody
*)
9214 archive_cmds_need_lc
=no
9216 hardcode_automatic
=yes
9217 hardcode_shlibpath_var
=unsupported
9218 if test "$lt_cv_ld_force_load" = "yes"; then
9219 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\"`'
9222 whole_archive_flag_spec
=''
9224 link_all_deplibs
=yes
9225 allow_undefined_flag
="$_lt_dar_allow_undefined"
9226 case $cc_basename in
9227 ifort
*) _lt_dar_can_shared
=yes ;;
9228 *) _lt_dar_can_shared
=$GCC ;;
9230 if test "$_lt_dar_can_shared" = "yes"; then
9231 output_verbose_link_cmd
=func_echo_all
9232 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9233 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9234 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}"
9235 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}"
9244 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9245 hardcode_libdir_flag_spec
='-L$libdir'
9246 hardcode_shlibpath_var
=no
9249 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9250 # support. Future versions do this automatically, but an explicit c++rt0.o
9251 # does not break anything, and helps significantly (at the cost of a little
9254 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9255 hardcode_libdir_flag_spec
='-R$libdir'
9257 hardcode_shlibpath_var
=no
9260 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9262 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9264 hardcode_minus_L
=yes
9265 hardcode_shlibpath_var
=no
9268 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9269 freebsd
* | dragonfly
*)
9270 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9271 hardcode_libdir_flag_spec
='-R$libdir'
9273 hardcode_shlibpath_var
=no
9277 if test "$GCC" = yes; then
9278 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'
9280 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'
9282 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9283 hardcode_libdir_separator
=:
9286 # hardcode_minus_L: Not really in the search PATH,
9287 # but as the default location of the library.
9288 hardcode_minus_L
=yes
9289 export_dynamic_flag_spec
='${wl}-E'
9293 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9294 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9296 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9298 if test "$with_gnu_ld" = no
; then
9299 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9300 hardcode_libdir_separator
=:
9302 hardcode_direct_absolute
=yes
9303 export_dynamic_flag_spec
='${wl}-E'
9304 # hardcode_minus_L: Not really in the search PATH,
9305 # but as the default location of the library.
9306 hardcode_minus_L
=yes
9311 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9314 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9320 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9326 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9329 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9333 # Older versions of the 11.00 compiler do not understand -b yet
9334 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9336 $as_echo_n "checking if $CC understands -b... " >&6; }
9337 if ${lt_cv_prog_compiler__b+:} false
; then :
9338 $as_echo_n "(cached) " >&6
9340 lt_cv_prog_compiler__b
=no
9341 save_LDFLAGS
="$LDFLAGS"
9342 LDFLAGS
="$LDFLAGS -b"
9343 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9344 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9345 # The linker can only warn and ignore the option if not recognized
9346 # So say no if there are warnings
9347 if test -s conftest.err
; then
9348 # Append any errors to the config.log.
9349 cat conftest.err
1>&5
9350 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9351 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9352 if diff conftest.exp conftest.er2
>/dev
/null
; then
9353 lt_cv_prog_compiler__b
=yes
9356 lt_cv_prog_compiler__b
=yes
9360 LDFLAGS
="$save_LDFLAGS"
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9364 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9366 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9367 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9369 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9375 if test "$with_gnu_ld" = no
; then
9376 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9377 hardcode_libdir_separator
=:
9382 hardcode_shlibpath_var
=no
9386 hardcode_direct_absolute
=yes
9387 export_dynamic_flag_spec
='${wl}-E'
9389 # hardcode_minus_L: Not really in the search PATH,
9390 # but as the default location of the library.
9391 hardcode_minus_L
=yes
9397 irix5
* | irix6
* | nonstopux
*)
9398 if test "$GCC" = yes; then
9399 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'
9400 # Try to use the -exported_symbol ld option, if it does not
9401 # work, assume that -exports_file does not work either and
9402 # implicitly export all symbols.
9403 # This should be the same for all languages, so no per-tag cache variable.
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9405 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9406 if ${lt_cv_irix_exported_symbol+:} false
; then :
9407 $as_echo_n "(cached) " >&6
9409 save_LDFLAGS
="$LDFLAGS"
9410 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9413 int foo (void) { return 0; }
9415 if ac_fn_c_try_link
"$LINENO"; then :
9416 lt_cv_irix_exported_symbol
=yes
9418 lt_cv_irix_exported_symbol
=no
9420 rm -f core conftest.err conftest.
$ac_objext \
9421 conftest
$ac_exeext conftest.
$ac_ext
9422 LDFLAGS
="$save_LDFLAGS"
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9425 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9426 if test "$lt_cv_irix_exported_symbol" = yes; then
9427 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'
9430 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'
9431 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'
9433 archive_cmds_need_lc
='no'
9434 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9435 hardcode_libdir_separator
=:
9437 link_all_deplibs
=yes
9441 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9442 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9444 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9446 hardcode_libdir_flag_spec
='-R$libdir'
9448 hardcode_shlibpath_var
=no
9452 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9454 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9455 hardcode_libdir_separator
=:
9456 hardcode_shlibpath_var
=no
9463 if test -f /usr
/libexec
/ld.so
; then
9465 hardcode_shlibpath_var
=no
9466 hardcode_direct_absolute
=yes
9467 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9468 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9469 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9470 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9471 export_dynamic_flag_spec
='${wl}-E'
9474 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9475 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9476 hardcode_libdir_flag_spec
='-R$libdir'
9479 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9480 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9490 hardcode_libdir_flag_spec
='-L$libdir'
9491 hardcode_minus_L
=yes
9492 allow_undefined_flag
=unsupported
9493 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'
9494 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9498 if test "$GCC" = yes; then
9499 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9500 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'
9502 allow_undefined_flag
=' -expect_unresolved \*'
9503 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'
9505 archive_cmds_need_lc
='no'
9506 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9507 hardcode_libdir_separator
=:
9510 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9511 if test "$GCC" = yes; then
9512 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9513 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'
9514 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9516 allow_undefined_flag
=' -expect_unresolved \*'
9517 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'
9518 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~
9519 $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'
9521 # Both c and cxx compiler support -rpath directly
9522 hardcode_libdir_flag_spec
='-rpath $libdir'
9524 archive_cmds_need_lc
='no'
9525 hardcode_libdir_separator
=:
9529 no_undefined_flag
=' -z defs'
9530 if test "$GCC" = yes; then
9532 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9533 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9534 $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'
9536 case `$CC -V 2>&1` in
9539 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9540 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9541 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9545 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9546 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9547 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9551 hardcode_libdir_flag_spec
='-R$libdir'
9552 hardcode_shlibpath_var
=no
9554 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9556 # The compiler driver will combine and reorder linker options,
9557 # but understands `-z linker_flag'. GCC discards it without `$wl',
9558 # but is careful enough not to reorder.
9559 # Supported since Solaris 2.6 (maybe 2.5.1?)
9560 if test "$GCC" = yes; then
9561 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9563 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9567 link_all_deplibs
=yes
9571 if test "x$host_vendor" = xsequent
; then
9572 # Use $CC to link under sequent, because it throws in some extra .o
9573 # files that make .init and .fini sections work.
9574 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9578 hardcode_libdir_flag_spec
='-L$libdir'
9580 hardcode_minus_L
=yes
9581 hardcode_shlibpath_var
=no
9585 case $host_vendor in
9587 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_direct
=yes # is this really true???
9591 ## LD is ld it makes a PLAMLIB
9592 ## CC just makes a GrossModule.
9593 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9594 reload_cmds
='$CC -r -o $output$reload_objs'
9598 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9599 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9602 runpath_var
='LD_RUN_PATH'
9603 hardcode_shlibpath_var
=no
9607 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9608 hardcode_shlibpath_var
=no
9609 export_dynamic_flag_spec
='-Bexport'
9613 if test -d /usr
/nec
; then
9614 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9615 hardcode_shlibpath_var
=no
9616 runpath_var
=LD_RUN_PATH
9617 hardcode_runpath_var
=yes
9622 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9623 no_undefined_flag
='${wl}-z,text'
9624 archive_cmds_need_lc
=no
9625 hardcode_shlibpath_var
=no
9626 runpath_var
='LD_RUN_PATH'
9628 if test "$GCC" = yes; then
9629 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9630 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9633 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9637 sysv5
* | sco3.2v5
* | sco5v6
*)
9638 # Note: We can NOT use -z defs as we might desire, because we do not
9639 # link with -lc, and that would cause any symbols used from libc to
9640 # always be unresolved, which means just about no library would
9641 # ever link correctly. If we're not using GNU ld we use -z text
9642 # though, which does catch some bad symbols but isn't as heavy-handed
9644 no_undefined_flag
='${wl}-z,text'
9645 allow_undefined_flag
='${wl}-z,nodefs'
9646 archive_cmds_need_lc
=no
9647 hardcode_shlibpath_var
=no
9648 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9649 hardcode_libdir_separator
=':'
9650 link_all_deplibs
=yes
9651 export_dynamic_flag_spec
='${wl}-Bexport'
9652 runpath_var
='LD_RUN_PATH'
9654 if test "$GCC" = yes; then
9655 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9658 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9665 hardcode_libdir_flag_spec
='-L$libdir'
9666 hardcode_shlibpath_var
=no
9674 if test x
$host_vendor = xsni
; then
9676 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9677 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9684 $as_echo "$ld_shlibs" >&6; }
9685 test "$ld_shlibs" = no
&& can_build_shared
=no
9687 with_gnu_ld
=$with_gnu_ld
9704 # Do we need to explicitly link libc?
9706 case "x$archive_cmds_need_lc" in
9708 # Assume -lc should be added
9709 archive_cmds_need_lc
=yes
9711 if test "$enable_shared" = yes && test "$GCC" = yes; then
9712 case $archive_cmds in
9714 # FIXME: we may have to deal with multi-command sequences.
9717 # Test whether the compiler implicitly links with -lc since on some
9718 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9719 # to ld, don't add -lc before -lgcc.
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9721 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9722 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9723 $as_echo_n "(cached) " >&6
9726 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9729 (eval $ac_compile) 2>&5
9731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9732 test $ac_status = 0; } 2>conftest.err
; then
9735 libobjs
=conftest.
$ac_objext
9737 wl
=$lt_prog_compiler_wl
9738 pic_flag
=$lt_prog_compiler_pic
9744 lt_save_allow_undefined_flag
=$allow_undefined_flag
9745 allow_undefined_flag
=
9746 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9747 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9750 test $ac_status = 0; }
9752 lt_cv_archive_cmds_need_lc
=no
9754 lt_cv_archive_cmds_need_lc
=yes
9756 allow_undefined_flag
=$lt_save_allow_undefined_flag
9758 cat conftest.err
1>&5
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9764 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9765 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9924 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9926 if test "$GCC" = yes; then
9928 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9929 *) lt_awk_arg
="/^libraries:/" ;;
9932 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9933 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9935 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9936 case $lt_search_path_spec in
9938 # if the path contains ";" then we assume it to be the separator
9939 # otherwise default to the standard path separator (i.e. ":") - it is
9940 # assumed that no part of a normal pathname contains ";" but that should
9941 # okay in the real world where ";" in dirpaths is itself problematic.
9942 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9945 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9948 # Ok, now we have the path, separated by spaces, we can step through it
9949 # and add multilib dir if necessary.
9950 lt_tmp_lt_search_path_spec
=
9951 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9952 for lt_sys_path
in $lt_search_path_spec; do
9953 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9954 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9956 test -d "$lt_sys_path" && \
9957 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9960 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9961 BEGIN {RS=" "; FS="/|\n";} {
9964 for (lt_i = NF; lt_i > 0; lt_i--) {
9965 if ($lt_i != "" && $lt_i != ".") {
9966 if ($lt_i == "..") {
9969 if (lt_count == 0) {
9970 lt_foo="/" $lt_i lt_foo;
9977 if (lt_foo != "") { lt_freq[lt_foo]++; }
9978 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9980 # AWK program above erroneously prepends '/' to C:/dos/paths
9983 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9984 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9986 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9988 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9991 libname_spec
='lib$name'
9999 shlibpath_overrides_runpath
=unknown
10001 dynamic_linker
="$host_os ld.so"
10002 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10003 need_lib_prefix
=unknown
10004 hardcode_into_libs
=no
10006 # when you set need_version to no, make sure it does not cause -set_version
10007 # flags to be left without arguments
10008 need_version
=unknown
10012 version_type
=linux
# correct to gnu/linux during the next big refactor
10013 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10014 shlibpath_var
=LIBPATH
10016 # AIX 3 has no versioning support, so we append a major version to the name.
10017 soname_spec
='${libname}${release}${shared_ext}$major'
10021 version_type
=linux
# correct to gnu/linux during the next big refactor
10024 hardcode_into_libs
=yes
10025 if test "$host_cpu" = ia64
; then
10026 # AIX 5 supports IA64
10027 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10028 shlibpath_var
=LD_LIBRARY_PATH
10030 # With GCC up to 2.95.x, collect2 would create an import file
10031 # for dependence libraries. The import file would start with
10032 # the line `#! .'. This would cause the generated library to
10033 # depend on `.', always an invalid library. This was fixed in
10034 # development snapshots of GCC prior to 3.0.
10036 aix4 | aix4.
[01] | aix4.
[01].
*)
10037 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10039 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10042 can_build_shared
=no
10046 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10047 # soname into executable. Probably we can add versioning support to
10048 # collect2, so additional links can be useful in future.
10049 if test "$aix_use_runtimelinking" = yes; then
10050 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10051 # instead of lib<name>.a to let people know that these are not
10052 # typical AIX shared libraries.
10053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055 # We preserve .a as extension for shared libraries through AIX4.2
10056 # and later when we are not doing run time linking.
10057 library_names_spec
='${libname}${release}.a $libname.a'
10058 soname_spec
='${libname}${release}${shared_ext}$major'
10060 shlibpath_var
=LIBPATH
10067 # Since July 2007 AmigaOS4 officially supports .so libraries.
10068 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10072 library_names_spec
='$libname.ixlibrary $libname.a'
10073 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10074 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'
10080 library_names_spec
='${libname}${shared_ext}'
10081 dynamic_linker
="$host_os ld.so"
10082 shlibpath_var
=LIBRARY_PATH
10086 version_type
=linux
# correct to gnu/linux during the next big refactor
10088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10089 soname_spec
='${libname}${release}${shared_ext}$major'
10090 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10091 shlibpath_var
=LD_LIBRARY_PATH
10092 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10093 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10094 # the default ld.so.conf also contains /usr/contrib/lib and
10095 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10096 # libtool to hard-code these into programs
10099 cygwin
* | mingw
* | pw32
* | cegcc
*)
10100 version_type
=windows
10105 case $GCC,$cc_basename in
10108 library_names_spec
='$libname.dll.a'
10109 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10110 postinstall_cmds
='base_file=`basename \${file}`~
10111 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10112 dldir=$destdir/`dirname \$dlpath`~
10113 test -d \$dldir || mkdir -p \$dldir~
10114 $install_prog $dir/$dlname \$dldir/$dlname~
10115 chmod a+x \$dldir/$dlname~
10116 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10117 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10119 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10120 dlpath=$dir/\$dldll~
10122 shlibpath_overrides_runpath
=yes
10126 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10127 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10129 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10132 # MinGW DLLs use traditional 'lib' prefix
10133 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10136 # pw32 DLLs use 'pw' prefix rather than 'lib'
10137 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10140 dynamic_linker
='Win32 ld.exe'
10145 libname_spec
='$name'
10146 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10147 library_names_spec
='${libname}.dll.lib'
10151 sys_lib_search_path_spec
=
10154 for lt_path
in $LIB
10157 # Let DOS variable expansion print the short 8.3 style file name.
10158 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10159 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10162 # Convert to MSYS style.
10163 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10166 # Convert to unix form, then to dos form, then back to unix form
10167 # but this time dos style (no spaces!) so that the unix form looks
10168 # like /cygdrive/c/PROGRA~1:/cygdr...
10169 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10170 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10171 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10174 sys_lib_search_path_spec
="$LIB"
10175 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10176 # It is most probably a Windows format PATH.
10177 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10179 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10181 # FIXME: find the short name or the path components, as spaces are
10182 # common. (e.g. "Program Files" -> "PROGRA~1")
10186 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10187 postinstall_cmds
='base_file=`basename \${file}`~
10188 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10189 dldir=$destdir/`dirname \$dlpath`~
10190 test -d \$dldir || mkdir -p \$dldir~
10191 $install_prog $dir/$dlname \$dldir/$dlname'
10192 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10193 dlpath=$dir/\$dldll~
10195 shlibpath_overrides_runpath
=yes
10196 dynamic_linker
='Win32 link.exe'
10200 # Assume MSVC wrapper
10201 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10202 dynamic_linker
='Win32 ld.exe'
10205 # FIXME: first we should search . and the directory the executable is in
10209 darwin
* | rhapsody
*)
10210 dynamic_linker
="$host_os dyld"
10211 version_type
=darwin
10214 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10215 soname_spec
='${libname}${release}${major}$shared_ext'
10216 shlibpath_overrides_runpath
=yes
10217 shlibpath_var
=DYLD_LIBRARY_PATH
10218 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10220 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10221 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10225 version_type
=linux
# correct to gnu/linux during the next big refactor
10228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10229 soname_spec
='${libname}${release}${shared_ext}$major'
10230 shlibpath_var
=LD_LIBRARY_PATH
10233 freebsd
* | dragonfly
*)
10234 # DragonFly does not have aout. When/if they implement a new
10235 # versioning mechanism, adjust this.
10236 if test -x /usr
/bin
/objformat
; then
10237 objformat
=`/usr/bin/objformat`
10240 freebsd
[23].
*) objformat
=aout
;;
10241 *) objformat
=elf
;;
10244 version_type
=freebsd-
$objformat
10245 case $version_type in
10247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10252 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10256 shlibpath_var
=LD_LIBRARY_PATH
10259 shlibpath_overrides_runpath
=yes
10261 freebsd3.
[01]* | freebsdelf3.
[01]*)
10262 shlibpath_overrides_runpath
=yes
10263 hardcode_into_libs
=yes
10265 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10266 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10267 shlibpath_overrides_runpath
=no
10268 hardcode_into_libs
=yes
10270 *) # from 4.6 on, and DragonFly
10271 shlibpath_overrides_runpath
=yes
10272 hardcode_into_libs
=yes
10278 version_type
=linux
# correct to gnu/linux during the next big refactor
10281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10282 soname_spec
='${libname}${release}${shared_ext}$major'
10283 shlibpath_var
=LD_LIBRARY_PATH
10284 shlibpath_overrides_runpath
=no
10285 hardcode_into_libs
=yes
10289 version_type
=linux
# correct to gnu/linux during the next big refactor
10292 dynamic_linker
="$host_os runtime_loader"
10293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10294 soname_spec
='${libname}${release}${shared_ext}$major'
10295 shlibpath_var
=LIBRARY_PATH
10296 shlibpath_overrides_runpath
=yes
10297 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10298 hardcode_into_libs
=yes
10301 hpux9
* | hpux10
* | hpux11
*)
10302 # Give a soname corresponding to the major version so that dld.sl refuses to
10303 # link against other versions.
10310 hardcode_into_libs
=yes
10311 dynamic_linker
="$host_os dld.so"
10312 shlibpath_var
=LD_LIBRARY_PATH
10313 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10315 soname_spec
='${libname}${release}${shared_ext}$major'
10316 if test "X$HPUX_IA64_MODE" = X32
; then
10317 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10319 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10321 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10325 hardcode_into_libs
=yes
10326 dynamic_linker
="$host_os dld.sl"
10327 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10328 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 soname_spec
='${libname}${release}${shared_ext}$major'
10331 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10332 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10336 dynamic_linker
="$host_os dld.sl"
10337 shlibpath_var
=SHLIB_PATH
10338 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10343 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10344 postinstall_cmds
='chmod 555 $lib'
10345 # or fails outright, so override atomically:
10346 install_override_mode
=555
10350 version_type
=linux
# correct to gnu/linux during the next big refactor
10353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10354 soname_spec
='${libname}${release}${shared_ext}$major'
10355 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10356 shlibpath_var
=LD_LIBRARY_PATH
10357 shlibpath_overrides_runpath
=no
10358 hardcode_into_libs
=yes
10361 irix5
* | irix6
* | nonstopux
*)
10363 nonstopux
*) version_type
=nonstopux
;;
10365 if test "$lt_cv_prog_gnu_ld" = yes; then
10366 version_type
=linux
# correct to gnu/linux during the next big refactor
10373 soname_spec
='${libname}${release}${shared_ext}$major'
10374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10376 irix5
* | nonstopux
*)
10377 libsuff
= shlibsuff
=
10380 case $LD in # libtool.m4 will add one of these switches to LD
10381 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10382 libsuff
= shlibsuff
= libmagic
=32-bit;;
10383 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10384 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10385 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10386 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10387 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10391 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10392 shlibpath_overrides_runpath
=no
10393 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10394 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10395 hardcode_into_libs
=yes
10398 # No shared lib support for Linux oldld, aout, or coff.
10399 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10403 # This must be glibc/ELF.
10404 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10405 version_type
=linux
# correct to gnu/linux during the next big refactor
10408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409 soname_spec
='${libname}${release}${shared_ext}$major'
10410 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10411 shlibpath_var
=LD_LIBRARY_PATH
10412 shlibpath_overrides_runpath
=no
10414 # Some binutils ld are patched to set DT_RUNPATH
10415 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10416 $as_echo_n "(cached) " >&6
10418 lt_cv_shlibpath_overrides_runpath
=no
10419 save_LDFLAGS
=$LDFLAGS
10420 save_libdir
=$libdir
10421 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10422 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10434 if ac_fn_c_try_link
"$LINENO"; then :
10435 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10436 lt_cv_shlibpath_overrides_runpath
=yes
10439 rm -f core conftest.err conftest.
$ac_objext \
10440 conftest
$ac_exeext conftest.
$ac_ext
10441 LDFLAGS
=$save_LDFLAGS
10442 libdir
=$save_libdir
10446 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10448 # This implies no fast_install, which is unacceptable.
10449 # Some rework will be needed to allow for fast_install
10450 # before this can be enabled.
10451 hardcode_into_libs
=yes
10453 # Add ABI-specific directories to the system library path.
10454 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10456 # Append ld.so.conf contents to the search path
10457 if test -f /etc
/ld.so.conf
; then
10458 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' ' '`
10459 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10463 # We used to test for /lib/ld.so.1 and disable shared libraries on
10464 # powerpc, because MkLinux only supported shared libraries with the
10465 # GNU dynamic linker. Since this was broken with cross compilers,
10466 # most powerpc-linux boxes support dynamic linking these days and
10467 # people can always --disable-shared, the test was removed, and we
10468 # assume the GNU/Linux dynamic linker is in use.
10469 dynamic_linker
='GNU/Linux ld.so'
10476 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10478 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10479 dynamic_linker
='NetBSD (a.out) ld.so'
10481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10482 soname_spec
='${libname}${release}${shared_ext}$major'
10483 dynamic_linker
='NetBSD ld.elf_so'
10485 shlibpath_var
=LD_LIBRARY_PATH
10486 shlibpath_overrides_runpath
=yes
10487 hardcode_into_libs
=yes
10491 version_type
=linux
# correct to gnu/linux during the next big refactor
10492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 shlibpath_var
=LD_LIBRARY_PATH
10494 shlibpath_overrides_runpath
=yes
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 soname_spec
='${libname}${release}${shared_ext}$major'
10503 shlibpath_var
=LD_LIBRARY_PATH
10504 shlibpath_overrides_runpath
=no
10505 hardcode_into_libs
=yes
10506 dynamic_linker
='ldqnx.so'
10511 sys_lib_dlsearch_path_spec
="/usr/lib"
10513 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10515 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10516 *) need_version
=no
;;
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10519 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10520 shlibpath_var
=LD_LIBRARY_PATH
10521 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10523 openbsd2.
[89] | openbsd2.
[89].
*)
10524 shlibpath_overrides_runpath
=no
10527 shlibpath_overrides_runpath
=yes
10531 shlibpath_overrides_runpath
=yes
10536 libname_spec
='$name'
10539 library_names_spec
='$libname${shared_ext} $libname.a'
10540 dynamic_linker
='OS/2 ld.exe'
10541 shlibpath_var
=LIBPATH
10544 osf3
* | osf4
* | osf5
*)
10548 soname_spec
='${libname}${release}${shared_ext}$major'
10549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550 shlibpath_var
=LD_LIBRARY_PATH
10551 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10552 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10560 version_type
=linux
# correct to gnu/linux during the next big refactor
10563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10564 soname_spec
='${libname}${release}${shared_ext}$major'
10565 shlibpath_var
=LD_LIBRARY_PATH
10566 shlibpath_overrides_runpath
=yes
10567 hardcode_into_libs
=yes
10568 # ldd complains unless libraries are executable
10569 postinstall_cmds
='chmod +x $lib'
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10575 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10576 shlibpath_var
=LD_LIBRARY_PATH
10577 shlibpath_overrides_runpath
=yes
10578 if test "$with_gnu_ld" = yes; then
10585 version_type
=linux
# correct to gnu/linux during the next big refactor
10586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587 soname_spec
='${libname}${release}${shared_ext}$major'
10588 shlibpath_var
=LD_LIBRARY_PATH
10589 case $host_vendor in
10591 shlibpath_overrides_runpath
=no
10593 runpath_var
=LD_RUN_PATH
10601 shlibpath_overrides_runpath
=no
10602 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10608 if test -d /usr
/nec
;then
10609 version_type
=linux
# correct to gnu/linux during the next big refactor
10610 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10611 soname_spec
='$libname${shared_ext}.$major'
10612 shlibpath_var
=LD_LIBRARY_PATH
10616 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10617 version_type
=freebsd-elf
10620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10621 soname_spec
='${libname}${release}${shared_ext}$major'
10622 shlibpath_var
=LD_LIBRARY_PATH
10623 shlibpath_overrides_runpath
=yes
10624 hardcode_into_libs
=yes
10625 if test "$with_gnu_ld" = yes; then
10626 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10628 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10631 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10635 sys_lib_dlsearch_path_spec
='/usr/lib'
10639 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10640 version_type
=linux
# correct to gnu/linux during the next big refactor
10643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10644 shlibpath_var
=LD_LIBRARY_PATH
10645 shlibpath_overrides_runpath
=no
10646 hardcode_into_libs
=yes
10650 version_type
=linux
# correct to gnu/linux during the next big refactor
10651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652 soname_spec
='${libname}${release}${shared_ext}$major'
10653 shlibpath_var
=LD_LIBRARY_PATH
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10661 $as_echo "$dynamic_linker" >&6; }
10662 test "$dynamic_linker" = no
&& can_build_shared
=no
10664 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10665 if test "$GCC" = yes; then
10666 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10669 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10670 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10672 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10673 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10768 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10770 if test -n "$hardcode_libdir_flag_spec" ||
10771 test -n "$runpath_var" ||
10772 test "X$hardcode_automatic" = "Xyes" ; then
10774 # We can hardcode non-existent directories.
10775 if test "$hardcode_direct" != no
&&
10776 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10777 # have to relink, otherwise we might link with an installed library
10778 # when we should be linking with a yet-to-be-installed one
10779 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10780 test "$hardcode_minus_L" != no
; then
10781 # Linking always hardcodes the temporary library directory.
10782 hardcode_action
=relink
10784 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10785 hardcode_action
=immediate
10788 # We cannot hardcode anything, or else we can only hardcode existing
10790 hardcode_action
=unsupported
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10793 $as_echo "$hardcode_action" >&6; }
10795 if test "$hardcode_action" = relink ||
10796 test "$inherit_rpath" = yes; then
10797 # Fast installation is not supported
10798 enable_fast_install
=no
10799 elif test "$shlibpath_overrides_runpath" = yes ||
10800 test "$enable_shared" = no
; then
10801 # Fast installation is not necessary
10802 enable_fast_install
=needless
10810 if test "x$enable_dlopen" != xyes
; then
10811 enable_dlopen
=unknown
10812 enable_dlopen_self
=unknown
10813 enable_dlopen_self_static
=unknown
10820 lt_cv_dlopen
="load_add_on"
10822 lt_cv_dlopen_self
=yes
10825 mingw
* | pw32
* | cegcc
*)
10826 lt_cv_dlopen
="LoadLibrary"
10831 lt_cv_dlopen
="dlopen"
10836 # if libdl is installed we need to link against it
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10838 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10839 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10840 $as_echo_n "(cached) " >&6
10842 ac_check_lib_save_LIBS
=$LIBS
10844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10862 if ac_fn_c_try_link
"$LINENO"; then :
10863 ac_cv_lib_dl_dlopen
=yes
10865 ac_cv_lib_dl_dlopen
=no
10867 rm -f core conftest.err conftest.
$ac_objext \
10868 conftest
$ac_exeext conftest.
$ac_ext
10869 LIBS
=$ac_check_lib_save_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10872 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10873 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10874 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10877 lt_cv_dlopen
="dyld"
10879 lt_cv_dlopen_self
=yes
10886 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10887 if test "x$ac_cv_func_shl_load" = xyes
; then :
10888 lt_cv_dlopen
="shl_load"
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10891 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10892 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10893 $as_echo_n "(cached) " >&6
10895 ac_check_lib_save_LIBS
=$LIBS
10897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10910 return shl_load ();
10915 if ac_fn_c_try_link
"$LINENO"; then :
10916 ac_cv_lib_dld_shl_load
=yes
10918 ac_cv_lib_dld_shl_load
=no
10920 rm -f core conftest.err conftest.
$ac_objext \
10921 conftest
$ac_exeext conftest.
$ac_ext
10922 LIBS
=$ac_check_lib_save_LIBS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10925 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10926 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10927 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10929 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10930 if test "x$ac_cv_func_dlopen" = xyes
; then :
10931 lt_cv_dlopen
="dlopen"
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10934 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10935 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10936 $as_echo_n "(cached) " >&6
10938 ac_check_lib_save_LIBS
=$LIBS
10940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10958 if ac_fn_c_try_link
"$LINENO"; then :
10959 ac_cv_lib_dl_dlopen
=yes
10961 ac_cv_lib_dl_dlopen
=no
10963 rm -f core conftest.err conftest.
$ac_objext \
10964 conftest
$ac_exeext conftest.
$ac_ext
10965 LIBS
=$ac_check_lib_save_LIBS
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10968 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10969 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10970 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10973 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10974 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10975 $as_echo_n "(cached) " >&6
10977 ac_check_lib_save_LIBS
=$LIBS
10978 LIBS
="-lsvld $LIBS"
10979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10997 if ac_fn_c_try_link
"$LINENO"; then :
10998 ac_cv_lib_svld_dlopen
=yes
11000 ac_cv_lib_svld_dlopen
=no
11002 rm -f core conftest.err conftest.
$ac_objext \
11003 conftest
$ac_exeext conftest.
$ac_ext
11004 LIBS
=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11007 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11008 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11009 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11012 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11013 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11014 $as_echo_n "(cached) " >&6
11016 ac_check_lib_save_LIBS
=$LIBS
11018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11031 return dld_link ();
11036 if ac_fn_c_try_link
"$LINENO"; then :
11037 ac_cv_lib_dld_dld_link
=yes
11039 ac_cv_lib_dld_dld_link
=no
11041 rm -f core conftest.err conftest.
$ac_objext \
11042 conftest
$ac_exeext conftest.
$ac_ext
11043 LIBS
=$ac_check_lib_save_LIBS
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11046 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11047 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11048 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11069 if test "x$lt_cv_dlopen" != xno
; then
11075 case $lt_cv_dlopen in
11077 save_CPPFLAGS
="$CPPFLAGS"
11078 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11080 save_LDFLAGS
="$LDFLAGS"
11081 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11084 LIBS
="$lt_cv_dlopen_libs $LIBS"
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11087 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11088 if ${lt_cv_dlopen_self+:} false
; then :
11089 $as_echo_n "(cached) " >&6
11091 if test "$cross_compiling" = yes; then :
11092 lt_cv_dlopen_self
=cross
11094 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11095 lt_status
=$lt_dlunknown
11096 cat > conftest.
$ac_ext <<_LT_EOF
11097 #line $LINENO "configure"
11098 #include "confdefs.h"
11107 # define LT_DLGLOBAL RTLD_GLOBAL
11110 # define LT_DLGLOBAL DL_GLOBAL
11112 # define LT_DLGLOBAL 0
11116 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11117 find out it does not work in some platform. */
11118 #ifndef LT_DLLAZY_OR_NOW
11120 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11123 # define LT_DLLAZY_OR_NOW DL_LAZY
11126 # define LT_DLLAZY_OR_NOW RTLD_NOW
11129 # define LT_DLLAZY_OR_NOW DL_NOW
11131 # define LT_DLLAZY_OR_NOW 0
11138 /* When -fvisbility=hidden is used, assume the code has been annotated
11139 correspondingly for the symbols needed. */
11140 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11141 int fnord () __attribute__((visibility("default")));
11144 int fnord () { return 42; }
11147 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11148 int status = $lt_dlunknown;
11152 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11155 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11156 else puts (dlerror ());
11158 /* dlclose (self); */
11166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11167 (eval $ac_link) 2>&5
11169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11170 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11171 (.
/conftest
; exit; ) >&5 2>/dev
/null
11173 case x
$lt_status in
11174 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11175 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11176 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11179 # compilation failed
11180 lt_cv_dlopen_self
=no
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11188 $as_echo "$lt_cv_dlopen_self" >&6; }
11190 if test "x$lt_cv_dlopen_self" = xyes
; then
11191 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11193 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11194 if ${lt_cv_dlopen_self_static+:} false
; then :
11195 $as_echo_n "(cached) " >&6
11197 if test "$cross_compiling" = yes; then :
11198 lt_cv_dlopen_self_static
=cross
11200 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11201 lt_status
=$lt_dlunknown
11202 cat > conftest.
$ac_ext <<_LT_EOF
11203 #line $LINENO "configure"
11204 #include "confdefs.h"
11213 # define LT_DLGLOBAL RTLD_GLOBAL
11216 # define LT_DLGLOBAL DL_GLOBAL
11218 # define LT_DLGLOBAL 0
11222 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11223 find out it does not work in some platform. */
11224 #ifndef LT_DLLAZY_OR_NOW
11226 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11229 # define LT_DLLAZY_OR_NOW DL_LAZY
11232 # define LT_DLLAZY_OR_NOW RTLD_NOW
11235 # define LT_DLLAZY_OR_NOW DL_NOW
11237 # define LT_DLLAZY_OR_NOW 0
11244 /* When -fvisbility=hidden is used, assume the code has been annotated
11245 correspondingly for the symbols needed. */
11246 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11247 int fnord () __attribute__((visibility("default")));
11250 int fnord () { return 42; }
11253 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11254 int status = $lt_dlunknown;
11258 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11261 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11262 else puts (dlerror ());
11264 /* dlclose (self); */
11272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11273 (eval $ac_link) 2>&5
11275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11276 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11277 (.
/conftest
; exit; ) >&5 2>/dev
/null
11279 case x
$lt_status in
11280 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11281 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11282 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11285 # compilation failed
11286 lt_cv_dlopen_self_static
=no
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11294 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11297 CPPFLAGS
="$save_CPPFLAGS"
11298 LDFLAGS
="$save_LDFLAGS"
11303 case $lt_cv_dlopen_self in
11304 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11305 *) enable_dlopen_self
=unknown
;;
11308 case $lt_cv_dlopen_self_static in
11309 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11310 *) enable_dlopen_self_static
=unknown
;;
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11333 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11334 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11335 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11336 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11338 $as_echo "yes" >&6; }
11340 # FIXME - insert some real tests, host_os isn't really good enough
11343 if test -n "$STRIP" ; then
11344 striplib
="$STRIP -x"
11345 old_striplib
="$STRIP -S"
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11347 $as_echo "yes" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11350 $as_echo "no" >&6; }
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11355 $as_echo "no" >&6; }
11371 # Report which library types will actually be built
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11373 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11375 $as_echo "$can_build_shared" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11378 $as_echo_n "checking whether to build shared libraries... " >&6; }
11379 test "$can_build_shared" = "no" && enable_shared
=no
11381 # On AIX, shared libraries and static libraries use the same namespace, and
11382 # are all built from PIC.
11385 test "$enable_shared" = yes && enable_static
=no
11386 if test -n "$RANLIB"; then
11387 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11388 postinstall_cmds
='$RANLIB $lib'
11393 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11394 test "$enable_shared" = yes && enable_static
=no
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11399 $as_echo "$enable_shared" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11402 $as_echo_n "checking whether to build static libraries... " >&6; }
11403 # Make sure either enable_shared or enable_static is yes.
11404 test "$enable_shared" = yes || enable_static
=yes
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11406 $as_echo "$enable_static" >&6; }
11413 ac_cpp
='$CPP $CPPFLAGS'
11414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11434 ac_config_commands
="$ac_config_commands libtool"
11439 # Only expand once:
11444 for ac_header
in errno.h fcntl.h sys
/fcntl.h sys
/ioctl.h sys
/file.h unistd.h sysexits.h
11446 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11447 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11448 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11449 cat >>confdefs.h
<<_ACEOF
11450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11458 $as_echo_n "checking for ANSI C header files... " >&6; }
11459 if ${ac_cv_header_stdc+:} false
; then :
11460 $as_echo_n "(cached) " >&6
11462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11464 #include <stdlib.h>
11465 #include <stdarg.h>
11466 #include <string.h>
11477 if ac_fn_c_try_compile
"$LINENO"; then :
11478 ac_cv_header_stdc
=yes
11480 ac_cv_header_stdc
=no
11482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11484 if test $ac_cv_header_stdc = yes; then
11485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11488 #include <string.h>
11491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11492 $EGREP "memchr" >/dev
/null
2>&1; then :
11495 ac_cv_header_stdc
=no
11501 if test $ac_cv_header_stdc = yes; then
11502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 #include <stdlib.h>
11508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11509 $EGREP "free" >/dev
/null
2>&1; then :
11512 ac_cv_header_stdc
=no
11518 if test $ac_cv_header_stdc = yes; then
11519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11520 if test "$cross_compiling" = yes; then :
11523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11526 #include <stdlib.h>
11527 #if ((' ' & 0x0FF) == 0x020)
11528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11531 # define ISLOWER(c) \
11532 (('a' <= (c) && (c) <= 'i') \
11533 || ('j' <= (c) && (c) <= 'r') \
11534 || ('s' <= (c) && (c) <= 'z'))
11535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11543 for (i = 0; i < 256; i++)
11544 if (XOR (islower (i), ISLOWER (i))
11545 || toupper (i) != TOUPPER (i))
11550 if ac_fn_c_try_run
"$LINENO"; then :
11553 ac_cv_header_stdc
=no
11555 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11556 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11562 $as_echo "$ac_cv_header_stdc" >&6; }
11563 if test $ac_cv_header_stdc = yes; then
11565 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
11570 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11571 if ${ac_cv_header_sys_wait_h+:} false
; then :
11572 $as_echo_n "(cached) " >&6
11574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11575 /* end confdefs.h. */
11576 #include <sys/types.h>
11577 #include <sys/wait.h>
11578 #ifndef WEXITSTATUS
11579 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
11582 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11590 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11595 if ac_fn_c_try_compile
"$LINENO"; then :
11596 ac_cv_header_sys_wait_h
=yes
11598 ac_cv_header_sys_wait_h
=no
11600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
11603 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
11604 if test $ac_cv_header_sys_wait_h = yes; then
11606 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11613 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11614 if ${ac_cv_c_const+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11624 #ifndef __cplusplus
11625 /* Ultrix mips cc rejects this sort of thing. */
11626 typedef int charset[2];
11627 const charset cs = { 0, 0 };
11628 /* SunOS 4.1.1 cc rejects this. */
11629 char const *const *pcpcc;
11631 /* NEC SVR4.0.2 mips cc rejects this. */
11632 struct point {int x, y;};
11633 static struct point const zero = {0,0};
11634 /* AIX XL C 1.02.0.0 rejects this.
11635 It does not let you subtract one const X* pointer from another in
11636 an arm of an if-expression whose if-part is not a constant
11638 const char *g = "string";
11639 pcpcc = &g + (g ? g-g : 0);
11640 /* HPUX 7.0 cc rejects these. */
11642 ppc = (char**) pcpcc;
11643 pcpcc = (char const *const *) ppc;
11644 { /* SCO 3.2v4 cc rejects this sort of thing. */
11647 char const *s = 0 ? (char *) 0 : (char const *) 0;
11652 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11653 int x[] = {25, 17};
11654 const int *foo = &x[0];
11657 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11658 typedef const int *iptr;
11662 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
11663 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11664 struct s { int j; const int *ap[3]; } bx;
11665 struct s *b = &bx; b->j = 5;
11667 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11668 const int foo = 10;
11669 if (!foo) return 0;
11671 return !cs[0] && !zero.x;
11678 if ac_fn_c_try_compile
"$LINENO"; then :
11683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11686 $as_echo "$ac_cv_c_const" >&6; }
11687 if test $ac_cv_c_const = no
; then
11689 $as_echo "#define const /**/" >>confdefs.h
11693 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
11694 if test "x$ac_cv_type_off_t" = xyes
; then :
11698 cat >>confdefs.h
<<_ACEOF
11699 #define off_t long int
11704 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11705 if test "x$ac_cv_type_pid_t" = xyes
; then :
11709 cat >>confdefs.h
<<_ACEOF
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11716 $as_echo_n "checking return type of signal handlers... " >&6; }
11717 if ${ac_cv_type_signal+:} false
; then :
11718 $as_echo_n "(cached) " >&6
11720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11722 #include <sys/types.h>
11723 #include <signal.h>
11728 return *(signal (0, 0)) (0) == 1;
11733 if ac_fn_c_try_compile
"$LINENO"; then :
11734 ac_cv_type_signal
=int
11736 ac_cv_type_signal
=void
11738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11741 $as_echo "$ac_cv_type_signal" >&6; }
11743 cat >>confdefs.h
<<_ACEOF
11744 #define RETSIGTYPE $ac_cv_type_signal
11748 # Check whether --enable-largefile was given.
11749 if test "${enable_largefile+set}" = set; then :
11750 enableval
=$enable_largefile;
11753 if test "$enable_largefile" != no
; then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11756 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11757 if ${ac_cv_sys_largefile_CC+:} false
; then :
11758 $as_echo_n "(cached) " >&6
11760 ac_cv_sys_largefile_CC
=no
11761 if test "$GCC" != yes; then
11764 # IRIX 6.2 and later do not support large files by default,
11765 # so use the C compiler's -n32 option if that helps.
11766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11768 #include <sys/types.h>
11769 /* Check that off_t can represent 2**63 - 1 correctly.
11770 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11771 since some C++ compilers masquerading as C compilers
11772 incorrectly reject 9223372036854775807. */
11773 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11774 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11775 && LARGE_OFF_T % 2147483647 == 1)
11785 if ac_fn_c_try_compile
"$LINENO"; then :
11788 rm -f core conftest.err conftest.
$ac_objext
11790 if ac_fn_c_try_compile
"$LINENO"; then :
11791 ac_cv_sys_largefile_CC
=' -n32'; break
11793 rm -f core conftest.err conftest.
$ac_objext
11797 rm -f conftest.
$ac_ext
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11801 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11802 if test "$ac_cv_sys_largefile_CC" != no
; then
11803 CC
=$CC$ac_cv_sys_largefile_CC
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11807 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11808 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11809 $as_echo_n "(cached) " >&6
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11814 #include <sys/types.h>
11815 /* Check that off_t can represent 2**63 - 1 correctly.
11816 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11817 since some C++ compilers masquerading as C compilers
11818 incorrectly reject 9223372036854775807. */
11819 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11820 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11821 && LARGE_OFF_T % 2147483647 == 1)
11831 if ac_fn_c_try_compile
"$LINENO"; then :
11832 ac_cv_sys_file_offset_bits
=no
; break
11834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11837 #define _FILE_OFFSET_BITS 64
11838 #include <sys/types.h>
11839 /* Check that off_t can represent 2**63 - 1 correctly.
11840 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11841 since some C++ compilers masquerading as C compilers
11842 incorrectly reject 9223372036854775807. */
11843 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11844 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11845 && LARGE_OFF_T % 2147483647 == 1)
11855 if ac_fn_c_try_compile
"$LINENO"; then :
11856 ac_cv_sys_file_offset_bits
=64; break
11858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11859 ac_cv_sys_file_offset_bits
=unknown
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11864 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11865 case $ac_cv_sys_file_offset_bits in #(
11868 cat >>confdefs.h
<<_ACEOF
11869 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11874 if test $ac_cv_sys_file_offset_bits = unknown
; then
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11876 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11877 if ${ac_cv_sys_large_files+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11883 #include <sys/types.h>
11884 /* Check that off_t can represent 2**63 - 1 correctly.
11885 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11886 since some C++ compilers masquerading as C compilers
11887 incorrectly reject 9223372036854775807. */
11888 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11889 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11890 && LARGE_OFF_T % 2147483647 == 1)
11900 if ac_fn_c_try_compile
"$LINENO"; then :
11901 ac_cv_sys_large_files
=no
; break
11903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11906 #define _LARGE_FILES 1
11907 #include <sys/types.h>
11908 /* Check that off_t can represent 2**63 - 1 correctly.
11909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11910 since some C++ compilers masquerading as C compilers
11911 incorrectly reject 9223372036854775807. */
11912 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11914 && LARGE_OFF_T % 2147483647 == 1)
11924 if ac_fn_c_try_compile
"$LINENO"; then :
11925 ac_cv_sys_large_files
=1; break
11927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11928 ac_cv_sys_large_files
=unknown
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11933 $as_echo "$ac_cv_sys_large_files" >&6; }
11934 case $ac_cv_sys_large_files in #(
11937 cat >>confdefs.h
<<_ACEOF
11938 #define _LARGE_FILES $ac_cv_sys_large_files
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5
11950 $as_echo_n "checking for off64_t... " >&6; }
11951 if ${liblock_cv_hasoff64t+:} false
; then :
11952 $as_echo_n "(cached) " >&6
11954 liblock_cv_hasoff64t
="no"
11955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11956 /* end confdefs.h. */
11958 #include <sys/types.h>
11972 if ac_fn_c_try_compile
"$LINENO"; then :
11973 liblock_cv_hasoff64t
="yes"
11975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasoff64t" >&5
11980 $as_echo "$liblock_cv_hasoff64t" >&6; }
11982 if test "$liblock_cv_hasoff64t" = "yes"
11984 LL_OFFSET_TYPE
=off64_t
11986 LL_OFFSET_TYPE
=off_t
11989 cat >>confdefs.h
<<_ACEOF
11990 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock_t" >&5
11995 $as_echo_n "checking for flock_t... " >&6; }
11996 if ${liblock_cv_hasflock_t+:} false
; then :
11997 $as_echo_n "(cached) " >&6
11999 liblock_cv_hasflock_t
="no"
12000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12004 #include "config.h"
12006 #include <sys/types.h>
12010 #if HAVE_SYS_FCNTL_H
12011 #include <sys/fcntl.h>
12024 if ac_fn_c_try_compile
"$LINENO"; then :
12025 liblock_cv_hasflock_t
="yes"
12027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasflock_t" >&5
12030 $as_echo "$liblock_cv_hasflock_t" >&6; }
12032 if test "$liblock_cv_hasflock_t" = "yes"
12035 cat >>confdefs.h
<<_ACEOF
12036 #define HAS_FLOCK_T 1
12042 for ac_func
in getdtablesize setpgrp sysconf
12044 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12045 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12046 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12047 cat >>confdefs.h
<<_ACEOF
12048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12054 ac_fn_c_check_func
"$LINENO" "setpgrp" "ac_cv_func_setpgrp"
12055 if test "x$ac_cv_func_setpgrp" = xyes
; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setpgrp takes no argument" >&5
12058 $as_echo_n "checking whether setpgrp takes no argument... " >&6; }
12059 if ${ac_cv_func_setpgrp_void+:} false
; then :
12060 $as_echo_n "(cached) " >&6
12062 if test "$cross_compiling" = yes; then :
12063 as_fn_error $?
"cannot check setpgrp when cross compiling" "$LINENO" 5
12065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12067 $ac_includes_default
12071 /* If this system has a BSD-style setpgrp which takes arguments,
12072 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
12073 exit successfully. */
12074 return setpgrp (1,1) != -1;
12079 if ac_fn_c_try_run
"$LINENO"; then :
12080 ac_cv_func_setpgrp_void
=no
12082 ac_cv_func_setpgrp_void
=yes
12084 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12085 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setpgrp_void" >&5
12090 $as_echo "$ac_cv_func_setpgrp_void" >&6; }
12091 if test $ac_cv_func_setpgrp_void = yes; then
12093 $as_echo "#define SETPGRP_VOID 1" >>confdefs.h
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl" >&5
12103 $as_echo_n "checking for fcntl... " >&6; }
12104 if ${liblock_cv_hasfcntl+:} false
; then :
12105 $as_echo_n "(cached) " >&6
12107 liblock_cv_hasfcntl
="no"
12108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12112 #include "${srcdir}/lockfcntl.c"
12124 if ac_fn_c_try_link
"$LINENO"; then :
12125 liblock_cv_hasfcntl
="yes"
12127 rm -f core conftest.err conftest.
$ac_objext \
12128 conftest
$ac_exeext conftest.
$ac_ext
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasfcntl" >&5
12131 $as_echo "$liblock_cv_hasfcntl" >&6; }
12132 if test "$liblock_cv_hasfcntl" = "yes"
12135 cat >>confdefs.h
<<_ACEOF
12136 #define HAS_FCNTL 1
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock" >&5
12142 $as_echo_n "checking for flock... " >&6; }
12143 if ${liblock_cv_hasflock+:} false
; then :
12144 $as_echo_n "(cached) " >&6
12146 liblock_cv_hasflock
="no"
12147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12151 #include "${srcdir}/lockflock.c"
12163 if ac_fn_c_try_link
"$LINENO"; then :
12164 liblock_cv_hasflock
="yes"
12166 rm -f core conftest.err conftest.
$ac_objext \
12167 conftest
$ac_exeext conftest.
$ac_ext
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasflock" >&5
12170 $as_echo "$liblock_cv_hasflock" >&6; }
12171 if test "$liblock_cv_hasflock" = "yes"
12174 cat >>confdefs.h
<<_ACEOF
12175 #define HAS_FLOCK 1
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lockf" >&5
12181 $as_echo_n "checking for lockf... " >&6; }
12182 if ${liblock_cv_haslockf+:} false
; then :
12183 $as_echo_n "(cached) " >&6
12185 liblock_cv_haslockf
="no"
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12190 #include "${srcdir}/locklockf.c"
12202 if ac_fn_c_try_link
"$LINENO"; then :
12203 liblock_cv_haslockf
="yes"
12205 rm -f core conftest.err conftest.
$ac_objext \
12206 conftest
$ac_exeext conftest.
$ac_ext
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_haslockf" >&5
12209 $as_echo "$liblock_cv_haslockf" >&6; }
12210 if test "$liblock_cv_haslockf" = "yes"
12213 cat >>confdefs.h
<<_ACEOF
12214 #define HAS_LOCKF 1
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locking method" >&5
12220 $as_echo_n "checking for locking method... " >&6; }
12222 # Check whether --with-locking-method was given.
12223 if test "${with_locking_method+set}" = set; then :
12224 withval
=$with_locking_method; lockmethod
="$withval"
12230 case x
$lockmethod in
12232 if test "$cross_compiling" = yes; then :
12236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 #define USE_FCNTL 1
12240 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12241 #include "${srcdir}/locktest.c"
12244 if ac_fn_c_try_run
"$LINENO"; then :
12247 as_fn_error $?
"fcntl test failed." "$LINENO" 5
12249 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12250 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12255 if test "$cross_compiling" = yes; then :
12256 as_fn_error $?
"--with-locking-method option required" "$LINENO" 5
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 #define USE_FCNTL 1
12262 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12263 #include "${srcdir}/locktest.c"
12266 if ac_fn_c_try_run
"$LINENO"; then :
12269 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12270 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12276 case x
$lockmethod in
12278 if test "$cross_compiling" = yes; then :
12282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 #define USE_LOCKF 1
12286 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12287 #include "${srcdir}/locktest.c"
12290 if ac_fn_c_try_run
"$LINENO"; then :
12293 as_fn_error $?
"lockf test failed." "$LINENO" 5
12295 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12296 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12301 if test "$cross_compiling" = yes; then :
12302 as_fn_error $?
"--with-locking-method option required" "$LINENO" 5
12304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12307 #define USE_LOCKF 1
12308 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12309 #include "${srcdir}/locktest.c"
12312 if ac_fn_c_try_run
"$LINENO"; then :
12315 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12316 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12323 case x
$lockmethod in
12325 if test "$cross_compiling" = yes; then :
12329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 #define USE_FLOCK 1
12333 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12334 #include "${srcdir}/locktest.c"
12337 if ac_fn_c_try_run
"$LINENO"; then :
12340 as_fn_error $?
"flock test failed." "$LINENO" 5
12342 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12343 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12348 if test "$cross_compiling" = yes; then :
12349 as_fn_error $?
"--with-locking-method option required" "$LINENO" 5
12351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h. */
12354 #define USE_FLOCK 1
12355 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12356 #include "${srcdir}/locktest.c"
12359 if ac_fn_c_try_run
"$LINENO"; then :
12362 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12363 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12369 case x
$lockmethod in
12377 as_fn_error $?
"must specify --with-locking-method option" "$LINENO" 5
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lockmethod" >&5
12382 $as_echo "$lockmethod" >&6; }
12384 if test "$lockmethod" = "fcntl"; then
12386 USE_FCNTL_FALSE
='#'
12392 if test "$lockmethod" = "flock"; then
12394 USE_FLOCK_FALSE
='#'
12400 if test "$lockmethod" = "lockf"; then
12402 USE_LOCKF_FALSE
='#'
12409 if test -d ${srcdir}/..
/docbook
; then
12411 HAVE_SGML_FALSE
='#'
12419 cat >>confdefs.h
<<_ACEOF
12420 #define liblock_config_h 1
12424 ac_config_files
="$ac_config_files Makefile"
12426 cat >confcache
<<\_ACEOF
12427 # This file is a shell script that caches the results of configure
12428 # tests run on this system so they can be shared between configure
12429 # scripts and configure runs, see configure's option --config-cache.
12430 # It is not useful on other systems. If it contains results you don't
12431 # want to keep, you may remove or edit it.
12433 # config.status only pays attention to the cache file if you give it
12434 # the --recheck option to rerun configure.
12436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12438 # following values.
12442 # The following way of writing the cache mishandles newlines in values,
12443 # but we know of no workaround that is simple, portable, and efficient.
12444 # So, we kill variables containing newlines.
12445 # Ultrix sh set writes to stderr and can't be redirected directly,
12446 # and sets the high bit in the cache file unless we assign to the vars.
12448 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12449 eval ac_val
=\$
$ac_var
12453 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12457 _ | IFS | as_nl
) ;; #(
12458 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12459 *) { eval $ac_var=; unset $ac_var;} ;;
12465 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12466 *${as_nl}ac_space
=\
*)
12467 # `set' does not quote correctly, so add quotes: double-quote
12468 # substitution turns \\\\ into \\, and sed turns \\ into \.
12471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12474 # `set' quotes correctly as required by POSIX, so do not add quotes.
12475 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12484 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12486 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12488 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12489 if test -w "$cache_file"; then
12490 if test "x$cache_file" != "x/dev/null"; then
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12492 $as_echo "$as_me: updating cache $cache_file" >&6;}
12493 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12494 cat confcache
>"$cache_file"
12496 case $cache_file in #(
12498 mv -f confcache
"$cache_file"$$
&&
12499 mv -f "$cache_file"$$
"$cache_file" ;; #(
12501 mv -f confcache
"$cache_file" ;;
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12512 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12513 # Let make expand exec_prefix.
12514 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12516 DEFS
=-DHAVE_CONFIG_H
12520 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12521 # 1. Remove the extension, and $U if already installed.
12522 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12523 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12524 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12525 # will be set to the directory where LIBOBJS objects are built.
12526 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12527 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12529 LIBOBJS
=$ac_libobjs
12531 LTLIBOBJS
=$ac_ltlibobjs
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12535 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12536 if test -n "$am_sleep_pid"; then
12537 # Hide warnings about reused PIDs.
12538 wait $am_sleep_pid 2>/dev
/null
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12541 $as_echo "done" >&6; }
12542 if test -n "$EXEEXT"; then
12544 am__EXEEXT_FALSE
='#'
12546 am__EXEEXT_TRUE
='#'
12550 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12551 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12554 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12555 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12558 if test -z "${USE_FCNTL_TRUE}" && test -z "${USE_FCNTL_FALSE}"; then
12559 as_fn_error $?
"conditional \"USE_FCNTL\" was never defined.
12560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12562 if test -z "${USE_FLOCK_TRUE}" && test -z "${USE_FLOCK_FALSE}"; then
12563 as_fn_error $?
"conditional \"USE_FLOCK\" was never defined.
12564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12566 if test -z "${USE_LOCKF_TRUE}" && test -z "${USE_LOCKF_FALSE}"; then
12567 as_fn_error $?
"conditional \"USE_LOCKF\" was never defined.
12568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12570 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
12571 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
12572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12575 : "${CONFIG_STATUS=./config.status}"
12577 ac_clean_files_save
=$ac_clean_files
12578 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12580 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12582 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12584 # Generated by $as_me.
12585 # Run this file to recreate the current configuration.
12586 # Compiler output produced by configure, useful for debugging
12587 # configure, is in config.log if it exists.
12590 ac_cs_recheck=false
12593 SHELL=\${CONFIG_SHELL-$SHELL}
12596 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12597 ## -------------------- ##
12598 ## M4sh Initialization. ##
12599 ## -------------------- ##
12601 # Be more Bourne compatible
12602 DUALCASE
=1; export DUALCASE
# for MKS sh
12603 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12606 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12607 # is contrary to our usage. Disable this feature.
12608 alias -g '${1+"$@"}'='"$@"'
12609 setopt NO_GLOB_SUBST
12611 case `(set -o) 2>/dev/null` in #(
12623 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12624 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12627 # Prefer a ksh shell builtin over an external printf program on Solaris,
12628 # but without wasting forks for bash or zsh.
12629 if test -z "$BASH_VERSION$ZSH_VERSION" \
12630 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12631 as_echo='print
-r --'
12632 as_echo_n='print
-rn --'
12633 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12634 as_echo='printf %s
\n'
12635 as_echo_n='printf %s
'
12637 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12638 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12639 as_echo_n='/usr
/ucb
/echo -n'
12641 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12642 as_echo_n_body='eval
12646 expr "X$arg" : "X\\(.*\\)$as_nl";
12647 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12649 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12651 export as_echo_n_body
12652 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12654 export as_echo_body
12655 as_echo='sh
-c $as_echo_body as_echo
'
12658 # The user is always right.
12659 if test "${PATH_SEPARATOR+set}" != set; then
12661 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12662 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12669 # We need space, tab and new line, in precisely that order. Quoting is
12670 # there to prevent editors from complaining about space-tab.
12671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12672 # splitting by setting IFS to empty value.)
12675 # Find who we are. Look in the path if we contain no directory separator.
12678 *[\\/]* ) as_myself=$0 ;;
12679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12680 for as_dir in $PATH
12683 test -z "$as_dir" && as_dir=.
12684 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12690 # We did not find ourselves, most probably we were run as `sh COMMAND'
12691 # in which case we are not to be found in the path.
12692 if test "x$as_myself" = x
; then
12695 if test ! -f "$as_myself"; then
12696 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12700 # Unset variables that we do not need and which cause bugs (e.g. in
12701 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12702 # suppresses any "Segmentation fault" message there. '((' could
12703 # trigger a bug in pdksh 5.2.14.
12704 for as_var
in BASH_ENV ENV MAIL MAILPATH
12705 do eval test x\
${$as_var+set} = xset \
12706 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12719 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12722 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12723 # ----------------------------------------
12724 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12725 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12726 # script with STATUS, using 1 if that was 0.
12729 as_status
=$1; test $as_status -eq 0 && as_status
=1
12731 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12732 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12734 $as_echo "$as_me: error: $2" >&2
12735 as_fn_exit
$as_status
12739 # as_fn_set_status STATUS
12740 # -----------------------
12741 # Set $? to STATUS, without forking.
12742 as_fn_set_status
()
12745 } # as_fn_set_status
12747 # as_fn_exit STATUS
12748 # -----------------
12749 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12753 as_fn_set_status
$1
12759 # Portably unset VAR.
12762 { eval $1=; unset $1;}
12764 as_unset
=as_fn_unset
12765 # as_fn_append VAR VALUE
12766 # ----------------------
12767 # Append the text in VALUE to the end of the definition contained in VAR. Take
12768 # advantage of any shell optimizations that allow amortized linear growth over
12769 # repeated appends, instead of the typical quadratic growth present in naive
12771 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12772 eval 'as_fn_append ()
12783 # as_fn_arith ARG...
12784 # ------------------
12785 # Perform arithmetic evaluation on the ARGs, and store the result in the
12786 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12787 # must be portable across $(()) and expr.
12788 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12789 eval 'as_fn_arith ()
12796 as_val
=`expr "$@" || test $? -eq 1`
12801 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12802 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12808 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12809 as_basename
=basename
12814 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12820 as_me
=`$as_basename -- "$0" ||
12821 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12822 X"$0" : 'X\(//\)$' \| \
12823 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12825 sed '/^.*\/\([^/][^/]*\)\/*$/{
12839 # Avoid depending upon Character Ranges.
12840 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12841 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12842 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12843 as_cr_digits
='0123456789'
12844 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12846 ECHO_C
= ECHO_N
= ECHO_T
=
12847 case `echo -n x` in #(((((
12849 case `echo 'xy\c'` in
12850 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12852 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12859 rm -f conf$$ conf$$.exe conf$$.
file
12860 if test -d conf$$.dir
; then
12861 rm -f conf$$.dir
/conf$$.
file
12864 mkdir conf$$.dir
2>/dev
/null
12866 if (echo >conf$$.
file) 2>/dev
/null
; then
12867 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12869 # ... but there are two gotchas:
12870 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12871 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12872 # In both cases, we have to default to `cp -pR'.
12873 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12875 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12883 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12884 rmdir conf$$.dir
2>/dev
/null
12889 # Create "$as_dir" as a directory, including parents if necessary.
12894 -*) as_dir
=.
/$as_dir;;
12896 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12900 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12901 *) as_qdir
=$as_dir;;
12903 as_dirs
="'$as_qdir' $as_dirs"
12904 as_dir
=`$as_dirname -- "$as_dir" ||
12905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12906 X"$as_dir" : 'X\(//\)[^/]' \| \
12907 X"$as_dir" : 'X\(//\)$' \| \
12908 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12909 $as_echo X"$as_dir" |
12910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12914 /^X\(\/\/\)[^/].*/{
12927 test -d "$as_dir" && break
12929 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12930 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12934 if mkdir
-p .
2>/dev
/null
; then
12935 as_mkdir_p
='mkdir -p "$as_dir"'
12937 test -d .
/-p && rmdir .
/-p
12942 # as_fn_executable_p FILE
12943 # -----------------------
12944 # Test if FILE is an executable regular file.
12945 as_fn_executable_p
()
12947 test -f "$1" && test -x "$1"
12948 } # as_fn_executable_p
12949 as_test_x
='test -x'
12950 as_executable_p
=as_fn_executable_p
12952 # Sed expression to map a string onto a valid CPP name.
12953 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12955 # Sed expression to map a string onto a valid variable name.
12956 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12960 ## ----------------------------------- ##
12961 ## Main body of $CONFIG_STATUS script. ##
12962 ## ----------------------------------- ##
12964 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12967 # Save the log message, to keep $0 and so on meaningful, and to
12968 # report actual input values of CONFIG_FILES etc. instead of their
12969 # values after options handling.
12971 This file was extended by liblock $as_me 0.60, which was
12972 generated by GNU Autoconf 2.69. Invocation command line was
12974 CONFIG_FILES = $CONFIG_FILES
12975 CONFIG_HEADERS = $CONFIG_HEADERS
12976 CONFIG_LINKS = $CONFIG_LINKS
12977 CONFIG_COMMANDS = $CONFIG_COMMANDS
12980 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12985 case $ac_config_files in *"
12986 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12989 case $ac_config_headers in *"
12990 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12995 # Files that config.status was made for.
12996 config_files="$ac_config_files"
12997 config_headers="$ac_config_headers"
12998 config_commands="$ac_config_commands"
13002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13004 \`$as_me' instantiates files and other configuration actions
13005 from templates according to the current configuration. Unless the files
13006 and actions are specified as TAGs, all are instantiated by default.
13008 Usage: $0 [OPTION]... [TAG]...
13010 -h, --help print this help, then exit
13011 -V, --version print version number and configuration settings, then exit
13012 --config print configuration, then exit
13013 -q, --quiet, --silent
13014 do not print progress messages
13015 -d, --debug don't remove temporary files
13016 --recheck update $as_me by reconfiguring in the same conditions
13017 --file=FILE[:TEMPLATE]
13018 instantiate the configuration file FILE
13019 --header=FILE[:TEMPLATE]
13020 instantiate the configuration header FILE
13022 Configuration files:
13025 Configuration headers:
13028 Configuration commands:
13031 Report bugs to <courier-users@lists.sourceforge.net>."
13034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13035 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13037 liblock config.status 0.60
13038 configured by $0, generated by GNU Autoconf 2.69,
13039 with options \\"\$ac_cs_config\\"
13041 Copyright (C) 2012 Free Software Foundation, Inc.
13042 This config.status script is free software; the Free Software Foundation
13043 gives unlimited permission to copy, distribute and modify it."
13050 test -n "\$AWK" || AWK=awk
13053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13054 # The default lists apply if the user does not specify any file.
13060 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13061 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13065 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13077 # Handling of the options.
13078 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13080 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13081 $as_echo "$ac_cs_version"; exit ;;
13082 --config |
--confi |
--conf |
--con |
--co |
--c )
13083 $as_echo "$ac_cs_config"; exit ;;
13084 --debug |
--debu |
--deb |
--de |
--d |
-d )
13086 --file |
--fil |
--fi |
--f )
13089 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13090 '') as_fn_error $?
"missing file argument" ;;
13092 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13093 ac_need_defaults
=false
;;
13094 --header |
--heade |
--head |
--hea )
13097 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13099 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13100 ac_need_defaults
=false
;;
13102 # Conflict between --help and --header
13103 as_fn_error $?
"ambiguous option: \`$1'
13104 Try \`$0 --help' for more information.";;
13105 --help |
--hel |
-h )
13106 $as_echo "$ac_cs_usage"; exit ;;
13107 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13108 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13111 # This is an error.
13112 -*) as_fn_error $?
"unrecognized option: \`$1'
13113 Try \`$0 --help' for more information." ;;
13115 *) as_fn_append ac_config_targets
" $1"
13116 ac_need_defaults
=false
;;
13122 ac_configure_extra_args
=
13124 if $ac_cs_silent; then
13126 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13131 if \$ac_cs_recheck; then
13132 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13134 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13135 CONFIG_SHELL='$SHELL'
13136 export CONFIG_SHELL
13141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13145 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13146 ## Running $as_me. ##
13152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13156 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13159 # The HP-UX ksh and POSIX shell print the target directory to stdout
13160 # if CDPATH is set.
13161 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13163 sed_quote_subst='$sed_quote_subst'
13164 double_quote_subst='$double_quote_subst'
13165 delay_variable_subst='$delay_variable_subst'
13166 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13167 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13168 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13169 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13170 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13171 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13172 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13173 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13174 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13175 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13176 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13177 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13178 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13179 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13180 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13181 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13182 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13183 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13184 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13185 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13186 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13187 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13188 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13189 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13190 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13191 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13192 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13193 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13194 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13195 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13196 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13197 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13198 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13199 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13200 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13201 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13202 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13203 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13204 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13205 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13206 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13207 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13208 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13209 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13210 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13211 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13212 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13213 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13214 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13215 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13216 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13217 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13218 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13219 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13220 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13221 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13222 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"`'
13223 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13224 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13225 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13226 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13227 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13228 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13229 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13230 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13231 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13232 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13233 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13234 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13235 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13236 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13237 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13238 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13239 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13240 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13241 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13242 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13243 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13244 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13245 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13246 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13247 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13248 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13249 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13250 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13251 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13252 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13253 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13254 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13255 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13256 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13257 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13258 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13259 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13260 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13261 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13262 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13263 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13264 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13265 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13266 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13267 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13268 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13269 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13270 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13271 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13272 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13273 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13274 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13275 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13276 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13277 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13278 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13279 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13280 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13281 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13282 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13283 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13284 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13285 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13286 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13287 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13288 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13289 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13290 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13291 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13292 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13293 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13294 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13295 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13298 LTCFLAGS='$LTCFLAGS'
13299 compiler='$compiler_DEFAULT'
13301 # A function that is used when there is no print builtin or printf.
13302 func_fallback_echo ()
13304 eval 'cat <<_LTECHO_EOF
13309 # Quote evaled strings.
13324 deplibs_check_method \
13329 sharedlib_from_linklib_cmd \
13332 archiver_list_spec \
13338 lt_cv_sys_global_symbol_pipe \
13339 lt_cv_sys_global_symbol_to_cdecl \
13340 lt_cv_sys_global_symbol_to_c_name_address \
13341 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13342 nm_file_list_spec \
13343 lt_prog_compiler_no_builtin_flag \
13344 lt_prog_compiler_pic \
13345 lt_prog_compiler_wl \
13346 lt_prog_compiler_static \
13347 lt_cv_prog_compiler_c_o \
13356 export_dynamic_flag_spec \
13357 whole_archive_flag_spec \
13358 compiler_needs_object \
13360 allow_undefined_flag \
13361 no_undefined_flag \
13362 hardcode_libdir_flag_spec \
13363 hardcode_libdir_separator \
13367 variables_saved_for_relink \
13369 library_names_spec \
13371 install_override_mode \
13375 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13376 *[\\\\\\\`\\"\\\$]*)
13377 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13380 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13385 # Double-quote double-evaled strings.
13386 for var in reload_cmds \
13387 old_postinstall_cmds \
13388 old_postuninstall_cmds \
13390 extract_expsyms_cmds \
13391 old_archive_from_new_cmds \
13392 old_archive_from_expsyms_cmds \
13394 archive_expsym_cmds \
13396 module_expsym_cmds \
13397 export_symbols_cmds \
13401 postuninstall_cmds \
13403 sys_lib_search_path_spec \
13404 sys_lib_dlsearch_path_spec; do
13405 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13406 *[\\\\\\\`\\"\\\$]*)
13407 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13410 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13415 ac_aux_dir='$ac_aux_dir'
13416 xsi_shell='$xsi_shell'
13417 lt_shell_append='$lt_shell_append'
13419 # See if we are running on zsh, and set the options which allow our
13420 # commands through without removal of \ escapes INIT.
13421 if test -n "\${ZSH_VERSION+set}" ; then
13422 setopt NO_GLOB_SUBST
13428 TIMESTAMP='$TIMESTAMP'
13437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13439 # Handling of arguments.
13440 for ac_config_target
in $ac_config_targets
13442 case $ac_config_target in
13443 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13444 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13445 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13446 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13448 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13453 # If the user did not use the arguments to specify the items to instantiate,
13454 # then the envvar interface is used. Set only those that are not.
13455 # We use the long form for the default assignment because of an extremely
13456 # bizarre bug on SunOS 4.1.3.
13457 if $ac_need_defaults; then
13458 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13459 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13460 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13463 # Have a temporary directory for convenience. Make it in the build tree
13464 # simply because there is no reason against having it here, and in addition,
13465 # creating and moving files from /tmp can sometimes cause problems.
13466 # Hook for its removal unless debugging.
13467 # Note that there is a small window in which the directory will not be cleaned:
13468 # after its creation but before its name has been assigned to `$tmp'.
13472 trap 'exit_status=$?
13473 : "${ac_tmp:=$tmp}"
13474 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13476 trap 'as_fn_exit 1' 1 2 13 15
13478 # Create a (secure) tmp directory for tmp files.
13481 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13485 tmp
=.
/conf$$
-$RANDOM
13486 (umask 077 && mkdir
"$tmp")
13487 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13490 # Set up the scripts for CONFIG_FILES section.
13491 # No need to generate them if there are no CONFIG_FILES.
13492 # This happens for instance with `./config.status config.h'.
13493 if test -n "$CONFIG_FILES"; then
13496 ac_cr
=`echo X | tr X '\015'`
13497 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13498 # But we know of no other shell where ac_cr would be empty at this
13499 # point, so we can use a bashism as a fallback.
13500 if test "x$ac_cr" = x
; then
13501 eval ac_cr
=\$
\'\\r
\'
13503 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13504 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13507 ac_cs_awk_cr
=$ac_cr
13510 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13515 echo "cat >conf$$subs.awk <<_ACEOF" &&
13516 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13518 } >conf$$subs.sh ||
13519 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13520 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13522 for ac_last_try in false false false false false :; do
13523 . ./conf$$subs.sh ||
13524 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13526 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13527 if test $ac_delim_n = $ac_delim_num; then
13529 elif $ac_last_try; then
13530 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13532 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13535 rm -f conf$$subs.sh
13537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13538 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13542 s/^/S["/; s
/!.
*/"]=/
13552 s/\(.\{148\}\)..*/\1/
13554 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13559 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13566 s/\(.\{148\}\)..*/\1/
13568 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13572 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13577 ' <conf$$subs.awk | sed '
13582 ' >>$CONFIG_STATUS || ac_write_fail=1
13583 rm -f conf$$subs.awk
13584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13586 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13587 for (key in S) S_is_set[key] = 1
13593 nfields = split(line, field, "@
")
13595 len = length(field[1])
13596 for (i = 2; i < nfields; i++) {
13598 keylen = length(key)
13599 if (S_is_set[key]) {
13601 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13602 len += length(value) + length(field[++i])
13613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13614 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13615 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13618 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13619 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13622 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13623 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13624 # trailing colons and then remove the whole line if VPATH becomes empty
13625 # (actually we leave an empty line to preserve line numbers).
13626 if test "x
$srcdir" = x.; then
13627 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13646 fi # test -n "$CONFIG_FILES"
13648 # Set up the scripts for CONFIG_HEADERS section.
13649 # No need to generate them if there are no CONFIG_HEADERS.
13650 # This happens for instance with `./config.status Makefile'.
13651 if test -n "$CONFIG_HEADERS"; then
13652 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13656 # Transform confdefs.h into an awk script `defines.awk', embedded as
13657 # here-document in config.status, that substitutes the proper values into
13658 # config.h.in to produce config.h.
13660 # Create a delimiter string that does not exist in confdefs.h, to ease
13661 # handling of long lines.
13663 for ac_last_try in false false :; do
13664 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13665 if test -z "$ac_tt"; then
13667 elif $ac_last_try; then
13668 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13670 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13674 # For the awk script, D is an array of macro values keyed by name,
13675 # likewise P contains macro parameters if any. Preserve backslash
13676 # newline sequences.
13678 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13680 s/.\{148\}/&'"$ac_delim"'/g
13683 s/^[ ]*#[ ]*define[ ][ ]*/ /
13690 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13692 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13696 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13697 D["\
1"]=" \
3\\\\\\n
"\\/p
13699 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13704 s/.\{148\}/&'"$ac_delim"'/g
13709 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13712 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13714 ' <confdefs.h | sed '
13715 s/'"$ac_delim"'/"\\\
13716 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13719 for (key in D) D_is_set[key] = 1
13722 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13724 split(line, arg, " ")
13725 if (arg[1] == "#") {
13729 defundef
= substr
(arg
[1], 2)
13732 split(mac1
, mac2
, "(") #)
13734 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13735 if (D_is_set
[macro
]) {
13736 # Preserve the white space surrounding the "#".
13737 print prefix
"define", macro P
[macro
] D
[macro
]
13740 # Replace #undef with comments. This is necessary, for example,
13741 # in the case of _POSIX_SOURCE, which is predefined and required
13742 # on some systems where configure will not decide to define it.
13743 if (defundef
== "undef") {
13744 print
"/*", prefix defundef
, macro
, "*/"
13752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13753 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13754 fi # test -n "$CONFIG_HEADERS"
13757 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13762 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13764 case $ac_mode$ac_tag in
13766 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13767 :[FH
]-) ac_tag
=-:-;;
13768 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13785 -) ac_f
="$ac_tmp/stdin";;
13786 *) # Look for the file first in the build tree, then in the source tree
13787 # (if the path is not absolute). The absolute path cannot be DOS-style,
13788 # because $ac_f cannot contain `:'.
13792 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13794 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13796 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13797 as_fn_append ac_file_inputs
" '$ac_f'"
13800 # Let's still pretend it is `configure' which instantiates (i.e., don't
13801 # use $as_me), people would be surprised to read:
13802 # /* config.h. Generated by config.status. */
13803 configure_input
='Generated from '`
13804 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13806 if test x
"$ac_file" != x-
; then
13807 configure_input
="$ac_file. $configure_input"
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13809 $as_echo "$as_me: creating $ac_file" >&6;}
13811 # Neutralize special characters interpreted by sed in replacement strings.
13812 case $configure_input in #(
13813 *\
&* |
*\|
* |
*\\* )
13814 ac_sed_conf_input
=`$as_echo "$configure_input" |
13815 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13816 *) ac_sed_conf_input
=$configure_input;;
13820 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13821 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13826 ac_dir
=`$as_dirname -- "$ac_file" ||
13827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13828 X"$ac_file" : 'X\(//\)[^/]' \| \
13829 X"$ac_file" : 'X\(//\)$' \| \
13830 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13831 $as_echo X"$ac_file" |
13832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13836 /^X\(\/\/\)[^/].*/{
13849 as_dir
="$ac_dir"; as_fn_mkdir_p
13853 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13855 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13856 # A ".." for each directory in $ac_dir_suffix.
13857 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13858 case $ac_top_builddir_sub in
13859 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13860 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13863 ac_abs_top_builddir
=$ac_pwd
13864 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13865 # for backward compatibility:
13866 ac_top_builddir
=$ac_top_build_prefix
13869 .
) # We are building in place.
13871 ac_top_srcdir
=$ac_top_builddir_sub
13872 ac_abs_top_srcdir
=$ac_pwd ;;
13873 [\\/]* | ?
:[\\/]* ) # Absolute name.
13874 ac_srcdir
=$srcdir$ac_dir_suffix;
13875 ac_top_srcdir
=$srcdir
13876 ac_abs_top_srcdir
=$srcdir ;;
13877 *) # Relative name.
13878 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13879 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13880 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13882 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13892 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13893 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13895 ac_MKDIR_P
=$MKDIR_P
13897 [\\/$
]* | ?
:[\\/]* ) ;;
13898 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13903 # If the template does not know about datarootdir, expand it.
13904 # FIXME: This hack should be removed a few years after 2.60.
13905 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13916 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13917 *datarootdir
*) ac_datarootdir_seen
=yes;;
13918 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13920 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13923 ac_datarootdir_hack='
13924 s&@datadir@&$datadir&g
13925 s&@docdir@&$docdir&g
13926 s&@infodir@&$infodir&g
13927 s&@localedir@&$localedir&g
13928 s&@mandir@&$mandir&g
13929 s&\\\${datarootdir}&$datarootdir&g' ;;
13933 # Neutralize VPATH when `$srcdir' = `.'.
13934 # Shell code in configure.ac might set extrasub.
13935 # FIXME: do we really want to maintain this feature?
13936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13937 ac_sed_extra="$ac_vpsub
13940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13942 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13943 s|@configure_input@|
$ac_sed_conf_input|
;t t
13944 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13945 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13946 s
&@srcdir@
&$ac_srcdir&;t t
13947 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13948 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13949 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13950 s
&@builddir@
&$ac_builddir&;t t
13951 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13952 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13953 s
&@INSTALL@
&$ac_INSTALL&;t t
13954 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13955 $ac_datarootdir_hack
13957 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13958 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13963 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13965 which seems to be undefined. Please make sure it is defined" >&5
13966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13967 which seems to be undefined. Please make sure it is defined" >&2;}
13969 rm -f "$ac_tmp/stdin"
13971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13980 if test x"$ac_file" != x-; then
13982 $as_echo "/* $configure_input */" \
13983 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13984 } >"$ac_tmp/config.h" \
13985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13986 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13988 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13991 mv "$ac_tmp/config.h" "$ac_file" \
13992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13995 $as_echo "/* $configure_input */" \
13996 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13997 || as_fn_error $? "could not create -" "$LINENO" 5
13999 # Compute "$ac_file"'s index
in $config_headers.
14002 for _am_header
in $config_headers :; do
14003 case $_am_header in
14004 $_am_arg |
$_am_arg:* )
14007 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14010 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14011 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14012 X"$_am_arg" : 'X\(//\)[^/]' \| \
14013 X"$_am_arg" : 'X\(//\)$' \| \
14014 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14015 $as_echo X"$_am_arg" |
14016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14020 /^X\(\/\/\)[^/].*/{
14032 s/.*/./; q'`/stamp-h
$_am_stamp_count
14035 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14036 $as_echo "$as_me: executing $ac_file commands" >&6;}
14041 case $ac_file$ac_mode in
14042 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14043 # Older Autoconf quotes --file arguments for eval, but not when files
14044 # are listed without --file. Let's play safe and only enable the eval
14045 # if we detect the quoting.
14046 case $CONFIG_FILES in
14047 *\'*) eval set x
"$CONFIG_FILES" ;;
14048 *) set x
$CONFIG_FILES ;;
14053 # Strip MF so we end up with the name of the file.
14054 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14055 # Check whether this is an Automake generated Makefile or not.
14056 # We used to match only the files named 'Makefile.in', but
14057 # some people rename them; so instead we look at the file content.
14058 # Grep'ing the first line is not enough: some people post-process
14059 # each Makefile.in and add a new line on top of each file to say so.
14060 # Grep'ing the whole file is not good either: AIX grep has a line
14061 # limit of 2048, but all sed's we know have understand at least 4000.
14062 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14063 dirpart
=`$as_dirname -- "$mf" ||
14064 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14065 X"$mf" : 'X\(//\)[^/]' \| \
14066 X"$mf" : 'X\(//\)$' \| \
14067 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14073 /^X\(\/\/\)[^/].*/{
14089 # Extract the definition of DEPDIR, am__include, and am__quote
14090 # from the Makefile without running 'make'.
14091 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14092 test -z "$DEPDIR" && continue
14093 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14094 test -z "$am__include" && continue
14095 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14096 # Find all dependency output files, they are included files with
14097 # $(DEPDIR) in their names. We invoke sed twice because it is the
14098 # simplest approach to changing $(DEPDIR) to its actual value in the
14100 for file in `sed -n "
14101 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14102 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14103 # Make sure the directory exists.
14104 test -f "$dirpart/$file" && continue
14105 fdir
=`$as_dirname -- "$file" ||
14106 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14107 X"$file" : 'X\(//\)[^/]' \| \
14108 X"$file" : 'X\(//\)$' \| \
14109 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14110 $as_echo X"$file" |
14111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14115 /^X\(\/\/\)[^/].*/{
14128 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14129 # echo "creating $dirpart/$file"
14130 echo '# dummy' > "$dirpart/$file"
14137 # See if we are running on zsh, and set the options which allow our
14138 # commands through without removal of \ escapes.
14139 if test -n "${ZSH_VERSION+set}" ; then
14140 setopt NO_GLOB_SUBST
14143 cfgfile
="${ofile}T"
14144 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14147 cat <<_LT_EOF >> "$cfgfile"
14150 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14151 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14152 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14153 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14155 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14156 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14158 # Written by Gordon Matzigkeit, 1996
14160 # This file is part of GNU Libtool.
14162 # GNU Libtool is free software; you can redistribute it and/or
14163 # modify it under the terms of the GNU General Public License as
14164 # published by the Free Software Foundation; either version 2 of
14165 # the License, or (at your option) any later version.
14167 # As a special exception to the GNU General Public License,
14168 # if you distribute this file as part of a program or library that
14169 # is built using GNU Libtool, you may include this file under the
14170 # same distribution terms that you use for the rest of that program.
14172 # GNU Libtool is distributed in the hope that it will be useful,
14173 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14174 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14175 # GNU General Public License for more details.
14177 # You should have received a copy of the GNU General Public License
14178 # along with GNU Libtool; see the file COPYING. If not, a copy
14179 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14180 # obtained by writing to the Free Software Foundation, Inc.,
14181 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14184 # The names of the tagged configurations supported by this script.
14187 # ### BEGIN LIBTOOL CONFIG
14189 # Which release of libtool.m4 was used?
14190 macro_version=$macro_version
14191 macro_revision=$macro_revision
14193 # Whether or not to build shared libraries.
14194 build_libtool_libs=$enable_shared
14196 # Whether or not to build static libraries.
14197 build_old_libs=$enable_static
14199 # What type of objects to build.
14202 # Whether or not to optimize for fast installation.
14203 fast_install=$enable_fast_install
14205 # Shell to use when invoking shell scripts.
14208 # An echo program that protects backslashes.
14211 # The PATH separator for the build system.
14212 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14215 host_alias=$host_alias
14219 # The build system.
14220 build_alias=$build_alias
14224 # A sed program that does not truncate output.
14227 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14228 Xsed="\$SED -e 1s/^X//"
14230 # A grep program that handles long lines.
14236 # A literal string matcher.
14239 # A BSD- or MS-compatible name lister.
14242 # Whether we need soft or hard links.
14245 # What is the maximum length of a command?
14246 max_cmd_len=$max_cmd_len
14248 # Object file suffix (normally "o").
14251 # Executable file suffix (normally "").
14254 # whether the shell understands "unset".
14257 # turn spaces into newlines.
14260 # turn newlines into spaces.
14263 # convert \$build file names to \$host format.
14264 to_host_file_cmd=$lt_cv_to_host_file_cmd
14266 # convert \$build files to toolchain format.
14267 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14269 # An object symbol dumper.
14270 OBJDUMP=$lt_OBJDUMP
14272 # Method to check whether dependent libraries are shared objects.
14273 deplibs_check_method=$lt_deplibs_check_method
14275 # Command to use when deplibs_check_method = "file_magic".
14276 file_magic_cmd=$lt_file_magic_cmd
14278 # How to find potential files when deplibs_check_method = "file_magic".
14279 file_magic_glob=$lt_file_magic_glob
14281 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14282 want_nocaseglob=$lt_want_nocaseglob
14284 # DLL creation program.
14285 DLLTOOL=$lt_DLLTOOL
14287 # Command to associate shared and link libraries.
14288 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14293 # Flags to create an archive.
14294 AR_FLAGS=$lt_AR_FLAGS
14296 # How to feed a file listing to the archiver.
14297 archiver_list_spec=$lt_archiver_list_spec
14299 # A symbol stripping program.
14302 # Commands used to install an old-style archive.
14304 old_postinstall_cmds=$lt_old_postinstall_cmds
14305 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14307 # Whether to use a lock for old archive extraction.
14308 lock_old_archive_extraction=$lock_old_archive_extraction
14313 # LTCC compiler flags.
14314 LTCFLAGS=$lt_CFLAGS
14316 # Take the output of nm and produce a listing of raw symbols and C names.
14317 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14319 # Transform the output of nm in a proper C declaration.
14320 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14322 # Transform the output of nm in a C name address pair.
14323 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14325 # Transform the output of nm in a C name address pair when lib prefix is needed.
14326 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14328 # Specify filename containing input files for \$NM.
14329 nm_file_list_spec=$lt_nm_file_list_spec
14331 # The root where to search for dependent libraries,and in which our libraries should be installed.
14332 lt_sysroot=$lt_sysroot
14334 # The name of the directory that contains temporary libtool files.
14337 # Used to examine libraries when file_magic_cmd begins with "file".
14338 MAGIC_CMD=$MAGIC_CMD
14340 # Must we lock files when doing compilation?
14341 need_locks=$lt_need_locks
14344 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14346 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14347 DSYMUTIL=$lt_DSYMUTIL
14349 # Tool to change global to local symbols on Mac OS X.
14352 # Tool to manipulate fat objects and archives on Mac OS X.
14355 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14358 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14359 OTOOL64=$lt_OTOOL64
14361 # Old archive suffix (normally "a").
14364 # Shared library suffix (normally ".so").
14365 shrext_cmds=$lt_shrext_cmds
14367 # The commands to extract the exported symbol list from a shared archive.
14368 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14370 # Variables whose values should be saved in libtool wrapper scripts and
14371 # restored at link time.
14372 variables_saved_for_relink=$lt_variables_saved_for_relink
14374 # Do we need the "lib" prefix for modules?
14375 need_lib_prefix=$need_lib_prefix
14377 # Do we need a version for libraries?
14378 need_version=$need_version
14380 # Library versioning type.
14381 version_type=$version_type
14383 # Shared library runtime path variable.
14384 runpath_var=$runpath_var
14386 # Shared library path variable.
14387 shlibpath_var=$shlibpath_var
14389 # Is shlibpath searched before the hard-coded library search path?
14390 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14392 # Format of library name prefix.
14393 libname_spec=$lt_libname_spec
14395 # List of archive names. First name is the real one, the rest are links.
14396 # The last name is the one that the linker finds with -lNAME
14397 library_names_spec=$lt_library_names_spec
14399 # The coded name of the library, if different from the real name.
14400 soname_spec=$lt_soname_spec
14402 # Permission mode override for installation of shared libraries.
14403 install_override_mode=$lt_install_override_mode
14405 # Command to use after installation of a shared archive.
14406 postinstall_cmds=$lt_postinstall_cmds
14408 # Command to use after uninstallation of a shared archive.
14409 postuninstall_cmds=$lt_postuninstall_cmds
14411 # Commands used to finish a libtool library installation in a directory.
14412 finish_cmds=$lt_finish_cmds
14414 # As "finish_cmds", except a single script fragment to be evaled but
14416 finish_eval=$lt_finish_eval
14418 # Whether we should hardcode library paths into libraries.
14419 hardcode_into_libs=$hardcode_into_libs
14421 # Compile-time system search path for libraries.
14422 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14424 # Run-time system search path for libraries.
14425 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14427 # Whether dlopen is supported.
14428 dlopen_support=$enable_dlopen
14430 # Whether dlopen of programs is supported.
14431 dlopen_self=$enable_dlopen_self
14433 # Whether dlopen of statically linked programs is supported.
14434 dlopen_self_static=$enable_dlopen_self_static
14436 # Commands to strip libraries.
14437 old_striplib=$lt_old_striplib
14438 striplib=$lt_striplib
14441 # The linker used to build libraries.
14444 # How to create reloadable object files.
14445 reload_flag=$lt_reload_flag
14446 reload_cmds=$lt_reload_cmds
14448 # Commands used to build an old-style archive.
14449 old_archive_cmds=$lt_old_archive_cmds
14451 # A language specific compiler.
14454 # Is the compiler the GNU compiler?
14457 # Compiler flag to turn off builtin functions.
14458 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14460 # Additional compiler flags for building library objects.
14461 pic_flag=$lt_lt_prog_compiler_pic
14463 # How to pass a linker flag through the compiler.
14464 wl=$lt_lt_prog_compiler_wl
14466 # Compiler flag to prevent dynamic linking.
14467 link_static_flag=$lt_lt_prog_compiler_static
14469 # Does compiler simultaneously support -c and -o options?
14470 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14472 # Whether or not to add -lc for building shared libraries.
14473 build_libtool_need_lc=$archive_cmds_need_lc
14475 # Whether or not to disallow shared libs when runtime libs are static.
14476 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14478 # Compiler flag to allow reflexive dlopens.
14479 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14481 # Compiler flag to generate shared objects directly from archives.
14482 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14484 # Whether the compiler copes with passing no objects directly.
14485 compiler_needs_object=$lt_compiler_needs_object
14487 # Create an old-style archive from a shared archive.
14488 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14490 # Create a temporary old-style archive to link instead of a shared archive.
14491 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14493 # Commands used to build a shared archive.
14494 archive_cmds=$lt_archive_cmds
14495 archive_expsym_cmds=$lt_archive_expsym_cmds
14497 # Commands used to build a loadable module if different from building
14498 # a shared archive.
14499 module_cmds=$lt_module_cmds
14500 module_expsym_cmds=$lt_module_expsym_cmds
14502 # Whether we are building with GNU ld or not.
14503 with_gnu_ld=$lt_with_gnu_ld
14505 # Flag that allows shared libraries with undefined symbols to be built.
14506 allow_undefined_flag=$lt_allow_undefined_flag
14508 # Flag that enforces no undefined symbols.
14509 no_undefined_flag=$lt_no_undefined_flag
14511 # Flag to hardcode \$libdir into a binary during linking.
14512 # This must work even if \$libdir does not exist
14513 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14515 # Whether we need a single "-rpath" flag with a separated argument.
14516 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14518 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14519 # DIR into the resulting binary.
14520 hardcode_direct=$hardcode_direct
14522 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14523 # DIR into the resulting binary and the resulting library dependency is
14524 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14525 # library is relocated.
14526 hardcode_direct_absolute=$hardcode_direct_absolute
14528 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14529 # into the resulting binary.
14530 hardcode_minus_L=$hardcode_minus_L
14532 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14533 # into the resulting binary.
14534 hardcode_shlibpath_var=$hardcode_shlibpath_var
14536 # Set to "yes" if building a shared library automatically hardcodes DIR
14537 # into the library and all subsequent libraries and executables linked
14539 hardcode_automatic=$hardcode_automatic
14541 # Set to yes if linker adds runtime paths of dependent libraries
14542 # to runtime path list.
14543 inherit_rpath=$inherit_rpath
14545 # Whether libtool must link a program against all its dependency libraries.
14546 link_all_deplibs=$link_all_deplibs
14548 # Set to "yes" if exported symbols are required.
14549 always_export_symbols=$always_export_symbols
14551 # The commands to list exported symbols.
14552 export_symbols_cmds=$lt_export_symbols_cmds
14554 # Symbols that should not be listed in the preloaded symbols.
14555 exclude_expsyms=$lt_exclude_expsyms
14557 # Symbols that must always be exported.
14558 include_expsyms=$lt_include_expsyms
14560 # Commands necessary for linking programs (against libraries) with templates.
14561 prelink_cmds=$lt_prelink_cmds
14563 # Commands necessary for finishing linking programs.
14564 postlink_cmds=$lt_postlink_cmds
14566 # Specify filename containing input files.
14567 file_list_spec=$lt_file_list_spec
14569 # How to hardcode a shared library path into an executable.
14570 hardcode_action=$hardcode_action
14572 # ### END LIBTOOL CONFIG
14578 cat <<\_LT_EOF
>> "$cfgfile"
14579 # AIX sometimes has problems with the GCC collect2 program. For some
14580 # reason, if we set the COLLECT_NAMES environment variable, the problems
14581 # vanish in a puff of smoke.
14582 if test "X${COLLECT_NAMES+set}" != Xset
; then
14584 export COLLECT_NAMES
14591 ltmain
="$ac_aux_dir/ltmain.sh"
14594 # We use sed instead of cat because bash on DJGPP gets confused if
14595 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14596 # text mode, it properly converts lines to CR/LF. This bash problem
14597 # is reportedly fixed, but why not run on old versions too?
14598 sed '$q' "$ltmain" >> "$cfgfile" \
14599 ||
(rm -f "$cfgfile"; exit 1)
14601 if test x
"$xsi_shell" = xyes
; then
14602 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14606 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14607 \ * ) func_dirname_result="${3}" ;;\
14609 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14610 && mv -f "$cfgfile.tmp" "$cfgfile" \
14611 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14612 test 0 -eq $? || _lt_function_replace_fail
=:
14615 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14618 \ func_basename_result="${1##*/}"\
14619 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14620 && mv -f "$cfgfile.tmp" "$cfgfile" \
14621 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14622 test 0 -eq $? || _lt_function_replace_fail
=:
14625 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14626 func_dirname_and_basename ()\
14629 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14630 \ * ) func_dirname_result="${3}" ;;\
14632 \ func_basename_result="${1##*/}"\
14633 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14634 && mv -f "$cfgfile.tmp" "$cfgfile" \
14635 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14636 test 0 -eq $? || _lt_function_replace_fail
=:
14639 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14642 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14643 \ # positional parameters, so assign one to ordinary parameter first.\
14644 \ func_stripname_result=${3}\
14645 \ func_stripname_result=${func_stripname_result#"${1}"}\
14646 \ func_stripname_result=${func_stripname_result%"${2}"}\
14647 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14648 && mv -f "$cfgfile.tmp" "$cfgfile" \
14649 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14650 test 0 -eq $? || _lt_function_replace_fail
=:
14653 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14654 func_split_long_opt ()\
14656 \ func_split_long_opt_name=${1%%=*}\
14657 \ func_split_long_opt_arg=${1#*=}\
14658 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14659 && mv -f "$cfgfile.tmp" "$cfgfile" \
14660 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14661 test 0 -eq $? || _lt_function_replace_fail
=:
14664 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14665 func_split_short_opt ()\
14667 \ func_split_short_opt_arg=${1#??}\
14668 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14669 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14670 && mv -f "$cfgfile.tmp" "$cfgfile" \
14671 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14672 test 0 -eq $? || _lt_function_replace_fail
=:
14675 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14679 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14680 \ *) func_lo2o_result=${1} ;;\
14682 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14683 && mv -f "$cfgfile.tmp" "$cfgfile" \
14684 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14685 test 0 -eq $? || _lt_function_replace_fail
=:
14688 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14691 func_xform_result=${1%.*}.lo\
14692 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14693 && mv -f "$cfgfile.tmp" "$cfgfile" \
14694 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14695 test 0 -eq $? || _lt_function_replace_fail
=:
14698 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14701 func_arith_result=$(( $* ))\
14702 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14703 && mv -f "$cfgfile.tmp" "$cfgfile" \
14704 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14705 test 0 -eq $? || _lt_function_replace_fail
=:
14708 sed -e '/^func_len ()$/,/^} # func_len /c\
14711 func_len_result=${#1}\
14712 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14713 && mv -f "$cfgfile.tmp" "$cfgfile" \
14714 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14715 test 0 -eq $? || _lt_function_replace_fail
=:
14719 if test x
"$lt_shell_append" = xyes
; then
14720 sed -e '/^func_append ()$/,/^} # func_append /c\
14723 eval "${1}+=\\${2}"\
14724 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14725 && mv -f "$cfgfile.tmp" "$cfgfile" \
14726 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14727 test 0 -eq $? || _lt_function_replace_fail
=:
14730 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14731 func_append_quoted ()\
14733 \ func_quote_for_eval "${2}"\
14734 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14735 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14736 && mv -f "$cfgfile.tmp" "$cfgfile" \
14737 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14738 test 0 -eq $? || _lt_function_replace_fail
=:
14741 # Save a `func_append' function call where possible by direct use of '+='
14742 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14743 && mv -f "$cfgfile.tmp" "$cfgfile" \
14744 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14745 test 0 -eq $? || _lt_function_replace_fail
=:
14747 # Save a `func_append' function call even when '+=' is not available
14748 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14749 && mv -f "$cfgfile.tmp" "$cfgfile" \
14750 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14751 test 0 -eq $? || _lt_function_replace_fail
=:
14754 if test x
"$_lt_function_replace_fail" = x
":"; then
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14756 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14760 mv -f "$cfgfile" "$ofile" ||
14761 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14772 ac_clean_files
=$ac_clean_files_save
14774 test $ac_write_fail = 0 ||
14775 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14778 # configure is writing to config.log, and then calls config.status.
14779 # config.status does its own redirection, appending to config.log.
14780 # Unfortunately, on DOS this fails, as config.log is still kept open
14781 # by configure, so config.status won't be able to write to it; its
14782 # output is simply discarded. So we exec the FD to /dev/null,
14783 # effectively closing config.log, so it can be properly (re)opened and
14784 # appended to by config.status. When coming back to configure, we
14785 # need to make the FD available again.
14786 if test "$no_create" != yes; then
14788 ac_config_status_args
=
14789 test "$silent" = yes &&
14790 ac_config_status_args
="$ac_config_status_args --quiet"
14792 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14794 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14795 # would make configure fail if this is the last instruction.
14796 $ac_cs_success || as_fn_exit
1
14798 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14800 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}