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
707 INSTALL_STRIP_PROGRAM
749 program_transform_name
762 enable_option_checking
764 enable_dependency_tracking
776 ac_precious_vars
='build_alias
788 # Initialize some variables set by options.
790 ac_init_version
=false
791 ac_unrecognized_opts
=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
802 program_transform_name
=s
,x
,x
,
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir
='${exec_prefix}/bin'
817 sbindir
='${exec_prefix}/sbin'
818 libexecdir
='${exec_prefix}/libexec'
819 datarootdir
='${prefix}/share'
820 datadir
='${datarootdir}'
821 sysconfdir
='${prefix}/etc'
822 sharedstatedir
='${prefix}/com'
823 localstatedir
='${prefix}/var'
824 includedir
='${prefix}/include'
825 oldincludedir
='/usr/include'
826 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
827 infodir
='${datarootdir}/info'
832 libdir
='${exec_prefix}/lib'
833 localedir
='${datarootdir}/locale'
834 mandir
='${datarootdir}/man'
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\
$ac_option
848 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
859 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
861 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
864 -build |
--build |
--buil |
--bui |
--bu)
865 ac_prev
=build_alias
;;
866 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
867 build_alias
=$ac_optarg ;;
869 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
870 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
871 ac_prev
=cache_file
;;
872 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
873 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
874 cache_file
=$ac_optarg ;;
877 cache_file
=config.cache
;;
879 -datadir |
--datadir |
--datadi |
--datad)
881 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
882 datadir
=$ac_optarg ;;
884 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
885 |
--dataroo |
--dataro |
--datar)
886 ac_prev
=datarootdir
;;
887 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
888 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
889 datarootdir
=$ac_optarg ;;
891 -disable-* |
--disable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error $?
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=no
;;
907 -docdir |
--docdir |
--docdi |
--doc |
--do)
909 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
912 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
914 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
917 -enable-* |
--enable-*)
918 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
921 as_fn_error $?
"invalid feature name: $ac_useropt"
922 ac_useropt_orig
=$ac_useropt
923 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
928 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep
=', ';;
931 eval enable_
$ac_useropt=\
$ac_optarg ;;
933 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
934 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
935 |
--exec |
--exe |
--ex)
936 ac_prev
=exec_prefix
;;
937 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
938 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
939 |
--exec=* |
--exe=* |
--ex=*)
940 exec_prefix
=$ac_optarg ;;
942 -gas |
--gas |
--ga |
--g)
943 # Obsolete; use --with-gas.
946 -help |
--help |
--hel |
--he |
-h)
948 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
949 ac_init_help
=recursive
;;
950 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
951 ac_init_help
=short
;;
953 -host |
--host |
--hos |
--ho)
954 ac_prev
=host_alias
;;
955 -host=* |
--host=* |
--hos=* |
--ho=*)
956 host_alias
=$ac_optarg ;;
958 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
960 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
962 htmldir
=$ac_optarg ;;
964 -includedir |
--includedir |
--includedi |
--included |
--include \
965 |
--includ |
--inclu |
--incl |
--inc)
966 ac_prev
=includedir
;;
967 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
968 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
969 includedir
=$ac_optarg ;;
971 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
973 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
974 infodir
=$ac_optarg ;;
976 -libdir |
--libdir |
--libdi |
--libd)
978 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
981 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
982 |
--libexe |
--libex |
--libe)
983 ac_prev
=libexecdir
;;
984 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
985 |
--libexe=* |
--libex=* |
--libe=*)
986 libexecdir
=$ac_optarg ;;
988 -localedir |
--localedir |
--localedi |
--localed |
--locale)
990 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
991 localedir
=$ac_optarg ;;
993 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
994 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
995 ac_prev
=localstatedir
;;
996 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
997 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
998 localstatedir
=$ac_optarg ;;
1000 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1002 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1003 mandir
=$ac_optarg ;;
1005 -nfp |
--nfp |
--nf)
1006 # Obsolete; use --without-fp.
1009 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1010 |
--no-cr |
--no-c |
-n)
1013 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1014 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1017 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1018 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1019 |
--oldin |
--oldi |
--old |
--ol |
--o)
1020 ac_prev
=oldincludedir
;;
1021 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1022 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1023 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1024 oldincludedir
=$ac_optarg ;;
1026 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1028 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1029 prefix
=$ac_optarg ;;
1031 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1032 |
--program-pre |
--program-pr |
--program-p)
1033 ac_prev
=program_prefix
;;
1034 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1035 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1036 program_prefix
=$ac_optarg ;;
1038 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1039 |
--program-suf |
--program-su |
--program-s)
1040 ac_prev
=program_suffix
;;
1041 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1042 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1043 program_suffix
=$ac_optarg ;;
1045 -program-transform-name |
--program-transform-name \
1046 |
--program-transform-nam |
--program-transform-na \
1047 |
--program-transform-n |
--program-transform- \
1048 |
--program-transform |
--program-transfor \
1049 |
--program-transfo |
--program-transf \
1050 |
--program-trans |
--program-tran \
1051 |
--progr-tra |
--program-tr |
--program-t)
1052 ac_prev
=program_transform_name
;;
1053 -program-transform-name=* |
--program-transform-name=* \
1054 |
--program-transform-nam=* |
--program-transform-na=* \
1055 |
--program-transform-n=* |
--program-transform-=* \
1056 |
--program-transform=* |
--program-transfor=* \
1057 |
--program-transfo=* |
--program-transf=* \
1058 |
--program-trans=* |
--program-tran=* \
1059 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1060 program_transform_name
=$ac_optarg ;;
1062 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1064 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1065 pdfdir
=$ac_optarg ;;
1067 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1069 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1072 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1073 |
-silent |
--silent |
--silen |
--sile |
--sil)
1076 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1078 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1080 sbindir
=$ac_optarg ;;
1082 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1083 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1084 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1086 ac_prev
=sharedstatedir
;;
1087 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1088 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1089 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1091 sharedstatedir
=$ac_optarg ;;
1093 -site |
--site |
--sit)
1095 -site=* |
--site=* |
--sit=*)
1098 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1100 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1101 srcdir
=$ac_optarg ;;
1103 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1104 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1105 ac_prev
=sysconfdir
;;
1106 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1107 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1108 sysconfdir
=$ac_optarg ;;
1110 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1111 ac_prev
=target_alias
;;
1112 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1113 target_alias
=$ac_optarg ;;
1115 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1118 -version |
--version |
--versio |
--versi |
--vers |
-V)
1119 ac_init_version
=: ;;
1122 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error $?
"invalid package name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval with_
$ac_useropt=\
$ac_optarg ;;
1137 -without-* |
--without-*)
1138 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1141 as_fn_error $?
"invalid package name: $ac_useropt"
1142 ac_useropt_orig
=$ac_useropt
1143 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep
=', ';;
1151 eval with_
$ac_useropt=no
;;
1154 # Obsolete; use --with-x.
1157 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1158 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1159 ac_prev
=x_includes
;;
1160 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1161 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1162 x_includes
=$ac_optarg ;;
1164 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1165 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1166 ac_prev
=x_libraries
;;
1167 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1168 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1169 x_libraries
=$ac_optarg ;;
1171 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information"
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1180 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1182 eval $ac_envvar=\
$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1196 if test -n "$ac_prev"; then
1197 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error $?
"missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1204 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209 # Check all directory arguments for consistency.
1210 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val
=\$
$ac_var
1216 # Remove trailing slashes.
1219 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\
$ac_val;;
1222 # Be sure to have absolute directory names.
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1249 test "$silent" = yes && exec 6>/dev
/null
1252 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di
=`ls -di .` &&
1254 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error $?
"working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error $?
"pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted
=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir
=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted
=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1296 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var
in $ac_precious_vars; do
1313 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1315 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures liblock 0.60 to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking ...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/liblock]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1384 --program-prefix=PREFIX prepend PREFIX to installed program names
1385 --program-suffix=SUFFIX append SUFFIX to installed program names
1386 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1394 if test -n "$ac_init_help"; then
1395 case $ac_init_help in
1396 short | recursive
) echo "Configuration of liblock 0.60:";;
1401 --disable-option-checking ignore unrecognized
--enable/--with options
1402 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1403 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1404 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1405 --disable-silent-rules verbose build output
(undo
: "make V=0")
1406 --enable-dependency-tracking
1407 do not reject slow dependency extractors
1408 --disable-dependency-tracking
1409 speeds up one-time build
1410 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1411 --enable-static[=PKGS
] build static libraries
[default
=yes]
1412 --enable-fast-install[=PKGS
]
1413 optimize
for fast installation
[default
=yes]
1414 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1415 --disable-largefile omit support
for large files
1418 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1419 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1420 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1422 --with-aix-soname=aix|svr4|both
1423 shared library versioning
(aka
"SONAME") variant to
1424 provide on AIX
, [default
=aix
].
1425 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1426 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1427 compiler
's sysroot if not specified).
1430 Some influential environment variables:
1431 CC C compiler command
1432 CFLAGS C compiler flags
1433 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1434 nonstandard directory <lib dir>
1435 LIBS libraries to pass to the linker, e.g. -l<library>
1436 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1437 you have headers in a nonstandard directory <include dir>
1439 User-defined run-time library search path.
1442 Use these variables to override the choices made by `configure' or to
help
1443 it to
find libraries and programs with nonstandard names
/locations.
1445 Report bugs to
<courier-users@lists.sourceforge.net
>.
1450 if test "$ac_init_help" = "recursive"; then
1451 # If there are subdirs, report their specific --help.
1452 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1453 test -d "$ac_dir" ||
1454 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1459 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1461 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1462 # A ".." for each directory in $ac_dir_suffix.
1463 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1464 case $ac_top_builddir_sub in
1465 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1466 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1469 ac_abs_top_builddir
=$ac_pwd
1470 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1471 # for backward compatibility:
1472 ac_top_builddir
=$ac_top_build_prefix
1475 .
) # We are building in place.
1477 ac_top_srcdir
=$ac_top_builddir_sub
1478 ac_abs_top_srcdir
=$ac_pwd ;;
1479 [\\/]* | ?
:[\\/]* ) # Absolute name.
1480 ac_srcdir
=$srcdir$ac_dir_suffix;
1481 ac_top_srcdir
=$srcdir
1482 ac_abs_top_srcdir
=$srcdir ;;
1484 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1485 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1486 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1488 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1490 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1491 # Check for guested configure.
1492 if test -f "$ac_srcdir/configure.gnu"; then
1494 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1495 elif test -f "$ac_srcdir/configure"; then
1497 $SHELL "$ac_srcdir/configure" --help=recursive
1499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1501 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1505 test -n "$ac_init_help" && exit $ac_status
1506 if $ac_init_version; then
1508 liblock configure
0.60
1509 generated by GNU Autoconf
2.69
1511 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1512 This configure
script is free software
; the Free Software Foundation
1513 gives unlimited permission to copy
, distribute and modify it.
1518 ## ------------------------ ##
1519 ## Autoconf initialization. ##
1520 ## ------------------------ ##
1522 # ac_fn_c_try_compile LINENO
1523 # --------------------------
1524 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1525 ac_fn_c_try_compile
()
1527 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1528 rm -f conftest.
$ac_objext
1529 if { { ac_try
="$ac_compile"
1531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1532 *) ac_try_echo=$ac_try;;
1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535 $as_echo "$ac_try_echo"; } >&5
1536 (eval "$ac_compile") 2>conftest.err
1538 if test -s conftest.err; then
1539 grep -v '^ *+' conftest.err >conftest.er1
1540 cat conftest.er1 >&5
1541 mv -f conftest.er1 conftest.err
1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1544 test $ac_status = 0; } && {
1545 test -z "$ac_c_werror_flag" ||
1546 test ! -s conftest.err
1547 } && test -s conftest.$ac_objext; then :
1550 $as_echo "$as_me: failed program was:" >&5
1551 sed 's/^/| /' conftest.$ac_ext >&5
1555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1556 as_fn_set_status $ac_retval
1558 } # ac_fn_c_try_compile
1560 # ac_fn_c_try_link LINENO
1561 # -----------------------
1562 # Try to link conftest.$ac_ext, and return whether this succeeded.
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 rm -f conftest.$ac_objext conftest$ac_exeext
1567 if { { ac_try="$ac_link"
1569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1570 *) ac_try_echo
=$ac_try;;
1572 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574 (eval "$ac_link") 2>conftest.err
1576 if test -s conftest.err
; then
1577 grep -v '^ *+' conftest.err
>conftest.er1
1578 cat conftest.er1
>&5
1579 mv -f conftest.er1 conftest.err
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } && {
1583 test -z "$ac_c_werror_flag" ||
1584 test ! -s conftest.err
1585 } && test -s conftest
$ac_exeext && {
1586 test "$cross_compiling" = yes ||
1587 test -x conftest
$ac_exeext
1591 $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.
$ac_ext >&5
1596 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1597 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1598 # interfere with the next link command; also delete a directory that is
1599 # left behind by Apple's compiler. We do this before executing the actions.
1600 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602 as_fn_set_status
$ac_retval
1604 } # ac_fn_c_try_link
1606 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1607 # -------------------------------------------------------
1608 # Tests whether HEADER exists and can be compiled using the include files in
1609 # INCLUDES, setting the cache variable VAR accordingly.
1610 ac_fn_c_check_header_compile
()
1612 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if eval \
${$3+:} false
; then :
1616 $as_echo_n "(cached) " >&6
1618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1619 /* end confdefs.h. */
1623 if ac_fn_c_try_compile
"$LINENO"; then :
1628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 } # ac_fn_c_check_header_compile
1637 # ac_fn_c_try_cpp LINENO
1638 # ----------------------
1639 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1642 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1643 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1646 *) ac_try_echo=$ac_try;;
1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649 $as_echo "$ac_try_echo"; } >&5
1650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1652 if test -s conftest.err; then
1653 grep -v '^ *+' conftest.err >conftest.er1
1654 cat conftest.er1 >&5
1655 mv -f conftest.er1 conftest.err
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; } > conftest.i && {
1659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1660 test ! -s conftest.err
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.$ac_ext >&5
1669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 as_fn_set_status $ac_retval
1674 # ac_fn_c_try_run LINENO
1675 # ----------------------
1676 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1677 # that executables *can* be run.
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 if { { ac_try="$ac_link"
1683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1684 *) ac_try_echo
=$ac_try;;
1686 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_link") 2>&5
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1692 { { case "(($ac_try" in
1693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_try") 2>&5
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; }; }; then :
1704 $as_echo "$as_me: program exited with status $ac_status" >&5
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1708 ac_retval=$ac_status
1710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status $ac_retval
1716 # ac_fn_c_check_func LINENO FUNC VAR
1717 # ----------------------------------
1718 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1719 ac_fn_c_check_func ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if eval \${$3+:} false; then :
1725 $as_echo_n "(cached) " >&6
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1729 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1731 #define $2 innocuous_$2
1733 /* System header to define __stub macros and hopefully few prototypes,
1734 which can conflict with char $2 (); below.
1735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1736 <limits.h> exists even on freestanding compilers. */
1739 # include <limits.h>
1741 # include <assert.h>
1746 /* Override any GCC internal prototype to avoid an error.
1747 Use char because int might match the return type of a GCC
1748 builtin and then its argument prototype would still apply. */
1753 /* The GNU C library defines this for functions which it implements
1754 to always fail with ENOSYS. Some functions are actually named
1755 something starting with __ and the normal name is an alias. */
1756 #if defined __stub_$2 || defined __stub___$2
1768 if ac_fn_c_try_link "$LINENO"; then :
1773 rm -f core conftest.err conftest.$ac_objext \
1774 conftest$ac_exeext conftest.$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_func
1783 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1784 # -------------------------------------------------------
1785 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1786 # the include files in INCLUDES and setting the cache variable VAR
1788 ac_fn_c_check_header_mongrel ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if eval \${$3+:} false; then :
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \${$3+:} false; then :
1795 $as_echo_n "(cached) " >&6
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1801 # Is the header compilable?
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1803 $as_echo_n "checking $2 usability... " >&6; }
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1809 if ac_fn_c_try_compile "$LINENO"; then :
1810 ac_header_compiler=yes
1812 ac_header_compiler=no
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1816 $as_echo "$ac_header_compiler" >&6; }
1818 # Is the header present?
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1820 $as_echo_n "checking $2 presence... " >&6; }
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1825 if ac_fn_c_try_cpp "$LINENO"; then :
1826 ac_header_preproc=yes
1828 ac_header_preproc=no
1830 rm -f conftest.err conftest.i conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1832 $as_echo "$ac_header_preproc" >&6; }
1834 # So? What about this header?
1835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1838 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1840 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1844 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1846 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1848 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1850 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853 ( $as_echo "## -------------------------------------------------- ##
1854 ## Report this to courier-users@lists.sourceforge.net ##
1855 ## -------------------------------------------------- ##"
1856 ) | sed "s/^/$as_me: WARNING: /" >&2
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if eval \${$3+:} false; then :
1862 $as_echo_n "(cached) " >&6
1864 eval "$3=\$ac_header_compiler"
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 } # ac_fn_c_check_header_mongrel
1874 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1875 # -------------------------------------------
1876 # Tests whether TYPE exists after having included INCLUDES, setting cache
1877 # variable VAR accordingly.
1878 ac_fn_c_check_type ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884 $as_echo_n "(cached) " >&6
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1899 if ac_fn_c_try_compile "$LINENO"; then :
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1912 if ac_fn_c_try_compile "$LINENO"; then :
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 } # ac_fn_c_check_type
1927 cat >config.log <<_ACEOF
1928 This file contains any messages produced by compilers while
1929 running configure, to aid debugging if configure makes a mistake.
1931 It was created by liblock $as_me 0.60, which was
1932 generated by GNU Autoconf 2.69. Invocation command line was
1944 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1945 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1946 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1947 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1948 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1950 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1951 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1953 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1954 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1955 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1956 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1957 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1958 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1959 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 $as_echo "PATH: $as_dir"
1984 # Keep a trace of the command line.
1985 # Strip out --no-create and --no-recursion so they do not pile up.
1986 # Strip out --silent because we don't want to record it for future runs.
1987 # Also quote any args containing shell meta-characters.
1988 # Make two passes to allow for proper duplicate-argument suppression.
1992 ac_must_keep_next=false
1998 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2000 | -silent | --silent | --silen | --sile | --sil)
2003 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2006 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2008 as_fn_append ac_configure_args1 " '$ac_arg'"
2009 if test $ac_must_keep_next = true; then
2010 ac_must_keep_next=false # Got value, back to normal.
2013 *=* | --config-cache | -C | -disable-* | --disable-* \
2014 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2015 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2016 | -with-* | --with-* | -without-* | --without-* | --x)
2017 case "$ac_configure_args0 " in
2018 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2021 -* ) ac_must_keep_next=true ;;
2024 as_fn_append ac_configure_args " '$ac_arg'"
2029 { ac_configure_args0=; unset ac_configure_args0;}
2030 { ac_configure_args1=; unset ac_configure_args1;}
2032 # When interrupted or exit'd, cleanup temporary files, and complete
2033 # config.log. We remove comments because anyway the quotes in there
2034 # would cause problems or look ugly.
2035 # WARNING: Use '\'' to represent an apostrophe within the trap.
2036 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2037 trap 'exit_status=$?
2038 # Save into config.log some information that might help in debugging.
2042 $as_echo "## ---------------- ##
2043 ## Cache variables. ##
2044 ## ---------------- ##"
2046 # The following way of writing the cache mishandles newlines in values,
2048 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2049 eval ac_val=\$$ac_var
2053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2057 _ | IFS | as_nl) ;; #(
2058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2059 *) { eval $ac_var=; unset $ac_var;} ;;
2064 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2065 *${as_nl}ac_space=\ *)
2067 "s/'\''/'\''\\\\'\'''\''/g;
2068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2078 $as_echo "## ----------------- ##
2079 ## Output variables. ##
2080 ## ----------------- ##"
2082 for ac_var in $ac_subst_vars
2084 eval ac_val=\$$ac_var
2086 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2088 $as_echo "$ac_var='\''$ac_val'\''"
2092 if test -n "$ac_subst_files"; then
2093 $as_echo "## ------------------- ##
2094 ## File substitutions. ##
2095 ## ------------------- ##"
2097 for ac_var in $ac_subst_files
2099 eval ac_val=\$$ac_var
2101 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2103 $as_echo "$ac_var='\''$ac_val'\''"
2108 if test -s confdefs.h; then
2109 $as_echo "## ----------- ##
2116 test "$ac_signal" != 0 &&
2117 $as_echo "$as_me: caught signal $ac_signal"
2118 $as_echo "$as_me: exit $exit_status"
2120 rm -f core *.core core.conftest.* &&
2121 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2124 for ac_signal in 1 2 13 15; do
2125 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2130 rm -f -r conftest* confdefs.h
2132 $as_echo "/* confdefs.h */" > confdefs.h
2134 # Predefined preprocessor variables.
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_NAME "$PACKAGE_NAME"
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_STRING "$PACKAGE_STRING"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_URL "$PACKAGE_URL"
2161 # Let the site file select an alternate cache file if it wants to.
2162 # Prefer an explicitly selected file to automatically selected ones.
2165 if test -n "$CONFIG_SITE"; then
2166 # We do not want a PATH search for config.site.
2167 case $CONFIG_SITE in #((
2168 -*) ac_site_file1=./$CONFIG_SITE;;
2169 */*) ac_site_file1=$CONFIG_SITE;;
2170 *) ac_site_file1=./$CONFIG_SITE;;
2172 elif test "x$prefix" != xNONE; then
2173 ac_site_file1=$prefix/share/config.site
2174 ac_site_file2=$prefix/etc/config.site
2176 ac_site_file1=$ac_default_prefix/share/config.site
2177 ac_site_file2=$ac_default_prefix/etc/config.site
2179 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2181 test "x$ac_site_file" = xNONE && continue
2182 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2184 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2185 sed 's/^/| /' "$ac_site_file" >&5
2187 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2189 as_fn_error $? "failed to load site
script $ac_site_file
2190 See \
`config.log' for more details" "$LINENO" 5; }
2194 if test -r "$cache_file"; then
2195 # Some versions of bash will fail to source /dev/null (special files
2196 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2197 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2199 $as_echo "$as_me: loading cache $cache_file" >&6;}
2201 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2202 *) . "./$cache_file";;
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2207 $as_echo "$as_me: creating cache $cache_file" >&6;}
2211 # Check that the precious variables saved in the cache have kept the same
2213 ac_cache_corrupted=false
2214 for ac_var in $ac_precious_vars; do
2215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2216 eval ac_new_set=\$ac_env_${ac_var}_set
2217 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2218 eval ac_new_val=\$ac_env_${ac_var}_value
2219 case $ac_old_set,$ac_new_set in
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2222 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2223 ac_cache_corrupted=: ;;
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2226 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2230 if test "x$ac_old_val" != "x$ac_new_val"; then
2231 # differences in whitespace do not lead to failure.
2232 ac_old_val_w=`echo x
$ac_old_val`
2233 ac_new_val_w=`echo x
$ac_new_val`
2234 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2236 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2237 ac_cache_corrupted=:
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2240 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2241 eval $ac_var=\$ac_old_val
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2244 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2246 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2249 # Pass precious variables to config.status.
2250 if test "$ac_new_set" = set; then
2252 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2253 *) ac_arg=$ac_var=$ac_new_val ;;
2255 case " $ac_configure_args " in
2256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2257 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2261 if $ac_cache_corrupted; then
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2265 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2266 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2268 ## -------------------- ##
2269 ## Main body of script. ##
2270 ## -------------------- ##
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2280 >confdefs.h # Kill PACKAGE_ macros
2284 for ac_dir in ../.. "$srcdir"/../..; do
2285 if test -f "$ac_dir/install-sh"; then
2287 ac_install_sh="$ac_aux_dir/install-sh -c"
2289 elif test -f "$ac_dir/install.sh"; then
2291 ac_install_sh="$ac_aux_dir/install.sh -c"
2293 elif test -f "$ac_dir/shtool"; then
2295 ac_install_sh="$ac_aux_dir/shtool install -c"
2299 if test -z "$ac_aux_dir"; then
2300 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2303 # These three variables are undocumented and unsupported,
2304 # and are intended to be withdrawn in a future Autoconf release.
2305 # They can cause serious problems if a builder's source tree is in a directory
2306 # whose full name contains unusual characters.
2307 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2308 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2309 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2312 ac_config_headers="$ac_config_headers config.h"
2314 am__api_version='1.15'
2316 # Find a good install program. We prefer a C program (faster),
2317 # so one script is as good as another. But avoid the broken or
2318 # incompatible versions:
2319 # SysV /etc/install, /usr/sbin/install
2320 # SunOS /usr/etc/install
2321 # IRIX /sbin/install
2323 # AmigaOS /C/install, which installs bootblocks on floppy discs
2324 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2325 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2326 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2327 # OS/2's system install, which has a completely different semantic
2328 # ./install, which can be erroneously created by make from ./install.sh.
2329 # Reject install programs that cannot install multiple files.
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2331 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2332 if test -z "$INSTALL"; then
2333 if ${ac_cv_path_install+:} false; then :
2334 $as_echo_n "(cached) " >&6
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 test -z "$as_dir" && as_dir=.
2341 # Account for people who put trailing slashes in PATH elements.
2342 case $as_dir/ in #((
2343 ./ | .// | /[cC]/* | \
2344 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2345 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2348 # OSF1 and SCO ODT 3.0 have their own names for install.
2349 # Don't use installbsd from OSF since it installs stuff as root
2351 for ac_prog in ginstall scoinst install; do
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2354 if test $ac_prog = install &&
2355 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2356 # AIX install. It has an incompatible calling convention.
2358 elif test $ac_prog = install &&
2359 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2360 # program-specific install script used by HP pwplus--don't use.
2363 rm -rf conftest.one conftest.two conftest.dir
2364 echo one > conftest.one
2365 echo two > conftest.two
2367 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2368 test -s conftest.one && test -s conftest.two &&
2369 test -s conftest.dir/conftest.one &&
2370 test -s conftest.dir/conftest.two
2372 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2385 rm -rf conftest.one conftest.two conftest.dir
2388 if test "${ac_cv_path_install+set}" = set; then
2389 INSTALL=$ac_cv_path_install
2391 # As a last resort, use the slow shell script. Don't cache a
2392 # value for INSTALL within a source directory, because that will
2393 # break other packages using the cache if that directory is
2394 # removed, or if the value is a relative name.
2395 INSTALL=$ac_install_sh
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2399 $as_echo "$INSTALL" >&6; }
2401 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2402 # It thinks the first close brace ends the variable substitution.
2403 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2405 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2407 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2410 $as_echo_n "checking whether build environment is sane... " >&6; }
2411 # Reject unsafe characters in $srcdir or the absolute working directory
2412 # name. Accept space and tab only in the latter.
2416 *[\\\"\#\$\&\'\`$am_lf]*)
2417 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2420 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2421 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2424 # Do 'set' in a subshell so we don't clobber the current shell's
2425 # arguments. Must try -L first in case configure is actually a
2426 # symlink; some systems play weird games with the mod time of symlinks
2427 # (eg FreeBSD returns the mod time of the symlink's containing
2431 for am_try
in 1 2; do
2432 echo "timestamp, slept: $am_has_slept" > conftest.
file
2433 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2434 if test "$*" = "X"; then
2436 set X
`ls -t "$srcdir/configure" conftest.file`
2438 if test "$*" != "X $srcdir/configure conftest.file" \
2439 && test "$*" != "X conftest.file $srcdir/configure"; then
2441 # If neither matched, then we have a broken ls. This can happen
2442 # if, for instance, CONFIG_SHELL is bash and it inherits a
2443 # broken ls alias from the environment. This has actually
2444 # happened. Such a system could not be considered "sane".
2445 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2446 alias in your environment" "$LINENO" 5
2448 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2455 test "$2" = conftest.
file
2461 as_fn_error $?
"newly created file is older than distributed files!
2462 Check your system clock" "$LINENO" 5
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2465 $as_echo "yes" >&6; }
2466 # If we didn't sleep, we still need to ensure time stamps of config.status and
2467 # generated files are strictly newer.
2469 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2476 test "$program_prefix" != NONE
&&
2477 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2478 # Use a double $ so make ignores it.
2479 test "$program_suffix" != NONE
&&
2480 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2481 # Double any \ or $.
2482 # By default was `s,x,x', remove it if useless.
2483 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2484 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2486 # Expand $ac_aux_dir to an absolute path.
2487 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2489 if test x
"${MISSING+set}" != xset
; then
2492 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2494 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2497 # Use eval to expand $SHELL
2498 if eval "$MISSING --is-lightweight"; then
2499 am_missing_run
="$MISSING "
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2503 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2506 if test x
"${install_sh+set}" != xset
; then
2509 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2511 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2515 # Installed binaries are usually stripped using 'strip' when the user
2516 # run "make install-strip". However 'strip' might not be the right
2517 # tool to use in cross-compilation environments, therefore Automake
2518 # will honor the 'STRIP' environment variable to overrule this program.
2519 if test "$cross_compiling" != no
; then
2520 if test -n "$ac_tool_prefix"; then
2521 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2522 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if ${ac_cv_prog_STRIP+:} false
; then :
2526 $as_echo_n "(cached) " >&6
2528 if test -n "$STRIP"; then
2529 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir
=.
2536 for ac_exec_ext
in '' $ac_executable_extensions; do
2537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2538 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 STRIP
=$ac_cv_prog_STRIP
2549 if test -n "$STRIP"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2551 $as_echo "$STRIP" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2559 if test -z "$ac_cv_prog_STRIP"; then
2561 # Extract the first word of "strip", so it can be a program name with args.
2562 set dummy strip
; ac_word
=$2
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2566 $as_echo_n "(cached) " >&6
2568 if test -n "$ac_ct_STRIP"; then
2569 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2578 ac_cv_prog_ac_ct_STRIP
="strip"
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2589 if test -n "$ac_ct_STRIP"; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2591 $as_echo "$ac_ct_STRIP" >&6; }
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 $as_echo "no" >&6; }
2597 if test "x$ac_ct_STRIP" = x
; then
2600 case $cross_compiling:$ac_tool_warned in
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2604 ac_tool_warned
=yes ;;
2609 STRIP
="$ac_cv_prog_STRIP"
2613 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2616 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2617 if test -z "$MKDIR_P"; then
2618 if ${ac_cv_path_mkdir+:} false
; then :
2619 $as_echo_n "(cached) " >&6
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2622 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_prog
in mkdir gmkdir
; do
2627 for ac_exec_ext
in '' $ac_executable_extensions; do
2628 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2629 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2630 'mkdir (GNU coreutils) '* | \
2631 'mkdir (coreutils) '* | \
2632 'mkdir (fileutils) '4.1*)
2633 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2643 test -d .
/--version && rmdir .
/--version
2644 if test "${ac_cv_path_mkdir+set}" = set; then
2645 MKDIR_P
="$ac_cv_path_mkdir -p"
2647 # As a last resort, use the slow shell script. Don't cache a
2648 # value for MKDIR_P within a source directory, because that will
2649 # break other packages using the cache if that directory is
2650 # removed, or if the value is a relative name.
2651 MKDIR_P
="$ac_install_sh -d"
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2655 $as_echo "$MKDIR_P" >&6; }
2657 for ac_prog
in gawk mawk nawk
awk
2659 # Extract the first word of "$ac_prog", so it can be a program name with args.
2660 set dummy
$ac_prog; ac_word
=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_AWK+:} false
; then :
2664 $as_echo_n "(cached) " >&6
2666 if test -n "$AWK"; then
2667 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir
=.
2674 for ac_exec_ext
in '' $ac_executable_extensions; do
2675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2676 ac_cv_prog_AWK
="$ac_prog"
2677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test -n "$AWK"; then
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2689 $as_echo "$AWK" >&6; }
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2696 test -n "$AWK" && break
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2700 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2702 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2703 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2704 $as_echo_n "(cached) " >&6
2706 cat >conftest.
make <<\_ACEOF
2709 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2711 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2714 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2716 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2720 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722 $as_echo "yes" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2727 SET_MAKE
="MAKE=${MAKE-make}"
2730 rm -rf .tst
2>/dev
/null
2731 mkdir .tst
2>/dev
/null
2732 if test -d .tst
; then
2737 rmdir .tst
2>/dev
/null
2739 # Check whether --enable-silent-rules was given.
2740 if test "${enable_silent_rules+set}" = set; then :
2741 enableval
=$enable_silent_rules;
2744 case $enable_silent_rules in # (((
2745 yes) AM_DEFAULT_VERBOSITY
=0;;
2746 no
) AM_DEFAULT_VERBOSITY
=1;;
2747 *) AM_DEFAULT_VERBOSITY
=1;;
2749 am_make
=${MAKE-make}
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2751 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2752 if ${am_cv_make_support_nested_variables+:} false
; then :
2753 $as_echo_n "(cached) " >&6
2755 if $as_echo 'TRUE=$(BAR$(V))
2761 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2762 am_cv_make_support_nested_variables
=yes
2764 am_cv_make_support_nested_variables
=no
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2768 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2769 if test $am_cv_make_support_nested_variables = yes; then
2771 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2773 AM_V
=$AM_DEFAULT_VERBOSITY
2774 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2778 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2779 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2780 # is not polluted with repeated "-I."
2781 am__isrc
=' -I$(srcdir)'
2782 # test to see if srcdir already configured
2783 if test -f $srcdir/config.status
; then
2784 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2788 # test whether we have cygpath
2789 if test -z "$CYGPATH_W"; then
2790 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2791 CYGPATH_W
='cygpath -w'
2798 # Define the identity of the package.
2803 # Some tools Automake needs.
2805 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2808 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2811 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2814 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2817 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2819 # For better backward compatibility. To be removed once Automake 1.9.x
2820 # dies out for good. For more background, see:
2821 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2822 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2823 mkdir_p
='$(MKDIR_P)'
2825 # We need awk for the "check" target (and possibly the TAP driver). The
2826 # system "awk" is bad on some platforms.
2827 # Always define AMTAR for backward compatibility. Yes, it's still used
2828 # in the wild :-( We should find a proper way to deprecate it ...
2832 # We'll loop over all known methods to create a tar archive until one works.
2833 _am_tools
='gnutar pax cpio none'
2835 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2842 # POSIX will say in a future version that running "rm -f" with no argument
2843 # is OK; and we want to be able to make that assumption in our Makefile
2844 # recipes. So use an aggressive probe to check that the usage we want is
2845 # actually supported "in the wild" to an acceptable degree.
2846 # See automake bug#10828.
2847 # To make any issue more visible, cause the running configure to be aborted
2848 # by default if the 'rm' program in use doesn't match our expectations; the
2849 # user can still override this though.
2850 if rm -f && rm -fr && rm -rf; then : OK
; else
2854 Your 'rm' program seems unable to run without file operands specified
2855 on the command line, even when the '-f' option is present. This is contrary
2856 to the behaviour of most rm programs out there, and not conforming with
2857 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2859 Please tell bug-automake@gnu.org about your system, including the value
2860 of your $PATH and any error possibly output before this message. This
2861 can help us improve future automake versions.
2864 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2865 echo 'Configuration will proceed anyway, since you have set the' >&2
2866 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2870 Aborting the configuration process, to ensure you take notice of the issue.
2872 You can download and install GNU coreutils to get an 'rm' implementation
2873 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2875 If you want to complete the configuration process using your problematic
2876 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2877 to "yes", and re-run configure.
2880 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2885 CFLAGS
="-I.. -I${srcdir}/.. $CFLAGS"
2887 for ac_prog
in gawk mawk nawk
awk
2889 # Extract the first word of "$ac_prog", so it can be a program name with args.
2890 set dummy
$ac_prog; ac_word
=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_AWK+:} false
; then :
2894 $as_echo_n "(cached) " >&6
2896 if test -n "$AWK"; then
2897 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2906 ac_cv_prog_AWK
="$ac_prog"
2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$AWK"; then
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2919 $as_echo "$AWK" >&6; }
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2926 test -n "$AWK" && break
2930 ac_cpp
='$CPP $CPPFLAGS'
2931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2934 if test -n "$ac_tool_prefix"; then
2935 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2936 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_CC+:} false
; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$CC"; then
2943 ac_cv_prog_CC
="$CC" # Let the user override the test.
2945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir
=.
2950 for ac_exec_ext
in '' $ac_executable_extensions; do
2951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 if test -n "$CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2965 $as_echo "$CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2973 if test -z "$ac_cv_prog_CC"; then
2975 # Extract the first word of "gcc", so it can be a program name with args.
2976 set dummy gcc
; ac_word
=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$ac_ct_CC"; then
2983 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_ac_ct_CC
="gcc"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3003 if test -n "$ac_ct_CC"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3005 $as_echo "$ac_ct_CC" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3011 if test "x$ac_ct_CC" = x
; then
3014 case $cross_compiling:$ac_tool_warned in
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3018 ac_tool_warned
=yes ;;
3026 if test -z "$CC"; then
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3029 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false
; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC
="$CC" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3045 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3067 if test -z "$CC"; then
3068 # Extract the first word of "cc", so it can be a program name with args.
3069 set dummy cc
; ac_word
=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_CC+:} false
; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$CC"; then
3076 ac_cv_prog_CC
="$CC" # Let the user override the test.
3079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3083 test -z "$as_dir" && as_dir
=.
3084 for ac_exec_ext
in '' $ac_executable_extensions; do
3085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3086 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3087 ac_prog_rejected
=yes
3091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 if test $ac_prog_rejected = yes; then
3099 # We found a bogon in the path, so make sure we never use it.
3100 set dummy
$ac_cv_prog_CC
3102 if test $# != 0; then
3103 # We chose a different compiler from the bogus one.
3104 # However, it has the same basename, so the bogon will be chosen
3105 # first if we set CC to just the basename; use the full file name.
3107 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3123 if test -z "$CC"; then
3124 if test -n "$ac_tool_prefix"; then
3125 for ac_prog
in cl.exe
3127 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3128 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if ${ac_cv_prog_CC+:} false
; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$CC"; then
3135 ac_cv_prog_CC
="$CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3144 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 if test -n "$CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3157 $as_echo "$CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3164 test -n "$CC" && break
3167 if test -z "$CC"; then
3169 for ac_prog
in cl.exe
3171 # Extract the first word of "$ac_prog", so it can be a program name with args.
3172 set dummy
$ac_prog; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$ac_ct_CC"; then
3179 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_ac_ct_CC
="$ac_prog"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3199 if test -n "$ac_ct_CC"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3201 $as_echo "$ac_ct_CC" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3208 test -n "$ac_ct_CC" && break
3211 if test "x$ac_ct_CC" = x
; then
3214 case $cross_compiling:$ac_tool_warned in
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3218 ac_tool_warned
=yes ;;
3227 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 as_fn_error $?
"no acceptable C compiler found in \$PATH
3230 See \`config.log' for more details" "$LINENO" 5; }
3232 # Provide some information about the compiler.
3233 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3236 for ac_option
in --version -v -V -qversion; do
3237 { { ac_try
="$ac_compiler $ac_option >&5"
3239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3243 $as_echo "$ac_try_echo"; } >&5
3244 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3246 if test -s conftest.err; then
3248 ... rest of stderr output deleted ...
3249 10q' conftest.err >conftest.er1
3250 cat conftest.er1 >&5
3252 rm -f conftest.er1 conftest.err
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; }
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3268 ac_clean_files_save=$ac_clean_files
3269 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3270 # Try to create an executable without -o first, disregard a.out.
3271 # It will help us diagnose broken compilers, and finding out an intuition
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3274 $as_echo_n "checking whether the C compiler works... " >&6; }
3275 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3277 # The possible output files:
3278 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3281 for ac_file in $ac_files
3284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3285 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3290 if { { ac_try="$ac_link_default"
3292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3293 *) ac_try_echo
=$ac_try;;
3295 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_link_default") 2>&5
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }; then :
3301 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3302 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3303 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3304 # so that the user can short-circuit this test for compilers unknown to
3306 for ac_file
in $ac_files ''
3308 test -f "$ac_file" ||
continue
3310 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3313 # We found the default executable, but exeext='' is most
3317 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3319 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3321 # We set ac_cv_exeext here because the later test for it is not
3322 # safe: cross compilers may not add the suffix if given an `-o'
3323 # argument, so we may need to know it at that point already.
3324 # Even if this section looks crufty: it has the advantage of
3331 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3336 if test -z "$ac_file"; then :
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3339 $as_echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.
$ac_ext >&5
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error
77 "C compiler cannot create executables
3345 See \`config.log' for more details" "$LINENO" 5; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3348 $as_echo "yes" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3351 $as_echo_n "checking for C compiler default output file name... " >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3353 $as_echo "$ac_file" >&6; }
3354 ac_exeext
=$ac_cv_exeext
3356 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3357 ac_clean_files
=$ac_clean_files_save
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3359 $as_echo_n "checking for suffix of executables... " >&6; }
3360 if { { ac_try
="$ac_link"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3366 $as_echo "$ac_try_echo"; } >&5
3367 (eval "$ac_link") 2>&5
3369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3370 test $ac_status = 0; }; then :
3371 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3372 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3373 # work properly (i.e., refer to `conftest.exe'), while it won't with
3375 for ac_file
in conftest.exe conftest conftest.
*; do
3376 test -f "$ac_file" ||
continue
3378 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3379 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3388 See \`config.log' for more details" "$LINENO" 5; }
3390 rm -f conftest conftest
$ac_cv_exeext
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3392 $as_echo "$ac_cv_exeext" >&6; }
3394 rm -f conftest.
$ac_ext
3395 EXEEXT
=$ac_cv_exeext
3397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3403 FILE *f = fopen ("conftest.out", "w");
3404 return ferror (f) || fclose (f) != 0;
3410 ac_clean_files
="$ac_clean_files conftest.out"
3411 # Check that the compiler produces executables we can run. If not, either
3412 # the compiler is broken, or we cross compile.
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3414 $as_echo_n "checking whether we are cross compiling... " >&6; }
3415 if test "$cross_compiling" != yes; then
3416 { { ac_try
="$ac_link"
3418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423 (eval "$ac_link") 2>&5
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }
3427 if { ac_try='./conftest$ac_cv_exeext'
3428 { { case "(($ac_try" in
3429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3430 *) ac_try_echo
=$ac_try;;
3432 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3433 $as_echo "$ac_try_echo"; } >&5
3434 (eval "$ac_try") 2>&5
3436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437 test $ac_status = 0; }; }; then
3440 if test "$cross_compiling" = maybe
; then
3443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error $?
"cannot run C compiled programs.
3446 If you meant to cross compile, use \`--host'.
3447 See \`config.log' for more details" "$LINENO" 5; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3452 $as_echo "$cross_compiling" >&6; }
3454 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3455 ac_clean_files
=$ac_clean_files_save
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3457 $as_echo_n "checking for suffix of object files... " >&6; }
3458 if ${ac_cv_objext+:} false
; then :
3459 $as_echo_n "(cached) " >&6
3461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3472 rm -f conftest.o conftest.obj
3473 if { { ac_try
="$ac_compile"
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_compile") 2>&5
3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483 test $ac_status = 0; }; then :
3484 for ac_file in conftest.o conftest.obj conftest.*; do
3485 test -f "$ac_file" || continue;
3487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3493 $as_echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.$ac_ext >&5
3496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3499 See \
`config.log' for more details" "$LINENO" 5; }
3501 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3504 $as_echo "$ac_cv_objext" >&6; }
3505 OBJEXT=$ac_cv_objext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3508 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3509 if ${ac_cv_c_compiler_gnu+:} false; then :
3510 $as_echo_n "(cached) " >&6
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3526 if ac_fn_c_try_compile "$LINENO"; then :
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3536 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3537 if test $ac_compiler_gnu = yes; then
3542 ac_test_CFLAGS=${CFLAGS+set}
3543 ac_save_CFLAGS=$CFLAGS
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3545 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3546 if ${ac_cv_prog_cc_g+:} false; then :
3547 $as_echo_n "(cached) " >&6
3549 ac_save_c_werror_flag=$ac_c_werror_flag
3550 ac_c_werror_flag=yes
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 if ac_fn_c_try_compile "$LINENO"; then :
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3579 if ac_fn_c_try_compile "$LINENO"; then :
3582 ac_c_werror_flag=$ac_save_c_werror_flag
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 if ac_fn_c_try_compile "$LINENO"; then :
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 ac_c_werror_flag=$ac_save_c_werror_flag
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3606 $as_echo "$ac_cv_prog_cc_g" >&6; }
3607 if test "$ac_test_CFLAGS" = set; then
3608 CFLAGS=$ac_save_CFLAGS
3609 elif test $ac_cv_prog_cc_g = yes; then
3610 if test "$GCC" = yes; then
3616 if test "$GCC" = yes; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3623 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3624 if ${ac_cv_prog_cc_c89+:} false; then :
3625 $as_echo_n "(cached) " >&6
3627 ac_cv_prog_cc_c89=no
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3634 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3635 struct buf { int x; };
3636 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3637 static char *e (p, i)
3643 static char *f (char * (*g) (char **, int), char **p, ...)
3648 s = g (p, va_arg (v,int));
3653 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3654 function prototypes and stuff, but not '\xHH' hex character constants.
3655 These don't provoke an error unfortunately, instead are silently treated
3656 as 'x'. The following induces an error, until -std is added to get
3657 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3658 array size at least. It's necessary to write '\x00'==0 to get something
3659 that's true only with -std. */
3660 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3662 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3663 inside strings and character constants. */
3665 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3667 int test (int i, double x);
3668 struct s1 {int (*f) (int a);};
3669 struct s2 {int (*f) (double a);};
3670 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3676 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3681 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3682 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3684 CC="$ac_save_CC $ac_arg"
3685 if ac_fn_c_try_compile "$LINENO"; then :
3686 ac_cv_prog_cc_c89=$ac_arg
3688 rm -f core conftest.err conftest.$ac_objext
3689 test "x$ac_cv_prog_cc_c89" != "xno" && break
3691 rm -f conftest.$ac_ext
3696 case "x$ac_cv_prog_cc_c89" in
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3699 $as_echo "none needed" >&6; } ;;
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3702 $as_echo "unsupported" >&6; } ;;
3704 CC="$CC $ac_cv_prog_cc_c89"
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3706 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3708 if test "x$ac_cv_prog_cc_c89" != xno; then :
3713 ac_cpp='$CPP $CPPFLAGS'
3714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719 ac_cpp='$CPP $CPPFLAGS'
3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3724 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3725 if ${am_cv_prog_cc_c_o+:} false; then :
3726 $as_echo_n "(cached) " >&6
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3739 # Make sure it works both with $CC and with simple cc.
3740 # Following AC_PROG_CC_C_O, we do the test twice because some
3741 # compilers refuse to overwrite an existing .o file with -o,
3742 # though they will create one.
3743 am_cv_prog_cc_c_o=yes
3745 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3746 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } \
3750 && test -f conftest2.$ac_objext; then
3753 am_cv_prog_cc_c_o=no
3757 rm -f core conftest*
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3761 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3762 if test "$am_cv_prog_cc_c_o" != yes; then
3763 # Losing compiler, so override with the script.
3764 # FIXME: It is wrong to rewrite CC.
3765 # But if we don't then we get into trouble of one sort or another.
3766 # A longer-term fix would be to have automake use am__CC in this case,
3767 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3768 CC="$am_aux_dir/compile $CC"
3771 ac_cpp='$CPP $CPPFLAGS'
3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3776 DEPDIR="${am__leading_dot}deps"
3778 ac_config_commands="$ac_config_commands depfiles"
3781 am_make=${MAKE-make}
3782 cat > confinc << 'END'
3784 @echo this is the am__doit target
3787 # If we don't find an include directive, just comment out the code.
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3789 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3793 # First try GNU make style include.
3794 echo "include confinc" > confmf
3795 # Ignore all kinds of additional output from 'make'.
3796 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3797 *the\ am__doit\ target*)
3803 # Now try BSD make style include.
3804 if test "$am__include" = "#"; then
3805 echo '.include "confinc"' > confmf
3806 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3807 *the\ am__doit\ target*)
3808 am__include=.include
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3817 $as_echo "$_am_result" >&6; }
3818 rm -f confinc confmf
3820 # Check whether --enable-dependency-tracking was given.
3821 if test "${enable_dependency_tracking+set}" = set; then :
3822 enableval=$enable_dependency_tracking;
3825 if test "x$enable_dependency_tracking" != xno; then
3826 am_depcomp="$ac_aux_dir/depcomp"
3830 if test "x$enable_dependency_tracking" != xno; then
3840 depcc="$CC" am_compiler_list=
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3843 $as_echo_n "checking dependency style of $depcc... " >&6; }
3844 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3848 # We make a subdir and do the tests there. Otherwise we can end up
3849 # making bogus files that we don't know about and never remove. For
3850 # instance it was reported that on HP-UX the gcc test will end up
3851 # making a dummy file named 'D' -- because '-MD' means "put the output
3855 # Copy depcomp to subdir because otherwise we won't find it if we're
3856 # using a relative directory.
3857 cp "$am_depcomp" conftest.dir
3859 # We will build objects and dependencies in a subdirectory because
3860 # it helps to detect inapplicable dependency modes. For instance
3861 # both Tru64's cc and ICC support -MD to output dependencies as a
3862 # side effect of compilation, but ICC will put the dependencies in
3863 # the current directory while Tru64 will put them in the object
3867 am_cv_CC_dependencies_compiler_type=none
3868 if test "$am_compiler_list" = ""; then
3869 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3872 case " $depcc " in #(
3873 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3876 for depmode in $am_compiler_list; do
3877 # Setup a source with many dependencies, because some compilers
3878 # like to wrap large dependency lists on column 80 (with \), and
3879 # we should not choose a depcomp mode which is confused by this.
3881 # We need to recreate these files for each test, as the compiler may
3882 # overwrite some of them when testing with obscure command lines.
3883 # This happens at least with the AIX C compiler.
3885 for i in 1 2 3 4 5 6; do
3886 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3887 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3888 # Solaris 10 /bin/sh.
3889 echo '/* dummy */' > sub/conftst$i.h
3891 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3893 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3894 # mode. It turns out that the SunPro C++ compiler does not properly
3895 # handle '-M -o', and we need to detect this. Also, some Intel
3896 # versions had trouble with output in subdirs.
3897 am__obj=sub/conftest.${OBJEXT-o}
3898 am__minus_obj="-o $am__obj"
3901 # This depmode causes a compiler race in universal mode.
3902 test "$am__universal" = false || continue
3905 # After this tag, mechanisms are not by side-effect, so they'll
3906 # only be used when explicitly requested.
3907 if test "x$enable_dependency_tracking" = xyes; then
3913 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3914 # This compiler won't grok '-c -o', but also, the minuso test has
3915 # not run yet. These depmodes are late enough in the game, and
3916 # so weak that their functioning should not be impacted.
3917 am__obj=conftest.${OBJEXT-o}
3922 if depmode=$depmode \
3923 source=sub/conftest.c object=$am__obj \
3924 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3925 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3926 >/dev/null 2>conftest.err &&
3927 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3928 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3929 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3930 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3931 # icc doesn't choke on unknown options, it will just issue warnings
3932 # or remarks (even with -Werror). So we grep stderr for any message
3933 # that says an option was ignored or not supported.
3934 # When given -MP, icc 7.0 and 7.1 complain thusly:
3935 # icc: Command line warning: ignoring option '-M'; no argument required
3936 # The diagnosis changed in icc 8.0:
3937 # icc: Command line remark: option '-MP' not supported
3938 if (grep 'ignoring option' conftest.err ||
3939 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3940 am_cv_CC_dependencies_compiler_type=$depmode
3949 am_cv_CC_dependencies_compiler_type=none
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3954 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3955 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3958 test "x$enable_dependency_tracking" != xno \
3959 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3961 am__fastdepCC_FALSE='#'
3963 am__fastdepCC_TRUE='#'
3964 am__fastdepCC_FALSE=
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3970 $as_echo_n "checking whether ln -s works... " >&6; }
3972 if test "$LN_S" = "ln -s"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3974 $as_echo "yes" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3977 $as_echo "no, using $LN_S" >&6; }
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3983 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3988 macro_version='2.4.6'
3989 macro_revision='2.4.6'
4003 ltmain=$ac_aux_dir/ltmain.sh
4005 # Make sure we can run config.sub.
4006 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4007 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4010 $as_echo_n "checking build system type... " >&6; }
4011 if ${ac_cv_build+:} false; then :
4012 $as_echo_n "(cached) " >&6
4014 ac_build_alias=$build_alias
4015 test "x$ac_build_alias" = x &&
4016 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4017 test "x$ac_build_alias" = x &&
4018 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4019 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4020 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4024 $as_echo "$ac_cv_build" >&6; }
4025 case $ac_cv_build in
4027 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4030 ac_save_IFS=$IFS; IFS='-'
4036 # Remember, the first character of IFS is used to create $*,
4037 # except with old shells:
4040 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4044 $as_echo_n "checking host system type... " >&6; }
4045 if ${ac_cv_host+:} false; then :
4046 $as_echo_n "(cached) " >&6
4048 if test "x$host_alias" = x; then
4049 ac_cv_host=$ac_cv_build
4051 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4052 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4057 $as_echo "$ac_cv_host" >&6; }
4060 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4063 ac_save_IFS=$IFS; IFS='-'
4069 # Remember, the first character of IFS is used to create $*,
4070 # except with old shells:
4073 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4076 # Backslashify metacharacters that are still active within
4077 # double-quoted strings.
4078 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4080 # Same as above, but do not quote variable references.
4081 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4083 # Sed substitution to delay expansion of an escaped shell variable in a
4084 # double_quote_subst'ed string.
4085 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4087 # Sed substitution to delay expansion of an escaped single quote.
4088 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4090 # Sed substitution to avoid accidental globbing in evaled expressions
4091 no_glob_subst='s/\*/\\\*/g'
4093 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4094 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4095 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4098 $as_echo_n "checking how to print
strings...
" >&6; }
4099 # Test print first, because it will be a builtin if present.
4100 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4101 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4103 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4106 # Use this function as a fallback that always works.
4107 func_fallback_echo ()
4109 eval 'cat <<_LTECHO_EOF
4113 ECHO='func_fallback_echo'
4116 # func_echo_all arg...
4117 # Invoke $ECHO with all args, space-separated.
4124 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4125 $as_echo "printf" >&6; } ;;
4126 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4127 $as_echo "print
-r" >&6; } ;;
4128 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4129 $as_echo "cat" >&6; } ;;
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4146 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4147 if ${ac_cv_path_SED+:} false; then :
4148 $as_echo_n "(cached
) " >&6
4150 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4151 for ac_i in 1 2 3 4 5 6 7; do
4152 ac_script="$ac_script$as_nl$ac_script"
4154 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4155 { ac_script=; unset ac_script;}
4156 if test -z "$SED"; then
4157 ac_path_SED_found=false
4158 # Loop through the user's path and test for each of PROGNAME-LIST
4159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir=.
4164 for ac_prog in sed gsed; do
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4167 as_fn_executable_p "$ac_path_SED" || continue
4168 # Check for GNU ac_path_SED and select it if it is found.
4169 # Check for GNU $ac_path_SED
4170 case `"$ac_path_SED" --version 2>&1` in
4172 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4175 $as_echo_n 0123456789 >"conftest.
in"
4178 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4179 mv "conftest.tmp
" "conftest.
in"
4180 cp "conftest.
in" "conftest.
nl"
4181 $as_echo '' >> "conftest.
nl"
4182 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4183 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4184 as_fn_arith $ac_count + 1 && ac_count=$as_val
4185 if test $ac_count -gt ${ac_path_SED_max-0}; then
4186 # Best one so far, save it but keep looking for a better one
4187 ac_cv_path_SED="$ac_path_SED"
4188 ac_path_SED_max=$ac_count
4190 # 10*(2^10) chars as input seems more than enough
4191 test $ac_count -gt 10 && break
4193 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4196 $ac_path_SED_found && break 3
4201 if test -z "$ac_cv_path_SED"; then
4202 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4210 $as_echo "$ac_cv_path_SED" >&6; }
4211 SED="$ac_cv_path_SED"
4214 test -z "$SED" && SED=sed
4215 Xsed="$SED -e 1s
/^X
//"
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4228 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4229 if ${ac_cv_path_GREP+:} false; then :
4230 $as_echo_n "(cached
) " >&6
4232 if test -z "$GREP"; then
4233 ac_path_GREP_found=false
4234 # Loop through the user's path and test for each of PROGNAME-LIST
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4239 test -z "$as_dir" && as_dir=.
4240 for ac_prog in grep ggrep; do
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4243 as_fn_executable_p "$ac_path_GREP" || continue
4244 # Check for GNU ac_path_GREP and select it if it is found.
4245 # Check for GNU $ac_path_GREP
4246 case `"$ac_path_GREP" --version 2>&1` in
4248 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4251 $as_echo_n 0123456789 >"conftest.
in"
4254 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4255 mv "conftest.tmp
" "conftest.
in"
4256 cp "conftest.
in" "conftest.
nl"
4257 $as_echo 'GREP' >> "conftest.
nl"
4258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4259 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4260 as_fn_arith $ac_count + 1 && ac_count=$as_val
4261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4262 # Best one so far, save it but keep looking for a better one
4263 ac_cv_path_GREP="$ac_path_GREP"
4264 ac_path_GREP_max=$ac_count
4266 # 10*(2^10) chars as input seems more than enough
4267 test $ac_count -gt 10 && break
4269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4272 $ac_path_GREP_found && break 3
4277 if test -z "$ac_cv_path_GREP"; then
4278 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4281 ac_cv_path_GREP=$GREP
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4286 $as_echo "$ac_cv_path_GREP" >&6; }
4287 GREP="$ac_cv_path_GREP"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4291 $as_echo_n "checking
for egrep...
" >&6; }
4292 if ${ac_cv_path_EGREP+:} false; then :
4293 $as_echo_n "(cached
) " >&6
4295 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4296 then ac_cv_path_EGREP="$GREP -E"
4298 if test -z "$EGREP"; then
4299 ac_path_EGREP_found=false
4300 # Loop through the user's path and test for each of PROGNAME-LIST
4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4305 test -z "$as_dir" && as_dir=.
4306 for ac_prog in egrep; do
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4309 as_fn_executable_p "$ac_path_EGREP" || continue
4310 # Check for GNU ac_path_EGREP and select it if it is found.
4311 # Check for GNU $ac_path_EGREP
4312 case `"$ac_path_EGREP" --version 2>&1` in
4314 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4317 $as_echo_n 0123456789 >"conftest.
in"
4320 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4321 mv "conftest.tmp
" "conftest.
in"
4322 cp "conftest.
in" "conftest.
nl"
4323 $as_echo 'EGREP' >> "conftest.
nl"
4324 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4325 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4326 as_fn_arith $ac_count + 1 && ac_count=$as_val
4327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4328 # Best one so far, save it but keep looking for a better one
4329 ac_cv_path_EGREP="$ac_path_EGREP"
4330 ac_path_EGREP_max=$ac_count
4332 # 10*(2^10) chars as input seems more than enough
4333 test $ac_count -gt 10 && break
4335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4338 $ac_path_EGREP_found && break 3
4343 if test -z "$ac_cv_path_EGREP"; then
4344 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4347 ac_cv_path_EGREP=$EGREP
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4353 $as_echo "$ac_cv_path_EGREP" >&6; }
4354 EGREP="$ac_cv_path_EGREP"
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4358 $as_echo_n "checking
for fgrep...
" >&6; }
4359 if ${ac_cv_path_FGREP+:} false; then :
4360 $as_echo_n "(cached
) " >&6
4362 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4363 then ac_cv_path_FGREP="$GREP -F"
4365 if test -z "$FGREP"; then
4366 ac_path_FGREP_found=false
4367 # Loop through the user's path and test for each of PROGNAME-LIST
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4372 test -z "$as_dir" && as_dir=.
4373 for ac_prog in fgrep; do
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4376 as_fn_executable_p "$ac_path_FGREP" || continue
4377 # Check for GNU ac_path_FGREP and select it if it is found.
4378 # Check for GNU $ac_path_FGREP
4379 case `"$ac_path_FGREP" --version 2>&1` in
4381 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4384 $as_echo_n 0123456789 >"conftest.
in"
4387 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4388 mv "conftest.tmp
" "conftest.
in"
4389 cp "conftest.
in" "conftest.
nl"
4390 $as_echo 'FGREP' >> "conftest.
nl"
4391 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4392 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4393 as_fn_arith $ac_count + 1 && ac_count=$as_val
4394 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4395 # Best one so far, save it but keep looking for a better one
4396 ac_cv_path_FGREP="$ac_path_FGREP"
4397 ac_path_FGREP_max=$ac_count
4399 # 10*(2^10) chars as input seems more than enough
4400 test $ac_count -gt 10 && break
4402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4405 $ac_path_FGREP_found && break 3
4410 if test -z "$ac_cv_path_FGREP"; then
4411 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4414 ac_cv_path_FGREP=$FGREP
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4420 $as_echo "$ac_cv_path_FGREP" >&6; }
4421 FGREP="$ac_cv_path_FGREP"
4424 test -z "$GREP" && GREP=grep
4444 # Check whether --with-gnu-ld was given.
4445 if test "${with_gnu_ld+set}" = set; then :
4446 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4452 if test yes = "$GCC"; then
4453 # Check if gcc -print-prog-name=ld gives a path.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4455 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4458 # gcc leaves a trailing carriage return, which upsets mingw
4459 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4461 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4464 # Accept absolute paths.
4466 re_direlt='/[^/][^/]*/\.\./'
4467 # Canonicalize the pathname of ld
4468 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4469 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4470 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4472 test -z "$LD" && LD=$ac_prog
4475 # If it fails, then pretend we aren't using GCC.
4479 # If it is relative, then search for the first ld in PATH.
4483 elif test yes = "$with_gnu_ld"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4485 $as_echo_n "checking
for GNU ld...
" >&6; }
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4488 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4490 if ${lt_cv_path_LD+:} false; then :
4491 $as_echo_n "(cached
) " >&6
4493 if test -z "$LD"; then
4494 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4495 for ac_dir in $PATH; do
4497 test -z "$ac_dir" && ac_dir=.
4498 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4499 lt_cv_path_LD=$ac_dir/$ac_prog
4500 # Check to see if the program is GNU ld. I'd rather use --version,
4501 # but apparently some variants of GNU ld only accept -v.
4502 # Break only if it was the GNU/non-GNU ld that we prefer.
4503 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4504 *GNU* | *'with BFD'*)
4505 test no != "$with_gnu_ld" && break
4508 test yes != "$with_gnu_ld" && break
4515 lt_cv_path_LD=$LD # Let the user override the test with a path.
4520 if test -n "$LD"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4522 $as_echo "$LD" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4525 $as_echo "no
" >&6; }
4527 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4529 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4530 if ${lt_cv_prog_gnu_ld+:} false; then :
4531 $as_echo_n "(cached
) " >&6
4533 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4534 case `$LD -v 2>&1 </dev/null` in
4535 *GNU* | *'with BFD'*)
4536 lt_cv_prog_gnu_ld=yes
4539 lt_cv_prog_gnu_ld=no
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4544 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4545 with_gnu_ld=$lt_cv_prog_gnu_ld
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4556 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4557 if ${lt_cv_path_NM+:} false; then :
4558 $as_echo_n "(cached
) " >&6
4560 if test -n "$NM"; then
4561 # Let the user override the test.
4564 lt_nm_to_check=${ac_tool_prefix}nm
4565 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4566 lt_nm_to_check="$lt_nm_to_check nm
"
4568 for lt_tmp_nm in $lt_nm_to_check; do
4569 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4570 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4572 test -z "$ac_dir" && ac_dir=.
4573 tmp_nm=$ac_dir/$lt_tmp_nm
4574 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4575 # Check to see if the nm accepts a BSD-compat flag.
4576 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4577 # nm: unknown option "B
" ignored
4578 # Tru64's nm complains that /dev/null is an invalid object file
4579 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4581 mingw*) lt_bad_file=conftest.nm/nofile ;;
4582 *) lt_bad_file=/dev/null ;;
4584 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4585 *$lt_bad_file* | *'Invalid file or object type'*)
4586 lt_cv_path_NM="$tmp_nm -B"
4590 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4592 lt_cv_path_NM="$tmp_nm -p"
4596 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4597 continue # so that we can try to find one that supports BSD flags
4606 : ${lt_cv_path_NM=no}
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4610 $as_echo "$lt_cv_path_NM" >&6; }
4611 if test no != "$lt_cv_path_NM"; then
4614 # Didn't find any BSD compatible name lister, look for dumpbin.
4615 if test -n "$DUMPBIN"; then :
4616 # Let the user override the test.
4618 if test -n "$ac_tool_prefix"; then
4619 for ac_prog in dumpbin "link
-dump"
4621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4624 $as_echo_n "checking
for $ac_word...
" >&6; }
4625 if ${ac_cv_prog_DUMPBIN+:} false; then :
4626 $as_echo_n "(cached
) " >&6
4628 if test -n "$DUMPBIN"; then
4629 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir=.
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4638 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4648 DUMPBIN=$ac_cv_prog_DUMPBIN
4649 if test -n "$DUMPBIN"; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4651 $as_echo "$DUMPBIN" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4654 $as_echo "no
" >&6; }
4658 test -n "$DUMPBIN" && break
4661 if test -z "$DUMPBIN"; then
4662 ac_ct_DUMPBIN=$DUMPBIN
4663 for ac_prog in dumpbin "link
-dump"
4665 # Extract the first word of "$ac_prog", so it can be a program name with args.
4666 set dummy $ac_prog; ac_word=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4668 $as_echo_n "checking
for $ac_word...
" >&6; }
4669 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4670 $as_echo_n "(cached
) " >&6
4672 if test -n "$ac_ct_DUMPBIN"; then
4673 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir=.
4680 for ac_exec_ext in '' $ac_executable_extensions; do
4681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4692 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4693 if test -n "$ac_ct_DUMPBIN"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4695 $as_echo "$ac_ct_DUMPBIN" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4698 $as_echo "no
" >&6; }
4702 test -n "$ac_ct_DUMPBIN" && break
4705 if test "x
$ac_ct_DUMPBIN" = x; then
4708 case $cross_compiling:$ac_tool_warned in
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4711 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4712 ac_tool_warned=yes ;;
4714 DUMPBIN=$ac_ct_DUMPBIN
4718 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4720 DUMPBIN="$DUMPBIN -symbols -headers"
4728 if test : != "$DUMPBIN"; then
4732 test -z "$NM" && NM=nm
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4740 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4741 if ${lt_cv_nm_interface+:} false; then :
4742 $as_echo_n "(cached
) " >&6
4744 lt_cv_nm_interface="BSD nm
"
4745 echo "int some_variable
= 0;" > conftest.$ac_ext
4746 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4747 (eval "$ac_compile" 2>conftest.err)
4748 cat conftest.err >&5
4749 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4750 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4751 cat conftest.err >&5
4752 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4753 cat conftest.out >&5
4754 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4755 lt_cv_nm_interface="MS dumpbin
"
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4760 $as_echo "$lt_cv_nm_interface" >&6; }
4762 # find the maximum length of command line arguments
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4764 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4765 if ${lt_cv_sys_max_cmd_len+:} false; then :
4766 $as_echo_n "(cached
) " >&6
4773 # On DJGPP, this test can blow up pretty badly due to problems in libc
4774 # (any single argument exceeding 2000 bytes causes a buffer overrun
4775 # during glob expansion). Even if it were fixed, the result of this
4776 # check would be larger than it should be.
4777 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4781 # Under GNU Hurd, this test is not required because there is
4782 # no limit to the length of command line arguments.
4783 # Libtool will interpret -1 as no limit whatsoever
4784 lt_cv_sys_max_cmd_len=-1;
4787 cygwin* | mingw* | cegcc*)
4788 # On Win9x/ME, this test blows up -- it succeeds, but takes
4789 # about 5 minutes as the teststring grows exponentially.
4790 # Worse, since 9x/ME are not pre-emptively multitasking,
4791 # you end up with a "frozen
" computer, even though with patience
4792 # the test eventually succeeds (with a max line length of 256k).
4793 # Instead, let's just punt: use the minimum linelength reported by
4794 # all of the supported platforms: 8192 (on NT/2K/XP).
4795 lt_cv_sys_max_cmd_len=8192;
4799 # On MiNT this can take a long time and run out of memory.
4800 lt_cv_sys_max_cmd_len=8192;
4804 # On AmigaOS with pdksh, this test takes hours, literally.
4805 # So we just punt and use a minimum line length of 8192.
4806 lt_cv_sys_max_cmd_len=8192;
4809 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4810 # This has been around since 386BSD, at least. Likely further.
4811 if test -x /sbin/sysctl; then
4812 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4813 elif test -x /usr/sbin/sysctl; then
4814 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4816 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4818 # And add a safety zone
4819 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4820 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4824 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4825 lt_cv_sys_max_cmd_len=196608
4829 # The test takes a long time on OS/2.
4830 lt_cv_sys_max_cmd_len=8192
4834 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4835 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4836 # nice to cause kernel panics so lets avoid the loop below.
4837 # First set a reasonable default.
4838 lt_cv_sys_max_cmd_len=16384
4840 if test -x /sbin/sysconfig; then
4841 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4842 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4847 lt_cv_sys_max_cmd_len=102400
4849 sysv5* | sco5v6* | sysv4.2uw2*)
4850 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4851 if test -n "$kargmax"; then
4852 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4854 lt_cv_sys_max_cmd_len=32768
4858 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4859 if test -n "$lt_cv_sys_max_cmd_len" && \
4860 test undefined != "$lt_cv_sys_max_cmd_len"; then
4861 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4862 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4864 # Make teststring a little bigger before we do anything with it.
4865 # a 1K string should be a reasonable start.
4866 for i in 1 2 3 4 5 6 7 8; do
4867 teststring=$teststring$teststring
4869 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4870 # If test is not a shell built-in, we'll probably end up computing a
4871 # maximum length that is only half of the actual maximum length, but
4873 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4874 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4875 test 17 != "$i" # 1/2 MB should be enough
4878 teststring=$teststring$teststring
4880 # Only check the string length outside the loop.
4881 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4883 # Add a significant safety factor because C++ compilers can tack on
4884 # massive amounts of additional arguments before passing them to the
4885 # linker. It appears as though 1/2 is a usable value.
4886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4893 if test -n "$lt_cv_sys_max_cmd_len"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4895 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4898 $as_echo "none
" >&6; }
4900 max_cmd_len=$lt_cv_sys_max_cmd_len
4911 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4921 # test EBCDIC or ASCII
4922 case `echo X|tr X '\101'` in
4923 A) # ASCII based system
4924 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4925 lt_SP2NL='tr \040 \012'
4926 lt_NL2SP='tr \015\012 \040\040'
4928 *) # EBCDIC based system
4929 lt_SP2NL='tr \100 \n'
4930 lt_NL2SP='tr \r\n \100\100'
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4943 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4944 if ${lt_cv_to_host_file_cmd+:} false; then :
4945 $as_echo_n "(cached
) " >&6
4950 *-*-mingw* ) # actually msys
4951 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4954 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4956 * ) # otherwise, assume *nix
4957 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4963 *-*-mingw* ) # actually msys
4964 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4967 lt_cv_to_host_file_cmd=func_convert_file_noop
4969 * ) # otherwise, assume *nix
4970 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4974 * ) # unhandled hosts (and "normal
" native builds)
4975 lt_cv_to_host_file_cmd=func_convert_file_noop
4981 to_host_file_cmd=$lt_cv_to_host_file_cmd
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4983 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4990 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4991 if ${lt_cv_to_tool_file_cmd+:} false; then :
4992 $as_echo_n "(cached
) " >&6
4994 #assume ordinary cross tools, or native build.
4995 lt_cv_to_tool_file_cmd=func_convert_file_noop
4999 *-*-mingw* ) # actually msys
5000 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5008 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5010 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5017 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5018 if ${lt_cv_ld_reload_flag+:} false; then :
5019 $as_echo_n "(cached
) " >&6
5021 lt_cv_ld_reload_flag='-r'
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5024 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5025 reload_flag=$lt_cv_ld_reload_flag
5026 case $reload_flag in
5028 *) reload_flag=" $reload_flag" ;;
5030 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5032 cygwin* | mingw* | pw32* | cegcc*)
5033 if test yes != "$GCC"; then
5038 if test yes = "$GCC"; then
5039 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5041 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5054 if test -n "$ac_tool_prefix"; then
5055 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5056 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5058 $as_echo_n "checking
for $ac_word...
" >&6; }
5059 if ${ac_cv_prog_OBJDUMP+:} false; then :
5060 $as_echo_n "(cached
) " >&6
5062 if test -n "$OBJDUMP"; then
5063 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5082 OBJDUMP=$ac_cv_prog_OBJDUMP
5083 if test -n "$OBJDUMP"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5085 $as_echo "$OBJDUMP" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5088 $as_echo "no
" >&6; }
5093 if test -z "$ac_cv_prog_OBJDUMP"; then
5094 ac_ct_OBJDUMP=$OBJDUMP
5095 # Extract the first word of "objdump
", so it can be a program name with args.
5096 set dummy objdump; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5098 $as_echo_n "checking
for $ac_word...
" >&6; }
5099 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5100 $as_echo_n "(cached
) " >&6
5102 if test -n "$ac_ct_OBJDUMP"; then
5103 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 test -z "$as_dir" && as_dir=.
5110 for ac_exec_ext in '' $ac_executable_extensions; do
5111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5112 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5122 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5123 if test -n "$ac_ct_OBJDUMP"; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5125 $as_echo "$ac_ct_OBJDUMP" >&6; }
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5128 $as_echo "no
" >&6; }
5131 if test "x
$ac_ct_OBJDUMP" = x; then
5134 case $cross_compiling:$ac_tool_warned in
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5137 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5138 ac_tool_warned=yes ;;
5140 OBJDUMP=$ac_ct_OBJDUMP
5143 OBJDUMP="$ac_cv_prog_OBJDUMP"
5146 test -z "$OBJDUMP" && OBJDUMP=objdump
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5157 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5158 if ${lt_cv_deplibs_check_method+:} false; then :
5159 $as_echo_n "(cached
) " >&6
5161 lt_cv_file_magic_cmd='$MAGIC_CMD'
5162 lt_cv_file_magic_test_file=
5163 lt_cv_deplibs_check_method='unknown'
5164 # Need to set the preceding variable on all platforms that support
5165 # interlibrary dependencies.
5166 # 'none' -- dependencies not supported.
5167 # 'unknown' -- same as none, but documents that we really don't know.
5168 # 'pass_all' -- all dependencies passed with no checks.
5169 # 'test_compile' -- check by making test program.
5170 # 'file_magic [[regex]]' -- check by looking for files in library path
5171 # that responds to the $file_magic_cmd with a given extended regex.
5172 # If you have 'file' or equivalent on your system and you're not sure
5173 # whether 'pass_all' will *always* work, you probably want this one.
5177 lt_cv_deplibs_check_method=pass_all
5181 lt_cv_deplibs_check_method=pass_all
5185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5186 lt_cv_file_magic_cmd='/usr/bin/file -L'
5187 lt_cv_file_magic_test_file=/shlib/libc.so
5191 # func_win32_libid is a shell function defined in ltmain.sh
5192 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5193 lt_cv_file_magic_cmd='func_win32_libid'
5197 # Base MSYS/MinGW do not provide the 'file' command needed by
5198 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5199 # unless we find 'file', for example because we are cross-compiling.
5200 if ( file / ) >/dev/null 2>&1; then
5201 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5202 lt_cv_file_magic_cmd='func_win32_libid'
5204 # Keep this pattern in sync with the one in func_win32_libid.
5205 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5206 lt_cv_file_magic_cmd='$OBJDUMP -f'
5211 # use the weaker test based on 'objdump'. See mingw*.
5212 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5213 lt_cv_file_magic_cmd='$OBJDUMP -f'
5216 darwin* | rhapsody*)
5217 lt_cv_deplibs_check_method=pass_all
5220 freebsd* | dragonfly*)
5221 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5224 # Not sure whether the presence of OpenBSD here was a mistake.
5225 # Let's accept both of them until this is cleared up.
5226 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5227 lt_cv_file_magic_cmd=/usr/bin/file
5228 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5232 lt_cv_deplibs_check_method=pass_all
5237 lt_cv_deplibs_check_method=pass_all
5240 hpux10.20* | hpux11*)
5241 lt_cv_file_magic_cmd=/usr/bin/file
5244 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5245 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5248 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]'
5249 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5253 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5259 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5260 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5263 irix5* | irix6* | nonstopux*)
5265 *-32|*"-32 ") libmagic=32-bit;;
5266 *-n32|*"-n32 ") libmagic=N32;;
5267 *-64|*"-64 ") libmagic=64-bit;;
5268 *) libmagic=never-match;;
5270 lt_cv_deplibs_check_method=pass_all
5273 # This must be glibc/ELF.
5274 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5275 lt_cv_deplibs_check_method=pass_all
5279 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5280 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5282 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5287 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5288 lt_cv_file_magic_cmd=/usr/bin/file
5289 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5293 lt_cv_deplibs_check_method=pass_all
5297 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5300 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5304 osf3* | osf4* | osf5*)
5305 lt_cv_deplibs_check_method=pass_all
5309 lt_cv_deplibs_check_method=pass_all
5313 lt_cv_deplibs_check_method=pass_all
5316 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5317 lt_cv_deplibs_check_method=pass_all
5321 case $host_vendor in
5323 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]'
5324 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5327 lt_cv_deplibs_check_method=pass_all
5330 lt_cv_file_magic_cmd='/bin/file'
5331 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5334 lt_cv_file_magic_cmd='/bin/file'
5335 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5336 lt_cv_file_magic_test_file=/lib/libc.so
5339 lt_cv_deplibs_check_method=pass_all
5342 lt_cv_deplibs_check_method=pass_all
5348 lt_cv_deplibs_check_method=pass_all
5351 lt_cv_deplibs_check_method=pass_all
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5357 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5361 if test "$build" = "$host"; then
5364 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5367 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5373 file_magic_cmd=$lt_cv_file_magic_cmd
5374 deplibs_check_method=$lt_cv_deplibs_check_method
5375 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5398 if test -n "$ac_tool_prefix"; then
5399 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5400 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5402 $as_echo_n "checking
for $ac_word...
" >&6; }
5403 if ${ac_cv_prog_DLLTOOL+:} false; then :
5404 $as_echo_n "(cached
) " >&6
5406 if test -n "$DLLTOOL"; then
5407 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5426 DLLTOOL=$ac_cv_prog_DLLTOOL
5427 if test -n "$DLLTOOL"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5429 $as_echo "$DLLTOOL" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5432 $as_echo "no
" >&6; }
5437 if test -z "$ac_cv_prog_DLLTOOL"; then
5438 ac_ct_DLLTOOL=$DLLTOOL
5439 # Extract the first word of "dlltool
", so it can be a program name with args.
5440 set dummy dlltool; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5442 $as_echo_n "checking
for $ac_word...
" >&6; }
5443 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5444 $as_echo_n "(cached
) " >&6
5446 if test -n "$ac_ct_DLLTOOL"; then
5447 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5466 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5467 if test -n "$ac_ct_DLLTOOL"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5469 $as_echo "$ac_ct_DLLTOOL" >&6; }
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5472 $as_echo "no
" >&6; }
5475 if test "x
$ac_ct_DLLTOOL" = x; then
5478 case $cross_compiling:$ac_tool_warned in
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5481 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5482 ac_tool_warned=yes ;;
5484 DLLTOOL=$ac_ct_DLLTOOL
5487 DLLTOOL="$ac_cv_prog_DLLTOOL"
5490 test -z "$DLLTOOL" && DLLTOOL=dlltool
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5502 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5503 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5504 $as_echo_n "(cached
) " >&6
5506 lt_cv_sharedlib_from_linklib_cmd='unknown'
5509 cygwin* | mingw* | pw32* | cegcc*)
5510 # two different shell functions defined in ltmain.sh;
5511 # decide which one to use based on capabilities of $DLLTOOL
5512 case `$DLLTOOL --help 2>&1` in
5513 *--identify-strict*)
5514 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5517 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5522 # fallback: assume linklib IS sharedlib
5523 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5529 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5530 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5531 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5540 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5546 $as_echo_n "checking
for $ac_word...
" >&6; }
5547 if ${ac_cv_prog_AR+:} false; then :
5548 $as_echo_n "(cached
) " >&6
5550 if test -n "$AR"; then
5551 ac_cv_prog_AR="$AR" # Let the user override the test.
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5571 if test -n "$AR"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5573 $as_echo "$AR" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5576 $as_echo "no
" >&6; }
5580 test -n "$AR" && break
5583 if test -z "$AR"; then
5587 # Extract the first word of "$ac_prog", so it can be a program name with args.
5588 set dummy $ac_prog; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5590 $as_echo_n "checking
for $ac_word...
" >&6; }
5591 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5592 $as_echo_n "(cached
) " >&6
5594 if test -n "$ac_ct_AR"; then
5595 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_ac_ct_AR="$ac_prog"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5614 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5615 if test -n "$ac_ct_AR"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5617 $as_echo "$ac_ct_AR" >&6; }
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5620 $as_echo "no
" >&6; }
5624 test -n "$ac_ct_AR" && break
5627 if test "x
$ac_ct_AR" = x; then
5630 case $cross_compiling:$ac_tool_warned in
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5633 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5634 ac_tool_warned=yes ;;
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5654 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5655 if ${lt_cv_ar_at_file+:} false; then :
5656 $as_echo_n "(cached
) " >&6
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5670 if ac_fn_c_try_compile "$LINENO"; then :
5671 echo conftest.$ac_objext > conftest.lst
5672 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5673 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5674 (eval $lt_ar_try) 2>&5
5676 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5677 test $ac_status = 0; }
5678 if test 0 -eq "$ac_status"; then
5679 # Ensure the archiver fails upon bogus file names.
5680 rm -f conftest.$ac_objext libconftest.a
5681 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5682 (eval $lt_ar_try) 2>&5
5684 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5685 test $ac_status = 0; }
5686 if test 0 -ne "$ac_status"; then
5690 rm -f conftest.* libconftest.a
5693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5697 $as_echo "$lt_cv_ar_at_file" >&6; }
5699 if test no = "$lt_cv_ar_at_file"; then
5702 archiver_list_spec=$lt_cv_ar_at_file
5711 if test -n "$ac_tool_prefix"; then
5712 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5713 set dummy ${ac_tool_prefix}strip; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5715 $as_echo_n "checking
for $ac_word...
" >&6; }
5716 if ${ac_cv_prog_STRIP+:} false; then :
5717 $as_echo_n "(cached
) " >&6
5719 if test -n "$STRIP"; then
5720 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5739 STRIP=$ac_cv_prog_STRIP
5740 if test -n "$STRIP"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5742 $as_echo "$STRIP" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5745 $as_echo "no
" >&6; }
5750 if test -z "$ac_cv_prog_STRIP"; then
5752 # Extract the first word of "strip
", so it can be a program name with args.
5753 set dummy strip; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5755 $as_echo_n "checking
for $ac_word...
" >&6; }
5756 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5757 $as_echo_n "(cached
) " >&6
5759 if test -n "$ac_ct_STRIP"; then
5760 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_ac_ct_STRIP="strip
"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5779 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5780 if test -n "$ac_ct_STRIP"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5782 $as_echo "$ac_ct_STRIP" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5785 $as_echo "no
" >&6; }
5788 if test "x
$ac_ct_STRIP" = x; then
5791 case $cross_compiling:$ac_tool_warned in
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5794 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5795 ac_tool_warned=yes ;;
5800 STRIP="$ac_cv_prog_STRIP"
5803 test -z "$STRIP" && STRIP=:
5810 if test -n "$ac_tool_prefix"; then
5811 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5814 $as_echo_n "checking
for $ac_word...
" >&6; }
5815 if ${ac_cv_prog_RANLIB+:} false; then :
5816 $as_echo_n "(cached
) " >&6
5818 if test -n "$RANLIB"; then
5819 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5838 RANLIB=$ac_cv_prog_RANLIB
5839 if test -n "$RANLIB"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5841 $as_echo "$RANLIB" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5844 $as_echo "no
" >&6; }
5849 if test -z "$ac_cv_prog_RANLIB"; then
5850 ac_ct_RANLIB=$RANLIB
5851 # Extract the first word of "ranlib
", so it can be a program name with args.
5852 set dummy ranlib; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5854 $as_echo_n "checking
for $ac_word...
" >&6; }
5855 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5856 $as_echo_n "(cached
) " >&6
5858 if test -n "$ac_ct_RANLIB"; then
5859 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5878 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5879 if test -n "$ac_ct_RANLIB"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5881 $as_echo "$ac_ct_RANLIB" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5884 $as_echo "no
" >&6; }
5887 if test "x
$ac_ct_RANLIB" = x; then
5890 case $cross_compiling:$ac_tool_warned in
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5894 ac_tool_warned=yes ;;
5896 RANLIB=$ac_ct_RANLIB
5899 RANLIB="$ac_cv_prog_RANLIB"
5902 test -z "$RANLIB" && RANLIB=:
5909 # Determine commands to create old-style static archives.
5910 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5911 old_postinstall_cmds='chmod 644 $oldlib'
5912 old_postuninstall_cmds=
5914 if test -n "$RANLIB"; then
5917 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5920 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5923 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5928 lock_old_archive_extraction=yes ;;
5930 lock_old_archive_extraction=no ;;
5971 # If no C compiler was specified, use CC.
5974 # If no C compiler flags were specified, use CFLAGS.
5975 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5977 # Allow CC to be a program name with arguments.
5981 # Check for command to grab the raw symbol name followed by C symbol from nm.
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5983 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5984 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5985 $as_echo_n "(cached
) " >&6
5988 # These are sane defaults that work on at least a few old systems.
5989 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5991 # Character class describing NM global symbol codes.
5992 symcode='[BCDEGRST]'
5994 # Regexp to match symbols that can be accessed directly from C.
5995 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5997 # Define system-specific variables.
6002 cygwin* | mingw* | pw32* | cegcc*)
6003 symcode='[ABCDGISTW]'
6006 if test ia64 = "$host_cpu"; then
6007 symcode='[ABCDEGRST]'
6011 symcode='[BCDEGRST]'
6014 symcode='[BCDEGQRST]'
6025 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6033 # If we're using GNU nm, then use its standard symbol codes.
6034 case `$NM -V 2>&1` in
6035 *GNU* | *'with BFD'*)
6036 symcode='[ABCDGIRSTW]' ;;
6039 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6040 # Gets list of data symbols to import.
6041 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6042 # Adjust the below global symbol transforms to fixup imported variables.
6043 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6044 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6045 lt_c_name_lib_hook="\
6046 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6047 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6049 # Disable hooks by default.
6050 lt_cv_sys_global_symbol_to_import=
6056 # Transform an extracted symbol line into a proper C declaration.
6057 # Some systems (esp. on ia64) link data and code symbols differently,
6058 # so use this general approach.
6059 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6061 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6062 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6064 # Transform an extracted symbol line into symbol name and symbol address
6065 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6067 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6068 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6070 # Transform an extracted symbol line into symbol name with lib prefix and
6072 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6073 $lt_c_name_lib_hook\
6074 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6075 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6076 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6078 # Handle CRLF in mingw tool chain
6082 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6086 # Try without a prefix underscore, then with it.
6087 for ac_symprfx in "" "_
"; do
6089 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6090 symxfrm="\\1 $ac_symprfx\\2 \\2"
6092 # Write the raw and C identifiers.
6093 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6094 # Fake it for dumpbin and say T for any non-static function,
6095 # D for any global variable and I for any imported variable.
6096 # Also find C++ and __fastcall symbols from MSVC++,
6097 # which start with @ or ?.
6098 lt_cv_sys_global_symbol_pipe="$AWK '"\
6099 " {last_section=section; section=\$ 3};"\
6100 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6101 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6102 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6103 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6104 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6105 " \$ 0!~/External *\|/{next};"\
6106 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6107 " {if(hide[section]) next};"\
6108 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6109 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6110 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6111 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6112 " ' prfx
=^
$ac_symprfx"
6114 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6116 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6118 # Check to see that the pipe works correctly.
6122 cat > conftest.$ac_ext <<_LT_EOF
6127 void nm_test_func(void);
6128 void nm_test_func(void){}
6132 int main(){nm_test_var='a';nm_test_func();return(0);}
6135 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6136 (eval $ac_compile) 2>&5
6138 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6139 test $ac_status = 0; }; then
6140 # Now try to grab the symbols.
6142 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6143 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6145 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6146 test $ac_status = 0; } && test -s "$nlist"; then
6147 # Try sorting and uniquifying the output.
6148 if sort "$nlist" | uniq > "$nlist"T; then
6149 mv -f "$nlist"T "$nlist"
6154 # Make sure that we snagged all the symbols we need.
6155 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6156 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6157 cat <<_LT_EOF > conftest.$ac_ext
6158 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6159 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6160 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6161 relocations are performed -- see ld's documentation on pseudo-relocs. */
6162 # define LT_DLSYM_CONST
6163 #elif defined __osf__
6164 /* This system does not cope well with relocations in const data. */
6165 # define LT_DLSYM_CONST
6167 # define LT_DLSYM_CONST const
6175 # Now generate the symbol file.
6176 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6178 cat <<_LT_EOF >> conftest.$ac_ext
6180 /* The mapping between symbol names and symbols. */
6181 LT_DLSYM_CONST struct {
6185 lt__PROGRAM__LTX_preloaded_symbols[] =
6187 { "@PROGRAM@
", (void *) 0 },
6189 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6190 cat <<\_LT_EOF >> conftest.$ac_ext
6194 /* This works around a problem in FreeBSD linker */
6195 #ifdef FREEBSD_WORKAROUND
6196 static const void *lt_preloaded_setup() {
6197 return lt__PROGRAM__LTX_preloaded_symbols;
6205 # Now try linking the two files.
6206 mv conftest.$ac_objext conftstm.$ac_objext
6207 lt_globsym_save_LIBS=$LIBS
6208 lt_globsym_save_CFLAGS=$CFLAGS
6209 LIBS=conftstm.$ac_objext
6210 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6211 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6212 (eval $ac_link) 2>&5
6214 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6215 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6218 LIBS=$lt_globsym_save_LIBS
6219 CFLAGS=$lt_globsym_save_CFLAGS
6221 echo "cannot
find nm_test_func
in $nlist" >&5
6224 echo "cannot
find nm_test_var
in $nlist" >&5
6227 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6230 echo "$progname: failed program was
:" >&5
6231 cat conftest.$ac_ext >&5
6233 rm -rf conftest* conftst*
6235 # Do not use the global_symbol_pipe unless it works.
6236 if test yes = "$pipe_works"; then
6239 lt_cv_sys_global_symbol_pipe=
6245 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6246 lt_cv_sys_global_symbol_to_cdecl=
6248 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6250 $as_echo "failed
" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6253 $as_echo "ok
" >&6; }
6256 # Response file support.
6257 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6258 nm_file_list_spec='@'
6259 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6260 nm_file_list_spec='@'
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6300 $as_echo_n "checking
for sysroot...
" >&6; }
6302 # Check whether --with-sysroot was given.
6303 if test "${with_sysroot+set}" = set; then :
6304 withval=$with_sysroot;
6311 case $with_sysroot in #(
6313 if test yes = "$GCC"; then
6314 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6318 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6324 $as_echo "$with_sysroot" >&6; }
6325 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6330 $as_echo "${lt_sysroot:-no}" >&6; }
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6337 $as_echo_n "checking
for a working
dd...
" >&6; }
6338 if ${ac_cv_path_lt_DD+:} false; then :
6339 $as_echo_n "(cached
) " >&6
6341 printf 0123456789abcdef0123456789abcdef >conftest.i
6342 cat conftest.i conftest.i >conftest2.i
6344 if test -z "$lt_DD"; then
6345 ac_path_lt_DD_found=false
6346 # Loop through the user's path and test for each of PROGNAME-LIST
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_prog in dd; do
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6355 as_fn_executable_p "$ac_path_lt_DD" || continue
6356 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6357 cmp -s conftest.i conftest.out \
6358 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6360 $ac_path_lt_DD_found && break 3
6365 if test -z "$ac_cv_path_lt_DD"; then
6369 ac_cv_path_lt_DD=$lt_DD
6372 rm -f conftest.i conftest2.i conftest.out
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6375 $as_echo "$ac_cv_path_lt_DD" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6379 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6380 if ${lt_cv_truncate_bin+:} false; then :
6381 $as_echo_n "(cached
) " >&6
6383 printf 0123456789abcdef0123456789abcdef >conftest.i
6384 cat conftest.i conftest.i >conftest2.i
6386 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6387 cmp -s conftest.i conftest.out \
6388 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6390 rm -f conftest.i conftest2.i conftest.out
6391 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6394 $as_echo "$lt_cv_truncate_bin" >&6; }
6402 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6405 for cc_temp in $*""; do
6407 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6408 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6413 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6416 # Check whether --enable-libtool-lock was given.
6417 if test "${enable_libtool_lock+set}" = set; then :
6418 enableval=$enable_libtool_lock;
6421 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6423 # Some flags need to be propagated to the compiler or linker for good
6427 # Find out what ABI is being produced by ac_compile, and set mode
6428 # options accordingly.
6429 echo 'int i;' > conftest.$ac_ext
6430 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6431 (eval $ac_compile) 2>&5
6433 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6434 test $ac_status = 0; }; then
6435 case `/usr/bin/file conftest.$ac_objext` in
6447 # Find out what ABI is being produced by ac_compile, and set linker
6448 # options accordingly.
6449 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6450 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6451 (eval $ac_compile) 2>&5
6453 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6454 test $ac_status = 0; }; then
6455 if test yes = "$lt_cv_prog_gnu_ld"; then
6456 case `/usr/bin/file conftest.$ac_objext` in
6458 LD="${LD-ld} -melf32bsmip"
6461 LD="${LD-ld} -melf32bmipn32"
6464 LD="${LD-ld} -melf64bmip"
6468 case `/usr/bin/file conftest.$ac_objext` in
6485 # Find out what ABI is being produced by ac_compile, and set linker
6486 # options accordingly.
6487 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6488 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6489 (eval $ac_compile) 2>&5
6491 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6492 test $ac_status = 0; }; then
6494 case `/usr/bin/file conftest.$ac_objext` in
6502 case `/usr/bin/file conftest.$ac_objext` in
6504 emul="${emul}btsmip
"
6507 emul="${emul}ltsmip
"
6510 case `/usr/bin/file conftest.$ac_objext` in
6515 LD="${LD-ld} -m $emul"
6520 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6521 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6522 # Find out what ABI is being produced by ac_compile, and set linker
6523 # options accordingly. Note that the listed cases only cover the
6524 # situations where additional linker options are needed (such as when
6525 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6526 # vice versa); the common cases where no linker options are needed do
6527 # not appear in the list.
6528 echo 'int i;' > conftest.$ac_ext
6529 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6530 (eval $ac_compile) 2>&5
6532 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6533 test $ac_status = 0; }; then
6534 case `/usr/bin/file conftest.o` in
6537 x86_64-*kfreebsd*-gnu)
6538 LD="${LD-ld} -m elf_i386_fbsd
"
6541 case `/usr/bin/file conftest.o` in
6543 LD="${LD-ld} -m elf32_x86_64
"
6546 LD="${LD-ld} -m elf_i386
"
6550 powerpc64le-*linux*)
6551 LD="${LD-ld} -m elf32lppclinux
"
6554 LD="${LD-ld} -m elf32ppclinux
"
6557 LD="${LD-ld} -m elf_s390
"
6560 LD="${LD-ld} -m elf32_sparc
"
6566 x86_64-*kfreebsd*-gnu)
6567 LD="${LD-ld} -m elf_x86_64_fbsd
"
6570 LD="${LD-ld} -m elf_x86_64
"
6573 LD="${LD-ld} -m elf64lppc
"
6576 LD="${LD-ld} -m elf64ppc
"
6578 s390*-*linux*|s390*-*tpf*)
6579 LD="${LD-ld} -m elf64_s390
"
6582 LD="${LD-ld} -m elf64_sparc
"
6592 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6594 CFLAGS="$CFLAGS -belf"
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6596 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6597 if ${lt_cv_cc_needs_belf+:} false; then :
6598 $as_echo_n "(cached
) " >&6
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6607 /* end confdefs.h. */
6617 if ac_fn_c_try_link "$LINENO"; then :
6618 lt_cv_cc_needs_belf=yes
6620 lt_cv_cc_needs_belf=no
6622 rm -f core conftest.err conftest.$ac_objext \
6623 conftest$ac_exeext conftest.$ac_ext
6625 ac_cpp='$CPP $CPPFLAGS'
6626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6632 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6633 if test yes != "$lt_cv_cc_needs_belf"; then
6634 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6639 # Find out what ABI is being produced by ac_compile, and set linker
6640 # options accordingly.
6641 echo 'int i;' > conftest.$ac_ext
6642 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6643 (eval $ac_compile) 2>&5
6645 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6646 test $ac_status = 0; }; then
6647 case `/usr/bin/file conftest.o` in
6649 case $lt_cv_prog_gnu_ld in
6652 i?86-*-solaris*|x86_64-*-solaris*)
6653 LD="${LD-ld} -m elf_x86_64
"
6656 LD="${LD-ld} -m elf64_sparc
"
6659 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6660 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6665 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6677 need_locks=$enable_libtool_lock
6679 if test -n "$ac_tool_prefix"; then
6680 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6681 set dummy ${ac_tool_prefix}mt; ac_word=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6683 $as_echo_n "checking
for $ac_word...
" >&6; }
6684 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6685 $as_echo_n "(cached
) " >&6
6687 if test -n "$MANIFEST_TOOL"; then
6688 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694 test -z "$as_dir" && as_dir=.
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6697 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6707 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6708 if test -n "$MANIFEST_TOOL"; then
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6710 $as_echo "$MANIFEST_TOOL" >&6; }
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6713 $as_echo "no
" >&6; }
6718 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6719 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6720 # Extract the first word of "mt
", so it can be a program name with args.
6721 set dummy mt; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6723 $as_echo_n "checking
for $ac_word...
" >&6; }
6724 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6725 $as_echo_n "(cached
) " >&6
6727 if test -n "$ac_ct_MANIFEST_TOOL"; then
6728 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6747 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6748 if test -n "$ac_ct_MANIFEST_TOOL"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6750 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6753 $as_echo "no
" >&6; }
6756 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6759 case $cross_compiling:$ac_tool_warned in
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6762 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6763 ac_tool_warned=yes ;;
6765 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6768 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6771 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6773 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6774 if ${lt_cv_path_mainfest_tool+:} false; then :
6775 $as_echo_n "(cached
) " >&6
6777 lt_cv_path_mainfest_tool=no
6778 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6779 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6780 cat conftest.err >&5
6781 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6782 lt_cv_path_mainfest_tool=yes
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6787 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6788 if test yes != "$lt_cv_path_mainfest_tool"; then
6798 rhapsody* | darwin*)
6799 if test -n "$ac_tool_prefix"; then
6800 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6803 $as_echo_n "checking
for $ac_word...
" >&6; }
6804 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6805 $as_echo_n "(cached
) " >&6
6807 if test -n "$DSYMUTIL"; then
6808 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6828 if test -n "$DSYMUTIL"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6830 $as_echo "$DSYMUTIL" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6833 $as_echo "no
" >&6; }
6838 if test -z "$ac_cv_prog_DSYMUTIL"; then
6839 ac_ct_DSYMUTIL=$DSYMUTIL
6840 # Extract the first word of "dsymutil
", so it can be a program name with args.
6841 set dummy dsymutil; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6843 $as_echo_n "checking
for $ac_word...
" >&6; }
6844 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6845 $as_echo_n "(cached
) " >&6
6847 if test -n "$ac_ct_DSYMUTIL"; then
6848 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6867 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6868 if test -n "$ac_ct_DSYMUTIL"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6870 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6873 $as_echo "no
" >&6; }
6876 if test "x
$ac_ct_DSYMUTIL" = x; then
6879 case $cross_compiling:$ac_tool_warned in
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6882 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6883 ac_tool_warned=yes ;;
6885 DSYMUTIL=$ac_ct_DSYMUTIL
6888 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if ${ac_cv_prog_NMEDIT+:} false; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$NMEDIT"; then
6900 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 NMEDIT=$ac_cv_prog_NMEDIT
6920 if test -n "$NMEDIT"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6922 $as_echo "$NMEDIT" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6930 if test -z "$ac_cv_prog_NMEDIT"; then
6931 ac_ct_NMEDIT=$NMEDIT
6932 # Extract the first word of "nmedit
", so it can be a program name with args.
6933 set dummy nmedit; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6935 $as_echo_n "checking
for $ac_word...
" >&6; }
6936 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6937 $as_echo_n "(cached
) " >&6
6939 if test -n "$ac_ct_NMEDIT"; then
6940 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6949 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6960 if test -n "$ac_ct_NMEDIT"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6962 $as_echo "$ac_ct_NMEDIT" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6965 $as_echo "no
" >&6; }
6968 if test "x
$ac_ct_NMEDIT" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6974 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6975 ac_tool_warned=yes ;;
6977 NMEDIT=$ac_ct_NMEDIT
6980 NMEDIT="$ac_cv_prog_NMEDIT"
6983 if test -n "$ac_tool_prefix"; then
6984 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6987 $as_echo_n "checking
for $ac_word...
" >&6; }
6988 if ${ac_cv_prog_LIPO+:} false; then :
6989 $as_echo_n "(cached
) " >&6
6991 if test -n "$LIPO"; then
6992 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir=.
6999 for ac_exec_ext in '' $ac_executable_extensions; do
7000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7011 LIPO=$ac_cv_prog_LIPO
7012 if test -n "$LIPO"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7014 $as_echo "$LIPO" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7017 $as_echo "no
" >&6; }
7022 if test -z "$ac_cv_prog_LIPO"; then
7024 # Extract the first word of "lipo
", so it can be a program name with args.
7025 set dummy lipo; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7027 $as_echo_n "checking
for $ac_word...
" >&6; }
7028 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7029 $as_echo_n "(cached
) " >&6
7031 if test -n "$ac_ct_LIPO"; then
7032 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7041 ac_cv_prog_ac_ct_LIPO="lipo
"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7051 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7052 if test -n "$ac_ct_LIPO"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7054 $as_echo "$ac_ct_LIPO" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7057 $as_echo "no
" >&6; }
7060 if test "x
$ac_ct_LIPO" = x; then
7063 case $cross_compiling:$ac_tool_warned in
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7066 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7067 ac_tool_warned=yes ;;
7072 LIPO="$ac_cv_prog_LIPO"
7075 if test -n "$ac_tool_prefix"; then
7076 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}otool; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7079 $as_echo_n "checking
for $ac_word...
" >&6; }
7080 if ${ac_cv_prog_OTOOL+:} false; then :
7081 $as_echo_n "(cached
) " >&6
7083 if test -n "$OTOOL"; then
7084 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 test -z "$as_dir" && as_dir=.
7091 for ac_exec_ext in '' $ac_executable_extensions; do
7092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7103 OTOOL=$ac_cv_prog_OTOOL
7104 if test -n "$OTOOL"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7106 $as_echo "$OTOOL" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7109 $as_echo "no
" >&6; }
7114 if test -z "$ac_cv_prog_OTOOL"; then
7116 # Extract the first word of "otool
", so it can be a program name with args.
7117 set dummy otool; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7119 $as_echo_n "checking
for $ac_word...
" >&6; }
7120 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7121 $as_echo_n "(cached
) " >&6
7123 if test -n "$ac_ct_OTOOL"; then
7124 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_ac_ct_OTOOL="otool
"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7143 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7144 if test -n "$ac_ct_OTOOL"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7146 $as_echo "$ac_ct_OTOOL" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7149 $as_echo "no
" >&6; }
7152 if test "x
$ac_ct_OTOOL" = x; then
7155 case $cross_compiling:$ac_tool_warned in
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7158 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7159 ac_tool_warned=yes ;;
7164 OTOOL="$ac_cv_prog_OTOOL"
7167 if test -n "$ac_tool_prefix"; then
7168 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7171 $as_echo_n "checking
for $ac_word...
" >&6; }
7172 if ${ac_cv_prog_OTOOL64+:} false; then :
7173 $as_echo_n "(cached
) " >&6
7175 if test -n "$OTOOL64"; then
7176 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7195 OTOOL64=$ac_cv_prog_OTOOL64
7196 if test -n "$OTOOL64"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7198 $as_echo "$OTOOL64" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7201 $as_echo "no
" >&6; }
7206 if test -z "$ac_cv_prog_OTOOL64"; then
7207 ac_ct_OTOOL64=$OTOOL64
7208 # Extract the first word of "otool64
", so it can be a program name with args.
7209 set dummy otool64; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7211 $as_echo_n "checking
for $ac_word...
" >&6; }
7212 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7213 $as_echo_n "(cached
) " >&6
7215 if test -n "$ac_ct_OTOOL64"; then
7216 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7235 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7236 if test -n "$ac_ct_OTOOL64"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7238 $as_echo "$ac_ct_OTOOL64" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7241 $as_echo "no
" >&6; }
7244 if test "x
$ac_ct_OTOOL64" = x; then
7247 case $cross_compiling:$ac_tool_warned in
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7250 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7251 ac_tool_warned=yes ;;
7253 OTOOL64=$ac_ct_OTOOL64
7256 OTOOL64="$ac_cv_prog_OTOOL64"
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7286 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7287 if ${lt_cv_apple_cc_single_mod+:} false; then :
7288 $as_echo_n "(cached
) " >&6
7290 lt_cv_apple_cc_single_mod=no
7291 if test -z "$LT_MULTI_MODULE"; then
7292 # By default we will add the -single_module flag. You can override
7293 # by either setting the environment variable LT_MULTI_MODULE
7294 # non-empty at configure time, or by adding -multi_module to the
7296 rm -rf libconftest.dylib*
7297 echo "int foo
(void
){return 1;}" > conftest.c
7298 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7299 -dynamiclib -Wl,-single_module conftest.c
" >&5
7300 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7301 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7303 # If there is a non-empty error log, and "single_module
"
7304 # appears in it, assume the flag caused a linker warning
7305 if test -s conftest.err && $GREP single_module conftest.err; then
7306 cat conftest.err >&5
7307 # Otherwise, if the output was created with a 0 exit code from
7308 # the compiler, it worked.
7309 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7310 lt_cv_apple_cc_single_mod=yes
7312 cat conftest.err >&5
7314 rm -rf libconftest.dylib*
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7319 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7322 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7323 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7324 $as_echo_n "(cached
) " >&6
7326 lt_cv_ld_exported_symbols_list=no
7327 save_LDFLAGS=$LDFLAGS
7328 echo "_main
" > conftest.sym
7329 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h. */
7341 if ac_fn_c_try_link "$LINENO"; then :
7342 lt_cv_ld_exported_symbols_list=yes
7344 lt_cv_ld_exported_symbols_list=no
7346 rm -f core conftest.err conftest.$ac_objext \
7347 conftest$ac_exeext conftest.$ac_ext
7348 LDFLAGS=$save_LDFLAGS
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7352 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7355 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7356 if ${lt_cv_ld_force_load+:} false; then :
7357 $as_echo_n "(cached
) " >&6
7359 lt_cv_ld_force_load=no
7360 cat > conftest.c << _LT_EOF
7361 int forced_loaded() { return 2;}
7363 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7364 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7365 echo "$AR cru libconftest.a conftest.o
" >&5
7366 $AR cru libconftest.a conftest.o 2>&5
7367 echo "$RANLIB libconftest.a
" >&5
7368 $RANLIB libconftest.a 2>&5
7369 cat > conftest.c << _LT_EOF
7370 int main() { return 0;}
7372 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7373 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7375 if test -s conftest.err && $GREP force_load conftest.err; then
7376 cat conftest.err >&5
7377 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7378 lt_cv_ld_force_load=yes
7380 cat conftest.err >&5
7382 rm -f conftest.err libconftest.a conftest conftest.c
7383 rm -rf conftest.dSYM
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7387 $as_echo "$lt_cv_ld_force_load" >&6; }
7389 rhapsody* | darwin1.[012])
7390 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7392 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7393 darwin*) # darwin 5.x on
7394 # if running on 10.5 or later, the deployment target defaults
7395 # to the OS version, if on x86, and 10.4, the deployment
7396 # target defaults to 10.4. Don't you love it?
7397 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7398 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7399 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7401 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7403 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7407 if test yes = "$lt_cv_apple_cc_single_mod"; then
7408 _lt_dar_single_mod='$single_module'
7410 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7411 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7413 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7415 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7416 _lt_dsymutil='~$DSYMUTIL $lib || :'
7423 # func_munge_path_list VARIABLE PATH
7424 # -----------------------------------
7425 # VARIABLE is name of variable containing _space_ separated list of
7426 # directories to be munged by the contents of PATH, which is string
7429 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7431 # string "DIR
[ DIR
]" will be appended to VARIABLE
7432 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7433 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7434 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7436 # VARIABLE will be replaced by "DIR
[ DIR
]"
7437 func_munge_path_list ()
7443 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7446 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7449 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7450 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7453 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7459 ac_cpp='$CPP $CPPFLAGS'
7460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7464 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7465 # On Suns, sometimes $CPP names a directory.
7466 if test -n "$CPP" && test -d "$CPP"; then
7469 if test -z "$CPP"; then
7470 if ${ac_cv_prog_CPP+:} false; then :
7471 $as_echo_n "(cached
) " >&6
7473 # Double quotes because CPP needs to be expanded
7474 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7477 for ac_c_preproc_warn_flag in '' yes
7479 # Use a header file that comes with gcc, so configuring glibc
7480 # with a fresh cross-compiler works.
7481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7482 # <limits.h> exists even on freestanding compilers.
7483 # On the NeXT, cc -E runs the code through the compiler's parser,
7484 # not just through cpp. "Syntax error
" is here to catch this case.
7485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7486 /* end confdefs.h. */
7488 # include <limits.h>
7490 # include <assert.h>
7494 if ac_fn_c_try_cpp "$LINENO"; then :
7497 # Broken: fails on valid input.
7500 rm -f conftest.err conftest.i conftest.$ac_ext
7502 # OK, works on sane cases. Now check whether nonexistent headers
7503 # can be detected and how.
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7506 #include <ac_nonexistent.h>
7508 if ac_fn_c_try_cpp "$LINENO"; then :
7509 # Broken: success on invalid input.
7512 # Passes both tests.
7516 rm -f conftest.err conftest.i conftest.$ac_ext
7519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7520 rm -f conftest.i conftest.err conftest.$ac_ext
7521 if $ac_preproc_ok; then :
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7534 $as_echo "$CPP" >&6; }
7536 for ac_c_preproc_warn_flag in '' yes
7538 # Use a header file that comes with gcc, so configuring glibc
7539 # with a fresh cross-compiler works.
7540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7541 # <limits.h> exists even on freestanding compilers.
7542 # On the NeXT, cc -E runs the code through the compiler's parser,
7543 # not just through cpp. "Syntax error
" is here to catch this case.
7544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h. */
7547 # include <limits.h>
7549 # include <assert.h>
7553 if ac_fn_c_try_cpp "$LINENO"; then :
7556 # Broken: fails on valid input.
7559 rm -f conftest.err conftest.i conftest.$ac_ext
7561 # OK, works on sane cases. Now check whether nonexistent headers
7562 # can be detected and how.
7563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7564 /* end confdefs.h. */
7565 #include <ac_nonexistent.h>
7567 if ac_fn_c_try_cpp "$LINENO"; then :
7568 # Broken: success on invalid input.
7571 # Passes both tests.
7575 rm -f conftest.err conftest.i conftest.$ac_ext
7578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7579 rm -f conftest.i conftest.err conftest.$ac_ext
7580 if $ac_preproc_ok; then :
7583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7585 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7586 See \`config.log' for more details
" "$LINENO" 5; }
7590 ac_cpp='$CPP $CPPFLAGS'
7591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7597 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7598 if ${ac_cv_header_stdc+:} false; then :
7599 $as_echo_n "(cached
) " >&6
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7616 if ac_fn_c_try_compile "$LINENO"; then :
7617 ac_cv_header_stdc=yes
7619 ac_cv_header_stdc=no
7621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7623 if test $ac_cv_header_stdc = yes; then
7624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7626 /* end confdefs.h. */
7630 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7631 $EGREP "memchr
" >/dev/null 2>&1; then :
7634 ac_cv_header_stdc=no
7640 if test $ac_cv_header_stdc = yes; then
7641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h. */
7647 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7648 $EGREP "free
" >/dev/null 2>&1; then :
7651 ac_cv_header_stdc=no
7657 if test $ac_cv_header_stdc = yes; then
7658 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7659 if test "$cross_compiling" = yes; then :
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7666 #if ((' ' & 0x0FF) == 0x020)
7667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7670 # define ISLOWER(c) \
7671 (('a' <= (c) && (c) <= 'i') \
7672 || ('j' <= (c) && (c) <= 'r') \
7673 || ('s' <= (c) && (c) <= 'z'))
7674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7682 for (i = 0; i < 256; i++)
7683 if (XOR (islower (i), ISLOWER (i))
7684 || toupper (i) != TOUPPER (i))
7689 if ac_fn_c_try_run "$LINENO"; then :
7692 ac_cv_header_stdc=no
7694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7695 conftest.$ac_objext conftest.beam conftest.$ac_ext
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7701 $as_echo "$ac_cv_header_stdc" >&6; }
7702 if test $ac_cv_header_stdc = yes; then
7704 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7709 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7710 inttypes.h stdint.h unistd.h
7712 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7713 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7715 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7716 cat >>confdefs.h
<<_ACEOF
7717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 for ac_header
in dlfcn.h
7727 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7729 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7730 cat >>confdefs.h
<<_ACEOF
7731 #define HAVE_DLFCN_H 1
7752 # Check whether --enable-shared was given.
7753 if test "${enable_shared+set}" = set; then :
7754 enableval
=$enable_shared; p
=${PACKAGE-default}
7756 yes) enable_shared
=yes ;;
7757 no
) enable_shared
=no
;;
7760 # Look at the argument we got. We use all the common list separators.
7761 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7762 for pkg
in $enableval; do
7764 if test "X$pkg" = "X$p"; then
7783 # Check whether --enable-static was given.
7784 if test "${enable_static+set}" = set; then :
7785 enableval
=$enable_static; p
=${PACKAGE-default}
7787 yes) enable_static
=yes ;;
7788 no
) enable_static
=no
;;
7791 # Look at the argument we got. We use all the common list separators.
7792 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7793 for pkg
in $enableval; do
7795 if test "X$pkg" = "X$p"; then
7815 # Check whether --with-pic was given.
7816 if test "${with_pic+set}" = set; then :
7817 withval
=$with_pic; lt_p
=${PACKAGE-default}
7819 yes|no
) pic_mode
=$withval ;;
7822 # Look at the argument we got. We use all the common list separators.
7823 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7824 for lt_pkg
in $withval; do
7826 if test "X$lt_pkg" = "X$lt_p"; then
7844 # Check whether --enable-fast-install was given.
7845 if test "${enable_fast_install+set}" = set; then :
7846 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7848 yes) enable_fast_install
=yes ;;
7849 no
) enable_fast_install
=no
;;
7851 enable_fast_install
=no
7852 # Look at the argument we got. We use all the common list separators.
7853 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7854 for pkg
in $enableval; do
7856 if test "X$pkg" = "X$p"; then
7857 enable_fast_install
=yes
7864 enable_fast_install
=yes
7874 shared_archive_member_spec
=
7875 case $host,$enable_shared in
7876 power
*-*-aix[5-9]*,yes)
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7878 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7880 # Check whether --with-aix-soname was given.
7881 if test "${with_aix_soname+set}" = set; then :
7882 withval
=$with_aix_soname; case $withval in
7886 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7889 lt_cv_with_aix_soname
=$with_aix_soname
7891 if ${lt_cv_with_aix_soname+:} false
; then :
7892 $as_echo_n "(cached) " >&6
7894 lt_cv_with_aix_soname
=aix
7897 with_aix_soname
=$lt_cv_with_aix_soname
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7901 $as_echo "$with_aix_soname" >&6; }
7902 if test aix
!= "$with_aix_soname"; then
7903 # For the AIX way of multilib, we name the shared archive member
7904 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7905 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7906 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7907 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7908 if test 64 = "${OBJECT_MODE-32}"; then
7909 shared_archive_member_spec
=shr_64
7911 shared_archive_member_spec
=shr
7929 # This can be used to rebuild libtool when needed
7930 LIBTOOL_DEPS
=$ltmain
7932 # Always use our own libtool.
7933 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7964 test -z "$LN_S" && LN_S
="ln -s"
7979 if test -n "${ZSH_VERSION+set}"; then
7980 setopt NO_GLOB_SUBST
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7984 $as_echo_n "checking for objdir... " >&6; }
7985 if ${lt_cv_objdir+:} false
; then :
7986 $as_echo_n "(cached) " >&6
7988 rm -f .libs
2>/dev
/null
7989 mkdir .libs
2>/dev
/null
7990 if test -d .libs
; then
7993 # MS-DOS does not allow filenames that begin with a dot.
7996 rmdir .libs
2>/dev
/null
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7999 $as_echo "$lt_cv_objdir" >&6; }
8000 objdir
=$lt_cv_objdir
8006 cat >>confdefs.h
<<_ACEOF
8007 #define LT_OBJDIR "$lt_cv_objdir/"
8015 # AIX sometimes has problems with the GCC collect2 program. For some
8016 # reason, if we set the COLLECT_NAMES environment variable, the problems
8017 # vanish in a puff of smoke.
8018 if test set != "${COLLECT_NAMES+set}"; then
8020 export COLLECT_NAMES
8027 can_build_shared
=yes
8029 # All known linkers require a '.a' archive for static linking (except MSVC,
8030 # which needs '.lib').
8033 with_gnu_ld
=$lt_cv_prog_gnu_ld
8038 # Set sane defaults for various variables
8039 test -z "$CC" && CC
=cc
8040 test -z "$LTCC" && LTCC
=$CC
8041 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8042 test -z "$LD" && LD
=ld
8043 test -z "$ac_objext" && ac_objext
=o
8045 func_cc_basename
$compiler
8046 cc_basename
=$func_cc_basename_result
8049 # Only perform the check for file, if the check method requires it
8050 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8051 case $deplibs_check_method in
8053 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8055 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8056 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8057 $as_echo_n "(cached) " >&6
8061 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8064 lt_save_MAGIC_CMD
=$MAGIC_CMD
8065 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8066 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8067 for ac_dir
in $ac_dummy; do
8069 test -z "$ac_dir" && ac_dir
=.
8070 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8071 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8072 if test -n "$file_magic_test_file"; then
8073 case $deplibs_check_method in
8075 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8076 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8077 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8078 $EGREP "$file_magic_regex" > /dev
/null
; then
8083 *** Warning: the command libtool uses to detect shared libraries,
8084 *** $file_magic_cmd, produces output that libtool cannot recognize.
8085 *** The result is that libtool may fail to recognize shared libraries
8086 *** as such. This will affect the creation of libtool libraries that
8087 *** depend on shared libraries, but programs linked with such libtool
8088 *** libraries will work regardless of this problem. Nevertheless, you
8089 *** may want to report the problem to your system manager and/or to
8090 *** bug-libtool@gnu.org
8100 MAGIC_CMD
=$lt_save_MAGIC_CMD
8105 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8106 if test -n "$MAGIC_CMD"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8108 $as_echo "$MAGIC_CMD" >&6; }
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111 $as_echo "no" >&6; }
8118 if test -z "$lt_cv_path_MAGIC_CMD"; then
8119 if test -n "$ac_tool_prefix"; then
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8121 $as_echo_n "checking for file... " >&6; }
8122 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8123 $as_echo_n "(cached) " >&6
8127 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8130 lt_save_MAGIC_CMD
=$MAGIC_CMD
8131 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8132 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8133 for ac_dir
in $ac_dummy; do
8135 test -z "$ac_dir" && ac_dir
=.
8136 if test -f "$ac_dir/file"; then
8137 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8138 if test -n "$file_magic_test_file"; then
8139 case $deplibs_check_method in
8141 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8142 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8143 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8144 $EGREP "$file_magic_regex" > /dev
/null
; then
8149 *** Warning: the command libtool uses to detect shared libraries,
8150 *** $file_magic_cmd, produces output that libtool cannot recognize.
8151 *** The result is that libtool may fail to recognize shared libraries
8152 *** as such. This will affect the creation of libtool libraries that
8153 *** depend on shared libraries, but programs linked with such libtool
8154 *** libraries will work regardless of this problem. Nevertheless, you
8155 *** may want to report the problem to your system manager and/or to
8156 *** bug-libtool@gnu.org
8166 MAGIC_CMD
=$lt_save_MAGIC_CMD
8171 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8172 if test -n "$MAGIC_CMD"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8174 $as_echo "$MAGIC_CMD" >&6; }
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8190 # Use C for the default configuration in the libtool script
8194 ac_cpp
='$CPP $CPPFLAGS'
8195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8200 # Source file extension for C test sources.
8203 # Object file extension for compiled C test sources.
8207 # Code to be used in simple compile tests
8208 lt_simple_compile_test_code
="int some_variable = 0;"
8210 # Code to be used in simple link tests
8211 lt_simple_link_test_code
='int main(){return(0);}'
8219 # If no C compiler was specified, use CC.
8222 # If no C compiler flags were specified, use CFLAGS.
8223 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8225 # Allow CC to be a program name with arguments.
8228 # Save the default compiler, since it gets overwritten when the other
8229 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8230 compiler_DEFAULT
=$CC
8232 # save warnings/boilerplate of simple test code
8233 ac_outfile
=conftest.
$ac_objext
8234 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8235 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8236 _lt_compiler_boilerplate
=`cat conftest.err`
8239 ac_outfile
=conftest.
$ac_objext
8240 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8241 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8242 _lt_linker_boilerplate
=`cat conftest.err`
8246 if test -n "$compiler"; then
8248 lt_prog_compiler_no_builtin_flag
=
8250 if test yes = "$GCC"; then
8251 case $cc_basename in
8253 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8255 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8259 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8260 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8261 $as_echo_n "(cached) " >&6
8263 lt_cv_prog_compiler_rtti_exceptions
=no
8264 ac_outfile
=conftest.
$ac_objext
8265 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8266 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8267 # Insert the option either (1) after the last *FLAGS variable, or
8268 # (2) before a word containing "conftest.", or (3) at the end.
8269 # Note that $ac_compile itself does not contain backslashes and begins
8270 # with a dollar sign (not a hyphen), so the echo should work correctly.
8271 # The option is referenced via a variable to avoid confusing sed.
8272 lt_compile
=`echo "$ac_compile" | $SED \
8273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8275 -e 's:$: $lt_compiler_flag:'`
8276 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8277 (eval "$lt_compile" 2>conftest.err
)
8279 cat conftest.err
>&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 if (exit $ac_status) && test -s "$ac_outfile"; then
8282 # The compiler can only warn and ignore the option if not recognized
8283 # So say no if there are warnings other than the usual output.
8284 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8285 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8286 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8287 lt_cv_prog_compiler_rtti_exceptions
=yes
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8294 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8296 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8297 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8309 lt_prog_compiler_wl
=
8310 lt_prog_compiler_pic
=
8311 lt_prog_compiler_static
=
8314 if test yes = "$GCC"; then
8315 lt_prog_compiler_wl
='-Wl,'
8316 lt_prog_compiler_static
='-static'
8320 # All AIX code is PIC.
8321 if test ia64
= "$host_cpu"; then
8322 # AIX 5 now supports IA64 processor
8323 lt_prog_compiler_static
='-Bstatic'
8325 lt_prog_compiler_pic
='-fPIC'
8331 # see comment about AmigaOS4 .so support
8332 lt_prog_compiler_pic
='-fPIC'
8335 # FIXME: we need at least 68020 code to build shared libraries, but
8336 # adding the '-m68020' flag to GCC prevents building anything better,
8338 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8343 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8344 # PIC is the default for these OSes.
8347 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8348 # This hack is so that the source file can tell whether it is being
8349 # built for inclusion in a dll (and should export symbols for example).
8350 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8351 # (--disable-auto-import) libraries
8352 lt_prog_compiler_pic
='-DDLL_EXPORT'
8355 lt_prog_compiler_static
='$wl-static'
8360 darwin
* | rhapsody
*)
8361 # PIC is the default on this platform
8362 # Common symbols not allowed in MH_DYLIB files
8363 lt_prog_compiler_pic
='-fno-common'
8367 # PIC is the default for Haiku.
8368 # The "-static" flag exists, but is broken.
8369 lt_prog_compiler_static
=
8373 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8374 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8375 # sets the default TLS model and affects inlining.
8381 lt_prog_compiler_pic
='-fPIC'
8387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8388 # Instead, we relocate shared libraries at runtime.
8392 # Just because we use GCC doesn't mean we suddenly get shared libraries
8393 # on systems that don't support them.
8394 lt_prog_compiler_can_build_shared
=no
8399 # QNX uses GNU C++, but need to define -shared option too, otherwise
8401 lt_prog_compiler_pic
='-fPIC -shared'
8405 if test -d /usr
/nec
; then
8406 lt_prog_compiler_pic
=-Kconform_pic
8411 lt_prog_compiler_pic
='-fPIC'
8415 case $cc_basename in
8416 nvcc
*) # Cuda Compiler Driver 2.2
8417 lt_prog_compiler_wl
='-Xlinker '
8418 if test -n "$lt_prog_compiler_pic"; then
8419 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8424 # PORTME Check for flag to pass linker flags through the system compiler.
8427 lt_prog_compiler_wl
='-Wl,'
8428 if test ia64
= "$host_cpu"; then
8429 # AIX 5 now supports IA64 processor
8430 lt_prog_compiler_static
='-Bstatic'
8432 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8436 darwin
* | rhapsody
*)
8437 # PIC is the default on this platform
8438 # Common symbols not allowed in MH_DYLIB files
8439 lt_prog_compiler_pic
='-fno-common'
8440 case $cc_basename in
8442 # NAG Fortran compiler
8443 lt_prog_compiler_wl
='-Wl,-Wl,,'
8444 lt_prog_compiler_pic
='-PIC'
8445 lt_prog_compiler_static
='-Bstatic'
8450 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8451 # This hack is so that the source file can tell whether it is being
8452 # built for inclusion in a dll (and should export symbols for example).
8453 lt_prog_compiler_pic
='-DDLL_EXPORT'
8456 lt_prog_compiler_static
='$wl-static'
8461 hpux9
* | hpux10
* | hpux11
*)
8462 lt_prog_compiler_wl
='-Wl,'
8463 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8470 lt_prog_compiler_pic
='+Z'
8473 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8474 lt_prog_compiler_static
='$wl-a ${wl}archive'
8477 irix5
* | irix6
* | nonstopux
*)
8478 lt_prog_compiler_wl
='-Wl,'
8479 # PIC (with -KPIC) is the default.
8480 lt_prog_compiler_static
='-non_shared'
8483 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8484 case $cc_basename in
8485 # old Intel for x86_64, which still supported -KPIC.
8487 lt_prog_compiler_wl
='-Wl,'
8488 lt_prog_compiler_pic
='-KPIC'
8489 lt_prog_compiler_static
='-static'
8491 # icc used to be incompatible with GCC.
8492 # ICC 10 doesn't accept -KPIC any more.
8494 lt_prog_compiler_wl
='-Wl,'
8495 lt_prog_compiler_pic
='-fPIC'
8496 lt_prog_compiler_static
='-static'
8498 # Lahey Fortran 8.1.
8500 lt_prog_compiler_wl
='-Wl,'
8501 lt_prog_compiler_pic
='--shared'
8502 lt_prog_compiler_static
='--static'
8505 # NAG Fortran compiler
8506 lt_prog_compiler_wl
='-Wl,-Wl,,'
8507 lt_prog_compiler_pic
='-PIC'
8508 lt_prog_compiler_static
='-Bstatic'
8511 # Fabrice Bellard et al's Tiny C Compiler
8512 lt_prog_compiler_wl
='-Wl,'
8513 lt_prog_compiler_pic
='-fPIC'
8514 lt_prog_compiler_static
='-static'
8516 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8517 # Portland Group compilers (*not* the Pentium gcc compiler,
8518 # which looks to be a dead project)
8519 lt_prog_compiler_wl
='-Wl,'
8520 lt_prog_compiler_pic
='-fpic'
8521 lt_prog_compiler_static
='-Bstatic'
8524 lt_prog_compiler_wl
='-Wl,'
8525 # All Alpha code is PIC.
8526 lt_prog_compiler_static
='-non_shared'
8528 xl
* | bgxl
* | bgf
* | mpixl
*)
8529 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8530 lt_prog_compiler_wl
='-Wl,'
8531 lt_prog_compiler_pic
='-qpic'
8532 lt_prog_compiler_static
='-qstaticlink'
8535 case `$CC -V 2>&1 | sed 5q` in
8536 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8537 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8538 lt_prog_compiler_pic
='-KPIC'
8539 lt_prog_compiler_static
='-Bstatic'
8540 lt_prog_compiler_wl
=''
8542 *Sun\ F
* |
*Sun
*Fortran
*)
8543 lt_prog_compiler_pic
='-KPIC'
8544 lt_prog_compiler_static
='-Bstatic'
8545 lt_prog_compiler_wl
='-Qoption ld '
8549 lt_prog_compiler_pic
='-KPIC'
8550 lt_prog_compiler_static
='-Bstatic'
8551 lt_prog_compiler_wl
='-Wl,'
8553 *Intel
*\
[CF
]*Compiler
*)
8554 lt_prog_compiler_wl
='-Wl,'
8555 lt_prog_compiler_pic
='-fPIC'
8556 lt_prog_compiler_static
='-static'
8559 lt_prog_compiler_wl
='-Wl,'
8560 lt_prog_compiler_pic
='-fpic'
8561 lt_prog_compiler_static
='-Bstatic'
8569 lt_prog_compiler_pic
='-KPIC'
8570 lt_prog_compiler_static
='-Bstatic'
8574 # QNX uses GNU C++, but need to define -shared option too, otherwise
8576 lt_prog_compiler_pic
='-fPIC -shared'
8579 osf3
* | osf4
* | osf5
*)
8580 lt_prog_compiler_wl
='-Wl,'
8581 # All OSF/1 code is PIC.
8582 lt_prog_compiler_static
='-non_shared'
8586 lt_prog_compiler_static
='-non_shared'
8590 lt_prog_compiler_pic
='-KPIC'
8591 lt_prog_compiler_static
='-Bstatic'
8592 case $cc_basename in
8593 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8594 lt_prog_compiler_wl
='-Qoption ld ';;
8596 lt_prog_compiler_wl
='-Wl,';;
8601 lt_prog_compiler_wl
='-Qoption ld '
8602 lt_prog_compiler_pic
='-PIC'
8603 lt_prog_compiler_static
='-Bstatic'
8606 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8607 lt_prog_compiler_wl
='-Wl,'
8608 lt_prog_compiler_pic
='-KPIC'
8609 lt_prog_compiler_static
='-Bstatic'
8613 if test -d /usr
/nec
; then
8614 lt_prog_compiler_pic
='-Kconform_pic'
8615 lt_prog_compiler_static
='-Bstatic'
8619 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8620 lt_prog_compiler_wl
='-Wl,'
8621 lt_prog_compiler_pic
='-KPIC'
8622 lt_prog_compiler_static
='-Bstatic'
8626 lt_prog_compiler_wl
='-Wl,'
8627 lt_prog_compiler_can_build_shared
=no
8631 lt_prog_compiler_pic
='-pic'
8632 lt_prog_compiler_static
='-Bstatic'
8636 lt_prog_compiler_can_build_shared
=no
8642 # For platforms that do not support PIC, -DPIC is meaningless:
8644 lt_prog_compiler_pic
=
8647 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8652 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8653 if ${lt_cv_prog_compiler_pic+:} false
; then :
8654 $as_echo_n "(cached) " >&6
8656 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8659 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8660 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8663 # Check to make sure the PIC flag actually works.
8665 if test -n "$lt_prog_compiler_pic"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8667 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8668 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8669 $as_echo_n "(cached) " >&6
8671 lt_cv_prog_compiler_pic_works
=no
8672 ac_outfile
=conftest.
$ac_objext
8673 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8674 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8675 # Insert the option either (1) after the last *FLAGS variable, or
8676 # (2) before a word containing "conftest.", or (3) at the end.
8677 # Note that $ac_compile itself does not contain backslashes and begins
8678 # with a dollar sign (not a hyphen), so the echo should work correctly.
8679 # The option is referenced via a variable to avoid confusing sed.
8680 lt_compile
=`echo "$ac_compile" | $SED \
8681 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8683 -e 's:$: $lt_compiler_flag:'`
8684 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8685 (eval "$lt_compile" 2>conftest.err
)
8687 cat conftest.err
>&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 if (exit $ac_status) && test -s "$ac_outfile"; then
8690 # The compiler can only warn and ignore the option if not recognized
8691 # So say no if there are warnings other than the usual output.
8692 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8693 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8694 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8695 lt_cv_prog_compiler_pic_works
=yes
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8702 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8704 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8705 case $lt_prog_compiler_pic in
8707 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8710 lt_prog_compiler_pic
=
8711 lt_prog_compiler_can_build_shared
=no
8727 # Check to make sure the static flag actually works.
8729 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8731 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8732 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8733 $as_echo_n "(cached) " >&6
8735 lt_cv_prog_compiler_static_works
=no
8736 save_LDFLAGS
=$LDFLAGS
8737 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8738 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8739 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8740 # The linker can only warn and ignore the option if not recognized
8741 # So say no if there are warnings
8742 if test -s conftest.err
; then
8743 # Append any errors to the config.log.
8744 cat conftest.err
1>&5
8745 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8746 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8747 if diff conftest.exp conftest.er2
>/dev
/null
; then
8748 lt_cv_prog_compiler_static_works
=yes
8751 lt_cv_prog_compiler_static_works
=yes
8755 LDFLAGS
=$save_LDFLAGS
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8759 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8761 if test yes = "$lt_cv_prog_compiler_static_works"; then
8764 lt_prog_compiler_static
=
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8774 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8775 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8776 $as_echo_n "(cached) " >&6
8778 lt_cv_prog_compiler_c_o
=no
8779 $RM -r conftest
2>/dev
/null
8783 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8785 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8786 # Insert the option either (1) after the last *FLAGS variable, or
8787 # (2) before a word containing "conftest.", or (3) at the end.
8788 # Note that $ac_compile itself does not contain backslashes and begins
8789 # with a dollar sign (not a hyphen), so the echo should work correctly.
8790 lt_compile
=`echo "$ac_compile" | $SED \
8791 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8793 -e 's:$: $lt_compiler_flag:'`
8794 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8795 (eval "$lt_compile" 2>out
/conftest.err
)
8797 cat out
/conftest.err
>&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8801 # The compiler can only warn and ignore the option if not recognized
8802 # So say no if there are warnings
8803 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8804 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8805 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8806 lt_cv_prog_compiler_c_o
=yes
8811 # SGI C++ compiler will create directory out/ii_files/ for
8812 # template instantiation
8813 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8814 $RM out
/* && rmdir out
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8821 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8829 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8830 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8831 $as_echo_n "(cached) " >&6
8833 lt_cv_prog_compiler_c_o
=no
8834 $RM -r conftest
2>/dev
/null
8838 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8840 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8841 # Insert the option either (1) after the last *FLAGS variable, or
8842 # (2) before a word containing "conftest.", or (3) at the end.
8843 # Note that $ac_compile itself does not contain backslashes and begins
8844 # with a dollar sign (not a hyphen), so the echo should work correctly.
8845 lt_compile
=`echo "$ac_compile" | $SED \
8846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8848 -e 's:$: $lt_compiler_flag:'`
8849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8850 (eval "$lt_compile" 2>out
/conftest.err
)
8852 cat out
/conftest.err
>&5
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8856 # The compiler can only warn and ignore the option if not recognized
8857 # So say no if there are warnings
8858 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8859 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8860 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8861 lt_cv_prog_compiler_c_o
=yes
8866 # SGI C++ compiler will create directory out/ii_files/ for
8867 # template instantiation
8868 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8869 $RM out
/* && rmdir out
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8876 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8881 hard_links
=nottested
8882 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8883 # do not overwrite the value of need_locks provided by the user
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8885 $as_echo_n "checking if we can lock with hard links... " >&6; }
8888 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8890 ln conftest.a conftest.b
2>&5 || hard_links
=no
8891 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8893 $as_echo "$hard_links" >&6; }
8894 if test no
= "$hard_links"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8896 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8909 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8912 allow_undefined_flag
=
8913 always_export_symbols
=no
8915 archive_expsym_cmds
=
8916 compiler_needs_object
=no
8917 enable_shared_with_static_runtimes
=no
8918 export_dynamic_flag_spec
=
8919 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8920 hardcode_automatic
=no
8922 hardcode_direct_absolute
=no
8923 hardcode_libdir_flag_spec
=
8924 hardcode_libdir_separator
=
8926 hardcode_shlibpath_var
=unsupported
8928 link_all_deplibs
=unknown
8931 old_archive_from_new_cmds
=
8932 old_archive_from_expsyms_cmds
=
8933 thread_safe_flag_spec
=
8934 whole_archive_flag_spec
=
8935 # include_expsyms should be a list of space-separated symbols to be *always*
8936 # included in the symbol list
8938 # exclude_expsyms can be an extended regexp of symbols to exclude
8939 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8940 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8941 # as well as any symbol that contains 'd'.
8942 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8943 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8944 # platforms (ab)use it in PIC code, but their linkers get confused if
8945 # the symbol is explicitly referenced. Since portable code cannot
8946 # rely on this symbol name, it's probably fine to never include it in
8947 # preloaded symbol tables.
8948 # Exclude shared library initialization/finalization symbols.
8949 extract_expsyms_cmds
=
8952 cygwin
* | mingw
* | pw32
* | cegcc
*)
8953 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8954 # When not using gcc, we currently assume that we are using
8955 # Microsoft Visual C++.
8956 if test yes != "$GCC"; then
8961 # we just hope/assume this is gcc and not c89 (= MSVC++)
8971 # On some targets, GNU ld is compatible enough with the native linker
8972 # that we're better off using the native interface for both.
8973 lt_use_gnu_ld_interface
=no
8974 if test yes = "$with_gnu_ld"; then
8977 # The AIX port of GNU ld has always aspired to compatibility
8978 # with the native linker. However, as the warning in the GNU ld
8979 # block says, versions before 2.19.5* couldn't really create working
8980 # shared libraries, regardless of the interface used.
8981 case `$LD -v 2>&1` in
8982 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8983 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8984 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8986 lt_use_gnu_ld_interface
=yes
8991 lt_use_gnu_ld_interface
=yes
8996 if test yes = "$lt_use_gnu_ld_interface"; then
8997 # If archive_cmds runs LD, not CC, wlarc should be empty
9000 # Set some defaults for GNU ld with shared library support. These
9001 # are reset later if shared libraries are not supported. Putting them
9002 # here allows them to be overridden if necessary.
9003 runpath_var
=LD_RUN_PATH
9004 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9005 export_dynamic_flag_spec
='$wl--export-dynamic'
9006 # ancient GNU ld didn't support --whole-archive et. al.
9007 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9008 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9010 whole_archive_flag_spec
=
9012 supports_anon_versioning
=no
9013 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9014 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9015 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9016 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9017 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9018 *\
2.11.
*) ;; # other 2.11 versions
9019 *) supports_anon_versioning
=yes ;;
9022 # See if GNU ld supports shared libraries.
9025 # On AIX/PPC, the GNU linker is very broken
9026 if test ia64
!= "$host_cpu"; then
9030 *** Warning: the GNU linker, at least up to release 2.19, is reported
9031 *** to be unable to reliably create shared libraries on AIX.
9032 *** Therefore, libtool is disabling shared libraries support. If you
9033 *** really care for shared libraries, you may want to install binutils
9034 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9035 *** You will then need to restart the configuration process.
9044 # see comment about AmigaOS4 .so support
9045 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9046 archive_expsym_cmds
=''
9049 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)'
9050 hardcode_libdir_flag_spec
='-L$libdir'
9051 hardcode_minus_L
=yes
9057 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9058 allow_undefined_flag
=unsupported
9059 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9060 # support --undefined. This deserves some investigation. FIXME
9061 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9067 cygwin
* | mingw
* | pw32
* | cegcc
*)
9068 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9069 # as there is no search path for DLLs.
9070 hardcode_libdir_flag_spec
='-L$libdir'
9071 export_dynamic_flag_spec
='$wl--export-all-symbols'
9072 allow_undefined_flag
=unsupported
9073 always_export_symbols
=no
9074 enable_shared_with_static_runtimes
=yes
9075 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'
9076 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9078 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9079 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9080 # If the export-symbols file already is a .def file, use it as
9081 # is; otherwise, prepend EXPORTS...
9082 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9083 cp $export_symbols $output_objdir/$soname.def;
9085 echo EXPORTS > $output_objdir/$soname.def;
9086 cat $export_symbols >> $output_objdir/$soname.def;
9088 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9095 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9096 link_all_deplibs
=yes
9100 hardcode_libdir_flag_spec
='-L$libdir'
9101 hardcode_minus_L
=yes
9102 allow_undefined_flag
=unsupported
9104 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9105 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9106 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9107 $ECHO EXPORTS >> $output_objdir/$libname.def~
9108 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9109 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9110 emximp -o $lib $output_objdir/$libname.def'
9111 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9112 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9113 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9114 $ECHO EXPORTS >> $output_objdir/$libname.def~
9116 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9117 prefix_cmds="$prefix_cmds -e 1d";
9119 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9120 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9121 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9122 emximp -o $lib $output_objdir/$libname.def'
9123 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9124 enable_shared_with_static_runtimes
=yes
9129 hardcode_shlibpath_var
=no
9130 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9131 export_dynamic_flag_spec
='$wl-E'
9132 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9133 # Instead, shared libraries are loaded at an image base (0x10000000 by
9134 # default) and relocated if they conflict, which is a slow very memory
9135 # consuming and fragmenting process. To avoid this, we pick a random,
9136 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9137 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9138 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9139 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'
9142 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9144 if test linux-dietlibc
= "$host_os"; then
9145 case $cc_basename in
9146 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9149 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9150 && test no
= "$tmp_diet"
9152 tmp_addflag
=' $pic_flag'
9153 tmp_sharedflag
='-shared'
9154 case $cc_basename,$host_cpu in
9155 pgcc
*) # Portland Group C compiler
9156 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'
9157 tmp_addflag
=' $pic_flag'
9159 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9160 # Portland Group f77 and f90 compilers
9161 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'
9162 tmp_addflag
=' $pic_flag -Mnomain' ;;
9163 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9164 tmp_addflag
=' -i_dynamic' ;;
9165 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9166 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9167 ifc
* | ifort
*) # Intel Fortran compiler
9168 tmp_addflag
=' -nofor_main' ;;
9169 lf95
*) # Lahey Fortran 8.1
9170 whole_archive_flag_spec
=
9171 tmp_sharedflag
='--shared' ;;
9172 nagfor
*) # NAGFOR 5.3
9173 tmp_sharedflag
='-Wl,-shared' ;;
9174 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9175 tmp_sharedflag
='-qmkshrobj'
9177 nvcc
*) # Cuda Compiler Driver 2.2
9178 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'
9179 compiler_needs_object
=yes
9182 case `$CC -V 2>&1 | sed 5q` in
9183 *Sun\ C
*) # Sun C 5.9
9184 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'
9185 compiler_needs_object
=yes
9186 tmp_sharedflag
='-G' ;;
9187 *Sun\ F
*) # Sun Fortran 8.3
9188 tmp_sharedflag
='-G' ;;
9190 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9192 if test yes = "$supports_anon_versioning"; then
9193 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9194 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9195 echo "local: *; };" >> $output_objdir/$libname.ver~
9196 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9199 case $cc_basename in
9201 export_dynamic_flag_spec
='-rdynamic'
9203 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9204 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9205 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9206 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9207 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9208 if test yes = "$supports_anon_versioning"; then
9209 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9210 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9211 echo "local: *; };" >> $output_objdir/$libname.ver~
9212 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9222 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9223 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9226 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9227 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9232 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9236 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9237 *** create shared libraries on Solaris systems. Therefore, libtool
9238 *** is disabling shared libraries support. We urge you to upgrade GNU
9239 *** binutils to release 2.9.1 or newer. Another option is to modify
9240 *** your PATH or compiler configuration so that the native linker is
9241 *** used, and then restart.
9244 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9245 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9246 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9252 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9253 case `$LD -v 2>&1` in
9254 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9258 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9259 *** reliably create shared libraries on SCO systems. Therefore, libtool
9260 *** is disabling shared libraries support. We urge you to upgrade GNU
9261 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9262 *** your PATH or compiler configuration so that the native linker is
9263 *** used, and then restart.
9268 # For security reasons, it is highly recommended that you always
9269 # use absolute paths for naming shared libraries, and exclude the
9270 # DT_RUNPATH tag from executables and libraries. But doing so
9271 # requires that you compile everything twice, which is a pain.
9272 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9273 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9274 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9275 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9284 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9287 hardcode_shlibpath_var
=no
9291 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9292 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9293 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9300 if test no
= "$ld_shlibs"; then
9302 hardcode_libdir_flag_spec
=
9303 export_dynamic_flag_spec
=
9304 whole_archive_flag_spec
=
9307 # PORTME fill in a description of your system's linker (not GNU ld)
9310 allow_undefined_flag
=unsupported
9311 always_export_symbols
=yes
9312 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'
9313 # Note: this linker hardcodes the directories in LIBPATH if there
9314 # are no directories specified by -L.
9315 hardcode_minus_L
=yes
9316 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9317 # Neither direct hardcoding nor static linking is supported with a
9319 hardcode_direct
=unsupported
9324 if test ia64
= "$host_cpu"; then
9325 # On IA64, the linker does run time linking by default, so we don't
9326 # have to do anything special.
9327 aix_use_runtimelinking
=no
9328 exp_sym_flag
='-Bexport'
9331 # If we're using GNU nm, then we don't want the "-C" option.
9332 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9333 # Without the "-l" option, or with the "-B" option, AIX nm treats
9334 # weak defined symbols like other global defined symbols, whereas
9335 # GNU nm marks them as "W".
9336 # While the 'weak' keyword is ignored in the Export File, we need
9337 # it in the Import File for the 'aix-soname' feature, so we have
9338 # to replace the "-B" option with "-P" for AIX nm.
9339 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9340 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9342 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9344 aix_use_runtimelinking
=no
9346 # Test if we are trying to use run time linking or normal
9347 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9348 # have runtime linking enabled, and use it for executables.
9349 # For shared libraries, we enable/disable runtime linking
9350 # depending on the kind of the shared library created -
9351 # when "with_aix_soname,aix_use_runtimelinking" is:
9352 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9353 # "aix,yes" lib.so shared, rtl:yes, for executables
9354 # lib.a static archive
9355 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9356 # lib.a(lib.so.V) shared, rtl:no, for executables
9357 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9358 # lib.a(lib.so.V) shared, rtl:no
9359 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9360 # lib.a static archive
9361 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9362 for ld_flag
in $LDFLAGS; do
9363 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9364 aix_use_runtimelinking
=yes
9368 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9369 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9370 # so we don't have lib.a shared libs to link our executables.
9371 # We have to force runtime linking in this case.
9372 aix_use_runtimelinking
=yes
9373 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9378 exp_sym_flag
='-bexport'
9379 no_entry_flag
='-bnoentry'
9382 # When large executables or shared objects are built, AIX ld can
9383 # have problems creating the table of contents. If linking a library
9384 # or program results in "error TOC overflow" add -mminimal-toc to
9385 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9386 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9390 hardcode_direct_absolute
=yes
9391 hardcode_libdir_separator
=':'
9392 link_all_deplibs
=yes
9393 file_list_spec
='$wl-f,'
9394 case $with_aix_soname,$aix_use_runtimelinking in
9395 aix
,*) ;; # traditional, no import file
9396 svr4
,* |
*,yes) # use import file
9397 # The Import File defines what to hardcode.
9399 hardcode_direct_absolute
=no
9403 if test yes = "$GCC"; then
9404 case $host_os in aix4.
[012]|aix4.
[012].
*)
9405 # We only want to do this on AIX 4.2 and lower, the check
9406 # below for broken collect2 doesn't work under 4.3+
9407 collect2name
=`$CC -print-prog-name=collect2`
9408 if test -f "$collect2name" &&
9409 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9411 # We have reworked collect2
9414 # We have old collect2
9415 hardcode_direct
=unsupported
9416 # It fails to find uninstalled libraries when the uninstalled
9417 # path is not listed in the libpath. Setting hardcode_minus_L
9418 # to unsupported forces relinking
9419 hardcode_minus_L
=yes
9420 hardcode_libdir_flag_spec
='-L$libdir'
9421 hardcode_libdir_separator
=
9425 shared_flag
='-shared'
9426 if test yes = "$aix_use_runtimelinking"; then
9427 shared_flag
="$shared_flag "'$wl-G'
9429 # Need to ensure runtime linking is disabled for the traditional
9430 # shared library, or the linker may eventually find shared libraries
9431 # /with/ Import File - we do not want to mix them.
9432 shared_flag_aix
='-shared'
9433 shared_flag_svr4
='-shared $wl-G'
9436 if test ia64
= "$host_cpu"; then
9437 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9438 # chokes on -Wl,-G. The following line is correct:
9441 if test yes = "$aix_use_runtimelinking"; then
9444 shared_flag
='$wl-bM:SRE'
9446 shared_flag_aix
='$wl-bM:SRE'
9447 shared_flag_svr4
='$wl-G'
9451 export_dynamic_flag_spec
='$wl-bexpall'
9452 # It seems that -bexpall does not export symbols beginning with
9453 # underscore (_), so it is better to generate a list of symbols to export.
9454 always_export_symbols
=yes
9455 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9456 # Warning - without using the other runtime loading flags (-brtl),
9457 # -berok will link without error, but may produce a broken library.
9458 allow_undefined_flag
='-berok'
9459 # Determine the default libpath from the value encoded in an
9461 if test set = "${lt_cv_aix_libpath+set}"; then
9462 aix_libpath
=$lt_cv_aix_libpath
9464 if ${lt_cv_aix_libpath_+:} false
; then :
9465 $as_echo_n "(cached) " >&6
9467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9478 if ac_fn_c_try_link
"$LINENO"; then :
9480 lt_aix_libpath_sed
='
9481 /Import File Strings/,/^$/ {
9483 s/^0 *\([^ ]*\) *$/\1/
9487 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9488 # Check for a 64-bit object if we didn't find anything.
9489 if test -z "$lt_cv_aix_libpath_"; then
9490 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9493 rm -f core conftest.err conftest.
$ac_objext \
9494 conftest
$ac_exeext conftest.
$ac_ext
9495 if test -z "$lt_cv_aix_libpath_"; then
9496 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9501 aix_libpath
=$lt_cv_aix_libpath_
9504 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9505 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
9507 if test ia64
= "$host_cpu"; then
9508 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9509 allow_undefined_flag
="-z nodefs"
9510 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"
9512 # Determine the default libpath from the value encoded in an
9514 if test set = "${lt_cv_aix_libpath+set}"; then
9515 aix_libpath
=$lt_cv_aix_libpath
9517 if ${lt_cv_aix_libpath_+:} false
; then :
9518 $as_echo_n "(cached) " >&6
9520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9531 if ac_fn_c_try_link
"$LINENO"; then :
9533 lt_aix_libpath_sed
='
9534 /Import File Strings/,/^$/ {
9536 s/^0 *\([^ ]*\) *$/\1/
9540 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 # Check for a 64-bit object if we didn't find anything.
9542 if test -z "$lt_cv_aix_libpath_"; then
9543 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 rm -f core conftest.err conftest.
$ac_objext \
9547 conftest
$ac_exeext conftest.
$ac_ext
9548 if test -z "$lt_cv_aix_libpath_"; then
9549 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9554 aix_libpath
=$lt_cv_aix_libpath_
9557 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9558 # Warning - without using the other run time loading flags,
9559 # -berok will link without error, but may produce a broken library.
9560 no_undefined_flag
=' $wl-bernotok'
9561 allow_undefined_flag
=' $wl-berok'
9562 if test yes = "$with_gnu_ld"; then
9563 # We only use this code for GNU lds that support --whole-archive.
9564 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9566 # Exported symbols can be pulled into shared objects from archives
9567 whole_archive_flag_spec
='$convenience'
9569 archive_cmds_need_lc
=yes
9570 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9571 # -brtl affects multiple linker settings, -berok does not and is overridden later
9572 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9573 if test svr4
!= "$with_aix_soname"; then
9574 # This is similar to how AIX traditionally builds its shared libraries.
9575 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9577 if test aix
!= "$with_aix_soname"; then
9578 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9580 # used by -dlpreopen to get the symbols
9581 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9583 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9591 # see comment about AmigaOS4 .so support
9592 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9593 archive_expsym_cmds
=''
9596 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)'
9597 hardcode_libdir_flag_spec
='-L$libdir'
9598 hardcode_minus_L
=yes
9604 export_dynamic_flag_spec
=-rdynamic
9607 cygwin
* | mingw
* | pw32
* | cegcc
*)
9608 # When not using gcc, we currently assume that we are using
9609 # Microsoft Visual C++.
9610 # hardcode_libdir_flag_spec is actually meaningless, as there is
9611 # no search path for DLLs.
9612 case $cc_basename in
9615 hardcode_libdir_flag_spec
=' '
9616 allow_undefined_flag
=unsupported
9617 always_export_symbols
=yes
9619 # Tell ltmain to make .lib files, not .a files.
9621 # Tell ltmain to make .dll files, not .so files.
9623 # FIXME: Setting linknames here is a bad hack.
9624 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9625 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9626 cp "$export_symbols" "$output_objdir/$soname.def";
9627 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9629 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9631 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9633 # The linker will not automatically build a static lib if we build a DLL.
9634 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9635 enable_shared_with_static_runtimes
=yes
9636 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9637 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9639 old_postinstall_cmds
='chmod 644 $oldlib'
9640 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9641 lt_tool_outputfile="@TOOL_OUTPUT@"~
9642 case $lt_outputfile in
9645 lt_outputfile=$lt_outputfile.exe
9646 lt_tool_outputfile=$lt_tool_outputfile.exe
9649 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9650 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9651 $RM "$lt_outputfile.manifest";
9655 # Assume MSVC wrapper
9656 hardcode_libdir_flag_spec
=' '
9657 allow_undefined_flag
=unsupported
9658 # Tell ltmain to make .lib files, not .a files.
9660 # Tell ltmain to make .dll files, not .so files.
9662 # FIXME: Setting linknames here is a bad hack.
9663 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9664 # The linker will automatically build a .lib file if we build a DLL.
9665 old_archive_from_new_cmds
='true'
9666 # FIXME: Should let the user specify the lib program.
9667 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9668 enable_shared_with_static_runtimes
=yes
9673 darwin
* | rhapsody
*)
9676 archive_cmds_need_lc
=no
9678 hardcode_automatic
=yes
9679 hardcode_shlibpath_var
=unsupported
9680 if test yes = "$lt_cv_ld_force_load"; then
9681 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\"`'
9684 whole_archive_flag_spec
=''
9686 link_all_deplibs
=yes
9687 allow_undefined_flag
=$_lt_dar_allow_undefined
9688 case $cc_basename in
9689 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9690 *) _lt_dar_can_shared
=$GCC ;;
9692 if test yes = "$_lt_dar_can_shared"; then
9693 output_verbose_link_cmd
=func_echo_all
9694 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9695 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9696 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"
9697 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"
9706 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_libdir_flag_spec
='-L$libdir'
9708 hardcode_shlibpath_var
=no
9711 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9712 # support. Future versions do this automatically, but an explicit c++rt0.o
9713 # does not break anything, and helps significantly (at the cost of a little
9716 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9717 hardcode_libdir_flag_spec
='-R$libdir'
9719 hardcode_shlibpath_var
=no
9722 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9724 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_minus_L
=yes
9727 hardcode_shlibpath_var
=no
9730 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9731 freebsd
* | dragonfly
*)
9732 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9733 hardcode_libdir_flag_spec
='-R$libdir'
9735 hardcode_shlibpath_var
=no
9739 if test yes = "$GCC"; then
9740 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9742 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9744 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9745 hardcode_libdir_separator
=:
9748 # hardcode_minus_L: Not really in the search PATH,
9749 # but as the default location of the library.
9750 hardcode_minus_L
=yes
9751 export_dynamic_flag_spec
='$wl-E'
9755 if test yes,no
= "$GCC,$with_gnu_ld"; then
9756 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9760 if test no
= "$with_gnu_ld"; then
9761 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9762 hardcode_libdir_separator
=:
9764 hardcode_direct_absolute
=yes
9765 export_dynamic_flag_spec
='$wl-E'
9766 # hardcode_minus_L: Not really in the search PATH,
9767 # but as the default location of the library.
9768 hardcode_minus_L
=yes
9773 if test yes,no
= "$GCC,$with_gnu_ld"; then
9776 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9779 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9782 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9795 # Older versions of the 11.00 compiler do not understand -b yet
9796 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9798 $as_echo_n "checking if $CC understands -b... " >&6; }
9799 if ${lt_cv_prog_compiler__b+:} false
; then :
9800 $as_echo_n "(cached) " >&6
9802 lt_cv_prog_compiler__b
=no
9803 save_LDFLAGS
=$LDFLAGS
9804 LDFLAGS
="$LDFLAGS -b"
9805 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9806 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9807 # The linker can only warn and ignore the option if not recognized
9808 # So say no if there are warnings
9809 if test -s conftest.err
; then
9810 # Append any errors to the config.log.
9811 cat conftest.err
1>&5
9812 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9813 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9814 if diff conftest.exp conftest.er2
>/dev
/null
; then
9815 lt_cv_prog_compiler__b
=yes
9818 lt_cv_prog_compiler__b
=yes
9822 LDFLAGS
=$save_LDFLAGS
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9826 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9828 if test yes = "$lt_cv_prog_compiler__b"; then
9829 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9831 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9837 if test no
= "$with_gnu_ld"; then
9838 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9839 hardcode_libdir_separator
=:
9844 hardcode_shlibpath_var
=no
9848 hardcode_direct_absolute
=yes
9849 export_dynamic_flag_spec
='$wl-E'
9851 # hardcode_minus_L: Not really in the search PATH,
9852 # but as the default location of the library.
9853 hardcode_minus_L
=yes
9859 irix5
* | irix6
* | nonstopux
*)
9860 if test yes = "$GCC"; then
9861 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'
9862 # Try to use the -exported_symbol ld option, if it does not
9863 # work, assume that -exports_file does not work either and
9864 # implicitly export all symbols.
9865 # This should be the same for all languages, so no per-tag cache variable.
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9867 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9868 if ${lt_cv_irix_exported_symbol+:} false
; then :
9869 $as_echo_n "(cached) " >&6
9871 save_LDFLAGS
=$LDFLAGS
9872 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 int foo (void) { return 0; }
9877 if ac_fn_c_try_link
"$LINENO"; then :
9878 lt_cv_irix_exported_symbol
=yes
9880 lt_cv_irix_exported_symbol
=no
9882 rm -f core conftest.err conftest.
$ac_objext \
9883 conftest
$ac_exeext conftest.
$ac_ext
9884 LDFLAGS
=$save_LDFLAGS
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9887 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9888 if test yes = "$lt_cv_irix_exported_symbol"; then
9889 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'
9892 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'
9893 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'
9895 archive_cmds_need_lc
='no'
9896 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9897 hardcode_libdir_separator
=:
9899 link_all_deplibs
=yes
9903 case $cc_basename in
9905 # Fabrice Bellard et al's Tiny C Compiler
9907 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9914 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9918 hardcode_libdir_flag_spec
='-R$libdir'
9920 hardcode_shlibpath_var
=no
9924 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9927 hardcode_libdir_separator
=:
9928 hardcode_shlibpath_var
=no
9935 if test -f /usr
/libexec
/ld.so
; then
9937 hardcode_shlibpath_var
=no
9938 hardcode_direct_absolute
=yes
9939 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9940 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9941 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9942 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9943 export_dynamic_flag_spec
='$wl-E'
9945 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9946 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9954 hardcode_libdir_flag_spec
='-L$libdir'
9955 hardcode_minus_L
=yes
9956 allow_undefined_flag
=unsupported
9958 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9959 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9960 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9961 $ECHO EXPORTS >> $output_objdir/$libname.def~
9962 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9963 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9964 emximp -o $lib $output_objdir/$libname.def'
9965 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9966 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9967 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9968 $ECHO EXPORTS >> $output_objdir/$libname.def~
9970 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9971 prefix_cmds="$prefix_cmds -e 1d";
9973 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9974 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9975 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9976 emximp -o $lib $output_objdir/$libname.def'
9977 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9978 enable_shared_with_static_runtimes
=yes
9982 if test yes = "$GCC"; then
9983 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9984 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'
9986 allow_undefined_flag
=' -expect_unresolved \*'
9987 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'
9989 archive_cmds_need_lc
='no'
9990 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9991 hardcode_libdir_separator
=:
9994 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9995 if test yes = "$GCC"; then
9996 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9997 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'
9998 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10000 allow_undefined_flag
=' -expect_unresolved \*'
10001 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'
10002 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~
10003 $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'
10005 # Both c and cxx compiler support -rpath directly
10006 hardcode_libdir_flag_spec
='-rpath $libdir'
10008 archive_cmds_need_lc
='no'
10009 hardcode_libdir_separator
=:
10013 no_undefined_flag
=' -z defs'
10014 if test yes = "$GCC"; then
10016 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10018 $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'
10020 case `$CC -V 2>&1` in
10023 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10025 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10029 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10031 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10035 hardcode_libdir_flag_spec
='-R$libdir'
10036 hardcode_shlibpath_var
=no
10038 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10040 # The compiler driver will combine and reorder linker options,
10041 # but understands '-z linker_flag'. GCC discards it without '$wl',
10042 # but is careful enough not to reorder.
10043 # Supported since Solaris 2.6 (maybe 2.5.1?)
10044 if test yes = "$GCC"; then
10045 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10047 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10051 link_all_deplibs
=yes
10055 if test sequent
= "$host_vendor"; then
10056 # Use $CC to link under sequent, because it throws in some extra .o
10057 # files that make .init and .fini sections work.
10058 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_libdir_flag_spec
='-L$libdir'
10063 hardcode_direct
=yes
10064 hardcode_minus_L
=yes
10065 hardcode_shlibpath_var
=no
10069 case $host_vendor in
10071 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct
=yes # is this really true???
10075 ## LD is ld it makes a PLAMLIB
10076 ## CC just makes a GrossModule.
10077 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10078 reload_cmds
='$CC -r -o $output$reload_objs'
10082 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10086 runpath_var
='LD_RUN_PATH'
10087 hardcode_shlibpath_var
=no
10091 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10092 hardcode_shlibpath_var
=no
10093 export_dynamic_flag_spec
='-Bexport'
10097 if test -d /usr
/nec
; then
10098 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10099 hardcode_shlibpath_var
=no
10100 runpath_var
=LD_RUN_PATH
10101 hardcode_runpath_var
=yes
10106 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10107 no_undefined_flag
='$wl-z,text'
10108 archive_cmds_need_lc
=no
10109 hardcode_shlibpath_var
=no
10110 runpath_var
='LD_RUN_PATH'
10112 if test yes = "$GCC"; then
10113 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 sysv5
* | sco3.2v5
* | sco5v6
*)
10122 # Note: We CANNOT use -z defs as we might desire, because we do not
10123 # link with -lc, and that would cause any symbols used from libc to
10124 # always be unresolved, which means just about no library would
10125 # ever link correctly. If we're not using GNU ld we use -z text
10126 # though, which does catch some bad symbols but isn't as heavy-handed
10128 no_undefined_flag
='$wl-z,text'
10129 allow_undefined_flag
='$wl-z,nodefs'
10130 archive_cmds_need_lc
=no
10131 hardcode_shlibpath_var
=no
10132 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10133 hardcode_libdir_separator
=':'
10134 link_all_deplibs
=yes
10135 export_dynamic_flag_spec
='$wl-Bexport'
10136 runpath_var
='LD_RUN_PATH'
10138 if test yes = "$GCC"; then
10139 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_libdir_flag_spec
='-L$libdir'
10150 hardcode_shlibpath_var
=no
10158 if test sni
= "$host_vendor"; then
10160 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10161 export_dynamic_flag_spec
='$wl-Blargedynsym'
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10168 $as_echo "$ld_shlibs" >&6; }
10169 test no
= "$ld_shlibs" && can_build_shared
=no
10171 with_gnu_ld
=$with_gnu_ld
10188 # Do we need to explicitly link libc?
10190 case "x$archive_cmds_need_lc" in
10192 # Assume -lc should be added
10193 archive_cmds_need_lc
=yes
10195 if test yes,yes = "$GCC,$enable_shared"; then
10196 case $archive_cmds in
10198 # FIXME: we may have to deal with multi-command sequences.
10201 # Test whether the compiler implicitly links with -lc since on some
10202 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10203 # to ld, don't add -lc before -lgcc.
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10205 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10206 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10207 $as_echo_n "(cached) " >&6
10210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10213 (eval $ac_compile) 2>&5
10215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10216 test $ac_status = 0; } 2>conftest.err
; then
10219 libobjs
=conftest.
$ac_objext
10221 wl
=$lt_prog_compiler_wl
10222 pic_flag
=$lt_prog_compiler_pic
10228 lt_save_allow_undefined_flag
=$allow_undefined_flag
10229 allow_undefined_flag
=
10230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10231 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10234 test $ac_status = 0; }
10236 lt_cv_archive_cmds_need_lc
=no
10238 lt_cv_archive_cmds_need_lc
=yes
10240 allow_undefined_flag
=$lt_save_allow_undefined_flag
10242 cat conftest.err
1>&5
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10248 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10249 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10408 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10410 if test yes = "$GCC"; then
10412 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10413 *) lt_awk_arg
='/^libraries:/' ;;
10416 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10417 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10419 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10420 case $lt_search_path_spec in
10422 # if the path contains ";" then we assume it to be the separator
10423 # otherwise default to the standard path separator (i.e. ":") - it is
10424 # assumed that no part of a normal pathname contains ";" but that should
10425 # okay in the real world where ";" in dirpaths is itself problematic.
10426 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10429 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10432 # Ok, now we have the path, separated by spaces, we can step through it
10433 # and add multilib dir if necessary...
10434 lt_tmp_lt_search_path_spec
=
10435 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10436 # ...but if some path component already ends with the multilib dir we assume
10437 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10438 case "$lt_multi_os_dir; $lt_search_path_spec " in
10439 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10443 for lt_sys_path
in $lt_search_path_spec; do
10444 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10445 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10446 elif test -n "$lt_multi_os_dir"; then
10447 test -d "$lt_sys_path" && \
10448 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10451 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10452 BEGIN {RS = " "; FS = "/|\n";} {
10455 for (lt_i = NF; lt_i > 0; lt_i--) {
10456 if ($lt_i != "" && $lt_i != ".") {
10457 if ($lt_i == "..") {
10460 if (lt_count == 0) {
10461 lt_foo = "/" $lt_i lt_foo;
10468 if (lt_foo != "") { lt_freq[lt_foo]++; }
10469 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10471 # AWK program above erroneously prepends '/' to C:/dos/paths
10474 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10475 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10477 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10479 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10481 library_names_spec
=
10482 libname_spec
='lib$name'
10486 postuninstall_cmds
=
10490 shlibpath_overrides_runpath
=unknown
10492 dynamic_linker
="$host_os ld.so"
10493 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10494 need_lib_prefix
=unknown
10495 hardcode_into_libs
=no
10497 # when you set need_version to no, make sure it does not cause -set_version
10498 # flags to be left without arguments
10499 need_version
=unknown
10505 version_type
=linux
# correct to gnu/linux during the next big refactor
10506 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10507 shlibpath_var
=LIBPATH
10509 # AIX 3 has no versioning support, so we append a major version to the name.
10510 soname_spec
='$libname$release$shared_ext$major'
10514 version_type
=linux
# correct to gnu/linux during the next big refactor
10517 hardcode_into_libs
=yes
10518 if test ia64
= "$host_cpu"; then
10519 # AIX 5 supports IA64
10520 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10521 shlibpath_var
=LD_LIBRARY_PATH
10523 # With GCC up to 2.95.x, collect2 would create an import file
10524 # for dependence libraries. The import file would start with
10525 # the line '#! .'. This would cause the generated library to
10526 # depend on '.', always an invalid library. This was fixed in
10527 # development snapshots of GCC prior to 3.0.
10529 aix4 | aix4.
[01] | aix4.
[01].
*)
10530 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10532 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10535 can_build_shared
=no
10539 # Using Import Files as archive members, it is possible to support
10540 # filename-based versioning of shared library archives on AIX. While
10541 # this would work for both with and without runtime linking, it will
10542 # prevent static linking of such archives. So we do filename-based
10543 # shared library versioning with .so extension only, which is used
10544 # when both runtime linking and shared linking is enabled.
10545 # Unfortunately, runtime linking may impact performance, so we do
10546 # not want this to be the default eventually. Also, we use the
10547 # versioned .so libs for executables only if there is the -brtl
10548 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10549 # To allow for filename-based versioning support, we need to create
10550 # libNAME.so.V as an archive file, containing:
10551 # *) an Import File, referring to the versioned filename of the
10552 # archive as well as the shared archive member, telling the
10553 # bitwidth (32 or 64) of that shared object, and providing the
10554 # list of exported symbols of that shared object, eventually
10555 # decorated with the 'weak' keyword
10556 # *) the shared object with the F_LOADONLY flag set, to really avoid
10557 # it being seen by the linker.
10558 # At run time we better use the real file rather than another symlink,
10559 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10561 case $with_aix_soname,$aix_use_runtimelinking in
10562 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10563 # soname into executable. Probably we can add versioning support to
10564 # collect2, so additional links can be useful in future.
10565 aix
,yes) # traditional libtool
10566 dynamic_linker
='AIX unversionable lib.so'
10567 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10568 # instead of lib<name>.a to let people know that these are not
10569 # typical AIX shared libraries.
10570 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10572 aix
,no
) # traditional AIX only
10573 dynamic_linker
='AIX lib.a(lib.so.V)'
10574 # We preserve .a as extension for shared libraries through AIX4.2
10575 # and later when we are not doing run time linking.
10576 library_names_spec
='$libname$release.a $libname.a'
10577 soname_spec
='$libname$release$shared_ext$major'
10579 svr4
,*) # full svr4 only
10580 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10581 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10582 # We do not specify a path in Import Files, so LIBPATH fires.
10583 shlibpath_overrides_runpath
=yes
10585 *,yes) # both, prefer svr4
10586 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10587 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10588 # unpreferred sharedlib libNAME.a needs extra handling
10589 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10590 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10591 # We do not specify a path in Import Files, so LIBPATH fires.
10592 shlibpath_overrides_runpath
=yes
10594 *,no
) # both, prefer aix
10595 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10596 library_names_spec
='$libname$release.a $libname.a'
10597 soname_spec
='$libname$release$shared_ext$major'
10598 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10599 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10600 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10603 shlibpath_var
=LIBPATH
10610 # Since July 2007 AmigaOS4 officially supports .so libraries.
10611 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10612 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10615 library_names_spec
='$libname.ixlibrary $libname.a'
10616 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10617 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10623 library_names_spec
='$libname$shared_ext'
10624 dynamic_linker
="$host_os ld.so"
10625 shlibpath_var
=LIBRARY_PATH
10629 version_type
=linux
# correct to gnu/linux during the next big refactor
10631 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10632 soname_spec
='$libname$release$shared_ext$major'
10633 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10634 shlibpath_var
=LD_LIBRARY_PATH
10635 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10636 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10637 # the default ld.so.conf also contains /usr/contrib/lib and
10638 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10639 # libtool to hard-code these into programs
10642 cygwin
* | mingw
* | pw32
* | cegcc
*)
10643 version_type
=windows
10648 case $GCC,$cc_basename in
10651 library_names_spec
='$libname.dll.a'
10652 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10653 postinstall_cmds
='base_file=`basename \$file`~
10654 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10655 dldir=$destdir/`dirname \$dlpath`~
10656 test -d \$dldir || mkdir -p \$dldir~
10657 $install_prog $dir/$dlname \$dldir/$dlname~
10658 chmod a+x \$dldir/$dlname~
10659 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10660 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10662 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10663 dlpath=$dir/\$dldll~
10665 shlibpath_overrides_runpath
=yes
10669 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10670 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10672 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10675 # MinGW DLLs use traditional 'lib' prefix
10676 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10679 # pw32 DLLs use 'pw' prefix rather than 'lib'
10680 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10683 dynamic_linker
='Win32 ld.exe'
10688 libname_spec
='$name'
10689 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10690 library_names_spec
='$libname.dll.lib'
10694 sys_lib_search_path_spec
=
10697 for lt_path
in $LIB
10700 # Let DOS variable expansion print the short 8.3 style file name.
10701 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10702 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10705 # Convert to MSYS style.
10706 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10709 # Convert to unix form, then to dos form, then back to unix form
10710 # but this time dos style (no spaces!) so that the unix form looks
10711 # like /cygdrive/c/PROGRA~1:/cygdr...
10712 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10713 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10714 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10717 sys_lib_search_path_spec
=$LIB
10718 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10719 # It is most probably a Windows format PATH.
10720 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10722 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10724 # FIXME: find the short name or the path components, as spaces are
10725 # common. (e.g. "Program Files" -> "PROGRA~1")
10729 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10730 postinstall_cmds
='base_file=`basename \$file`~
10731 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10732 dldir=$destdir/`dirname \$dlpath`~
10733 test -d \$dldir || mkdir -p \$dldir~
10734 $install_prog $dir/$dlname \$dldir/$dlname'
10735 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10736 dlpath=$dir/\$dldll~
10738 shlibpath_overrides_runpath
=yes
10739 dynamic_linker
='Win32 link.exe'
10743 # Assume MSVC wrapper
10744 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10745 dynamic_linker
='Win32 ld.exe'
10748 # FIXME: first we should search . and the directory the executable is in
10752 darwin
* | rhapsody
*)
10753 dynamic_linker
="$host_os dyld"
10754 version_type
=darwin
10757 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10758 soname_spec
='$libname$release$major$shared_ext'
10759 shlibpath_overrides_runpath
=yes
10760 shlibpath_var
=DYLD_LIBRARY_PATH
10761 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10763 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10764 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10768 version_type
=linux
# correct to gnu/linux during the next big refactor
10771 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10772 soname_spec
='$libname$release$shared_ext$major'
10773 shlibpath_var
=LD_LIBRARY_PATH
10776 freebsd
* | dragonfly
*)
10777 # DragonFly does not have aout. When/if they implement a new
10778 # versioning mechanism, adjust this.
10779 if test -x /usr
/bin
/objformat
; then
10780 objformat
=`/usr/bin/objformat`
10783 freebsd
[23].
*) objformat
=aout
;;
10784 *) objformat
=elf
;;
10787 version_type
=freebsd-
$objformat
10788 case $version_type in
10790 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10791 soname_spec
='$libname$release$shared_ext$major'
10796 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10800 shlibpath_var
=LD_LIBRARY_PATH
10803 shlibpath_overrides_runpath
=yes
10805 freebsd3.
[01]* | freebsdelf3.
[01]*)
10806 shlibpath_overrides_runpath
=yes
10807 hardcode_into_libs
=yes
10809 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10810 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10811 shlibpath_overrides_runpath
=no
10812 hardcode_into_libs
=yes
10814 *) # from 4.6 on, and DragonFly
10815 shlibpath_overrides_runpath
=yes
10816 hardcode_into_libs
=yes
10822 version_type
=linux
# correct to gnu/linux during the next big refactor
10825 dynamic_linker
="$host_os runtime_loader"
10826 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10827 soname_spec
='$libname$release$shared_ext$major'
10828 shlibpath_var
=LIBRARY_PATH
10829 shlibpath_overrides_runpath
=no
10830 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10831 hardcode_into_libs
=yes
10834 hpux9
* | hpux10
* | hpux11
*)
10835 # Give a soname corresponding to the major version so that dld.sl refuses to
10836 # link against other versions.
10843 hardcode_into_libs
=yes
10844 dynamic_linker
="$host_os dld.so"
10845 shlibpath_var
=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10847 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10848 soname_spec
='$libname$release$shared_ext$major'
10849 if test 32 = "$HPUX_IA64_MODE"; then
10850 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10851 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10853 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10854 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10859 hardcode_into_libs
=yes
10860 dynamic_linker
="$host_os dld.sl"
10861 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10862 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10863 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10864 soname_spec
='$libname$release$shared_ext$major'
10865 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10866 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10870 dynamic_linker
="$host_os dld.sl"
10871 shlibpath_var
=SHLIB_PATH
10872 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10873 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10874 soname_spec
='$libname$release$shared_ext$major'
10877 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10878 postinstall_cmds
='chmod 555 $lib'
10879 # or fails outright, so override atomically:
10880 install_override_mode
=555
10884 version_type
=linux
# correct to gnu/linux during the next big refactor
10887 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10888 soname_spec
='$libname$release$shared_ext$major'
10889 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10890 shlibpath_var
=LD_LIBRARY_PATH
10891 shlibpath_overrides_runpath
=no
10892 hardcode_into_libs
=yes
10895 irix5
* | irix6
* | nonstopux
*)
10897 nonstopux
*) version_type
=nonstopux
;;
10899 if test yes = "$lt_cv_prog_gnu_ld"; then
10900 version_type
=linux
# correct to gnu/linux during the next big refactor
10907 soname_spec
='$libname$release$shared_ext$major'
10908 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10910 irix5
* | nonstopux
*)
10911 libsuff
= shlibsuff
=
10914 case $LD in # libtool.m4 will add one of these switches to LD
10915 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10916 libsuff
= shlibsuff
= libmagic
=32-bit;;
10917 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10918 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10919 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10920 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10921 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10925 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10926 shlibpath_overrides_runpath
=no
10927 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10928 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10929 hardcode_into_libs
=yes
10932 # No shared lib support for Linux oldld, aout, or coff.
10933 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10938 version_type
=none
# Android doesn't support versioned libraries.
10941 library_names_spec
='$libname$release$shared_ext'
10942 soname_spec
='$libname$release$shared_ext'
10944 shlibpath_var
=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath
=yes
10947 # This implies no fast_install, which is unacceptable.
10948 # Some rework will be needed to allow for fast_install
10949 # before this can be enabled.
10950 hardcode_into_libs
=yes
10952 dynamic_linker
='Android linker'
10953 # Don't embed -rpath directories since the linker doesn't support them.
10954 hardcode_libdir_flag_spec
='-L$libdir'
10957 # This must be glibc/ELF.
10958 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10959 version_type
=linux
# correct to gnu/linux during the next big refactor
10962 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10963 soname_spec
='$libname$release$shared_ext$major'
10964 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10965 shlibpath_var
=LD_LIBRARY_PATH
10966 shlibpath_overrides_runpath
=no
10968 # Some binutils ld are patched to set DT_RUNPATH
10969 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10970 $as_echo_n "(cached) " >&6
10972 lt_cv_shlibpath_overrides_runpath
=no
10973 save_LDFLAGS
=$LDFLAGS
10974 save_libdir
=$libdir
10975 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10976 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10978 /* end confdefs.h. */
10988 if ac_fn_c_try_link
"$LINENO"; then :
10989 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10990 lt_cv_shlibpath_overrides_runpath
=yes
10993 rm -f core conftest.err conftest.
$ac_objext \
10994 conftest
$ac_exeext conftest.
$ac_ext
10995 LDFLAGS
=$save_LDFLAGS
10996 libdir
=$save_libdir
11000 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11002 # This implies no fast_install, which is unacceptable.
11003 # Some rework will be needed to allow for fast_install
11004 # before this can be enabled.
11005 hardcode_into_libs
=yes
11007 # Add ABI-specific directories to the system library path.
11008 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11010 # Ideally, we could use ldconfig to report *all* directores which are
11011 # searched for libraries, however this is still not possible. Aside from not
11012 # being certain /sbin/ldconfig is available, command
11013 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11014 # even though it is searched at run-time. Try to do the best guess by
11015 # appending ld.so.conf contents (and includes) to the search path.
11016 if test -f /etc
/ld.so.conf
; then
11017 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' ' '`
11018 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11021 # We used to test for /lib/ld.so.1 and disable shared libraries on
11022 # powerpc, because MkLinux only supported shared libraries with the
11023 # GNU dynamic linker. Since this was broken with cross compilers,
11024 # most powerpc-linux boxes support dynamic linking these days and
11025 # people can always --disable-shared, the test was removed, and we
11026 # assume the GNU/Linux dynamic linker is in use.
11027 dynamic_linker
='GNU/Linux ld.so'
11034 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11035 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11036 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11037 dynamic_linker
='NetBSD (a.out) ld.so'
11039 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11040 soname_spec
='$libname$release$shared_ext$major'
11041 dynamic_linker
='NetBSD ld.elf_so'
11043 shlibpath_var
=LD_LIBRARY_PATH
11044 shlibpath_overrides_runpath
=yes
11045 hardcode_into_libs
=yes
11049 version_type
=linux
# correct to gnu/linux during the next big refactor
11050 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11051 shlibpath_var
=LD_LIBRARY_PATH
11052 shlibpath_overrides_runpath
=yes
11059 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11060 soname_spec
='$libname$release$shared_ext$major'
11061 shlibpath_var
=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath
=no
11063 hardcode_into_libs
=yes
11064 dynamic_linker
='ldqnx.so'
11067 openbsd
* | bitrig
*)
11069 sys_lib_dlsearch_path_spec
=/usr
/lib
11071 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11076 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11077 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11078 shlibpath_var
=LD_LIBRARY_PATH
11079 shlibpath_overrides_runpath
=yes
11083 libname_spec
='$name'
11084 version_type
=windows
11088 # OS/2 can only load a DLL with a base name of 8 characters or less.
11089 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11090 v=$($ECHO $release$versuffix | tr -d .-);
11091 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11092 $ECHO $n$v`$shared_ext'
11093 library_names_spec
='${libname}_dll.$libext'
11094 dynamic_linker
='OS/2 ld.exe'
11095 shlibpath_var
=BEGINLIBPATH
11096 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11097 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11098 postinstall_cmds
='base_file=`basename \$file`~
11099 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11100 dldir=$destdir/`dirname \$dlpath`~
11101 test -d \$dldir || mkdir -p \$dldir~
11102 $install_prog $dir/$dlname \$dldir/$dlname~
11103 chmod a+x \$dldir/$dlname~
11104 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11105 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11107 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11108 dlpath=$dir/\$dldll~
11112 osf3
* | osf4
* | osf5
*)
11116 soname_spec
='$libname$release$shared_ext$major'
11117 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11118 shlibpath_var
=LD_LIBRARY_PATH
11119 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11120 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11128 version_type
=linux
# correct to gnu/linux during the next big refactor
11131 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11132 soname_spec
='$libname$release$shared_ext$major'
11133 shlibpath_var
=LD_LIBRARY_PATH
11134 shlibpath_overrides_runpath
=yes
11135 hardcode_into_libs
=yes
11136 # ldd complains unless libraries are executable
11137 postinstall_cmds
='chmod +x $lib'
11142 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11143 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11144 shlibpath_var
=LD_LIBRARY_PATH
11145 shlibpath_overrides_runpath
=yes
11146 if test yes = "$with_gnu_ld"; then
11153 version_type
=linux
# correct to gnu/linux during the next big refactor
11154 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11155 soname_spec
='$libname$release$shared_ext$major'
11156 shlibpath_var
=LD_LIBRARY_PATH
11157 case $host_vendor in
11159 shlibpath_overrides_runpath
=no
11161 runpath_var
=LD_RUN_PATH
11169 shlibpath_overrides_runpath
=no
11170 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11176 if test -d /usr
/nec
; then
11177 version_type
=linux
# correct to gnu/linux during the next big refactor
11178 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11179 soname_spec
='$libname$shared_ext.$major'
11180 shlibpath_var
=LD_LIBRARY_PATH
11184 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11188 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11189 soname_spec
='$libname$release$shared_ext$major'
11190 shlibpath_var
=LD_LIBRARY_PATH
11191 shlibpath_overrides_runpath
=yes
11192 hardcode_into_libs
=yes
11193 if test yes = "$with_gnu_ld"; then
11194 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11196 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11199 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11203 sys_lib_dlsearch_path_spec
='/usr/lib'
11207 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11208 version_type
=linux
# correct to gnu/linux during the next big refactor
11211 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11212 shlibpath_var
=LD_LIBRARY_PATH
11213 shlibpath_overrides_runpath
=no
11214 hardcode_into_libs
=yes
11218 version_type
=linux
# correct to gnu/linux during the next big refactor
11219 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11220 soname_spec
='$libname$release$shared_ext$major'
11221 shlibpath_var
=LD_LIBRARY_PATH
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11229 $as_echo "$dynamic_linker" >&6; }
11230 test no
= "$dynamic_linker" && can_build_shared
=no
11232 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11233 if test yes = "$GCC"; then
11234 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11237 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11238 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11241 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11242 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11245 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11246 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11248 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11249 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11251 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11252 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11351 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11353 if test -n "$hardcode_libdir_flag_spec" ||
11354 test -n "$runpath_var" ||
11355 test yes = "$hardcode_automatic"; then
11357 # We can hardcode non-existent directories.
11358 if test no
!= "$hardcode_direct" &&
11359 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11360 # have to relink, otherwise we might link with an installed library
11361 # when we should be linking with a yet-to-be-installed one
11362 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11363 test no
!= "$hardcode_minus_L"; then
11364 # Linking always hardcodes the temporary library directory.
11365 hardcode_action
=relink
11367 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11368 hardcode_action
=immediate
11371 # We cannot hardcode anything, or else we can only hardcode existing
11373 hardcode_action
=unsupported
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11376 $as_echo "$hardcode_action" >&6; }
11378 if test relink
= "$hardcode_action" ||
11379 test yes = "$inherit_rpath"; then
11380 # Fast installation is not supported
11381 enable_fast_install
=no
11382 elif test yes = "$shlibpath_overrides_runpath" ||
11383 test no
= "$enable_shared"; then
11384 # Fast installation is not necessary
11385 enable_fast_install
=needless
11393 if test yes != "$enable_dlopen"; then
11394 enable_dlopen
=unknown
11395 enable_dlopen_self
=unknown
11396 enable_dlopen_self_static
=unknown
11403 lt_cv_dlopen
=load_add_on
11405 lt_cv_dlopen_self
=yes
11408 mingw
* | pw32
* | cegcc
*)
11409 lt_cv_dlopen
=LoadLibrary
11414 lt_cv_dlopen
=dlopen
11419 # if libdl is installed we need to link against it
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11421 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11422 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11423 $as_echo_n "(cached) " >&6
11425 ac_check_lib_save_LIBS
=$LIBS
11427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11445 if ac_fn_c_try_link
"$LINENO"; then :
11446 ac_cv_lib_dl_dlopen
=yes
11448 ac_cv_lib_dl_dlopen
=no
11450 rm -f core conftest.err conftest.
$ac_objext \
11451 conftest
$ac_exeext conftest.
$ac_ext
11452 LIBS
=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11455 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11456 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11457 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11462 lt_cv_dlopen_self
=yes
11469 # Don't try to run any link tests for TPF. We know it's impossible
11470 # because TPF is a cross-compiler, and we know how we open DSOs.
11471 lt_cv_dlopen
=dlopen
11473 lt_cv_dlopen_self
=no
11477 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11478 if test "x$ac_cv_func_shl_load" = xyes
; then :
11479 lt_cv_dlopen
=shl_load
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11482 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11483 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11484 $as_echo_n "(cached) " >&6
11486 ac_check_lib_save_LIBS
=$LIBS
11488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11491 /* Override any GCC internal prototype to avoid an error.
11492 Use char because int might match the return type of a GCC
11493 builtin and then its argument prototype would still apply. */
11501 return shl_load ();
11506 if ac_fn_c_try_link
"$LINENO"; then :
11507 ac_cv_lib_dld_shl_load
=yes
11509 ac_cv_lib_dld_shl_load
=no
11511 rm -f core conftest.err conftest.
$ac_objext \
11512 conftest
$ac_exeext conftest.
$ac_ext
11513 LIBS
=$ac_check_lib_save_LIBS
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11516 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11517 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11518 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11520 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11521 if test "x$ac_cv_func_dlopen" = xyes
; then :
11522 lt_cv_dlopen
=dlopen
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11525 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11526 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11527 $as_echo_n "(cached) " >&6
11529 ac_check_lib_save_LIBS
=$LIBS
11531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11549 if ac_fn_c_try_link
"$LINENO"; then :
11550 ac_cv_lib_dl_dlopen
=yes
11552 ac_cv_lib_dl_dlopen
=no
11554 rm -f core conftest.err conftest.
$ac_objext \
11555 conftest
$ac_exeext conftest.
$ac_ext
11556 LIBS
=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11559 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11560 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11561 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11564 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11565 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11566 $as_echo_n "(cached) " >&6
11568 ac_check_lib_save_LIBS
=$LIBS
11569 LIBS
="-lsvld $LIBS"
11570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11588 if ac_fn_c_try_link
"$LINENO"; then :
11589 ac_cv_lib_svld_dlopen
=yes
11591 ac_cv_lib_svld_dlopen
=no
11593 rm -f core conftest.err conftest.
$ac_objext \
11594 conftest
$ac_exeext conftest.
$ac_ext
11595 LIBS
=$ac_check_lib_save_LIBS
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11598 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11599 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11600 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11603 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11604 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11605 $as_echo_n "(cached) " >&6
11607 ac_check_lib_save_LIBS
=$LIBS
11609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11622 return dld_link ();
11627 if ac_fn_c_try_link
"$LINENO"; then :
11628 ac_cv_lib_dld_dld_link
=yes
11630 ac_cv_lib_dld_dld_link
=no
11632 rm -f core conftest.err conftest.
$ac_objext \
11633 conftest
$ac_exeext conftest.
$ac_ext
11634 LIBS
=$ac_check_lib_save_LIBS
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11637 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11638 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11639 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11660 if test no
= "$lt_cv_dlopen"; then
11666 case $lt_cv_dlopen in
11668 save_CPPFLAGS
=$CPPFLAGS
11669 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11671 save_LDFLAGS
=$LDFLAGS
11672 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11675 LIBS
="$lt_cv_dlopen_libs $LIBS"
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11678 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11679 if ${lt_cv_dlopen_self+:} false
; then :
11680 $as_echo_n "(cached) " >&6
11682 if test yes = "$cross_compiling"; then :
11683 lt_cv_dlopen_self
=cross
11685 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11686 lt_status
=$lt_dlunknown
11687 cat > conftest.
$ac_ext <<_LT_EOF
11688 #line $LINENO "configure"
11689 #include "confdefs.h"
11698 # define LT_DLGLOBAL RTLD_GLOBAL
11701 # define LT_DLGLOBAL DL_GLOBAL
11703 # define LT_DLGLOBAL 0
11707 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11708 find out it does not work in some platform. */
11709 #ifndef LT_DLLAZY_OR_NOW
11711 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11714 # define LT_DLLAZY_OR_NOW DL_LAZY
11717 # define LT_DLLAZY_OR_NOW RTLD_NOW
11720 # define LT_DLLAZY_OR_NOW DL_NOW
11722 # define LT_DLLAZY_OR_NOW 0
11729 /* When -fvisibility=hidden is used, assume the code has been annotated
11730 correspondingly for the symbols needed. */
11731 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11732 int fnord () __attribute__((visibility("default")));
11735 int fnord () { return 42; }
11738 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11739 int status = $lt_dlunknown;
11743 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11746 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11747 else puts (dlerror ());
11749 /* dlclose (self); */
11757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11758 (eval $ac_link) 2>&5
11760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11761 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11762 (.
/conftest
; exit; ) >&5 2>/dev
/null
11764 case x
$lt_status in
11765 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11766 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11767 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11770 # compilation failed
11771 lt_cv_dlopen_self
=no
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11779 $as_echo "$lt_cv_dlopen_self" >&6; }
11781 if test yes = "$lt_cv_dlopen_self"; then
11782 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11784 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11785 if ${lt_cv_dlopen_self_static+:} false
; then :
11786 $as_echo_n "(cached) " >&6
11788 if test yes = "$cross_compiling"; then :
11789 lt_cv_dlopen_self_static
=cross
11791 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11792 lt_status
=$lt_dlunknown
11793 cat > conftest.
$ac_ext <<_LT_EOF
11794 #line $LINENO "configure"
11795 #include "confdefs.h"
11804 # define LT_DLGLOBAL RTLD_GLOBAL
11807 # define LT_DLGLOBAL DL_GLOBAL
11809 # define LT_DLGLOBAL 0
11813 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11814 find out it does not work in some platform. */
11815 #ifndef LT_DLLAZY_OR_NOW
11817 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11820 # define LT_DLLAZY_OR_NOW DL_LAZY
11823 # define LT_DLLAZY_OR_NOW RTLD_NOW
11826 # define LT_DLLAZY_OR_NOW DL_NOW
11828 # define LT_DLLAZY_OR_NOW 0
11835 /* When -fvisibility=hidden is used, assume the code has been annotated
11836 correspondingly for the symbols needed. */
11837 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11838 int fnord () __attribute__((visibility("default")));
11841 int fnord () { return 42; }
11844 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11845 int status = $lt_dlunknown;
11849 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11852 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11853 else puts (dlerror ());
11855 /* dlclose (self); */
11863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11864 (eval $ac_link) 2>&5
11866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11867 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11868 (.
/conftest
; exit; ) >&5 2>/dev
/null
11870 case x
$lt_status in
11871 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11872 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11873 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11876 # compilation failed
11877 lt_cv_dlopen_self_static
=no
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11885 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11888 CPPFLAGS
=$save_CPPFLAGS
11889 LDFLAGS
=$save_LDFLAGS
11894 case $lt_cv_dlopen_self in
11895 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11896 *) enable_dlopen_self
=unknown
;;
11899 case $lt_cv_dlopen_self_static in
11900 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11901 *) enable_dlopen_self_static
=unknown
;;
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11924 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11925 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11926 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11927 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11929 $as_echo "yes" >&6; }
11931 # FIXME - insert some real tests, host_os isn't really good enough
11934 if test -n "$STRIP"; then
11935 striplib
="$STRIP -x"
11936 old_striplib
="$STRIP -S"
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11938 $as_echo "yes" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11946 $as_echo "no" >&6; }
11962 # Report what library types will actually be built
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11964 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11966 $as_echo "$can_build_shared" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11969 $as_echo_n "checking whether to build shared libraries... " >&6; }
11970 test no
= "$can_build_shared" && enable_shared
=no
11972 # On AIX, shared libraries and static libraries use the same namespace, and
11973 # are all built from PIC.
11976 test yes = "$enable_shared" && enable_static
=no
11977 if test -n "$RANLIB"; then
11978 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11979 postinstall_cmds
='$RANLIB $lib'
11984 if test ia64
!= "$host_cpu"; then
11985 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11986 yes,aix
,yes) ;; # shared object as lib.so file only
11987 yes,svr4
,*) ;; # shared object as lib.so archive member only
11988 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11994 $as_echo "$enable_shared" >&6; }
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11997 $as_echo_n "checking whether to build static libraries... " >&6; }
11998 # Make sure either enable_shared or enable_static is yes.
11999 test yes = "$enable_shared" || enable_static
=yes
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12001 $as_echo "$enable_static" >&6; }
12008 ac_cpp
='$CPP $CPPFLAGS'
12009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12029 ac_config_commands
="$ac_config_commands libtool"
12034 # Only expand once:
12039 for ac_header
in errno.h fcntl.h sys
/fcntl.h sys
/ioctl.h sys
/file.h unistd.h sysexits.h
12041 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12042 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12043 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12044 cat >>confdefs.h
<<_ACEOF
12045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12053 $as_echo_n "checking for ANSI C header files... " >&6; }
12054 if ${ac_cv_header_stdc+:} false
; then :
12055 $as_echo_n "(cached) " >&6
12057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12059 #include <stdlib.h>
12060 #include <stdarg.h>
12061 #include <string.h>
12072 if ac_fn_c_try_compile
"$LINENO"; then :
12073 ac_cv_header_stdc
=yes
12075 ac_cv_header_stdc
=no
12077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12079 if test $ac_cv_header_stdc = yes; then
12080 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12083 #include <string.h>
12086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12087 $EGREP "memchr" >/dev
/null
2>&1; then :
12090 ac_cv_header_stdc
=no
12096 if test $ac_cv_header_stdc = yes; then
12097 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 #include <stdlib.h>
12103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12104 $EGREP "free" >/dev
/null
2>&1; then :
12107 ac_cv_header_stdc
=no
12113 if test $ac_cv_header_stdc = yes; then
12114 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12115 if test "$cross_compiling" = yes; then :
12118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 #include <stdlib.h>
12122 #if ((' ' & 0x0FF) == 0x020)
12123 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12124 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12126 # define ISLOWER(c) \
12127 (('a' <= (c) && (c) <= 'i') \
12128 || ('j' <= (c) && (c) <= 'r') \
12129 || ('s' <= (c) && (c) <= 'z'))
12130 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12133 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12138 for (i = 0; i < 256; i++)
12139 if (XOR (islower (i), ISLOWER (i))
12140 || toupper (i) != TOUPPER (i))
12145 if ac_fn_c_try_run
"$LINENO"; then :
12148 ac_cv_header_stdc
=no
12150 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12151 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12157 $as_echo "$ac_cv_header_stdc" >&6; }
12158 if test $ac_cv_header_stdc = yes; then
12160 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
12165 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12166 if ${ac_cv_header_sys_wait_h+:} false
; then :
12167 $as_echo_n "(cached) " >&6
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 #include <sys/types.h>
12172 #include <sys/wait.h>
12173 #ifndef WEXITSTATUS
12174 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12177 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12185 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12190 if ac_fn_c_try_compile
"$LINENO"; then :
12191 ac_cv_header_sys_wait_h
=yes
12193 ac_cv_header_sys_wait_h
=no
12195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
12198 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12199 if test $ac_cv_header_sys_wait_h = yes; then
12201 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12208 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12209 if ${ac_cv_c_const+:} false
; then :
12210 $as_echo_n "(cached) " >&6
12212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12219 #ifndef __cplusplus
12220 /* Ultrix mips cc rejects this sort of thing. */
12221 typedef int charset[2];
12222 const charset cs = { 0, 0 };
12223 /* SunOS 4.1.1 cc rejects this. */
12224 char const *const *pcpcc;
12226 /* NEC SVR4.0.2 mips cc rejects this. */
12227 struct point {int x, y;};
12228 static struct point const zero = {0,0};
12229 /* AIX XL C 1.02.0.0 rejects this.
12230 It does not let you subtract one const X* pointer from another in
12231 an arm of an if-expression whose if-part is not a constant
12233 const char *g = "string";
12234 pcpcc = &g + (g ? g-g : 0);
12235 /* HPUX 7.0 cc rejects these. */
12237 ppc = (char**) pcpcc;
12238 pcpcc = (char const *const *) ppc;
12239 { /* SCO 3.2v4 cc rejects this sort of thing. */
12242 char const *s = 0 ? (char *) 0 : (char const *) 0;
12247 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12248 int x[] = {25, 17};
12249 const int *foo = &x[0];
12252 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12253 typedef const int *iptr;
12257 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12258 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12259 struct s { int j; const int *ap[3]; } bx;
12260 struct s *b = &bx; b->j = 5;
12262 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12263 const int foo = 10;
12264 if (!foo) return 0;
12266 return !cs[0] && !zero.x;
12273 if ac_fn_c_try_compile
"$LINENO"; then :
12278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12281 $as_echo "$ac_cv_c_const" >&6; }
12282 if test $ac_cv_c_const = no
; then
12284 $as_echo "#define const /**/" >>confdefs.h
12288 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12289 if test "x$ac_cv_type_off_t" = xyes
; then :
12293 cat >>confdefs.h
<<_ACEOF
12294 #define off_t long int
12299 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12300 if test "x$ac_cv_type_pid_t" = xyes
; then :
12304 cat >>confdefs.h
<<_ACEOF
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12311 $as_echo_n "checking return type of signal handlers... " >&6; }
12312 if ${ac_cv_type_signal+:} false
; then :
12313 $as_echo_n "(cached) " >&6
12315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12317 #include <sys/types.h>
12318 #include <signal.h>
12323 return *(signal (0, 0)) (0) == 1;
12328 if ac_fn_c_try_compile
"$LINENO"; then :
12329 ac_cv_type_signal
=int
12331 ac_cv_type_signal
=void
12333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12336 $as_echo "$ac_cv_type_signal" >&6; }
12338 cat >>confdefs.h
<<_ACEOF
12339 #define RETSIGTYPE $ac_cv_type_signal
12343 # Check whether --enable-largefile was given.
12344 if test "${enable_largefile+set}" = set; then :
12345 enableval
=$enable_largefile;
12348 if test "$enable_largefile" != no
; then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12351 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12352 if ${ac_cv_sys_largefile_CC+:} false
; then :
12353 $as_echo_n "(cached) " >&6
12355 ac_cv_sys_largefile_CC
=no
12356 if test "$GCC" != yes; then
12359 # IRIX 6.2 and later do not support large files by default,
12360 # so use the C compiler's -n32 option if that helps.
12361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12363 #include <sys/types.h>
12364 /* Check that off_t can represent 2**63 - 1 correctly.
12365 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12366 since some C++ compilers masquerading as C compilers
12367 incorrectly reject 9223372036854775807. */
12368 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12369 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12370 && LARGE_OFF_T % 2147483647 == 1)
12380 if ac_fn_c_try_compile
"$LINENO"; then :
12383 rm -f core conftest.err conftest.
$ac_objext
12385 if ac_fn_c_try_compile
"$LINENO"; then :
12386 ac_cv_sys_largefile_CC
=' -n32'; break
12388 rm -f core conftest.err conftest.
$ac_objext
12392 rm -f conftest.
$ac_ext
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12396 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12397 if test "$ac_cv_sys_largefile_CC" != no
; then
12398 CC
=$CC$ac_cv_sys_largefile_CC
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12402 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12403 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12404 $as_echo_n "(cached) " >&6
12407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12409 #include <sys/types.h>
12410 /* Check that off_t can represent 2**63 - 1 correctly.
12411 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12412 since some C++ compilers masquerading as C compilers
12413 incorrectly reject 9223372036854775807. */
12414 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12415 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12416 && LARGE_OFF_T % 2147483647 == 1)
12426 if ac_fn_c_try_compile
"$LINENO"; then :
12427 ac_cv_sys_file_offset_bits
=no
; break
12429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12432 #define _FILE_OFFSET_BITS 64
12433 #include <sys/types.h>
12434 /* Check that off_t can represent 2**63 - 1 correctly.
12435 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12436 since some C++ compilers masquerading as C compilers
12437 incorrectly reject 9223372036854775807. */
12438 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12439 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12440 && LARGE_OFF_T % 2147483647 == 1)
12450 if ac_fn_c_try_compile
"$LINENO"; then :
12451 ac_cv_sys_file_offset_bits
=64; break
12453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12454 ac_cv_sys_file_offset_bits
=unknown
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12459 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12460 case $ac_cv_sys_file_offset_bits in #(
12463 cat >>confdefs.h
<<_ACEOF
12464 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12469 if test $ac_cv_sys_file_offset_bits = unknown
; then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12471 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12472 if ${ac_cv_sys_large_files+:} false
; then :
12473 $as_echo_n "(cached) " >&6
12476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12478 #include <sys/types.h>
12479 /* Check that off_t can represent 2**63 - 1 correctly.
12480 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12481 since some C++ compilers masquerading as C compilers
12482 incorrectly reject 9223372036854775807. */
12483 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12484 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12485 && LARGE_OFF_T % 2147483647 == 1)
12495 if ac_fn_c_try_compile
"$LINENO"; then :
12496 ac_cv_sys_large_files
=no
; break
12498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12501 #define _LARGE_FILES 1
12502 #include <sys/types.h>
12503 /* Check that off_t can represent 2**63 - 1 correctly.
12504 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12505 since some C++ compilers masquerading as C compilers
12506 incorrectly reject 9223372036854775807. */
12507 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12508 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12509 && LARGE_OFF_T % 2147483647 == 1)
12519 if ac_fn_c_try_compile
"$LINENO"; then :
12520 ac_cv_sys_large_files
=1; break
12522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12523 ac_cv_sys_large_files
=unknown
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12528 $as_echo "$ac_cv_sys_large_files" >&6; }
12529 case $ac_cv_sys_large_files in #(
12532 cat >>confdefs.h
<<_ACEOF
12533 #define _LARGE_FILES $ac_cv_sys_large_files
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5
12545 $as_echo_n "checking for off64_t... " >&6; }
12546 if ${liblock_cv_hasoff64t+:} false
; then :
12547 $as_echo_n "(cached) " >&6
12549 liblock_cv_hasoff64t
="no"
12550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12551 /* end confdefs.h. */
12553 #include <sys/types.h>
12567 if ac_fn_c_try_compile
"$LINENO"; then :
12568 liblock_cv_hasoff64t
="yes"
12570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasoff64t" >&5
12575 $as_echo "$liblock_cv_hasoff64t" >&6; }
12577 if test "$liblock_cv_hasoff64t" = "yes"
12579 LL_OFFSET_TYPE
=off64_t
12581 LL_OFFSET_TYPE
=off_t
12584 cat >>confdefs.h
<<_ACEOF
12585 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock_t" >&5
12590 $as_echo_n "checking for flock_t... " >&6; }
12591 if ${liblock_cv_hasflock_t+:} false
; then :
12592 $as_echo_n "(cached) " >&6
12594 liblock_cv_hasflock_t
="no"
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12599 #include "config.h"
12601 #include <sys/types.h>
12605 #if HAVE_SYS_FCNTL_H
12606 #include <sys/fcntl.h>
12619 if ac_fn_c_try_compile
"$LINENO"; then :
12620 liblock_cv_hasflock_t
="yes"
12622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasflock_t" >&5
12625 $as_echo "$liblock_cv_hasflock_t" >&6; }
12627 if test "$liblock_cv_hasflock_t" = "yes"
12630 cat >>confdefs.h
<<_ACEOF
12631 #define HAS_FLOCK_T 1
12637 for ac_func
in getdtablesize setpgrp sysconf
12639 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12640 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12641 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12642 cat >>confdefs.h
<<_ACEOF
12643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12649 ac_fn_c_check_func
"$LINENO" "setpgrp" "ac_cv_func_setpgrp"
12650 if test "x$ac_cv_func_setpgrp" = xyes
; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setpgrp takes no argument" >&5
12653 $as_echo_n "checking whether setpgrp takes no argument... " >&6; }
12654 if ${ac_cv_func_setpgrp_void+:} false
; then :
12655 $as_echo_n "(cached) " >&6
12657 if test "$cross_compiling" = yes; then :
12658 as_fn_error $?
"cannot check setpgrp when cross compiling" "$LINENO" 5
12660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12662 $ac_includes_default
12666 /* If this system has a BSD-style setpgrp which takes arguments,
12667 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
12668 exit successfully. */
12669 return setpgrp (1,1) != -1;
12674 if ac_fn_c_try_run
"$LINENO"; then :
12675 ac_cv_func_setpgrp_void
=no
12677 ac_cv_func_setpgrp_void
=yes
12679 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12680 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setpgrp_void" >&5
12685 $as_echo "$ac_cv_func_setpgrp_void" >&6; }
12686 if test $ac_cv_func_setpgrp_void = yes; then
12688 $as_echo "#define SETPGRP_VOID 1" >>confdefs.h
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl" >&5
12698 $as_echo_n "checking for fcntl... " >&6; }
12699 if ${liblock_cv_hasfcntl+:} false
; then :
12700 $as_echo_n "(cached) " >&6
12702 liblock_cv_hasfcntl
="no"
12703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12707 #include "${srcdir}/lockfcntl.c"
12719 if ac_fn_c_try_link
"$LINENO"; then :
12720 liblock_cv_hasfcntl
="yes"
12722 rm -f core conftest.err conftest.
$ac_objext \
12723 conftest
$ac_exeext conftest.
$ac_ext
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasfcntl" >&5
12726 $as_echo "$liblock_cv_hasfcntl" >&6; }
12727 if test "$liblock_cv_hasfcntl" = "yes"
12730 cat >>confdefs.h
<<_ACEOF
12731 #define HAS_FCNTL 1
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock" >&5
12737 $as_echo_n "checking for flock... " >&6; }
12738 if ${liblock_cv_hasflock+:} false
; then :
12739 $as_echo_n "(cached) " >&6
12741 liblock_cv_hasflock
="no"
12742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12745 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12746 #include "${srcdir}/lockflock.c"
12758 if ac_fn_c_try_link
"$LINENO"; then :
12759 liblock_cv_hasflock
="yes"
12761 rm -f core conftest.err conftest.
$ac_objext \
12762 conftest
$ac_exeext conftest.
$ac_ext
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_hasflock" >&5
12765 $as_echo "$liblock_cv_hasflock" >&6; }
12766 if test "$liblock_cv_hasflock" = "yes"
12769 cat >>confdefs.h
<<_ACEOF
12770 #define HAS_FLOCK 1
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lockf" >&5
12776 $as_echo_n "checking for lockf... " >&6; }
12777 if ${liblock_cv_haslockf+:} false
; then :
12778 $as_echo_n "(cached) " >&6
12780 liblock_cv_haslockf
="no"
12781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12785 #include "${srcdir}/locklockf.c"
12797 if ac_fn_c_try_link
"$LINENO"; then :
12798 liblock_cv_haslockf
="yes"
12800 rm -f core conftest.err conftest.
$ac_objext \
12801 conftest
$ac_exeext conftest.
$ac_ext
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $liblock_cv_haslockf" >&5
12804 $as_echo "$liblock_cv_haslockf" >&6; }
12805 if test "$liblock_cv_haslockf" = "yes"
12808 cat >>confdefs.h
<<_ACEOF
12809 #define HAS_LOCKF 1
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locking method" >&5
12815 $as_echo_n "checking for locking method... " >&6; }
12817 # Check whether --with-locking-method was given.
12818 if test "${with_locking_method+set}" = set; then :
12819 withval
=$with_locking_method; lockmethod
="$withval"
12825 case x
$lockmethod in
12827 if test "$cross_compiling" = yes; then :
12831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 #define USE_FCNTL 1
12835 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12836 #include "${srcdir}/locktest.c"
12839 if ac_fn_c_try_run
"$LINENO"; then :
12842 as_fn_error $?
"fcntl test failed." "$LINENO" 5
12844 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12845 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12850 if test "$cross_compiling" = yes; then :
12851 as_fn_error $?
"--with-locking-method option required" "$LINENO" 5
12853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 #define USE_FCNTL 1
12857 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12858 #include "${srcdir}/locktest.c"
12861 if ac_fn_c_try_run
"$LINENO"; then :
12864 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12865 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12871 case x
$lockmethod in
12873 if test "$cross_compiling" = yes; then :
12877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 #define USE_LOCKF 1
12881 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12882 #include "${srcdir}/locktest.c"
12885 if ac_fn_c_try_run
"$LINENO"; then :
12888 as_fn_error $?
"lockf test failed." "$LINENO" 5
12890 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12891 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12896 if test "$cross_compiling" = yes; then :
12897 as_fn_error $?
"--with-locking-method option required" "$LINENO" 5
12899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12902 #define USE_LOCKF 1
12903 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12904 #include "${srcdir}/locktest.c"
12907 if ac_fn_c_try_run
"$LINENO"; then :
12910 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12911 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12918 case x
$lockmethod in
12920 if test "$cross_compiling" = yes; then :
12924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 #define USE_FLOCK 1
12928 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12929 #include "${srcdir}/locktest.c"
12932 if ac_fn_c_try_run
"$LINENO"; then :
12935 as_fn_error $?
"flock test failed." "$LINENO" 5
12937 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12938 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12943 if test "$cross_compiling" = yes; then :
12944 as_fn_error $?
"--with-locking-method option required" "$LINENO" 5
12946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 #define USE_FLOCK 1
12950 #define LL_OFFSET_TYPE $LL_OFFSET_TYPE
12951 #include "${srcdir}/locktest.c"
12954 if ac_fn_c_try_run
"$LINENO"; then :
12957 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12958 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12964 case x
$lockmethod in
12972 as_fn_error $?
"must specify --with-locking-method option" "$LINENO" 5
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lockmethod" >&5
12977 $as_echo "$lockmethod" >&6; }
12979 if test "$lockmethod" = "fcntl"; then
12981 USE_FCNTL_FALSE
='#'
12987 if test "$lockmethod" = "flock"; then
12989 USE_FLOCK_FALSE
='#'
12995 if test "$lockmethod" = "lockf"; then
12997 USE_LOCKF_FALSE
='#'
13004 if test -d ${srcdir}/..
/docbook
; then
13006 HAVE_SGML_FALSE
='#'
13014 cat >>confdefs.h
<<_ACEOF
13015 #define liblock_config_h 1
13019 ac_config_files
="$ac_config_files Makefile"
13021 cat >confcache
<<\_ACEOF
13022 # This file is a shell script that caches the results of configure
13023 # tests run on this system so they can be shared between configure
13024 # scripts and configure runs, see configure's option --config-cache.
13025 # It is not useful on other systems. If it contains results you don't
13026 # want to keep, you may remove or edit it.
13028 # config.status only pays attention to the cache file if you give it
13029 # the --recheck option to rerun configure.
13031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13033 # following values.
13037 # The following way of writing the cache mishandles newlines in values,
13038 # but we know of no workaround that is simple, portable, and efficient.
13039 # So, we kill variables containing newlines.
13040 # Ultrix sh set writes to stderr and can't be redirected directly,
13041 # and sets the high bit in the cache file unless we assign to the vars.
13043 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13044 eval ac_val
=\$
$ac_var
13048 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13052 _ | IFS | as_nl
) ;; #(
13053 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13054 *) { eval $ac_var=; unset $ac_var;} ;;
13060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13061 *${as_nl}ac_space
=\
*)
13062 # `set' does not quote correctly, so add quotes: double-quote
13063 # substitution turns \\\\ into \\, and sed turns \\ into \.
13066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13069 # `set' quotes correctly as required by POSIX, so do not add quotes.
13070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13083 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13084 if test -w "$cache_file"; then
13085 if test "x$cache_file" != "x/dev/null"; then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13087 $as_echo "$as_me: updating cache $cache_file" >&6;}
13088 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13089 cat confcache
>"$cache_file"
13091 case $cache_file in #(
13093 mv -f confcache
"$cache_file"$$
&&
13094 mv -f "$cache_file"$$
"$cache_file" ;; #(
13096 mv -f confcache
"$cache_file" ;;
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13102 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13107 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13108 # Let make expand exec_prefix.
13109 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13111 DEFS
=-DHAVE_CONFIG_H
13116 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13117 # 1. Remove the extension, and $U if already installed.
13118 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13119 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13120 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13121 # will be set to the directory where LIBOBJS objects are built.
13122 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13123 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13125 LIBOBJS
=$ac_libobjs
13127 LTLIBOBJS
=$ac_ltlibobjs
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13131 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13132 if test -n "$am_sleep_pid"; then
13133 # Hide warnings about reused PIDs.
13134 wait $am_sleep_pid 2>/dev
/null
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13137 $as_echo "done" >&6; }
13138 if test -n "$EXEEXT"; then
13140 am__EXEEXT_FALSE
='#'
13142 am__EXEEXT_TRUE
='#'
13146 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13147 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13150 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13151 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13154 if test -z "${USE_FCNTL_TRUE}" && test -z "${USE_FCNTL_FALSE}"; then
13155 as_fn_error $?
"conditional \"USE_FCNTL\" was never defined.
13156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13158 if test -z "${USE_FLOCK_TRUE}" && test -z "${USE_FLOCK_FALSE}"; then
13159 as_fn_error $?
"conditional \"USE_FLOCK\" was never defined.
13160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13162 if test -z "${USE_LOCKF_TRUE}" && test -z "${USE_LOCKF_FALSE}"; then
13163 as_fn_error $?
"conditional \"USE_LOCKF\" was never defined.
13164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13166 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
13167 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
13168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13171 : "${CONFIG_STATUS=./config.status}"
13173 ac_clean_files_save
=$ac_clean_files
13174 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13176 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13178 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13180 # Generated by $as_me.
13181 # Run this file to recreate the current configuration.
13182 # Compiler output produced by configure, useful for debugging
13183 # configure, is in config.log if it exists.
13186 ac_cs_recheck=false
13189 SHELL=\${CONFIG_SHELL-$SHELL}
13192 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13193 ## -------------------- ##
13194 ## M4sh Initialization. ##
13195 ## -------------------- ##
13197 # Be more Bourne compatible
13198 DUALCASE
=1; export DUALCASE
# for MKS sh
13199 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13202 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13203 # is contrary to our usage. Disable this feature.
13204 alias -g '${1+"$@"}'='"$@"'
13205 setopt NO_GLOB_SUBST
13207 case `(set -o) 2>/dev/null` in #(
13219 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13220 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13221 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13222 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13223 # Prefer a ksh shell builtin over an external printf program on Solaris,
13224 # but without wasting forks for bash or zsh.
13225 if test -z "$BASH_VERSION$ZSH_VERSION" \
13226 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13227 as_echo='print
-r --'
13228 as_echo_n='print
-rn --'
13229 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13230 as_echo='printf %s
\n'
13231 as_echo_n='printf %s
'
13233 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13234 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13235 as_echo_n='/usr
/ucb
/echo -n'
13237 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13238 as_echo_n_body='eval
13242 expr "X$arg" : "X\\(.*\\)$as_nl";
13243 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13245 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13247 export as_echo_n_body
13248 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13250 export as_echo_body
13251 as_echo='sh
-c $as_echo_body as_echo
'
13254 # The user is always right.
13255 if test "${PATH_SEPARATOR+set}" != set; then
13257 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13258 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13265 # We need space, tab and new line, in precisely that order. Quoting is
13266 # there to prevent editors from complaining about space-tab.
13267 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13268 # splitting by setting IFS to empty value.)
13271 # Find who we are. Look in the path if we contain no directory separator.
13274 *[\\/]* ) as_myself=$0 ;;
13275 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13276 for as_dir in $PATH
13279 test -z "$as_dir" && as_dir=.
13280 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13286 # We did not find ourselves, most probably we were run as `sh COMMAND'
13287 # in which case we are not to be found in the path.
13288 if test "x$as_myself" = x
; then
13291 if test ! -f "$as_myself"; then
13292 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13296 # Unset variables that we do not need and which cause bugs (e.g. in
13297 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13298 # suppresses any "Segmentation fault" message there. '((' could
13299 # trigger a bug in pdksh 5.2.14.
13300 for as_var
in BASH_ENV ENV MAIL MAILPATH
13301 do eval test x\
${$as_var+set} = xset \
13302 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13315 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13318 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13319 # ----------------------------------------
13320 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13321 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13322 # script with STATUS, using 1 if that was 0.
13325 as_status
=$1; test $as_status -eq 0 && as_status
=1
13327 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13328 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13330 $as_echo "$as_me: error: $2" >&2
13331 as_fn_exit
$as_status
13335 # as_fn_set_status STATUS
13336 # -----------------------
13337 # Set $? to STATUS, without forking.
13338 as_fn_set_status
()
13341 } # as_fn_set_status
13343 # as_fn_exit STATUS
13344 # -----------------
13345 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13349 as_fn_set_status
$1
13355 # Portably unset VAR.
13358 { eval $1=; unset $1;}
13360 as_unset
=as_fn_unset
13361 # as_fn_append VAR VALUE
13362 # ----------------------
13363 # Append the text in VALUE to the end of the definition contained in VAR. Take
13364 # advantage of any shell optimizations that allow amortized linear growth over
13365 # repeated appends, instead of the typical quadratic growth present in naive
13367 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13368 eval 'as_fn_append ()
13379 # as_fn_arith ARG...
13380 # ------------------
13381 # Perform arithmetic evaluation on the ARGs, and store the result in the
13382 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13383 # must be portable across $(()) and expr.
13384 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13385 eval 'as_fn_arith ()
13392 as_val
=`expr "$@" || test $? -eq 1`
13397 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13398 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13404 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13405 as_basename
=basename
13410 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13416 as_me
=`$as_basename -- "$0" ||
13417 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13418 X"$0" : 'X\(//\)$' \| \
13419 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13421 sed '/^.*\/\([^/][^/]*\)\/*$/{
13435 # Avoid depending upon Character Ranges.
13436 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13437 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13438 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13439 as_cr_digits
='0123456789'
13440 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13442 ECHO_C
= ECHO_N
= ECHO_T
=
13443 case `echo -n x` in #(((((
13445 case `echo 'xy\c'` in
13446 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13448 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13455 rm -f conf$$ conf$$.exe conf$$.
file
13456 if test -d conf$$.dir
; then
13457 rm -f conf$$.dir
/conf$$.
file
13460 mkdir conf$$.dir
2>/dev
/null
13462 if (echo >conf$$.
file) 2>/dev
/null
; then
13463 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13465 # ... but there are two gotchas:
13466 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13467 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13468 # In both cases, we have to default to `cp -pR'.
13469 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13471 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13479 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13480 rmdir conf$$.dir
2>/dev
/null
13485 # Create "$as_dir" as a directory, including parents if necessary.
13490 -*) as_dir
=.
/$as_dir;;
13492 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13496 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13497 *) as_qdir
=$as_dir;;
13499 as_dirs
="'$as_qdir' $as_dirs"
13500 as_dir
=`$as_dirname -- "$as_dir" ||
13501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13502 X"$as_dir" : 'X\(//\)[^/]' \| \
13503 X"$as_dir" : 'X\(//\)$' \| \
13504 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13505 $as_echo X"$as_dir" |
13506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13510 /^X\(\/\/\)[^/].*/{
13523 test -d "$as_dir" && break
13525 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13526 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13530 if mkdir
-p .
2>/dev
/null
; then
13531 as_mkdir_p
='mkdir -p "$as_dir"'
13533 test -d .
/-p && rmdir .
/-p
13538 # as_fn_executable_p FILE
13539 # -----------------------
13540 # Test if FILE is an executable regular file.
13541 as_fn_executable_p
()
13543 test -f "$1" && test -x "$1"
13544 } # as_fn_executable_p
13545 as_test_x
='test -x'
13546 as_executable_p
=as_fn_executable_p
13548 # Sed expression to map a string onto a valid CPP name.
13549 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13551 # Sed expression to map a string onto a valid variable name.
13552 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13556 ## ----------------------------------- ##
13557 ## Main body of $CONFIG_STATUS script. ##
13558 ## ----------------------------------- ##
13560 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13563 # Save the log message, to keep $0 and so on meaningful, and to
13564 # report actual input values of CONFIG_FILES etc. instead of their
13565 # values after options handling.
13567 This file was extended by liblock $as_me 0.60, which was
13568 generated by GNU Autoconf 2.69. Invocation command line was
13570 CONFIG_FILES = $CONFIG_FILES
13571 CONFIG_HEADERS = $CONFIG_HEADERS
13572 CONFIG_LINKS = $CONFIG_LINKS
13573 CONFIG_COMMANDS = $CONFIG_COMMANDS
13576 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13581 case $ac_config_files in *"
13582 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13585 case $ac_config_headers in *"
13586 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13591 # Files that config.status was made for.
13592 config_files="$ac_config_files"
13593 config_headers="$ac_config_headers"
13594 config_commands="$ac_config_commands"
13598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13600 \`$as_me' instantiates files and other configuration actions
13601 from templates according to the current configuration. Unless the files
13602 and actions are specified as TAGs, all are instantiated by default.
13604 Usage: $0 [OPTION]... [TAG]...
13606 -h, --help print this help, then exit
13607 -V, --version print version number and configuration settings, then exit
13608 --config print configuration, then exit
13609 -q, --quiet, --silent
13610 do not print progress messages
13611 -d, --debug don't remove temporary files
13612 --recheck update $as_me by reconfiguring in the same conditions
13613 --file=FILE[:TEMPLATE]
13614 instantiate the configuration file FILE
13615 --header=FILE[:TEMPLATE]
13616 instantiate the configuration header FILE
13618 Configuration files:
13621 Configuration headers:
13624 Configuration commands:
13627 Report bugs to <courier-users@lists.sourceforge.net>."
13630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13631 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13633 liblock config.status 0.60
13634 configured by $0, generated by GNU Autoconf 2.69,
13635 with options \\"\$ac_cs_config\\"
13637 Copyright (C) 2012 Free Software Foundation, Inc.
13638 This config.status script is free software; the Free Software Foundation
13639 gives unlimited permission to copy, distribute and modify it."
13646 test -n "\$AWK" || AWK=awk
13649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13650 # The default lists apply if the user does not specify any file.
13656 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13657 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13661 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13673 # Handling of the options.
13674 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13676 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13677 $as_echo "$ac_cs_version"; exit ;;
13678 --config |
--confi |
--conf |
--con |
--co |
--c )
13679 $as_echo "$ac_cs_config"; exit ;;
13680 --debug |
--debu |
--deb |
--de |
--d |
-d )
13682 --file |
--fil |
--fi |
--f )
13685 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13686 '') as_fn_error $?
"missing file argument" ;;
13688 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13689 ac_need_defaults
=false
;;
13690 --header |
--heade |
--head |
--hea )
13693 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13695 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13696 ac_need_defaults
=false
;;
13698 # Conflict between --help and --header
13699 as_fn_error $?
"ambiguous option: \`$1'
13700 Try \`$0 --help' for more information.";;
13701 --help |
--hel |
-h )
13702 $as_echo "$ac_cs_usage"; exit ;;
13703 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13704 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13707 # This is an error.
13708 -*) as_fn_error $?
"unrecognized option: \`$1'
13709 Try \`$0 --help' for more information." ;;
13711 *) as_fn_append ac_config_targets
" $1"
13712 ac_need_defaults
=false
;;
13718 ac_configure_extra_args
=
13720 if $ac_cs_silent; then
13722 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13727 if \$ac_cs_recheck; then
13728 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13730 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13731 CONFIG_SHELL='$SHELL'
13732 export CONFIG_SHELL
13737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13741 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13742 ## Running $as_me. ##
13748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13752 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13755 # The HP-UX ksh and POSIX shell print the target directory to stdout
13756 # if CDPATH is set.
13757 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13759 sed_quote_subst='$sed_quote_subst'
13760 double_quote_subst='$double_quote_subst'
13761 delay_variable_subst='$delay_variable_subst'
13762 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13763 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13764 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13765 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13766 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13767 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13768 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13769 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13770 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13771 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13772 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13773 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13774 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13775 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13776 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13777 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13778 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13779 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13780 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13781 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13782 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13783 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13784 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13785 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13786 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13787 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13788 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13789 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13790 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13791 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13792 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13793 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13794 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13795 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13796 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13797 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13798 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13799 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13800 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13801 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13802 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13803 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13804 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13805 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13806 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13807 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13808 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13809 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13810 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13811 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13812 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13813 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13814 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13815 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13816 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13817 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13818 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13819 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13820 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"`'
13821 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13822 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13823 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13824 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13825 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13826 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13827 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13828 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13829 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13830 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13831 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13832 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13833 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13834 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13835 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13836 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13837 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13838 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13839 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13840 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13841 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13842 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13843 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13844 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13845 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13846 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13847 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13848 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13849 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13850 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13851 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13852 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13853 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13854 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13855 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13856 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13857 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13858 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13859 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13860 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13861 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13862 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13863 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13864 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13865 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13866 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13867 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13868 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13869 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13870 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13871 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13872 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13873 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13874 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13875 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13876 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13877 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13878 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13879 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13880 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13881 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13882 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13883 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13884 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13885 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13886 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13887 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13888 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13889 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13890 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13891 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13892 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13893 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13894 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13895 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13896 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13899 LTCFLAGS='$LTCFLAGS'
13900 compiler='$compiler_DEFAULT'
13902 # A function that is used when there is no print builtin or printf.
13903 func_fallback_echo ()
13905 eval 'cat <<_LTECHO_EOF
13910 # Quote evaled strings.
13925 deplibs_check_method \
13930 sharedlib_from_linklib_cmd \
13933 archiver_list_spec \
13939 lt_cv_sys_global_symbol_pipe \
13940 lt_cv_sys_global_symbol_to_cdecl \
13941 lt_cv_sys_global_symbol_to_import \
13942 lt_cv_sys_global_symbol_to_c_name_address \
13943 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13944 lt_cv_nm_interface \
13945 nm_file_list_spec \
13946 lt_cv_truncate_bin \
13947 lt_prog_compiler_no_builtin_flag \
13948 lt_prog_compiler_pic \
13949 lt_prog_compiler_wl \
13950 lt_prog_compiler_static \
13951 lt_cv_prog_compiler_c_o \
13960 export_dynamic_flag_spec \
13961 whole_archive_flag_spec \
13962 compiler_needs_object \
13964 allow_undefined_flag \
13965 no_undefined_flag \
13966 hardcode_libdir_flag_spec \
13967 hardcode_libdir_separator \
13971 variables_saved_for_relink \
13973 library_names_spec \
13975 install_override_mode \
13979 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13980 *[\\\\\\\`\\"\\\$]*)
13981 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13984 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13989 # Double-quote double-evaled strings.
13990 for var in reload_cmds \
13991 old_postinstall_cmds \
13992 old_postuninstall_cmds \
13994 extract_expsyms_cmds \
13995 old_archive_from_new_cmds \
13996 old_archive_from_expsyms_cmds \
13998 archive_expsym_cmds \
14000 module_expsym_cmds \
14001 export_symbols_cmds \
14005 postuninstall_cmds \
14007 sys_lib_search_path_spec \
14008 configure_time_dlsearch_path \
14009 configure_time_lt_sys_library_path; do
14010 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14011 *[\\\\\\\`\\"\\\$]*)
14012 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14015 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14020 ac_aux_dir='$ac_aux_dir'
14022 # See if we are running on zsh, and set the options that allow our
14023 # commands through without removal of \ escapes INIT.
14024 if test -n "\${ZSH_VERSION+set}"; then
14025 setopt NO_GLOB_SUBST
14039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14041 # Handling of arguments.
14042 for ac_config_target
in $ac_config_targets
14044 case $ac_config_target in
14045 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14046 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14047 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14048 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14050 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14055 # If the user did not use the arguments to specify the items to instantiate,
14056 # then the envvar interface is used. Set only those that are not.
14057 # We use the long form for the default assignment because of an extremely
14058 # bizarre bug on SunOS 4.1.3.
14059 if $ac_need_defaults; then
14060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14062 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14065 # Have a temporary directory for convenience. Make it in the build tree
14066 # simply because there is no reason against having it here, and in addition,
14067 # creating and moving files from /tmp can sometimes cause problems.
14068 # Hook for its removal unless debugging.
14069 # Note that there is a small window in which the directory will not be cleaned:
14070 # after its creation but before its name has been assigned to `$tmp'.
14074 trap 'exit_status=$?
14075 : "${ac_tmp:=$tmp}"
14076 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14078 trap 'as_fn_exit 1' 1 2 13 15
14080 # Create a (secure) tmp directory for tmp files.
14083 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14087 tmp
=.
/conf$$
-$RANDOM
14088 (umask 077 && mkdir
"$tmp")
14089 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14092 # Set up the scripts for CONFIG_FILES section.
14093 # No need to generate them if there are no CONFIG_FILES.
14094 # This happens for instance with `./config.status config.h'.
14095 if test -n "$CONFIG_FILES"; then
14098 ac_cr
=`echo X | tr X '\015'`
14099 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14100 # But we know of no other shell where ac_cr would be empty at this
14101 # point, so we can use a bashism as a fallback.
14102 if test "x$ac_cr" = x
; then
14103 eval ac_cr
=\$
\'\\r
\'
14105 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14106 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14109 ac_cs_awk_cr
=$ac_cr
14112 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14117 echo "cat >conf$$subs.awk <<_ACEOF" &&
14118 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14120 } >conf$$subs.sh ||
14121 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14122 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14124 for ac_last_try in false false false false false :; do
14125 . ./conf$$subs.sh ||
14126 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14128 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14129 if test $ac_delim_n = $ac_delim_num; then
14131 elif $ac_last_try; then
14132 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14134 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14137 rm -f conf$$subs.sh
14139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14140 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14144 s/^/S["/; s
/!.
*/"]=/
14154 s/\(.\{148\}\)..*/\1/
14156 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14161 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14168 s/\(.\{148\}\)..*/\1/
14170 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14174 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14179 ' <conf$$subs.awk | sed '
14184 ' >>$CONFIG_STATUS || ac_write_fail=1
14185 rm -f conf$$subs.awk
14186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14188 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14189 for (key in S) S_is_set[key] = 1
14195 nfields = split(line, field, "@
")
14197 len = length(field[1])
14198 for (i = 2; i < nfields; i++) {
14200 keylen = length(key)
14201 if (S_is_set[key]) {
14203 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14204 len += length(value) + length(field[++i])
14215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14216 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14217 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14220 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14221 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14224 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14225 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14226 # trailing colons and then remove the whole line if VPATH becomes empty
14227 # (actually we leave an empty line to preserve line numbers).
14228 if test "x
$srcdir" = x.; then
14229 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14248 fi # test -n "$CONFIG_FILES"
14250 # Set up the scripts for CONFIG_HEADERS section.
14251 # No need to generate them if there are no CONFIG_HEADERS.
14252 # This happens for instance with `./config.status Makefile'.
14253 if test -n "$CONFIG_HEADERS"; then
14254 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14258 # Transform confdefs.h into an awk script `defines.awk', embedded as
14259 # here-document in config.status, that substitutes the proper values into
14260 # config.h.in to produce config.h.
14262 # Create a delimiter string that does not exist in confdefs.h, to ease
14263 # handling of long lines.
14265 for ac_last_try in false false :; do
14266 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14267 if test -z "$ac_tt"; then
14269 elif $ac_last_try; then
14270 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14272 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14276 # For the awk script, D is an array of macro values keyed by name,
14277 # likewise P contains macro parameters if any. Preserve backslash
14278 # newline sequences.
14280 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14282 s/.\{148\}/&'"$ac_delim"'/g
14285 s/^[ ]*#[ ]*define[ ][ ]*/ /
14292 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14294 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14298 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14299 D["\
1"]=" \
3\\\\\\n
"\\/p
14301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14306 s/.\{148\}/&'"$ac_delim"'/g
14311 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14314 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14316 ' <confdefs.h | sed '
14317 s/'"$ac_delim"'/"\\\
14318 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14321 for (key in D) D_is_set[key] = 1
14324 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14326 split(line, arg, " ")
14327 if (arg[1] == "#") {
14331 defundef
= substr
(arg
[1], 2)
14334 split(mac1
, mac2
, "(") #)
14336 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14337 if (D_is_set
[macro
]) {
14338 # Preserve the white space surrounding the "#".
14339 print prefix
"define", macro P
[macro
] D
[macro
]
14342 # Replace #undef with comments. This is necessary, for example,
14343 # in the case of _POSIX_SOURCE, which is predefined and required
14344 # on some systems where configure will not decide to define it.
14345 if (defundef
== "undef") {
14346 print
"/*", prefix defundef
, macro
, "*/"
14354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14355 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14356 fi # test -n "$CONFIG_HEADERS"
14359 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14364 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14366 case $ac_mode$ac_tag in
14368 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14369 :[FH
]-) ac_tag
=-:-;;
14370 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14387 -) ac_f
="$ac_tmp/stdin";;
14388 *) # Look for the file first in the build tree, then in the source tree
14389 # (if the path is not absolute). The absolute path cannot be DOS-style,
14390 # because $ac_f cannot contain `:'.
14394 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14396 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14398 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14399 as_fn_append ac_file_inputs
" '$ac_f'"
14402 # Let's still pretend it is `configure' which instantiates (i.e., don't
14403 # use $as_me), people would be surprised to read:
14404 # /* config.h. Generated by config.status. */
14405 configure_input
='Generated from '`
14406 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14408 if test x
"$ac_file" != x-
; then
14409 configure_input
="$ac_file. $configure_input"
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14411 $as_echo "$as_me: creating $ac_file" >&6;}
14413 # Neutralize special characters interpreted by sed in replacement strings.
14414 case $configure_input in #(
14415 *\
&* |
*\|
* |
*\\* )
14416 ac_sed_conf_input
=`$as_echo "$configure_input" |
14417 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14418 *) ac_sed_conf_input
=$configure_input;;
14422 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14423 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14428 ac_dir
=`$as_dirname -- "$ac_file" ||
14429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14430 X"$ac_file" : 'X\(//\)[^/]' \| \
14431 X"$ac_file" : 'X\(//\)$' \| \
14432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14433 $as_echo X"$ac_file" |
14434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14438 /^X\(\/\/\)[^/].*/{
14451 as_dir
="$ac_dir"; as_fn_mkdir_p
14455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14457 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14458 # A ".." for each directory in $ac_dir_suffix.
14459 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14460 case $ac_top_builddir_sub in
14461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14465 ac_abs_top_builddir
=$ac_pwd
14466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14467 # for backward compatibility:
14468 ac_top_builddir
=$ac_top_build_prefix
14471 .
) # We are building in place.
14473 ac_top_srcdir
=$ac_top_builddir_sub
14474 ac_abs_top_srcdir
=$ac_pwd ;;
14475 [\\/]* | ?
:[\\/]* ) # Absolute name.
14476 ac_srcdir
=$srcdir$ac_dir_suffix;
14477 ac_top_srcdir
=$srcdir
14478 ac_abs_top_srcdir
=$srcdir ;;
14479 *) # Relative name.
14480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14494 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14495 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14497 ac_MKDIR_P
=$MKDIR_P
14499 [\\/$
]* | ?
:[\\/]* ) ;;
14500 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14505 # If the template does not know about datarootdir, expand it.
14506 # FIXME: This hack should be removed a few years after 2.60.
14507 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14518 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14519 *datarootdir
*) ac_datarootdir_seen
=yes;;
14520 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14522 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14525 ac_datarootdir_hack='
14526 s&@datadir@&$datadir&g
14527 s&@docdir@&$docdir&g
14528 s&@infodir@&$infodir&g
14529 s&@localedir@&$localedir&g
14530 s&@mandir@&$mandir&g
14531 s&\\\${datarootdir}&$datarootdir&g' ;;
14535 # Neutralize VPATH when `$srcdir' = `.'.
14536 # Shell code in configure.ac might set extrasub.
14537 # FIXME: do we really want to maintain this feature?
14538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14539 ac_sed_extra="$ac_vpsub
14542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14544 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14545 s|@configure_input@|
$ac_sed_conf_input|
;t t
14546 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14547 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14548 s
&@srcdir@
&$ac_srcdir&;t t
14549 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14550 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14551 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14552 s
&@builddir@
&$ac_builddir&;t t
14553 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14554 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14555 s
&@INSTALL@
&$ac_INSTALL&;t t
14556 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14557 $ac_datarootdir_hack
14559 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14560 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14562 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14563 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14565 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14567 which seems to be undefined. Please make sure it is defined" >&5
14568 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14569 which seems to be undefined. Please make sure it is defined" >&2;}
14571 rm -f "$ac_tmp/stdin"
14573 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14574 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14582 if test x"$ac_file" != x-; then
14584 $as_echo "/* $configure_input */" \
14585 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14586 } >"$ac_tmp/config.h" \
14587 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14588 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14590 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14593 mv "$ac_tmp/config.h" "$ac_file" \
14594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14597 $as_echo "/* $configure_input */" \
14598 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14599 || as_fn_error $? "could not create -" "$LINENO" 5
14601 # Compute "$ac_file"'s index
in $config_headers.
14604 for _am_header
in $config_headers :; do
14605 case $_am_header in
14606 $_am_arg |
$_am_arg:* )
14609 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14612 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14613 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14614 X"$_am_arg" : 'X\(//\)[^/]' \| \
14615 X"$_am_arg" : 'X\(//\)$' \| \
14616 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14617 $as_echo X"$_am_arg" |
14618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14622 /^X\(\/\/\)[^/].*/{
14634 s/.*/./; q'`/stamp-h
$_am_stamp_count
14637 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14638 $as_echo "$as_me: executing $ac_file commands" >&6;}
14643 case $ac_file$ac_mode in
14644 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14645 # Older Autoconf quotes --file arguments for eval, but not when files
14646 # are listed without --file. Let's play safe and only enable the eval
14647 # if we detect the quoting.
14648 case $CONFIG_FILES in
14649 *\'*) eval set x
"$CONFIG_FILES" ;;
14650 *) set x
$CONFIG_FILES ;;
14655 # Strip MF so we end up with the name of the file.
14656 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14657 # Check whether this is an Automake generated Makefile or not.
14658 # We used to match only the files named 'Makefile.in', but
14659 # some people rename them; so instead we look at the file content.
14660 # Grep'ing the first line is not enough: some people post-process
14661 # each Makefile.in and add a new line on top of each file to say so.
14662 # Grep'ing the whole file is not good either: AIX grep has a line
14663 # limit of 2048, but all sed's we know have understand at least 4000.
14664 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14665 dirpart
=`$as_dirname -- "$mf" ||
14666 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14667 X"$mf" : 'X\(//\)[^/]' \| \
14668 X"$mf" : 'X\(//\)$' \| \
14669 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14675 /^X\(\/\/\)[^/].*/{
14691 # Extract the definition of DEPDIR, am__include, and am__quote
14692 # from the Makefile without running 'make'.
14693 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14694 test -z "$DEPDIR" && continue
14695 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14696 test -z "$am__include" && continue
14697 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14698 # Find all dependency output files, they are included files with
14699 # $(DEPDIR) in their names. We invoke sed twice because it is the
14700 # simplest approach to changing $(DEPDIR) to its actual value in the
14702 for file in `sed -n "
14703 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14704 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14705 # Make sure the directory exists.
14706 test -f "$dirpart/$file" && continue
14707 fdir
=`$as_dirname -- "$file" ||
14708 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14709 X"$file" : 'X\(//\)[^/]' \| \
14710 X"$file" : 'X\(//\)$' \| \
14711 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14712 $as_echo X"$file" |
14713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14717 /^X\(\/\/\)[^/].*/{
14730 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14731 # echo "creating $dirpart/$file"
14732 echo '# dummy' > "$dirpart/$file"
14739 # See if we are running on zsh, and set the options that allow our
14740 # commands through without removal of \ escapes.
14741 if test -n "${ZSH_VERSION+set}"; then
14742 setopt NO_GLOB_SUBST
14746 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14749 cat <<_LT_EOF >> "$cfgfile"
14751 # Generated automatically by $as_me ($PACKAGE) $VERSION
14752 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14753 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14755 # Provide generalized library-building support services.
14756 # Written by Gordon Matzigkeit, 1996
14758 # Copyright (C) 2014 Free Software Foundation, Inc.
14759 # This is free software; see the source for copying conditions. There is NO
14760 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14762 # GNU Libtool is free software; you can redistribute it and/or modify
14763 # it under the terms of the GNU General Public License as published by
14764 # the Free Software Foundation; either version 2 of of the License, or
14765 # (at your option) any later version.
14767 # As a special exception to the GNU General Public License, if you
14768 # distribute this file as part of a program or library that is built
14769 # using GNU Libtool, you may include this file under the same
14770 # distribution terms that you use for the rest of that program.
14772 # GNU Libtool is distributed in the hope that it will be useful, but
14773 # WITHOUT ANY WARRANTY; without even the implied warranty of
14774 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14775 # GNU General Public License for more details.
14777 # You should have received a copy of the GNU General Public License
14778 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14781 # The names of the tagged configurations supported by this script.
14784 # Configured defaults for sys_lib_dlsearch_path munging.
14785 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14787 # ### BEGIN LIBTOOL CONFIG
14789 # Which release of libtool.m4 was used?
14790 macro_version=$macro_version
14791 macro_revision=$macro_revision
14793 # Whether or not to build shared libraries.
14794 build_libtool_libs=$enable_shared
14796 # Whether or not to build static libraries.
14797 build_old_libs=$enable_static
14799 # What type of objects to build.
14802 # Whether or not to optimize for fast installation.
14803 fast_install=$enable_fast_install
14805 # Shared archive member basename,for filename based shared library versioning on AIX.
14806 shared_archive_member_spec=$shared_archive_member_spec
14808 # Shell to use when invoking shell scripts.
14811 # An echo program that protects backslashes.
14814 # The PATH separator for the build system.
14815 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14818 host_alias=$host_alias
14822 # The build system.
14823 build_alias=$build_alias
14827 # A sed program that does not truncate output.
14830 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14831 Xsed="\$SED -e 1s/^X//"
14833 # A grep program that handles long lines.
14839 # A literal string matcher.
14842 # A BSD- or MS-compatible name lister.
14845 # Whether we need soft or hard links.
14848 # What is the maximum length of a command?
14849 max_cmd_len=$max_cmd_len
14851 # Object file suffix (normally "o").
14854 # Executable file suffix (normally "").
14857 # whether the shell understands "unset".
14860 # turn spaces into newlines.
14863 # turn newlines into spaces.
14866 # convert \$build file names to \$host format.
14867 to_host_file_cmd=$lt_cv_to_host_file_cmd
14869 # convert \$build files to toolchain format.
14870 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14872 # An object symbol dumper.
14873 OBJDUMP=$lt_OBJDUMP
14875 # Method to check whether dependent libraries are shared objects.
14876 deplibs_check_method=$lt_deplibs_check_method
14878 # Command to use when deplibs_check_method = "file_magic".
14879 file_magic_cmd=$lt_file_magic_cmd
14881 # How to find potential files when deplibs_check_method = "file_magic".
14882 file_magic_glob=$lt_file_magic_glob
14884 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14885 want_nocaseglob=$lt_want_nocaseglob
14887 # DLL creation program.
14888 DLLTOOL=$lt_DLLTOOL
14890 # Command to associate shared and link libraries.
14891 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14896 # Flags to create an archive.
14897 AR_FLAGS=$lt_AR_FLAGS
14899 # How to feed a file listing to the archiver.
14900 archiver_list_spec=$lt_archiver_list_spec
14902 # A symbol stripping program.
14905 # Commands used to install an old-style archive.
14907 old_postinstall_cmds=$lt_old_postinstall_cmds
14908 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14910 # Whether to use a lock for old archive extraction.
14911 lock_old_archive_extraction=$lock_old_archive_extraction
14916 # LTCC compiler flags.
14917 LTCFLAGS=$lt_CFLAGS
14919 # Take the output of nm and produce a listing of raw symbols and C names.
14920 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14922 # Transform the output of nm in a proper C declaration.
14923 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14925 # Transform the output of nm into a list of symbols to manually relocate.
14926 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14928 # Transform the output of nm in a C name address pair.
14929 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14931 # Transform the output of nm in a C name address pair when lib prefix is needed.
14932 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14934 # The name lister interface.
14935 nm_interface=$lt_lt_cv_nm_interface
14937 # Specify filename containing input files for \$NM.
14938 nm_file_list_spec=$lt_nm_file_list_spec
14940 # The root where to search for dependent libraries,and where our libraries should be installed.
14941 lt_sysroot=$lt_sysroot
14943 # Command to truncate a binary pipe.
14944 lt_truncate_bin=$lt_lt_cv_truncate_bin
14946 # The name of the directory that contains temporary libtool files.
14949 # Used to examine libraries when file_magic_cmd begins with "file".
14950 MAGIC_CMD=$MAGIC_CMD
14952 # Must we lock files when doing compilation?
14953 need_locks=$lt_need_locks
14956 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14958 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14959 DSYMUTIL=$lt_DSYMUTIL
14961 # Tool to change global to local symbols on Mac OS X.
14964 # Tool to manipulate fat objects and archives on Mac OS X.
14967 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14970 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14971 OTOOL64=$lt_OTOOL64
14973 # Old archive suffix (normally "a").
14976 # Shared library suffix (normally ".so").
14977 shrext_cmds=$lt_shrext_cmds
14979 # The commands to extract the exported symbol list from a shared archive.
14980 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14982 # Variables whose values should be saved in libtool wrapper scripts and
14983 # restored at link time.
14984 variables_saved_for_relink=$lt_variables_saved_for_relink
14986 # Do we need the "lib" prefix for modules?
14987 need_lib_prefix=$need_lib_prefix
14989 # Do we need a version for libraries?
14990 need_version=$need_version
14992 # Library versioning type.
14993 version_type=$version_type
14995 # Shared library runtime path variable.
14996 runpath_var=$runpath_var
14998 # Shared library path variable.
14999 shlibpath_var=$shlibpath_var
15001 # Is shlibpath searched before the hard-coded library search path?
15002 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15004 # Format of library name prefix.
15005 libname_spec=$lt_libname_spec
15007 # List of archive names. First name is the real one, the rest are links.
15008 # The last name is the one that the linker finds with -lNAME
15009 library_names_spec=$lt_library_names_spec
15011 # The coded name of the library, if different from the real name.
15012 soname_spec=$lt_soname_spec
15014 # Permission mode override for installation of shared libraries.
15015 install_override_mode=$lt_install_override_mode
15017 # Command to use after installation of a shared archive.
15018 postinstall_cmds=$lt_postinstall_cmds
15020 # Command to use after uninstallation of a shared archive.
15021 postuninstall_cmds=$lt_postuninstall_cmds
15023 # Commands used to finish a libtool library installation in a directory.
15024 finish_cmds=$lt_finish_cmds
15026 # As "finish_cmds", except a single script fragment to be evaled but
15028 finish_eval=$lt_finish_eval
15030 # Whether we should hardcode library paths into libraries.
15031 hardcode_into_libs=$hardcode_into_libs
15033 # Compile-time system search path for libraries.
15034 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15036 # Detected run-time system search path for libraries.
15037 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15039 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15040 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15042 # Whether dlopen is supported.
15043 dlopen_support=$enable_dlopen
15045 # Whether dlopen of programs is supported.
15046 dlopen_self=$enable_dlopen_self
15048 # Whether dlopen of statically linked programs is supported.
15049 dlopen_self_static=$enable_dlopen_self_static
15051 # Commands to strip libraries.
15052 old_striplib=$lt_old_striplib
15053 striplib=$lt_striplib
15056 # The linker used to build libraries.
15059 # How to create reloadable object files.
15060 reload_flag=$lt_reload_flag
15061 reload_cmds=$lt_reload_cmds
15063 # Commands used to build an old-style archive.
15064 old_archive_cmds=$lt_old_archive_cmds
15066 # A language specific compiler.
15069 # Is the compiler the GNU compiler?
15072 # Compiler flag to turn off builtin functions.
15073 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15075 # Additional compiler flags for building library objects.
15076 pic_flag=$lt_lt_prog_compiler_pic
15078 # How to pass a linker flag through the compiler.
15079 wl=$lt_lt_prog_compiler_wl
15081 # Compiler flag to prevent dynamic linking.
15082 link_static_flag=$lt_lt_prog_compiler_static
15084 # Does compiler simultaneously support -c and -o options?
15085 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15087 # Whether or not to add -lc for building shared libraries.
15088 build_libtool_need_lc=$archive_cmds_need_lc
15090 # Whether or not to disallow shared libs when runtime libs are static.
15091 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15093 # Compiler flag to allow reflexive dlopens.
15094 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15096 # Compiler flag to generate shared objects directly from archives.
15097 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15099 # Whether the compiler copes with passing no objects directly.
15100 compiler_needs_object=$lt_compiler_needs_object
15102 # Create an old-style archive from a shared archive.
15103 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15105 # Create a temporary old-style archive to link instead of a shared archive.
15106 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15108 # Commands used to build a shared archive.
15109 archive_cmds=$lt_archive_cmds
15110 archive_expsym_cmds=$lt_archive_expsym_cmds
15112 # Commands used to build a loadable module if different from building
15113 # a shared archive.
15114 module_cmds=$lt_module_cmds
15115 module_expsym_cmds=$lt_module_expsym_cmds
15117 # Whether we are building with GNU ld or not.
15118 with_gnu_ld=$lt_with_gnu_ld
15120 # Flag that allows shared libraries with undefined symbols to be built.
15121 allow_undefined_flag=$lt_allow_undefined_flag
15123 # Flag that enforces no undefined symbols.
15124 no_undefined_flag=$lt_no_undefined_flag
15126 # Flag to hardcode \$libdir into a binary during linking.
15127 # This must work even if \$libdir does not exist
15128 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15130 # Whether we need a single "-rpath" flag with a separated argument.
15131 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15133 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15134 # DIR into the resulting binary.
15135 hardcode_direct=$hardcode_direct
15137 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15138 # DIR into the resulting binary and the resulting library dependency is
15139 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15140 # library is relocated.
15141 hardcode_direct_absolute=$hardcode_direct_absolute
15143 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15144 # into the resulting binary.
15145 hardcode_minus_L=$hardcode_minus_L
15147 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15148 # into the resulting binary.
15149 hardcode_shlibpath_var=$hardcode_shlibpath_var
15151 # Set to "yes" if building a shared library automatically hardcodes DIR
15152 # into the library and all subsequent libraries and executables linked
15154 hardcode_automatic=$hardcode_automatic
15156 # Set to yes if linker adds runtime paths of dependent libraries
15157 # to runtime path list.
15158 inherit_rpath=$inherit_rpath
15160 # Whether libtool must link a program against all its dependency libraries.
15161 link_all_deplibs=$link_all_deplibs
15163 # Set to "yes" if exported symbols are required.
15164 always_export_symbols=$always_export_symbols
15166 # The commands to list exported symbols.
15167 export_symbols_cmds=$lt_export_symbols_cmds
15169 # Symbols that should not be listed in the preloaded symbols.
15170 exclude_expsyms=$lt_exclude_expsyms
15172 # Symbols that must always be exported.
15173 include_expsyms=$lt_include_expsyms
15175 # Commands necessary for linking programs (against libraries) with templates.
15176 prelink_cmds=$lt_prelink_cmds
15178 # Commands necessary for finishing linking programs.
15179 postlink_cmds=$lt_postlink_cmds
15181 # Specify filename containing input files.
15182 file_list_spec=$lt_file_list_spec
15184 # How to hardcode a shared library path into an executable.
15185 hardcode_action=$hardcode_action
15187 # ### END LIBTOOL CONFIG
15191 cat <<'_LT_EOF' >> "$cfgfile"
15193 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15195 # func_munge_path_list VARIABLE PATH
15196 # -----------------------------------
15197 # VARIABLE is name of variable containing _space_ separated list of
15198 # directories to be munged by the contents of PATH, which is string
15201 # string "DIR[ DIR]" will be prepended to VARIABLE
15203 # string "DIR[ DIR]" will be appended to VARIABLE
15204 # "DIRP[:DIRP]::[DIRA:]DIRA"
15205 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15206 # "DIRA[ DIRA]" will be appended to VARIABLE
15208 # VARIABLE will be replaced by "DIR[ DIR]"
15209 func_munge_path_list ()
15215 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15218 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15221 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15222 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15225 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15231 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15232 func_cc_basename ()
15234 for cc_temp in $*""; do
15236 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15237 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15242 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15246 # ### END FUNCTIONS SHARED WITH CONFIGURE
15252 cat <<\_LT_EOF
>> "$cfgfile"
15253 # AIX sometimes has problems with the GCC collect2 program. For some
15254 # reason, if we set the COLLECT_NAMES environment variable, the problems
15255 # vanish in a puff of smoke.
15256 if test set != "${COLLECT_NAMES+set}"; then
15258 export COLLECT_NAMES
15265 ltmain
=$ac_aux_dir/ltmain.sh
15268 # We use sed instead of cat because bash on DJGPP gets confused if
15269 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15270 # text mode, it properly converts lines to CR/LF. This bash problem
15271 # is reportedly fixed, but why not run on old versions too?
15272 sed '$q' "$ltmain" >> "$cfgfile" \
15273 ||
(rm -f "$cfgfile"; exit 1)
15275 mv -f "$cfgfile" "$ofile" ||
15276 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15287 ac_clean_files
=$ac_clean_files_save
15289 test $ac_write_fail = 0 ||
15290 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15293 # configure is writing to config.log, and then calls config.status.
15294 # config.status does its own redirection, appending to config.log.
15295 # Unfortunately, on DOS this fails, as config.log is still kept open
15296 # by configure, so config.status won't be able to write to it; its
15297 # output is simply discarded. So we exec the FD to /dev/null,
15298 # effectively closing config.log, so it can be properly (re)opened and
15299 # appended to by config.status. When coming back to configure, we
15300 # need to make the FD available again.
15301 if test "$no_create" != yes; then
15303 ac_config_status_args
=
15304 test "$silent" = yes &&
15305 ac_config_status_args
="$ac_config_status_args --quiet"
15307 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15309 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15310 # would make configure fail if this is the last instruction.
15311 $ac_cs_success || as_fn_exit
1
15313 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15315 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}