2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libuserdb 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-users@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libuserdb'
592 PACKAGE_TARNAME
='libuserdb'
593 PACKAGE_VERSION
='0.10'
594 PACKAGE_STRING
='libuserdb 0.10'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="userdb.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
711 INSTALL_STRIP_PROGRAM
753 program_transform_name
766 enable_option_checking
768 enable_dependency_tracking
784 ac_precious_vars
='build_alias
796 # Initialize some variables set by options.
798 ac_init_version
=false
799 ac_unrecognized_opts
=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name
=s
,x
,x
,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir
='${exec_prefix}/bin'
825 sbindir
='${exec_prefix}/sbin'
826 libexecdir
='${exec_prefix}/libexec'
827 datarootdir
='${prefix}/share'
828 datadir
='${datarootdir}'
829 sysconfdir
='${prefix}/etc'
830 sharedstatedir
='${prefix}/com'
831 localstatedir
='${prefix}/var'
832 includedir
='${prefix}/include'
833 oldincludedir
='/usr/include'
834 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir
='${datarootdir}/info'
840 libdir
='${exec_prefix}/lib'
841 localedir
='${datarootdir}/locale'
842 mandir
='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\
$ac_option
856 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
861 # Accept the important Cygnus configure options, so we can diagnose typos.
863 case $ac_dashdash$ac_option in
867 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
869 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
872 -build |
--build |
--buil |
--bui |
--bu)
873 ac_prev
=build_alias
;;
874 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
875 build_alias
=$ac_optarg ;;
877 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
878 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
879 ac_prev
=cache_file
;;
880 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
881 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
882 cache_file
=$ac_optarg ;;
885 cache_file
=config.cache
;;
887 -datadir |
--datadir |
--datadi |
--datad)
889 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
890 datadir
=$ac_optarg ;;
892 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
893 |
--dataroo |
--dataro |
--datar)
894 ac_prev
=datarootdir
;;
895 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
896 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
897 datarootdir
=$ac_optarg ;;
899 -disable-* |
--disable-*)
900 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
903 as_fn_error $?
"invalid feature name: $ac_useropt"
904 ac_useropt_orig
=$ac_useropt
905 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
910 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911 ac_unrecognized_sep
=', ';;
913 eval enable_
$ac_useropt=no
;;
915 -docdir |
--docdir |
--docdi |
--doc |
--do)
917 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
920 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
922 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
925 -enable-* |
--enable-*)
926 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927 # Reject names that are not valid shell variable names.
928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
929 as_fn_error $?
"invalid feature name: $ac_useropt"
930 ac_useropt_orig
=$ac_useropt
931 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932 case $ac_user_opts in
936 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937 ac_unrecognized_sep
=', ';;
939 eval enable_
$ac_useropt=\
$ac_optarg ;;
941 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
942 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
943 |
--exec |
--exe |
--ex)
944 ac_prev
=exec_prefix
;;
945 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
946 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
947 |
--exec=* |
--exe=* |
--ex=*)
948 exec_prefix
=$ac_optarg ;;
950 -gas |
--gas |
--ga |
--g)
951 # Obsolete; use --with-gas.
954 -help |
--help |
--hel |
--he |
-h)
956 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
957 ac_init_help
=recursive
;;
958 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
959 ac_init_help
=short
;;
961 -host |
--host |
--hos |
--ho)
962 ac_prev
=host_alias
;;
963 -host=* |
--host=* |
--hos=* |
--ho=*)
964 host_alias
=$ac_optarg ;;
966 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
968 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
970 htmldir
=$ac_optarg ;;
972 -includedir |
--includedir |
--includedi |
--included |
--include \
973 |
--includ |
--inclu |
--incl |
--inc)
974 ac_prev
=includedir
;;
975 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
976 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
977 includedir
=$ac_optarg ;;
979 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
981 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
982 infodir
=$ac_optarg ;;
984 -libdir |
--libdir |
--libdi |
--libd)
986 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
989 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
990 |
--libexe |
--libex |
--libe)
991 ac_prev
=libexecdir
;;
992 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
993 |
--libexe=* |
--libex=* |
--libe=*)
994 libexecdir
=$ac_optarg ;;
996 -localedir |
--localedir |
--localedi |
--localed |
--locale)
998 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
999 localedir
=$ac_optarg ;;
1001 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1002 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1003 ac_prev
=localstatedir
;;
1004 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1005 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1006 localstatedir
=$ac_optarg ;;
1008 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1010 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1011 mandir
=$ac_optarg ;;
1013 -nfp |
--nfp |
--nf)
1014 # Obsolete; use --without-fp.
1017 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1018 |
--no-cr |
--no-c |
-n)
1021 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1022 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1025 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1026 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1027 |
--oldin |
--oldi |
--old |
--ol |
--o)
1028 ac_prev
=oldincludedir
;;
1029 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1030 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1031 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1032 oldincludedir
=$ac_optarg ;;
1034 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1036 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1037 prefix
=$ac_optarg ;;
1039 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1040 |
--program-pre |
--program-pr |
--program-p)
1041 ac_prev
=program_prefix
;;
1042 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1043 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1044 program_prefix
=$ac_optarg ;;
1046 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1047 |
--program-suf |
--program-su |
--program-s)
1048 ac_prev
=program_suffix
;;
1049 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1050 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1051 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1061 -program-transform-name=* |
--program-transform-name=* \
1062 |
--program-transform-nam=* |
--program-transform-na=* \
1063 |
--program-transform-n=* |
--program-transform-=* \
1064 |
--program-transform=* |
--program-transfor=* \
1065 |
--program-transfo=* |
--program-transf=* \
1066 |
--program-trans=* |
--program-tran=* \
1067 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1068 program_transform_name
=$ac_optarg ;;
1070 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1072 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1073 pdfdir
=$ac_optarg ;;
1075 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1077 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1081 |
-silent |
--silent |
--silen |
--sile |
--sil)
1084 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1086 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1088 sbindir
=$ac_optarg ;;
1090 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1091 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1092 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1094 ac_prev
=sharedstatedir
;;
1095 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1096 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1097 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1099 sharedstatedir
=$ac_optarg ;;
1101 -site |
--site |
--sit)
1103 -site=* |
--site=* |
--sit=*)
1106 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1108 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1109 srcdir
=$ac_optarg ;;
1111 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1112 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1113 ac_prev
=sysconfdir
;;
1114 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1115 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1116 sysconfdir
=$ac_optarg ;;
1118 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1119 ac_prev
=target_alias
;;
1120 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1121 target_alias
=$ac_optarg ;;
1123 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1126 -version |
--version |
--versio |
--versi |
--vers |
-V)
1127 ac_init_version
=: ;;
1130 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131 # Reject names that are not valid shell variable names.
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1133 as_fn_error $?
"invalid package name: $ac_useropt"
1134 ac_useropt_orig
=$ac_useropt
1135 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136 case $ac_user_opts in
1140 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141 ac_unrecognized_sep
=', ';;
1143 eval with_
$ac_useropt=\
$ac_optarg ;;
1145 -without-* |
--without-*)
1146 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147 # Reject names that are not valid shell variable names.
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1149 as_fn_error $?
"invalid package name: $ac_useropt"
1150 ac_useropt_orig
=$ac_useropt
1151 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152 case $ac_user_opts in
1156 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157 ac_unrecognized_sep
=', ';;
1159 eval with_
$ac_useropt=no
;;
1162 # Obsolete; use --with-x.
1165 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1166 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1167 ac_prev
=x_includes
;;
1168 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1169 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1170 x_includes
=$ac_optarg ;;
1172 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1173 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1174 ac_prev
=x_libraries
;;
1175 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1176 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1177 x_libraries
=$ac_optarg ;;
1179 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1180 Try \`$0 --help' for more information"
1184 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1185 # Reject names that are not valid shell variable names.
1186 case $ac_envvar in #(
1187 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1188 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1190 eval $ac_envvar=\
$ac_optarg
1191 export $ac_envvar ;;
1194 # FIXME: should be removed in autoconf 3.0.
1195 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1197 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204 if test -n "$ac_prev"; then
1205 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1206 as_fn_error $?
"missing argument to $ac_option"
1209 if test -n "$ac_unrecognized_opts"; then
1210 case $enable_option_checking in
1212 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1213 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1217 # Check all directory arguments for consistency.
1218 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219 datadir sysconfdir sharedstatedir localstatedir includedir \
1220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221 libdir localedir mandir
1223 eval ac_val
=\$
$ac_var
1224 # Remove trailing slashes.
1227 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228 eval $ac_var=\
$ac_val;;
1230 # Be sure to have absolute directory names.
1232 [\\/$
]* | ?
:[\\/]* ) continue;;
1233 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1235 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1238 # There might be people who depend on the old broken behavior: `$host'
1239 # used to hold the argument of --host etc.
1240 # FIXME: To remove some day.
1243 target
=$target_alias
1245 # FIXME: To remove some day.
1246 if test "x$host_alias" != x
; then
1247 if test "x$build_alias" = x
; then
1248 cross_compiling
=maybe
1249 elif test "x$build_alias" != "x$host_alias"; then
1255 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1257 test "$silent" = yes && exec 6>/dev
/null
1260 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1261 ac_ls_di
=`ls -di .` &&
1262 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1263 as_fn_error $?
"working directory cannot be determined"
1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1265 as_fn_error $?
"pwd does not report name of working directory"
1268 # Find the source files, if location was not specified.
1269 if test -z "$srcdir"; then
1270 ac_srcdir_defaulted
=yes
1271 # Try the directory containing this script, then the parent directory.
1272 ac_confdir
=`$as_dirname -- "$as_myself" ||
1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1274 X"$as_myself" : 'X\(//\)[^/]' \| \
1275 X"$as_myself" : 'X\(//\)$' \| \
1276 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1277 $as_echo X"$as_myself" |
1278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1300 ac_srcdir_defaulted
=no
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1303 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1304 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1306 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1308 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1310 # When building in place, set srcdir=.
1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
1314 # Remove unnecessary trailing slashes from srcdir.
1315 # Double slashes in file names in object file debugging info
1316 # mess up M-x gdb in Emacs.
1318 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1320 for ac_var
in $ac_precious_vars; do
1321 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1323 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1324 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1328 # Report the --help message.
1330 if test "$ac_init_help" = "long"; then
1331 # Omit some internal or obsolete options to make the list less imposing.
1332 # This message is too long to be a string in the A/UX 3.1 sh.
1334 \`configure' configures libuserdb 0.10 to adapt to many kinds of systems.
1336 Usage: $0 [OPTION]... [VAR=VALUE]...
1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1339 VAR=VALUE. See below for descriptions of some of the useful variables.
1341 Defaults for the options are specified in brackets.
1344 -h, --help display this help and exit
1345 --help=short display options specific to this package
1346 --help=recursive display the short help of all the included packages
1347 -V, --version display version information and exit
1348 -q, --quiet, --silent do not print \`checking ...' messages
1349 --cache-file=FILE cache test results in FILE [disabled]
1350 -C, --config-cache alias for \`--cache-file=config.cache'
1351 -n, --no-create do not create output files
1352 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1354 Installation directories:
1355 --prefix=PREFIX install architecture-independent files in PREFIX
1356 [$ac_default_prefix]
1357 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1360 By default, \`make install' will install all the files in
1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1363 for instance \`--prefix=\$HOME'.
1365 For better control, use the options below.
1367 Fine tuning of the installation directories:
1368 --bindir=DIR user executables [EPREFIX/bin]
1369 --sbindir=DIR system admin executables [EPREFIX/sbin]
1370 --libexecdir=DIR program executables [EPREFIX/libexec]
1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1374 --libdir=DIR object code libraries [EPREFIX/lib]
1375 --includedir=DIR C header files [PREFIX/include]
1376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1379 --infodir=DIR info documentation [DATAROOTDIR/info]
1380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1381 --mandir=DIR man documentation [DATAROOTDIR/man]
1382 --docdir=DIR documentation root [DATAROOTDIR/doc/libuserdb]
1383 --htmldir=DIR html documentation [DOCDIR]
1384 --dvidir=DIR dvi documentation [DOCDIR]
1385 --pdfdir=DIR pdf documentation [DOCDIR]
1386 --psdir=DIR ps documentation [DOCDIR]
1392 --program-prefix=PREFIX prepend PREFIX to installed program names
1393 --program-suffix=SUFFIX append SUFFIX to installed program names
1394 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1397 --build=BUILD configure
for building on BUILD
[guessed
]
1398 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1402 if test -n "$ac_init_help"; then
1403 case $ac_init_help in
1404 short | recursive
) echo "Configuration of libuserdb 0.10:";;
1409 --disable-option-checking ignore unrecognized
--enable/--with options
1410 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1411 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1412 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1413 --disable-silent-rules verbose build output
(undo
: "make V=0")
1414 --enable-dependency-tracking
1415 do not reject slow dependency extractors
1416 --disable-dependency-tracking
1417 speeds up one-time build
1418 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1419 --enable-static[=PKGS
] build static libraries
[default
=yes]
1420 --enable-fast-install[=PKGS
]
1421 optimize
for fast installation
[default
=yes]
1422 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1423 --disable-largefile omit support
for large files
1426 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1427 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1428 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1430 --with-aix-soname=aix|svr4|both
1431 shared library versioning
(aka
"SONAME") variant to
1432 provide on AIX
, [default
=aix
].
1433 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1434 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1435 compiler
's sysroot if not specified).
1437 --with-random=/dev/urandom - location of the system random file generator
1438 --without-random - there is no system random file generator
1440 Some influential environment variables:
1441 CC C compiler command
1442 CFLAGS C compiler flags
1443 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1444 nonstandard directory <lib dir>
1445 LIBS libraries to pass to the linker, e.g. -l<library>
1446 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1447 you have headers in a nonstandard directory <include dir>
1449 User-defined run-time library search path.
1452 Use these variables to override the choices made by `configure' or to
help
1453 it to
find libraries and programs with nonstandard names
/locations.
1455 Report bugs to
<courier-users@lists.sourceforge.net
>.
1460 if test "$ac_init_help" = "recursive"; then
1461 # If there are subdirs, report their specific --help.
1462 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1463 test -d "$ac_dir" ||
1464 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1469 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1471 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1472 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1474 case $ac_top_builddir_sub in
1475 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1476 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1479 ac_abs_top_builddir
=$ac_pwd
1480 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1481 # for backward compatibility:
1482 ac_top_builddir
=$ac_top_build_prefix
1485 .
) # We are building in place.
1487 ac_top_srcdir
=$ac_top_builddir_sub
1488 ac_abs_top_srcdir
=$ac_pwd ;;
1489 [\\/]* | ?
:[\\/]* ) # Absolute name.
1490 ac_srcdir
=$srcdir$ac_dir_suffix;
1491 ac_top_srcdir
=$srcdir
1492 ac_abs_top_srcdir
=$srcdir ;;
1494 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1496 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1498 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1500 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1501 # Check for guested configure.
1502 if test -f "$ac_srcdir/configure.gnu"; then
1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505 elif test -f "$ac_srcdir/configure"; then
1507 $SHELL "$ac_srcdir/configure" --help=recursive
1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1511 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1515 test -n "$ac_init_help" && exit $ac_status
1516 if $ac_init_version; then
1518 libuserdb configure
0.10
1519 generated by GNU Autoconf
2.69
1521 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1522 This configure
script is free software
; the Free Software Foundation
1523 gives unlimited permission to copy
, distribute and modify it.
1528 ## ------------------------ ##
1529 ## Autoconf initialization. ##
1530 ## ------------------------ ##
1532 # ac_fn_c_try_compile LINENO
1533 # --------------------------
1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1535 ac_fn_c_try_compile
()
1537 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1538 rm -f conftest.
$ac_objext
1539 if { { ac_try
="$ac_compile"
1541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1542 *) ac_try_echo=$ac_try;;
1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_compile") 2>conftest.err
1548 if test -s conftest.err; then
1549 grep -v '^ *+' conftest.err >conftest.er1
1550 cat conftest.er1 >&5
1551 mv -f conftest.er1 conftest.err
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } && {
1555 test -z "$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1557 } && test -s conftest.$ac_objext; then :
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566 as_fn_set_status $ac_retval
1568 } # ac_fn_c_try_compile
1570 # ac_fn_c_try_link LINENO
1571 # -----------------------
1572 # Try to link conftest.$ac_ext, and return whether this succeeded.
1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576 rm -f conftest.$ac_objext conftest$ac_exeext
1577 if { { ac_try="$ac_link"
1579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1580 *) ac_try_echo
=$ac_try;;
1582 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1583 $as_echo "$ac_try_echo"; } >&5
1584 (eval "$ac_link") 2>conftest.err
1586 if test -s conftest.err
; then
1587 grep -v '^ *+' conftest.err
>conftest.er1
1588 cat conftest.er1
>&5
1589 mv -f conftest.er1 conftest.err
1591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592 test $ac_status = 0; } && {
1593 test -z "$ac_c_werror_flag" ||
1594 test ! -s conftest.err
1595 } && test -s conftest
$ac_exeext && {
1596 test "$cross_compiling" = yes ||
1597 test -x conftest
$ac_exeext
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.
$ac_ext >&5
1606 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1607 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1608 # interfere with the next link command; also delete a directory that is
1609 # left behind by Apple's compiler. We do this before executing the actions.
1610 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1612 as_fn_set_status
$ac_retval
1614 } # ac_fn_c_try_link
1616 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1617 # -------------------------------------------------------
1618 # Tests whether HEADER exists and can be compiled using the include files in
1619 # INCLUDES, setting the cache variable VAR accordingly.
1620 ac_fn_c_check_header_compile
()
1622 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if eval \
${$3+:} false
; then :
1626 $as_echo_n "(cached) " >&6
1628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1633 if ac_fn_c_try_compile
"$LINENO"; then :
1638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1642 $as_echo "$ac_res" >&6; }
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 } # ac_fn_c_check_header_compile
1647 # ac_fn_c_try_cpp LINENO
1648 # ----------------------
1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1653 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } > conftest.i && {
1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1684 # ac_fn_c_try_run LINENO
1685 # ----------------------
1686 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1687 # that executables *can* be run.
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 if { { ac_try="$ac_link"
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_link") 2>&5
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1702 { { case "(($ac_try" in
1703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_try") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; }; }; then :
1714 $as_echo "$as_me: program exited with status $ac_status" >&5
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1718 ac_retval=$ac_status
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722 as_fn_set_status $ac_retval
1726 # ac_fn_c_check_func LINENO FUNC VAR
1727 # ----------------------------------
1728 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1729 ac_fn_c_check_func ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1739 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1741 #define $2 innocuous_$2
1743 /* System header to define __stub macros and hopefully few prototypes,
1744 which can conflict with char $2 (); below.
1745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1746 <limits.h> exists even on freestanding compilers. */
1749 # include <limits.h>
1751 # include <assert.h>
1756 /* Override any GCC internal prototype to avoid an error.
1757 Use char because int might match the return type of a GCC
1758 builtin and then its argument prototype would still apply. */
1763 /* The GNU C library defines this for functions which it implements
1764 to always fail with ENOSYS. Some functions are actually named
1765 something starting with __ and the normal name is an alias. */
1766 #if defined __stub_$2 || defined __stub___$2
1778 if ac_fn_c_try_link "$LINENO"; then :
1783 rm -f core conftest.err conftest.$ac_objext \
1784 conftest$ac_exeext conftest.$ac_ext
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788 $as_echo "$ac_res" >&6; }
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 } # ac_fn_c_check_func
1793 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1794 # -------------------------------------------------------
1795 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1796 # the include files in INCLUDES and setting the cache variable VAR
1798 ac_fn_c_check_header_mongrel ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if eval \${$3+:} false; then :
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if eval \${$3+:} false; then :
1805 $as_echo_n "(cached) " >&6
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1811 # Is the header compilable?
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1813 $as_echo_n "checking $2 usability... " >&6; }
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1819 if ac_fn_c_try_compile "$LINENO"; then :
1820 ac_header_compiler=yes
1822 ac_header_compiler=no
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1826 $as_echo "$ac_header_compiler" >&6; }
1828 # Is the header present?
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1830 $as_echo_n "checking $2 presence... " >&6; }
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h. */
1835 if ac_fn_c_try_cpp "$LINENO"; then :
1836 ac_header_preproc=yes
1838 ac_header_preproc=no
1840 rm -f conftest.err conftest.i conftest.$ac_ext
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1842 $as_echo "$ac_header_preproc" >&6; }
1844 # So? What about this header?
1845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1848 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1850 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1854 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1856 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1858 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1860 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1862 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1863 ( $as_echo "## -------------------------------------------------- ##
1864 ## Report this to courier-users@lists.sourceforge.net ##
1865 ## -------------------------------------------------- ##"
1866 ) | sed "s/^/$as_me: WARNING: /" >&2
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if eval \${$3+:} false; then :
1872 $as_echo_n "(cached) " >&6
1874 eval "$3=\$ac_header_compiler"
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_header_mongrel
1884 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1885 # -------------------------------------------
1886 # Tests whether TYPE exists after having included INCLUDES, setting cache
1887 # variable VAR accordingly.
1888 ac_fn_c_check_type ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \${$3+:} false; then :
1894 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1909 if ac_fn_c_try_compile "$LINENO"; then :
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1922 if ac_fn_c_try_compile "$LINENO"; then :
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_type
1937 cat >config.log <<_ACEOF
1938 This file contains any messages produced by compilers while
1939 running configure, to aid debugging if configure makes a mistake.
1941 It was created by libuserdb $as_me 0.10, which was
1942 generated by GNU Autoconf 2.69. Invocation command line was
1954 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1955 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1956 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1957 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1958 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1960 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1961 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1963 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1964 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1965 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1966 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1967 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1968 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1969 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 $as_echo "PATH: $as_dir"
1994 # Keep a trace of the command line.
1995 # Strip out --no-create and --no-recursion so they do not pile up.
1996 # Strip out --silent because we don't want to record it for future runs.
1997 # Also quote any args containing shell meta-characters.
1998 # Make two passes to allow for proper duplicate-argument suppression.
2002 ac_must_keep_next=false
2008 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2010 | -silent | --silent | --silen | --sile | --sil)
2013 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2016 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2018 as_fn_append ac_configure_args1 " '$ac_arg'"
2019 if test $ac_must_keep_next = true; then
2020 ac_must_keep_next=false # Got value, back to normal.
2023 *=* | --config-cache | -C | -disable-* | --disable-* \
2024 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2025 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2026 | -with-* | --with-* | -without-* | --without-* | --x)
2027 case "$ac_configure_args0 " in
2028 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2031 -* ) ac_must_keep_next=true ;;
2034 as_fn_append ac_configure_args " '$ac_arg'"
2039 { ac_configure_args0=; unset ac_configure_args0;}
2040 { ac_configure_args1=; unset ac_configure_args1;}
2042 # When interrupted or exit'd, cleanup temporary files, and complete
2043 # config.log. We remove comments because anyway the quotes in there
2044 # would cause problems or look ugly.
2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2047 trap 'exit_status=$?
2048 # Save into config.log some information that might help in debugging.
2052 $as_echo "## ---------------- ##
2053 ## Cache variables. ##
2054 ## ---------------- ##"
2056 # The following way of writing the cache mishandles newlines in values,
2058 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2059 eval ac_val=\$$ac_var
2063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2067 _ | IFS | as_nl) ;; #(
2068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2069 *) { eval $ac_var=; unset $ac_var;} ;;
2074 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2075 *${as_nl}ac_space=\ *)
2077 "s/'\''/'\''\\\\'\'''\''/g;
2078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088 $as_echo "## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##"
2092 for ac_var in $ac_subst_vars
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -n "$ac_subst_files"; then
2103 $as_echo "## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##"
2107 for ac_var in $ac_subst_files
2109 eval ac_val=\$$ac_var
2111 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2113 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -s confdefs.h; then
2119 $as_echo "## ----------- ##
2126 test "$ac_signal" != 0 &&
2127 $as_echo "$as_me: caught signal $ac_signal"
2128 $as_echo "$as_me: exit $exit_status"
2130 rm -f core *.core core.conftest.* &&
2131 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2134 for ac_signal in 1 2 13 15; do
2135 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2140 rm -f -r conftest* confdefs.h
2142 $as_echo "/* confdefs.h */" > confdefs.h
2144 # Predefined preprocessor variables.
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_NAME "$PACKAGE_NAME"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_STRING "$PACKAGE_STRING"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_URL "$PACKAGE_URL"
2171 # Let the site file select an alternate cache file if it wants to.
2172 # Prefer an explicitly selected file to automatically selected ones.
2175 if test -n "$CONFIG_SITE"; then
2176 # We do not want a PATH search for config.site.
2177 case $CONFIG_SITE in #((
2178 -*) ac_site_file1=./$CONFIG_SITE;;
2179 */*) ac_site_file1=$CONFIG_SITE;;
2180 *) ac_site_file1=./$CONFIG_SITE;;
2182 elif test "x$prefix" != xNONE; then
2183 ac_site_file1=$prefix/share/config.site
2184 ac_site_file2=$prefix/etc/config.site
2186 ac_site_file1=$ac_default_prefix/share/config.site
2187 ac_site_file2=$ac_default_prefix/etc/config.site
2189 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2191 test "x$ac_site_file" = xNONE && continue
2192 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195 sed 's/^/| /' "$ac_site_file" >&5
2197 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 as_fn_error $? "failed to load site
script $ac_site_file
2200 See \
`config.log' for more details" "$LINENO" 5; }
2204 if test -r "$cache_file"; then
2205 # Some versions of bash will fail to source /dev/null (special files
2206 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2207 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2211 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2212 *) . "./$cache_file";;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221 # Check that the precious variables saved in the cache have kept the same
2223 ac_cache_corrupted=false
2224 for ac_var in $ac_precious_vars; do
2225 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2226 eval ac_new_set=\$ac_env_${ac_var}_set
2227 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2228 eval ac_new_val=\$ac_env_${ac_var}_value
2229 case $ac_old_set,$ac_new_set in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2232 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2233 ac_cache_corrupted=: ;;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2236 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2237 ac_cache_corrupted=: ;;
2240 if test "x$ac_old_val" != "x$ac_new_val"; then
2241 # differences in whitespace do not lead to failure.
2242 ac_old_val_w=`echo x
$ac_old_val`
2243 ac_new_val_w=`echo x
$ac_new_val`
2244 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2247 ac_cache_corrupted=:
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2251 eval $ac_var=\$ac_old_val
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2254 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2256 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2259 # Pass precious variables to config.status.
2260 if test "$ac_new_set" = set; then
2262 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2263 *) ac_arg=$ac_var=$ac_new_val ;;
2265 case " $ac_configure_args " in
2266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2267 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2271 if $ac_cache_corrupted; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2276 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2278 ## -------------------- ##
2279 ## Main body of script. ##
2280 ## -------------------- ##
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2290 >confdefs.h # Kill PACKAGE_ macros.
2292 LPATH="$PATH:/usr/local/bin"
2296 for ac_dir in .. "$srcdir"/..; do
2297 if test -f "$ac_dir/install-sh"; then
2299 ac_install_sh="$ac_aux_dir/install-sh -c"
2301 elif test -f "$ac_dir/install.sh"; then
2303 ac_install_sh="$ac_aux_dir/install.sh -c"
2305 elif test -f "$ac_dir/shtool"; then
2307 ac_install_sh="$ac_aux_dir/shtool install -c"
2311 if test -z "$ac_aux_dir"; then
2312 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2315 # These three variables are undocumented and unsupported,
2316 # and are intended to be withdrawn in a future Autoconf release.
2317 # They can cause serious problems if a builder's source tree is in a directory
2318 # whose full name contains unusual characters.
2319 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2320 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2321 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2324 am__api_version='1.15'
2326 # Find a good install program. We prefer a C program (faster),
2327 # so one script is as good as another. But avoid the broken or
2328 # incompatible versions:
2329 # SysV /etc/install, /usr/sbin/install
2330 # SunOS /usr/etc/install
2331 # IRIX /sbin/install
2333 # AmigaOS /C/install, which installs bootblocks on floppy discs
2334 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2335 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2336 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2337 # OS/2's system install, which has a completely different semantic
2338 # ./install, which can be erroneously created by make from ./install.sh.
2339 # Reject install programs that cannot install multiple files.
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2341 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2342 if test -z "$INSTALL"; then
2343 if ${ac_cv_path_install+:} false; then :
2344 $as_echo_n "(cached) " >&6
2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir=.
2351 # Account for people who put trailing slashes in PATH elements.
2352 case $as_dir/ in #((
2353 ./ | .// | /[cC]/* | \
2354 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2355 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2358 # OSF1 and SCO ODT 3.0 have their own names for install.
2359 # Don't use installbsd from OSF since it installs stuff as root
2361 for ac_prog in ginstall scoinst install; do
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2364 if test $ac_prog = install &&
2365 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2366 # AIX install. It has an incompatible calling convention.
2368 elif test $ac_prog = install &&
2369 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2370 # program-specific install script used by HP pwplus--don't use.
2373 rm -rf conftest.one conftest.two conftest.dir
2374 echo one > conftest.one
2375 echo two > conftest.two
2377 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2378 test -s conftest.one && test -s conftest.two &&
2379 test -s conftest.dir/conftest.one &&
2380 test -s conftest.dir/conftest.two
2382 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2395 rm -rf conftest.one conftest.two conftest.dir
2398 if test "${ac_cv_path_install+set}" = set; then
2399 INSTALL=$ac_cv_path_install
2401 # As a last resort, use the slow shell script. Don't cache a
2402 # value for INSTALL within a source directory, because that will
2403 # break other packages using the cache if that directory is
2404 # removed, or if the value is a relative name.
2405 INSTALL=$ac_install_sh
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2409 $as_echo "$INSTALL" >&6; }
2411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2412 # It thinks the first close brace ends the variable substitution.
2413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2417 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2420 $as_echo_n "checking whether build environment is sane... " >&6; }
2421 # Reject unsafe characters in $srcdir or the absolute working directory
2422 # name. Accept space and tab only in the latter.
2426 *[\\\"\#\$\&\'\`$am_lf]*)
2427 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2430 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2431 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2434 # Do 'set' in a subshell so we don't clobber the current shell's
2435 # arguments. Must try -L first in case configure is actually a
2436 # symlink; some systems play weird games with the mod time of symlinks
2437 # (eg FreeBSD returns the mod time of the symlink's containing
2441 for am_try
in 1 2; do
2442 echo "timestamp, slept: $am_has_slept" > conftest.
file
2443 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2444 if test "$*" = "X"; then
2446 set X
`ls -t "$srcdir/configure" conftest.file`
2448 if test "$*" != "X $srcdir/configure conftest.file" \
2449 && test "$*" != "X conftest.file $srcdir/configure"; then
2451 # If neither matched, then we have a broken ls. This can happen
2452 # if, for instance, CONFIG_SHELL is bash and it inherits a
2453 # broken ls alias from the environment. This has actually
2454 # happened. Such a system could not be considered "sane".
2455 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2456 alias in your environment" "$LINENO" 5
2458 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2465 test "$2" = conftest.
file
2471 as_fn_error $?
"newly created file is older than distributed files!
2472 Check your system clock" "$LINENO" 5
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2475 $as_echo "yes" >&6; }
2476 # If we didn't sleep, we still need to ensure time stamps of config.status and
2477 # generated files are strictly newer.
2479 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2486 test "$program_prefix" != NONE
&&
2487 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2488 # Use a double $ so make ignores it.
2489 test "$program_suffix" != NONE
&&
2490 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2491 # Double any \ or $.
2492 # By default was `s,x,x', remove it if useless.
2493 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2494 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2496 # Expand $ac_aux_dir to an absolute path.
2497 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2499 if test x
"${MISSING+set}" != xset
; then
2502 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2504 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2507 # Use eval to expand $SHELL
2508 if eval "$MISSING --is-lightweight"; then
2509 am_missing_run
="$MISSING "
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2513 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2516 if test x
"${install_sh+set}" != xset
; then
2519 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2521 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2525 # Installed binaries are usually stripped using 'strip' when the user
2526 # run "make install-strip". However 'strip' might not be the right
2527 # tool to use in cross-compilation environments, therefore Automake
2528 # will honor the 'STRIP' environment variable to overrule this program.
2529 if test "$cross_compiling" != no
; then
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2532 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if ${ac_cv_prog_STRIP+:} false
; then :
2536 $as_echo_n "(cached) " >&6
2538 if test -n "$STRIP"; then
2539 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 STRIP
=$ac_cv_prog_STRIP
2559 if test -n "$STRIP"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2561 $as_echo "$STRIP" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2569 if test -z "$ac_cv_prog_STRIP"; then
2571 # Extract the first word of "strip", so it can be a program name with args.
2572 set dummy strip
; ac_word
=$2
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$ac_ct_STRIP"; then
2579 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_exec_ext
in '' $ac_executable_extensions; do
2587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_STRIP
="strip"
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2599 if test -n "$ac_ct_STRIP"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2601 $as_echo "$ac_ct_STRIP" >&6; }
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2607 if test "x$ac_ct_STRIP" = x
; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614 ac_tool_warned
=yes ;;
2619 STRIP
="$ac_cv_prog_STRIP"
2623 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2626 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2627 if test -z "$MKDIR_P"; then
2628 if ${ac_cv_path_mkdir+:} false
; then :
2629 $as_echo_n "(cached) " >&6
2631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2635 test -z "$as_dir" && as_dir
=.
2636 for ac_prog
in mkdir gmkdir
; do
2637 for ac_exec_ext
in '' $ac_executable_extensions; do
2638 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2639 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2640 'mkdir (GNU coreutils) '* | \
2641 'mkdir (coreutils) '* | \
2642 'mkdir (fileutils) '4.1*)
2643 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2653 test -d .
/--version && rmdir .
/--version
2654 if test "${ac_cv_path_mkdir+set}" = set; then
2655 MKDIR_P
="$ac_cv_path_mkdir -p"
2657 # As a last resort, use the slow shell script. Don't cache a
2658 # value for MKDIR_P within a source directory, because that will
2659 # break other packages using the cache if that directory is
2660 # removed, or if the value is a relative name.
2661 MKDIR_P
="$ac_install_sh -d"
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2665 $as_echo "$MKDIR_P" >&6; }
2667 for ac_prog
in gawk mawk nawk
awk
2669 # Extract the first word of "$ac_prog", so it can be a program name with args.
2670 set dummy
$ac_prog; ac_word
=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_AWK+:} false
; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$AWK"; then
2677 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_AWK
="$ac_prog"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 if test -n "$AWK"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2699 $as_echo "$AWK" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2706 test -n "$AWK" && break
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2710 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2712 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2713 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 cat >conftest.
make <<\_ACEOF
2719 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2721 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2722 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2724 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2726 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2730 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2737 SET_MAKE
="MAKE=${MAKE-make}"
2740 rm -rf .tst
2>/dev
/null
2741 mkdir .tst
2>/dev
/null
2742 if test -d .tst
; then
2747 rmdir .tst
2>/dev
/null
2749 # Check whether --enable-silent-rules was given.
2750 if test "${enable_silent_rules+set}" = set; then :
2751 enableval
=$enable_silent_rules;
2754 case $enable_silent_rules in # (((
2755 yes) AM_DEFAULT_VERBOSITY
=0;;
2756 no
) AM_DEFAULT_VERBOSITY
=1;;
2757 *) AM_DEFAULT_VERBOSITY
=1;;
2759 am_make
=${MAKE-make}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2761 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2762 if ${am_cv_make_support_nested_variables+:} false
; then :
2763 $as_echo_n "(cached) " >&6
2765 if $as_echo 'TRUE=$(BAR$(V))
2771 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2772 am_cv_make_support_nested_variables
=yes
2774 am_cv_make_support_nested_variables
=no
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2778 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2779 if test $am_cv_make_support_nested_variables = yes; then
2781 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2783 AM_V
=$AM_DEFAULT_VERBOSITY
2784 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2788 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2789 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2790 # is not polluted with repeated "-I."
2791 am__isrc
=' -I$(srcdir)'
2792 # test to see if srcdir already configured
2793 if test -f $srcdir/config.status
; then
2794 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2798 # test whether we have cygpath
2799 if test -z "$CYGPATH_W"; then
2800 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2801 CYGPATH_W
='cygpath -w'
2808 # Define the identity of the package.
2813 # Some tools Automake needs.
2815 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2818 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2821 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2824 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2827 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2829 # For better backward compatibility. To be removed once Automake 1.9.x
2830 # dies out for good. For more background, see:
2831 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2832 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2833 mkdir_p
='$(MKDIR_P)'
2835 # We need awk for the "check" target (and possibly the TAP driver). The
2836 # system "awk" is bad on some platforms.
2837 # Always define AMTAR for backward compatibility. Yes, it's still used
2838 # in the wild :-( We should find a proper way to deprecate it ...
2842 # We'll loop over all known methods to create a tar archive until one works.
2843 _am_tools
='gnutar pax cpio none'
2845 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2852 # POSIX will say in a future version that running "rm -f" with no argument
2853 # is OK; and we want to be able to make that assumption in our Makefile
2854 # recipes. So use an aggressive probe to check that the usage we want is
2855 # actually supported "in the wild" to an acceptable degree.
2856 # See automake bug#10828.
2857 # To make any issue more visible, cause the running configure to be aborted
2858 # by default if the 'rm' program in use doesn't match our expectations; the
2859 # user can still override this though.
2860 if rm -f && rm -fr && rm -rf; then : OK
; else
2864 Your 'rm' program seems unable to run without file operands specified
2865 on the command line, even when the '-f' option is present. This is contrary
2866 to the behaviour of most rm programs out there, and not conforming with
2867 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2869 Please tell bug-automake@gnu.org about your system, including the value
2870 of your $PATH and any error possibly output before this message. This
2871 can help us improve future automake versions.
2874 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2875 echo 'Configuration will proceed anyway, since you have set the' >&2
2876 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2880 Aborting the configuration process, to ensure you take notice of the issue.
2882 You can download and install GNU coreutils to get an 'rm' implementation
2883 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2885 If you want to complete the configuration process using your problematic
2886 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2887 to "yes", and re-run configure.
2890 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2894 ac_config_headers
="$ac_config_headers config.h"
2897 for ac_prog
in gawk mawk nawk
awk
2899 # Extract the first word of "$ac_prog", so it can be a program name with args.
2900 set dummy
$ac_prog; ac_word
=$2
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 $as_echo_n "checking for $ac_word... " >&6; }
2903 if ${ac_cv_prog_AWK+:} false
; then :
2904 $as_echo_n "(cached) " >&6
2906 if test -n "$AWK"; then
2907 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir
=.
2914 for ac_exec_ext
in '' $ac_executable_extensions; do
2915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2916 ac_cv_prog_AWK
="$ac_prog"
2917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927 if test -n "$AWK"; then
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2929 $as_echo "$AWK" >&6; }
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2932 $as_echo "no" >&6; }
2936 test -n "$AWK" && break
2940 ac_cpp
='$CPP $CPPFLAGS'
2941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2944 if test -n "$ac_tool_prefix"; then
2945 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2946 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 $as_echo_n "checking for $ac_word... " >&6; }
2949 if ${ac_cv_prog_CC+:} false
; then :
2950 $as_echo_n "(cached) " >&6
2952 if test -n "$CC"; then
2953 ac_cv_prog_CC
="$CC" # Let the user override the test.
2955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2959 test -z "$as_dir" && as_dir
=.
2960 for ac_exec_ext
in '' $ac_executable_extensions; do
2961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2962 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 if test -n "$CC"; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2975 $as_echo "$CC" >&6; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2983 if test -z "$ac_cv_prog_CC"; then
2985 # Extract the first word of "gcc", so it can be a program name with args.
2986 set dummy gcc
; ac_word
=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$ac_ct_CC"; then
2993 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_ac_ct_CC
="gcc"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3013 if test -n "$ac_ct_CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3015 $as_echo "$ac_ct_CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3021 if test "x$ac_ct_CC" = x
; then
3024 case $cross_compiling:$ac_tool_warned in
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3028 ac_tool_warned
=yes ;;
3036 if test -z "$CC"; then
3037 if test -n "$ac_tool_prefix"; then
3038 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3039 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_prog_CC+:} false
; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$CC"; then
3046 ac_cv_prog_CC
="$CC" # Let the user override the test.
3048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir
=.
3053 for ac_exec_ext
in '' $ac_executable_extensions; do
3054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3055 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3077 if test -z "$CC"; then
3078 # Extract the first word of "cc", so it can be a program name with args.
3079 set dummy cc
; ac_word
=$2
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081 $as_echo_n "checking for $ac_word... " >&6; }
3082 if ${ac_cv_prog_CC+:} false
; then :
3083 $as_echo_n "(cached) " >&6
3085 if test -n "$CC"; then
3086 ac_cv_prog_CC
="$CC" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3096 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3097 ac_prog_rejected
=yes
3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 if test $ac_prog_rejected = yes; then
3109 # We found a bogon in the path, so make sure we never use it.
3110 set dummy
$ac_cv_prog_CC
3112 if test $# != 0; then
3113 # We chose a different compiler from the bogus one.
3114 # However, it has the same basename, so the bogon will be chosen
3115 # first if we set CC to just the basename; use the full file name.
3117 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3123 if test -n "$CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125 $as_echo "$CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3133 if test -z "$CC"; then
3134 if test -n "$ac_tool_prefix"; then
3135 for ac_prog
in cl.exe
3137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3138 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_CC+:} false
; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$CC"; then
3145 ac_cv_prog_CC
="$CC" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3154 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n "$CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167 $as_echo "$CC" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$CC" && break
3177 if test -z "$CC"; then
3179 for ac_prog
in cl.exe
3181 # Extract the first word of "$ac_prog", so it can be a program name with args.
3182 set dummy
$ac_prog; ac_word
=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$ac_ct_CC"; then
3189 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir
=.
3196 for ac_exec_ext
in '' $ac_executable_extensions; do
3197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3198 ac_cv_prog_ac_ct_CC
="$ac_prog"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3209 if test -n "$ac_ct_CC"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3211 $as_echo "$ac_ct_CC" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3218 test -n "$ac_ct_CC" && break
3221 if test "x$ac_ct_CC" = x
; then
3224 case $cross_compiling:$ac_tool_warned in
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3228 ac_tool_warned
=yes ;;
3237 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $?
"no acceptable C compiler found in \$PATH
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 # Provide some information about the compiler.
3243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3246 for ac_option
in --version -v -V -qversion; do
3247 { { ac_try
="$ac_compiler $ac_option >&5"
3249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3256 if test -s conftest.err; then
3258 ... rest of stderr output deleted ...
3259 10q' conftest.err >conftest.er1
3260 cat conftest.er1 >&5
3262 rm -f conftest.er1 conftest.err
3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264 test $ac_status = 0; }
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3278 ac_clean_files_save=$ac_clean_files
3279 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3280 # Try to create an executable without -o first, disregard a.out.
3281 # It will help us diagnose broken compilers, and finding out an intuition
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3284 $as_echo_n "checking whether the C compiler works... " >&6; }
3285 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3287 # The possible output files:
3288 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3291 for ac_file in $ac_files
3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3295 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3300 if { { ac_try="$ac_link_default"
3302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3303 *) ac_try_echo
=$ac_try;;
3305 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306 $as_echo "$ac_try_echo"; } >&5
3307 (eval "$ac_link_default") 2>&5
3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310 test $ac_status = 0; }; then :
3311 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3312 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3313 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3314 # so that the user can short-circuit this test for compilers unknown to
3316 for ac_file
in $ac_files ''
3318 test -f "$ac_file" ||
continue
3320 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3323 # We found the default executable, but exeext='' is most
3327 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3329 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3331 # We set ac_cv_exeext here because the later test for it is not
3332 # safe: cross compilers may not add the suffix if given an `-o'
3333 # argument, so we may need to know it at that point already.
3334 # Even if this section looks crufty: it has the advantage of
3341 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3346 if test -z "$ac_file"; then :
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3349 $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 as_fn_error
77 "C compiler cannot create executables
3355 See \`config.log' for more details" "$LINENO" 5; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3358 $as_echo "yes" >&6; }
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3361 $as_echo_n "checking for C compiler default output file name... " >&6; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3363 $as_echo "$ac_file" >&6; }
3364 ac_exeext
=$ac_cv_exeext
3366 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3367 ac_clean_files
=$ac_clean_files_save
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3369 $as_echo_n "checking for suffix of executables... " >&6; }
3370 if { { ac_try
="$ac_link"
3372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3373 *) ac_try_echo=$ac_try;;
3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376 $as_echo "$ac_try_echo"; } >&5
3377 (eval "$ac_link") 2>&5
3379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380 test $ac_status = 0; }; then :
3381 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3382 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3383 # work properly (i.e., refer to `conftest.exe'), while it won't with
3385 for ac_file
in conftest.exe conftest conftest.
*; do
3386 test -f "$ac_file" ||
continue
3388 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3389 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3398 See \`config.log' for more details" "$LINENO" 5; }
3400 rm -f conftest conftest
$ac_cv_exeext
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3402 $as_echo "$ac_cv_exeext" >&6; }
3404 rm -f conftest.
$ac_ext
3405 EXEEXT
=$ac_cv_exeext
3407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3413 FILE *f = fopen ("conftest.out", "w");
3414 return ferror (f) || fclose (f) != 0;
3420 ac_clean_files
="$ac_clean_files conftest.out"
3421 # Check that the compiler produces executables we can run. If not, either
3422 # the compiler is broken, or we cross compile.
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3424 $as_echo_n "checking whether we are cross compiling... " >&6; }
3425 if test "$cross_compiling" != yes; then
3426 { { ac_try
="$ac_link"
3428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3429 *) ac_try_echo=$ac_try;;
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_link") 2>&5
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }
3437 if { ac_try='./conftest$ac_cv_exeext'
3438 { { case "(($ac_try" in
3439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3440 *) ac_try_echo
=$ac_try;;
3442 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_try") 2>&5
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }; }; then
3450 if test "$cross_compiling" = maybe
; then
3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $?
"cannot run C compiled programs.
3456 If you meant to cross compile, use \`--host'.
3457 See \`config.log' for more details" "$LINENO" 5; }
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3462 $as_echo "$cross_compiling" >&6; }
3464 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3465 ac_clean_files
=$ac_clean_files_save
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3467 $as_echo_n "checking for suffix of object files... " >&6; }
3468 if ${ac_cv_objext+:} false
; then :
3469 $as_echo_n "(cached) " >&6
3471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3482 rm -f conftest.o conftest.obj
3483 if { { ac_try
="$ac_compile"
3485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_compile") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; then :
3494 for ac_file in conftest.o conftest.obj conftest.*; do
3495 test -f "$ac_file" || continue;
3497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3503 $as_echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.$ac_ext >&5
3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3509 See \
`config.log' for more details" "$LINENO" 5; }
3511 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3514 $as_echo "$ac_cv_objext" >&6; }
3515 OBJEXT=$ac_cv_objext
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3518 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3519 if ${ac_cv_c_compiler_gnu+:} false; then :
3520 $as_echo_n "(cached) " >&6
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3536 if ac_fn_c_try_compile "$LINENO"; then :
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3546 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3547 if test $ac_compiler_gnu = yes; then
3552 ac_test_CFLAGS=${CFLAGS+set}
3553 ac_save_CFLAGS=$CFLAGS
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3555 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3556 if ${ac_cv_prog_cc_g+:} false; then :
3557 $as_echo_n "(cached) " >&6
3559 ac_save_c_werror_flag=$ac_c_werror_flag
3560 ac_c_werror_flag=yes
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3574 if ac_fn_c_try_compile "$LINENO"; then :
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 if ac_fn_c_try_compile "$LINENO"; then :
3592 ac_c_werror_flag=$ac_save_c_werror_flag
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 if ac_fn_c_try_compile "$LINENO"; then :
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 ac_c_werror_flag=$ac_save_c_werror_flag
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3616 $as_echo "$ac_cv_prog_cc_g" >&6; }
3617 if test "$ac_test_CFLAGS" = set; then
3618 CFLAGS=$ac_save_CFLAGS
3619 elif test $ac_cv_prog_cc_g = yes; then
3620 if test "$GCC" = yes; then
3626 if test "$GCC" = yes; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3634 if ${ac_cv_prog_cc_c89+:} false; then :
3635 $as_echo_n "(cached) " >&6
3637 ac_cv_prog_cc_c89=no
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3644 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3645 struct buf { int x; };
3646 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3647 static char *e (p, i)
3653 static char *f (char * (*g) (char **, int), char **p, ...)
3658 s = g (p, va_arg (v,int));
3663 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3664 function prototypes and stuff, but not '\xHH' hex character constants.
3665 These don't provoke an error unfortunately, instead are silently treated
3666 as 'x'. The following induces an error, until -std is added to get
3667 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3668 array size at least. It's necessary to write '\x00'==0 to get something
3669 that's true only with -std. */
3670 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3672 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3673 inside strings and character constants. */
3675 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3677 int test (int i, double x);
3678 struct s1 {int (*f) (int a);};
3679 struct s2 {int (*f) (double a);};
3680 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3686 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3692 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3694 CC="$ac_save_CC $ac_arg"
3695 if ac_fn_c_try_compile "$LINENO"; then :
3696 ac_cv_prog_cc_c89=$ac_arg
3698 rm -f core conftest.err conftest.$ac_objext
3699 test "x$ac_cv_prog_cc_c89" != "xno" && break
3701 rm -f conftest.$ac_ext
3706 case "x$ac_cv_prog_cc_c89" in
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3709 $as_echo "none needed" >&6; } ;;
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3712 $as_echo "unsupported" >&6; } ;;
3714 CC="$CC $ac_cv_prog_cc_c89"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3716 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3718 if test "x$ac_cv_prog_cc_c89" != xno; then :
3723 ac_cpp='$CPP $CPPFLAGS'
3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 ac_cpp='$CPP $CPPFLAGS'
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3734 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3735 if ${am_cv_prog_cc_c_o+:} false; then :
3736 $as_echo_n "(cached) " >&6
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3749 # Make sure it works both with $CC and with simple cc.
3750 # Following AC_PROG_CC_C_O, we do the test twice because some
3751 # compilers refuse to overwrite an existing .o file with -o,
3752 # though they will create one.
3753 am_cv_prog_cc_c_o=yes
3755 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3756 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } \
3760 && test -f conftest2.$ac_objext; then
3763 am_cv_prog_cc_c_o=no
3767 rm -f core conftest*
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3771 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3772 if test "$am_cv_prog_cc_c_o" != yes; then
3773 # Losing compiler, so override with the script.
3774 # FIXME: It is wrong to rewrite CC.
3775 # But if we don't then we get into trouble of one sort or another.
3776 # A longer-term fix would be to have automake use am__CC in this case,
3777 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3778 CC="$am_aux_dir/compile $CC"
3781 ac_cpp='$CPP $CPPFLAGS'
3782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786 DEPDIR="${am__leading_dot}deps"
3788 ac_config_commands="$ac_config_commands depfiles"
3791 am_make=${MAKE-make}
3792 cat > confinc << 'END'
3794 @echo this is the am__doit target
3797 # If we don't find an include directive, just comment out the code.
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3799 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3803 # First try GNU make style include.
3804 echo "include confinc" > confmf
3805 # Ignore all kinds of additional output from 'make'.
3806 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3807 *the\ am__doit\ target*)
3813 # Now try BSD make style include.
3814 if test "$am__include" = "#"; then
3815 echo '.include "confinc"' > confmf
3816 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3817 *the\ am__doit\ target*)
3818 am__include=.include
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3827 $as_echo "$_am_result" >&6; }
3828 rm -f confinc confmf
3830 # Check whether --enable-dependency-tracking was given.
3831 if test "${enable_dependency_tracking+set}" = set; then :
3832 enableval=$enable_dependency_tracking;
3835 if test "x$enable_dependency_tracking" != xno; then
3836 am_depcomp="$ac_aux_dir/depcomp"
3840 if test "x$enable_dependency_tracking" != xno; then
3850 depcc="$CC" am_compiler_list=
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3853 $as_echo_n "checking dependency style of $depcc... " >&6; }
3854 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3858 # We make a subdir and do the tests there. Otherwise we can end up
3859 # making bogus files that we don't know about and never remove. For
3860 # instance it was reported that on HP-UX the gcc test will end up
3861 # making a dummy file named 'D' -- because '-MD' means "put the output
3865 # Copy depcomp to subdir because otherwise we won't find it if we're
3866 # using a relative directory.
3867 cp "$am_depcomp" conftest.dir
3869 # We will build objects and dependencies in a subdirectory because
3870 # it helps to detect inapplicable dependency modes. For instance
3871 # both Tru64's cc and ICC support -MD to output dependencies as a
3872 # side effect of compilation, but ICC will put the dependencies in
3873 # the current directory while Tru64 will put them in the object
3877 am_cv_CC_dependencies_compiler_type=none
3878 if test "$am_compiler_list" = ""; then
3879 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3882 case " $depcc " in #(
3883 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3886 for depmode in $am_compiler_list; do
3887 # Setup a source with many dependencies, because some compilers
3888 # like to wrap large dependency lists on column 80 (with \), and
3889 # we should not choose a depcomp mode which is confused by this.
3891 # We need to recreate these files for each test, as the compiler may
3892 # overwrite some of them when testing with obscure command lines.
3893 # This happens at least with the AIX C compiler.
3895 for i in 1 2 3 4 5 6; do
3896 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3897 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3898 # Solaris 10 /bin/sh.
3899 echo '/* dummy */' > sub/conftst$i.h
3901 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3903 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3904 # mode. It turns out that the SunPro C++ compiler does not properly
3905 # handle '-M -o', and we need to detect this. Also, some Intel
3906 # versions had trouble with output in subdirs.
3907 am__obj=sub/conftest.${OBJEXT-o}
3908 am__minus_obj="-o $am__obj"
3911 # This depmode causes a compiler race in universal mode.
3912 test "$am__universal" = false || continue
3915 # After this tag, mechanisms are not by side-effect, so they'll
3916 # only be used when explicitly requested.
3917 if test "x$enable_dependency_tracking" = xyes; then
3923 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3924 # This compiler won't grok '-c -o', but also, the minuso test has
3925 # not run yet. These depmodes are late enough in the game, and
3926 # so weak that their functioning should not be impacted.
3927 am__obj=conftest.${OBJEXT-o}
3932 if depmode=$depmode \
3933 source=sub/conftest.c object=$am__obj \
3934 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3935 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3936 >/dev/null 2>conftest.err &&
3937 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3938 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3939 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3940 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3941 # icc doesn't choke on unknown options, it will just issue warnings
3942 # or remarks (even with -Werror). So we grep stderr for any message
3943 # that says an option was ignored or not supported.
3944 # When given -MP, icc 7.0 and 7.1 complain thusly:
3945 # icc: Command line warning: ignoring option '-M'; no argument required
3946 # The diagnosis changed in icc 8.0:
3947 # icc: Command line remark: option '-MP' not supported
3948 if (grep 'ignoring option' conftest.err ||
3949 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3950 am_cv_CC_dependencies_compiler_type=$depmode
3959 am_cv_CC_dependencies_compiler_type=none
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3964 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3965 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3968 test "x$enable_dependency_tracking" != xno \
3969 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3971 am__fastdepCC_FALSE='#'
3973 am__fastdepCC_TRUE='#'
3974 am__fastdepCC_FALSE=
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3980 $as_echo_n "checking whether ln -s works... " >&6; }
3982 if test "$LN_S" = "ln -s"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3984 $as_echo "yes" >&6; }
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3987 $as_echo "no, using $LN_S" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3993 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3998 macro_version='2.4.6'
3999 macro_revision='2.4.6'
4013 ltmain=$ac_aux_dir/ltmain.sh
4015 # Make sure we can run config.sub.
4016 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4017 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4020 $as_echo_n "checking build system type... " >&6; }
4021 if ${ac_cv_build+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 ac_build_alias=$build_alias
4025 test "x$ac_build_alias" = x &&
4026 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4027 test "x$ac_build_alias" = x &&
4028 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4029 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4030 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4034 $as_echo "$ac_cv_build" >&6; }
4035 case $ac_cv_build in
4037 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4040 ac_save_IFS=$IFS; IFS='-'
4046 # Remember, the first character of IFS is used to create $*,
4047 # except with old shells:
4050 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4054 $as_echo_n "checking host system type... " >&6; }
4055 if ${ac_cv_host+:} false; then :
4056 $as_echo_n "(cached) " >&6
4058 if test "x$host_alias" = x; then
4059 ac_cv_host=$ac_cv_build
4061 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4062 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4067 $as_echo "$ac_cv_host" >&6; }
4070 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4073 ac_save_IFS=$IFS; IFS='-'
4079 # Remember, the first character of IFS is used to create $*,
4080 # except with old shells:
4083 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4086 # Backslashify metacharacters that are still active within
4087 # double-quoted strings.
4088 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4090 # Same as above, but do not quote variable references.
4091 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4093 # Sed substitution to delay expansion of an escaped shell variable in a
4094 # double_quote_subst'ed string.
4095 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4097 # Sed substitution to delay expansion of an escaped single quote.
4098 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4100 # Sed substitution to avoid accidental globbing in evaled expressions
4101 no_glob_subst='s/\*/\\\*/g'
4103 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4104 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4105 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4108 $as_echo_n "checking how to print
strings...
" >&6; }
4109 # Test print first, because it will be a builtin if present.
4110 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4111 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4113 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4116 # Use this function as a fallback that always works.
4117 func_fallback_echo ()
4119 eval 'cat <<_LTECHO_EOF
4123 ECHO='func_fallback_echo'
4126 # func_echo_all arg...
4127 # Invoke $ECHO with all args, space-separated.
4134 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4135 $as_echo "printf" >&6; } ;;
4136 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4137 $as_echo "print
-r" >&6; } ;;
4138 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4139 $as_echo "cat" >&6; } ;;
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4156 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4157 if ${ac_cv_path_SED+:} false; then :
4158 $as_echo_n "(cached
) " >&6
4160 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4161 for ac_i in 1 2 3 4 5 6 7; do
4162 ac_script="$ac_script$as_nl$ac_script"
4164 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4165 { ac_script=; unset ac_script;}
4166 if test -z "$SED"; then
4167 ac_path_SED_found=false
4168 # Loop through the user's path and test for each of PROGNAME-LIST
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir=.
4174 for ac_prog in sed gsed; do
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4177 as_fn_executable_p "$ac_path_SED" || continue
4178 # Check for GNU ac_path_SED and select it if it is found.
4179 # Check for GNU $ac_path_SED
4180 case `"$ac_path_SED" --version 2>&1` in
4182 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4185 $as_echo_n 0123456789 >"conftest.
in"
4188 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4189 mv "conftest.tmp
" "conftest.
in"
4190 cp "conftest.
in" "conftest.
nl"
4191 $as_echo '' >> "conftest.
nl"
4192 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4193 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4194 as_fn_arith $ac_count + 1 && ac_count=$as_val
4195 if test $ac_count -gt ${ac_path_SED_max-0}; then
4196 # Best one so far, save it but keep looking for a better one
4197 ac_cv_path_SED="$ac_path_SED"
4198 ac_path_SED_max=$ac_count
4200 # 10*(2^10) chars as input seems more than enough
4201 test $ac_count -gt 10 && break
4203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4206 $ac_path_SED_found && break 3
4211 if test -z "$ac_cv_path_SED"; then
4212 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4220 $as_echo "$ac_cv_path_SED" >&6; }
4221 SED="$ac_cv_path_SED"
4224 test -z "$SED" && SED=sed
4225 Xsed="$SED -e 1s
/^X
//"
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4238 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4239 if ${ac_cv_path_GREP+:} false; then :
4240 $as_echo_n "(cached
) " >&6
4242 if test -z "$GREP"; then
4243 ac_path_GREP_found=false
4244 # Loop through the user's path and test for each of PROGNAME-LIST
4245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4249 test -z "$as_dir" && as_dir=.
4250 for ac_prog in grep ggrep; do
4251 for ac_exec_ext in '' $ac_executable_extensions; do
4252 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4253 as_fn_executable_p "$ac_path_GREP" || continue
4254 # Check for GNU ac_path_GREP and select it if it is found.
4255 # Check for GNU $ac_path_GREP
4256 case `"$ac_path_GREP" --version 2>&1` in
4258 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4261 $as_echo_n 0123456789 >"conftest.
in"
4264 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4265 mv "conftest.tmp
" "conftest.
in"
4266 cp "conftest.
in" "conftest.
nl"
4267 $as_echo 'GREP' >> "conftest.
nl"
4268 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4269 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4270 as_fn_arith $ac_count + 1 && ac_count=$as_val
4271 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4272 # Best one so far, save it but keep looking for a better one
4273 ac_cv_path_GREP="$ac_path_GREP"
4274 ac_path_GREP_max=$ac_count
4276 # 10*(2^10) chars as input seems more than enough
4277 test $ac_count -gt 10 && break
4279 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4282 $ac_path_GREP_found && break 3
4287 if test -z "$ac_cv_path_GREP"; then
4288 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4291 ac_cv_path_GREP=$GREP
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4296 $as_echo "$ac_cv_path_GREP" >&6; }
4297 GREP="$ac_cv_path_GREP"
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4301 $as_echo_n "checking
for egrep...
" >&6; }
4302 if ${ac_cv_path_EGREP+:} false; then :
4303 $as_echo_n "(cached
) " >&6
4305 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4306 then ac_cv_path_EGREP="$GREP -E"
4308 if test -z "$EGREP"; then
4309 ac_path_EGREP_found=false
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4315 test -z "$as_dir" && as_dir=.
4316 for ac_prog in egrep; do
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4319 as_fn_executable_p "$ac_path_EGREP" || continue
4320 # Check for GNU ac_path_EGREP and select it if it is found.
4321 # Check for GNU $ac_path_EGREP
4322 case `"$ac_path_EGREP" --version 2>&1` in
4324 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4327 $as_echo_n 0123456789 >"conftest.
in"
4330 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4331 mv "conftest.tmp
" "conftest.
in"
4332 cp "conftest.
in" "conftest.
nl"
4333 $as_echo 'EGREP' >> "conftest.
nl"
4334 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4335 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4336 as_fn_arith $ac_count + 1 && ac_count=$as_val
4337 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4338 # Best one so far, save it but keep looking for a better one
4339 ac_cv_path_EGREP="$ac_path_EGREP"
4340 ac_path_EGREP_max=$ac_count
4342 # 10*(2^10) chars as input seems more than enough
4343 test $ac_count -gt 10 && break
4345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4348 $ac_path_EGREP_found && break 3
4353 if test -z "$ac_cv_path_EGREP"; then
4354 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4357 ac_cv_path_EGREP=$EGREP
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4363 $as_echo "$ac_cv_path_EGREP" >&6; }
4364 EGREP="$ac_cv_path_EGREP"
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4368 $as_echo_n "checking
for fgrep...
" >&6; }
4369 if ${ac_cv_path_FGREP+:} false; then :
4370 $as_echo_n "(cached
) " >&6
4372 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4373 then ac_cv_path_FGREP="$GREP -F"
4375 if test -z "$FGREP"; then
4376 ac_path_FGREP_found=false
4377 # Loop through the user's path and test for each of PROGNAME-LIST
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4382 test -z "$as_dir" && as_dir=.
4383 for ac_prog in fgrep; do
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4386 as_fn_executable_p "$ac_path_FGREP" || continue
4387 # Check for GNU ac_path_FGREP and select it if it is found.
4388 # Check for GNU $ac_path_FGREP
4389 case `"$ac_path_FGREP" --version 2>&1` in
4391 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4394 $as_echo_n 0123456789 >"conftest.
in"
4397 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4398 mv "conftest.tmp
" "conftest.
in"
4399 cp "conftest.
in" "conftest.
nl"
4400 $as_echo 'FGREP' >> "conftest.
nl"
4401 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4402 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4403 as_fn_arith $ac_count + 1 && ac_count=$as_val
4404 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4405 # Best one so far, save it but keep looking for a better one
4406 ac_cv_path_FGREP="$ac_path_FGREP"
4407 ac_path_FGREP_max=$ac_count
4409 # 10*(2^10) chars as input seems more than enough
4410 test $ac_count -gt 10 && break
4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4415 $ac_path_FGREP_found && break 3
4420 if test -z "$ac_cv_path_FGREP"; then
4421 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4424 ac_cv_path_FGREP=$FGREP
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4430 $as_echo "$ac_cv_path_FGREP" >&6; }
4431 FGREP="$ac_cv_path_FGREP"
4434 test -z "$GREP" && GREP=grep
4454 # Check whether --with-gnu-ld was given.
4455 if test "${with_gnu_ld+set}" = set; then :
4456 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4462 if test yes = "$GCC"; then
4463 # Check if gcc -print-prog-name=ld gives a path.
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4465 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4468 # gcc leaves a trailing carriage return, which upsets mingw
4469 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4471 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4474 # Accept absolute paths.
4476 re_direlt='/[^/][^/]*/\.\./'
4477 # Canonicalize the pathname of ld
4478 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4479 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4480 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4482 test -z "$LD" && LD=$ac_prog
4485 # If it fails, then pretend we aren't using GCC.
4489 # If it is relative, then search for the first ld in PATH.
4493 elif test yes = "$with_gnu_ld"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4495 $as_echo_n "checking
for GNU ld...
" >&6; }
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4498 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4500 if ${lt_cv_path_LD+:} false; then :
4501 $as_echo_n "(cached
) " >&6
4503 if test -z "$LD"; then
4504 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4505 for ac_dir in $PATH; do
4507 test -z "$ac_dir" && ac_dir=.
4508 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4509 lt_cv_path_LD=$ac_dir/$ac_prog
4510 # Check to see if the program is GNU ld. I'd rather use --version,
4511 # but apparently some variants of GNU ld only accept -v.
4512 # Break only if it was the GNU/non-GNU ld that we prefer.
4513 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4514 *GNU* | *'with BFD'*)
4515 test no != "$with_gnu_ld" && break
4518 test yes != "$with_gnu_ld" && break
4525 lt_cv_path_LD=$LD # Let the user override the test with a path.
4530 if test -n "$LD"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4532 $as_echo "$LD" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4535 $as_echo "no
" >&6; }
4537 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4539 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4540 if ${lt_cv_prog_gnu_ld+:} false; then :
4541 $as_echo_n "(cached
) " >&6
4543 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4544 case `$LD -v 2>&1 </dev/null` in
4545 *GNU* | *'with BFD'*)
4546 lt_cv_prog_gnu_ld=yes
4549 lt_cv_prog_gnu_ld=no
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4554 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4555 with_gnu_ld=$lt_cv_prog_gnu_ld
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4566 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4567 if ${lt_cv_path_NM+:} false; then :
4568 $as_echo_n "(cached
) " >&6
4570 if test -n "$NM"; then
4571 # Let the user override the test.
4574 lt_nm_to_check=${ac_tool_prefix}nm
4575 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4576 lt_nm_to_check="$lt_nm_to_check nm
"
4578 for lt_tmp_nm in $lt_nm_to_check; do
4579 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4580 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4582 test -z "$ac_dir" && ac_dir=.
4583 tmp_nm=$ac_dir/$lt_tmp_nm
4584 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4585 # Check to see if the nm accepts a BSD-compat flag.
4586 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4587 # nm: unknown option "B
" ignored
4588 # Tru64's nm complains that /dev/null is an invalid object file
4589 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4591 mingw*) lt_bad_file=conftest.nm/nofile ;;
4592 *) lt_bad_file=/dev/null ;;
4594 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4595 *$lt_bad_file* | *'Invalid file or object type'*)
4596 lt_cv_path_NM="$tmp_nm -B"
4600 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4602 lt_cv_path_NM="$tmp_nm -p"
4606 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4607 continue # so that we can try to find one that supports BSD flags
4616 : ${lt_cv_path_NM=no}
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4620 $as_echo "$lt_cv_path_NM" >&6; }
4621 if test no != "$lt_cv_path_NM"; then
4624 # Didn't find any BSD compatible name lister, look for dumpbin.
4625 if test -n "$DUMPBIN"; then :
4626 # Let the user override the test.
4628 if test -n "$ac_tool_prefix"; then
4629 for ac_prog in dumpbin "link
-dump"
4631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4634 $as_echo_n "checking
for $ac_word...
" >&6; }
4635 if ${ac_cv_prog_DUMPBIN+:} false; then :
4636 $as_echo_n "(cached
) " >&6
4638 if test -n "$DUMPBIN"; then
4639 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 test -z "$as_dir" && as_dir=.
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4648 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4658 DUMPBIN=$ac_cv_prog_DUMPBIN
4659 if test -n "$DUMPBIN"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4661 $as_echo "$DUMPBIN" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4664 $as_echo "no
" >&6; }
4668 test -n "$DUMPBIN" && break
4671 if test -z "$DUMPBIN"; then
4672 ac_ct_DUMPBIN=$DUMPBIN
4673 for ac_prog in dumpbin "link
-dump"
4675 # Extract the first word of "$ac_prog", so it can be a program name with args.
4676 set dummy $ac_prog; ac_word=$2
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4678 $as_echo_n "checking
for $ac_word...
" >&6; }
4679 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4680 $as_echo_n "(cached
) " >&6
4682 if test -n "$ac_ct_DUMPBIN"; then
4683 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4692 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4702 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4703 if test -n "$ac_ct_DUMPBIN"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4705 $as_echo "$ac_ct_DUMPBIN" >&6; }
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4708 $as_echo "no
" >&6; }
4712 test -n "$ac_ct_DUMPBIN" && break
4715 if test "x
$ac_ct_DUMPBIN" = x; then
4718 case $cross_compiling:$ac_tool_warned in
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4721 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4722 ac_tool_warned=yes ;;
4724 DUMPBIN=$ac_ct_DUMPBIN
4728 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4730 DUMPBIN="$DUMPBIN -symbols -headers"
4738 if test : != "$DUMPBIN"; then
4742 test -z "$NM" && NM=nm
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4750 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4751 if ${lt_cv_nm_interface+:} false; then :
4752 $as_echo_n "(cached
) " >&6
4754 lt_cv_nm_interface="BSD nm
"
4755 echo "int some_variable
= 0;" > conftest.$ac_ext
4756 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4757 (eval "$ac_compile" 2>conftest.err)
4758 cat conftest.err >&5
4759 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4760 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4761 cat conftest.err >&5
4762 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4763 cat conftest.out >&5
4764 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4765 lt_cv_nm_interface="MS dumpbin
"
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4770 $as_echo "$lt_cv_nm_interface" >&6; }
4772 # find the maximum length of command line arguments
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4774 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4775 if ${lt_cv_sys_max_cmd_len+:} false; then :
4776 $as_echo_n "(cached
) " >&6
4783 # On DJGPP, this test can blow up pretty badly due to problems in libc
4784 # (any single argument exceeding 2000 bytes causes a buffer overrun
4785 # during glob expansion). Even if it were fixed, the result of this
4786 # check would be larger than it should be.
4787 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4791 # Under GNU Hurd, this test is not required because there is
4792 # no limit to the length of command line arguments.
4793 # Libtool will interpret -1 as no limit whatsoever
4794 lt_cv_sys_max_cmd_len=-1;
4797 cygwin* | mingw* | cegcc*)
4798 # On Win9x/ME, this test blows up -- it succeeds, but takes
4799 # about 5 minutes as the teststring grows exponentially.
4800 # Worse, since 9x/ME are not pre-emptively multitasking,
4801 # you end up with a "frozen
" computer, even though with patience
4802 # the test eventually succeeds (with a max line length of 256k).
4803 # Instead, let's just punt: use the minimum linelength reported by
4804 # all of the supported platforms: 8192 (on NT/2K/XP).
4805 lt_cv_sys_max_cmd_len=8192;
4809 # On MiNT this can take a long time and run out of memory.
4810 lt_cv_sys_max_cmd_len=8192;
4814 # On AmigaOS with pdksh, this test takes hours, literally.
4815 # So we just punt and use a minimum line length of 8192.
4816 lt_cv_sys_max_cmd_len=8192;
4819 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4820 # This has been around since 386BSD, at least. Likely further.
4821 if test -x /sbin/sysctl; then
4822 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4823 elif test -x /usr/sbin/sysctl; then
4824 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4826 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4828 # And add a safety zone
4829 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4830 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4834 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4835 lt_cv_sys_max_cmd_len=196608
4839 # The test takes a long time on OS/2.
4840 lt_cv_sys_max_cmd_len=8192
4844 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4845 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4846 # nice to cause kernel panics so lets avoid the loop below.
4847 # First set a reasonable default.
4848 lt_cv_sys_max_cmd_len=16384
4850 if test -x /sbin/sysconfig; then
4851 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4852 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4857 lt_cv_sys_max_cmd_len=102400
4859 sysv5* | sco5v6* | sysv4.2uw2*)
4860 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4861 if test -n "$kargmax"; then
4862 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4864 lt_cv_sys_max_cmd_len=32768
4868 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4869 if test -n "$lt_cv_sys_max_cmd_len" && \
4870 test undefined != "$lt_cv_sys_max_cmd_len"; then
4871 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4874 # Make teststring a little bigger before we do anything with it.
4875 # a 1K string should be a reasonable start.
4876 for i in 1 2 3 4 5 6 7 8; do
4877 teststring=$teststring$teststring
4879 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4880 # If test is not a shell built-in, we'll probably end up computing a
4881 # maximum length that is only half of the actual maximum length, but
4883 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4884 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4885 test 17 != "$i" # 1/2 MB should be enough
4888 teststring=$teststring$teststring
4890 # Only check the string length outside the loop.
4891 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4893 # Add a significant safety factor because C++ compilers can tack on
4894 # massive amounts of additional arguments before passing them to the
4895 # linker. It appears as though 1/2 is a usable value.
4896 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4903 if test -n "$lt_cv_sys_max_cmd_len"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4905 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4908 $as_echo "none
" >&6; }
4910 max_cmd_len=$lt_cv_sys_max_cmd_len
4921 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4931 # test EBCDIC or ASCII
4932 case `echo X|tr X '\101'` in
4933 A) # ASCII based system
4934 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4935 lt_SP2NL='tr \040 \012'
4936 lt_NL2SP='tr \015\012 \040\040'
4938 *) # EBCDIC based system
4939 lt_SP2NL='tr \100 \n'
4940 lt_NL2SP='tr \r\n \100\100'
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4953 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4954 if ${lt_cv_to_host_file_cmd+:} false; then :
4955 $as_echo_n "(cached
) " >&6
4960 *-*-mingw* ) # actually msys
4961 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4964 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4966 * ) # otherwise, assume *nix
4967 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4973 *-*-mingw* ) # actually msys
4974 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4977 lt_cv_to_host_file_cmd=func_convert_file_noop
4979 * ) # otherwise, assume *nix
4980 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4984 * ) # unhandled hosts (and "normal
" native builds)
4985 lt_cv_to_host_file_cmd=func_convert_file_noop
4991 to_host_file_cmd=$lt_cv_to_host_file_cmd
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4993 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5000 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5001 if ${lt_cv_to_tool_file_cmd+:} false; then :
5002 $as_echo_n "(cached
) " >&6
5004 #assume ordinary cross tools, or native build.
5005 lt_cv_to_tool_file_cmd=func_convert_file_noop
5009 *-*-mingw* ) # actually msys
5010 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5018 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5020 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5027 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5028 if ${lt_cv_ld_reload_flag+:} false; then :
5029 $as_echo_n "(cached
) " >&6
5031 lt_cv_ld_reload_flag='-r'
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5034 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5035 reload_flag=$lt_cv_ld_reload_flag
5036 case $reload_flag in
5038 *) reload_flag=" $reload_flag" ;;
5040 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5042 cygwin* | mingw* | pw32* | cegcc*)
5043 if test yes != "$GCC"; then
5048 if test yes = "$GCC"; then
5049 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5051 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5064 if test -n "$ac_tool_prefix"; then
5065 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5066 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5068 $as_echo_n "checking
for $ac_word...
" >&6; }
5069 if ${ac_cv_prog_OBJDUMP+:} false; then :
5070 $as_echo_n "(cached
) " >&6
5072 if test -n "$OBJDUMP"; then
5073 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5092 OBJDUMP=$ac_cv_prog_OBJDUMP
5093 if test -n "$OBJDUMP"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5095 $as_echo "$OBJDUMP" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5098 $as_echo "no
" >&6; }
5103 if test -z "$ac_cv_prog_OBJDUMP"; then
5104 ac_ct_OBJDUMP=$OBJDUMP
5105 # Extract the first word of "objdump
", so it can be a program name with args.
5106 set dummy objdump; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5108 $as_echo_n "checking
for $ac_word...
" >&6; }
5109 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5110 $as_echo_n "(cached
) " >&6
5112 if test -n "$ac_ct_OBJDUMP"; then
5113 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5132 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5133 if test -n "$ac_ct_OBJDUMP"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5135 $as_echo "$ac_ct_OBJDUMP" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5138 $as_echo "no
" >&6; }
5141 if test "x
$ac_ct_OBJDUMP" = x; then
5144 case $cross_compiling:$ac_tool_warned in
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5147 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5148 ac_tool_warned=yes ;;
5150 OBJDUMP=$ac_ct_OBJDUMP
5153 OBJDUMP="$ac_cv_prog_OBJDUMP"
5156 test -z "$OBJDUMP" && OBJDUMP=objdump
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5167 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5168 if ${lt_cv_deplibs_check_method+:} false; then :
5169 $as_echo_n "(cached
) " >&6
5171 lt_cv_file_magic_cmd='$MAGIC_CMD'
5172 lt_cv_file_magic_test_file=
5173 lt_cv_deplibs_check_method='unknown'
5174 # Need to set the preceding variable on all platforms that support
5175 # interlibrary dependencies.
5176 # 'none' -- dependencies not supported.
5177 # 'unknown' -- same as none, but documents that we really don't know.
5178 # 'pass_all' -- all dependencies passed with no checks.
5179 # 'test_compile' -- check by making test program.
5180 # 'file_magic [[regex]]' -- check by looking for files in library path
5181 # that responds to the $file_magic_cmd with a given extended regex.
5182 # If you have 'file' or equivalent on your system and you're not sure
5183 # whether 'pass_all' will *always* work, you probably want this one.
5187 lt_cv_deplibs_check_method=pass_all
5191 lt_cv_deplibs_check_method=pass_all
5195 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5196 lt_cv_file_magic_cmd='/usr/bin/file -L'
5197 lt_cv_file_magic_test_file=/shlib/libc.so
5201 # func_win32_libid is a shell function defined in ltmain.sh
5202 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5203 lt_cv_file_magic_cmd='func_win32_libid'
5207 # Base MSYS/MinGW do not provide the 'file' command needed by
5208 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5209 # unless we find 'file', for example because we are cross-compiling.
5210 if ( file / ) >/dev/null 2>&1; then
5211 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5212 lt_cv_file_magic_cmd='func_win32_libid'
5214 # Keep this pattern in sync with the one in func_win32_libid.
5215 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5216 lt_cv_file_magic_cmd='$OBJDUMP -f'
5221 # use the weaker test based on 'objdump'. See mingw*.
5222 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5223 lt_cv_file_magic_cmd='$OBJDUMP -f'
5226 darwin* | rhapsody*)
5227 lt_cv_deplibs_check_method=pass_all
5230 freebsd* | dragonfly*)
5231 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5234 # Not sure whether the presence of OpenBSD here was a mistake.
5235 # Let's accept both of them until this is cleared up.
5236 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5237 lt_cv_file_magic_cmd=/usr/bin/file
5238 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5242 lt_cv_deplibs_check_method=pass_all
5247 lt_cv_deplibs_check_method=pass_all
5250 hpux10.20* | hpux11*)
5251 lt_cv_file_magic_cmd=/usr/bin/file
5254 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5255 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5258 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]'
5259 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5262 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5263 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5269 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5270 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5273 irix5* | irix6* | nonstopux*)
5275 *-32|*"-32 ") libmagic=32-bit;;
5276 *-n32|*"-n32 ") libmagic=N32;;
5277 *-64|*"-64 ") libmagic=64-bit;;
5278 *) libmagic=never-match;;
5280 lt_cv_deplibs_check_method=pass_all
5283 # This must be glibc/ELF.
5284 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5285 lt_cv_deplibs_check_method=pass_all
5289 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5297 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5298 lt_cv_file_magic_cmd=/usr/bin/file
5299 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5303 lt_cv_deplibs_check_method=pass_all
5307 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5314 osf3* | osf4* | osf5*)
5315 lt_cv_deplibs_check_method=pass_all
5319 lt_cv_deplibs_check_method=pass_all
5323 lt_cv_deplibs_check_method=pass_all
5326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5327 lt_cv_deplibs_check_method=pass_all
5331 case $host_vendor in
5333 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]'
5334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5337 lt_cv_deplibs_check_method=pass_all
5340 lt_cv_file_magic_cmd='/bin/file'
5341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5344 lt_cv_file_magic_cmd='/bin/file'
5345 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5346 lt_cv_file_magic_test_file=/lib/libc.so
5349 lt_cv_deplibs_check_method=pass_all
5352 lt_cv_deplibs_check_method=pass_all
5358 lt_cv_deplibs_check_method=pass_all
5361 lt_cv_deplibs_check_method=pass_all
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5367 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5371 if test "$build" = "$host"; then
5374 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5377 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5383 file_magic_cmd=$lt_cv_file_magic_cmd
5384 deplibs_check_method=$lt_cv_deplibs_check_method
5385 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5408 if test -n "$ac_tool_prefix"; then
5409 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5410 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5412 $as_echo_n "checking
for $ac_word...
" >&6; }
5413 if ${ac_cv_prog_DLLTOOL+:} false; then :
5414 $as_echo_n "(cached
) " >&6
5416 if test -n "$DLLTOOL"; then
5417 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5436 DLLTOOL=$ac_cv_prog_DLLTOOL
5437 if test -n "$DLLTOOL"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5439 $as_echo "$DLLTOOL" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5442 $as_echo "no
" >&6; }
5447 if test -z "$ac_cv_prog_DLLTOOL"; then
5448 ac_ct_DLLTOOL=$DLLTOOL
5449 # Extract the first word of "dlltool
", so it can be a program name with args.
5450 set dummy dlltool; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5452 $as_echo_n "checking
for $ac_word...
" >&6; }
5453 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5454 $as_echo_n "(cached
) " >&6
5456 if test -n "$ac_ct_DLLTOOL"; then
5457 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5476 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5477 if test -n "$ac_ct_DLLTOOL"; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5479 $as_echo "$ac_ct_DLLTOOL" >&6; }
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5482 $as_echo "no
" >&6; }
5485 if test "x
$ac_ct_DLLTOOL" = x; then
5488 case $cross_compiling:$ac_tool_warned in
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5491 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5492 ac_tool_warned=yes ;;
5494 DLLTOOL=$ac_ct_DLLTOOL
5497 DLLTOOL="$ac_cv_prog_DLLTOOL"
5500 test -z "$DLLTOOL" && DLLTOOL=dlltool
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5512 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5513 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5514 $as_echo_n "(cached
) " >&6
5516 lt_cv_sharedlib_from_linklib_cmd='unknown'
5519 cygwin* | mingw* | pw32* | cegcc*)
5520 # two different shell functions defined in ltmain.sh;
5521 # decide which one to use based on capabilities of $DLLTOOL
5522 case `$DLLTOOL --help 2>&1` in
5523 *--identify-strict*)
5524 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5527 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5532 # fallback: assume linklib IS sharedlib
5533 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5539 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5540 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5541 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5550 if test -n "$ac_tool_prefix"; then
5553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5556 $as_echo_n "checking
for $ac_word...
" >&6; }
5557 if ${ac_cv_prog_AR+:} false; then :
5558 $as_echo_n "(cached
) " >&6
5560 if test -n "$AR"; then
5561 ac_cv_prog_AR="$AR" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5581 if test -n "$AR"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5583 $as_echo "$AR" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5586 $as_echo "no
" >&6; }
5590 test -n "$AR" && break
5593 if test -z "$AR"; then
5597 # Extract the first word of "$ac_prog", so it can be a program name with args.
5598 set dummy $ac_prog; ac_word=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5600 $as_echo_n "checking
for $ac_word...
" >&6; }
5601 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5602 $as_echo_n "(cached
) " >&6
5604 if test -n "$ac_ct_AR"; then
5605 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_ac_ct_AR="$ac_prog"
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5624 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5625 if test -n "$ac_ct_AR"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5627 $as_echo "$ac_ct_AR" >&6; }
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5630 $as_echo "no
" >&6; }
5634 test -n "$ac_ct_AR" && break
5637 if test "x
$ac_ct_AR" = x; then
5640 case $cross_compiling:$ac_tool_warned in
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5643 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5644 ac_tool_warned=yes ;;
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5664 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5665 if ${lt_cv_ar_at_file+:} false; then :
5666 $as_echo_n "(cached
) " >&6
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5680 if ac_fn_c_try_compile "$LINENO"; then :
5681 echo conftest.$ac_objext > conftest.lst
5682 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5683 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5684 (eval $lt_ar_try) 2>&5
5686 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5687 test $ac_status = 0; }
5688 if test 0 -eq "$ac_status"; then
5689 # Ensure the archiver fails upon bogus file names.
5690 rm -f conftest.$ac_objext libconftest.a
5691 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5692 (eval $lt_ar_try) 2>&5
5694 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5695 test $ac_status = 0; }
5696 if test 0 -ne "$ac_status"; then
5700 rm -f conftest.* libconftest.a
5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5707 $as_echo "$lt_cv_ar_at_file" >&6; }
5709 if test no = "$lt_cv_ar_at_file"; then
5712 archiver_list_spec=$lt_cv_ar_at_file
5721 if test -n "$ac_tool_prefix"; then
5722 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5723 set dummy ${ac_tool_prefix}strip; ac_word=$2
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5725 $as_echo_n "checking
for $ac_word...
" >&6; }
5726 if ${ac_cv_prog_STRIP+:} false; then :
5727 $as_echo_n "(cached
) " >&6
5729 if test -n "$STRIP"; then
5730 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5749 STRIP=$ac_cv_prog_STRIP
5750 if test -n "$STRIP"; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5752 $as_echo "$STRIP" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5755 $as_echo "no
" >&6; }
5760 if test -z "$ac_cv_prog_STRIP"; then
5762 # Extract the first word of "strip
", so it can be a program name with args.
5763 set dummy strip; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5765 $as_echo_n "checking
for $ac_word...
" >&6; }
5766 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5767 $as_echo_n "(cached
) " >&6
5769 if test -n "$ac_ct_STRIP"; then
5770 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ac_ct_STRIP="strip
"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5789 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5790 if test -n "$ac_ct_STRIP"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5792 $as_echo "$ac_ct_STRIP" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5795 $as_echo "no
" >&6; }
5798 if test "x
$ac_ct_STRIP" = x; then
5801 case $cross_compiling:$ac_tool_warned in
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5804 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5805 ac_tool_warned=yes ;;
5810 STRIP="$ac_cv_prog_STRIP"
5813 test -z "$STRIP" && STRIP=:
5820 if test -n "$ac_tool_prefix"; then
5821 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5822 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5824 $as_echo_n "checking
for $ac_word...
" >&6; }
5825 if ${ac_cv_prog_RANLIB+:} false; then :
5826 $as_echo_n "(cached
) " >&6
5828 if test -n "$RANLIB"; then
5829 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5848 RANLIB=$ac_cv_prog_RANLIB
5849 if test -n "$RANLIB"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5851 $as_echo "$RANLIB" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5854 $as_echo "no
" >&6; }
5859 if test -z "$ac_cv_prog_RANLIB"; then
5860 ac_ct_RANLIB=$RANLIB
5861 # Extract the first word of "ranlib
", so it can be a program name with args.
5862 set dummy ranlib; ac_word=$2
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5864 $as_echo_n "checking
for $ac_word...
" >&6; }
5865 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5866 $as_echo_n "(cached
) " >&6
5868 if test -n "$ac_ct_RANLIB"; then
5869 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5888 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5889 if test -n "$ac_ct_RANLIB"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5891 $as_echo "$ac_ct_RANLIB" >&6; }
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5894 $as_echo "no
" >&6; }
5897 if test "x
$ac_ct_RANLIB" = x; then
5900 case $cross_compiling:$ac_tool_warned in
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5903 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5904 ac_tool_warned=yes ;;
5906 RANLIB=$ac_ct_RANLIB
5909 RANLIB="$ac_cv_prog_RANLIB"
5912 test -z "$RANLIB" && RANLIB=:
5919 # Determine commands to create old-style static archives.
5920 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5921 old_postinstall_cmds='chmod 644 $oldlib'
5922 old_postuninstall_cmds=
5924 if test -n "$RANLIB"; then
5927 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5930 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5933 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5938 lock_old_archive_extraction=yes ;;
5940 lock_old_archive_extraction=no ;;
5981 # If no C compiler was specified, use CC.
5984 # If no C compiler flags were specified, use CFLAGS.
5985 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5987 # Allow CC to be a program name with arguments.
5991 # Check for command to grab the raw symbol name followed by C symbol from nm.
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5993 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5994 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5995 $as_echo_n "(cached
) " >&6
5998 # These are sane defaults that work on at least a few old systems.
5999 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6001 # Character class describing NM global symbol codes.
6002 symcode='[BCDEGRST]'
6004 # Regexp to match symbols that can be accessed directly from C.
6005 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6007 # Define system-specific variables.
6012 cygwin* | mingw* | pw32* | cegcc*)
6013 symcode='[ABCDGISTW]'
6016 if test ia64 = "$host_cpu"; then
6017 symcode='[ABCDEGRST]'
6021 symcode='[BCDEGRST]'
6024 symcode='[BCDEGQRST]'
6035 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6043 # If we're using GNU nm, then use its standard symbol codes.
6044 case `$NM -V 2>&1` in
6045 *GNU* | *'with BFD'*)
6046 symcode='[ABCDGIRSTW]' ;;
6049 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6050 # Gets list of data symbols to import.
6051 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6052 # Adjust the below global symbol transforms to fixup imported variables.
6053 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6054 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6055 lt_c_name_lib_hook="\
6056 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6057 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6059 # Disable hooks by default.
6060 lt_cv_sys_global_symbol_to_import=
6066 # Transform an extracted symbol line into a proper C declaration.
6067 # Some systems (esp. on ia64) link data and code symbols differently,
6068 # so use this general approach.
6069 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6071 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6072 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6074 # Transform an extracted symbol line into symbol name and symbol address
6075 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6077 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6078 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6080 # Transform an extracted symbol line into symbol name with lib prefix and
6082 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6083 $lt_c_name_lib_hook\
6084 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6085 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6086 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6088 # Handle CRLF in mingw tool chain
6092 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6096 # Try without a prefix underscore, then with it.
6097 for ac_symprfx in "" "_
"; do
6099 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6100 symxfrm="\\1 $ac_symprfx\\2 \\2"
6102 # Write the raw and C identifiers.
6103 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6104 # Fake it for dumpbin and say T for any non-static function,
6105 # D for any global variable and I for any imported variable.
6106 # Also find C++ and __fastcall symbols from MSVC++,
6107 # which start with @ or ?.
6108 lt_cv_sys_global_symbol_pipe="$AWK '"\
6109 " {last_section=section; section=\$ 3};"\
6110 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6111 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6112 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6113 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6114 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6115 " \$ 0!~/External *\|/{next};"\
6116 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6117 " {if(hide[section]) next};"\
6118 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6119 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6120 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6121 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6122 " ' prfx
=^
$ac_symprfx"
6124 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6126 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6128 # Check to see that the pipe works correctly.
6132 cat > conftest.$ac_ext <<_LT_EOF
6137 void nm_test_func(void);
6138 void nm_test_func(void){}
6142 int main(){nm_test_var='a';nm_test_func();return(0);}
6145 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6146 (eval $ac_compile) 2>&5
6148 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6149 test $ac_status = 0; }; then
6150 # Now try to grab the symbols.
6152 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6153 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6155 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6156 test $ac_status = 0; } && test -s "$nlist"; then
6157 # Try sorting and uniquifying the output.
6158 if sort "$nlist" | uniq > "$nlist"T; then
6159 mv -f "$nlist"T "$nlist"
6164 # Make sure that we snagged all the symbols we need.
6165 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6166 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6167 cat <<_LT_EOF > conftest.$ac_ext
6168 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6169 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6170 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6171 relocations are performed -- see ld's documentation on pseudo-relocs. */
6172 # define LT_DLSYM_CONST
6173 #elif defined __osf__
6174 /* This system does not cope well with relocations in const data. */
6175 # define LT_DLSYM_CONST
6177 # define LT_DLSYM_CONST const
6185 # Now generate the symbol file.
6186 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6188 cat <<_LT_EOF >> conftest.$ac_ext
6190 /* The mapping between symbol names and symbols. */
6191 LT_DLSYM_CONST struct {
6195 lt__PROGRAM__LTX_preloaded_symbols[] =
6197 { "@PROGRAM@
", (void *) 0 },
6199 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6200 cat <<\_LT_EOF >> conftest.$ac_ext
6204 /* This works around a problem in FreeBSD linker */
6205 #ifdef FREEBSD_WORKAROUND
6206 static const void *lt_preloaded_setup() {
6207 return lt__PROGRAM__LTX_preloaded_symbols;
6215 # Now try linking the two files.
6216 mv conftest.$ac_objext conftstm.$ac_objext
6217 lt_globsym_save_LIBS=$LIBS
6218 lt_globsym_save_CFLAGS=$CFLAGS
6219 LIBS=conftstm.$ac_objext
6220 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6221 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6222 (eval $ac_link) 2>&5
6224 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6225 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6228 LIBS=$lt_globsym_save_LIBS
6229 CFLAGS=$lt_globsym_save_CFLAGS
6231 echo "cannot
find nm_test_func
in $nlist" >&5
6234 echo "cannot
find nm_test_var
in $nlist" >&5
6237 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6240 echo "$progname: failed program was
:" >&5
6241 cat conftest.$ac_ext >&5
6243 rm -rf conftest* conftst*
6245 # Do not use the global_symbol_pipe unless it works.
6246 if test yes = "$pipe_works"; then
6249 lt_cv_sys_global_symbol_pipe=
6255 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6256 lt_cv_sys_global_symbol_to_cdecl=
6258 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6260 $as_echo "failed
" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6263 $as_echo "ok
" >&6; }
6266 # Response file support.
6267 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6268 nm_file_list_spec='@'
6269 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6270 nm_file_list_spec='@'
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6310 $as_echo_n "checking
for sysroot...
" >&6; }
6312 # Check whether --with-sysroot was given.
6313 if test "${with_sysroot+set}" = set; then :
6314 withval=$with_sysroot;
6321 case $with_sysroot in #(
6323 if test yes = "$GCC"; then
6324 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6328 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6334 $as_echo "$with_sysroot" >&6; }
6335 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6340 $as_echo "${lt_sysroot:-no}" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6347 $as_echo_n "checking
for a working
dd...
" >&6; }
6348 if ${ac_cv_path_lt_DD+:} false; then :
6349 $as_echo_n "(cached
) " >&6
6351 printf 0123456789abcdef0123456789abcdef >conftest.i
6352 cat conftest.i conftest.i >conftest2.i
6354 if test -z "$lt_DD"; then
6355 ac_path_lt_DD_found=false
6356 # Loop through the user's path and test for each of PROGNAME-LIST
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir=.
6362 for ac_prog in dd; do
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6365 as_fn_executable_p "$ac_path_lt_DD" || continue
6366 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6367 cmp -s conftest.i conftest.out \
6368 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6370 $ac_path_lt_DD_found && break 3
6375 if test -z "$ac_cv_path_lt_DD"; then
6379 ac_cv_path_lt_DD=$lt_DD
6382 rm -f conftest.i conftest2.i conftest.out
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6385 $as_echo "$ac_cv_path_lt_DD" >&6; }
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6389 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6390 if ${lt_cv_truncate_bin+:} false; then :
6391 $as_echo_n "(cached
) " >&6
6393 printf 0123456789abcdef0123456789abcdef >conftest.i
6394 cat conftest.i conftest.i >conftest2.i
6396 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6397 cmp -s conftest.i conftest.out \
6398 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6400 rm -f conftest.i conftest2.i conftest.out
6401 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6404 $as_echo "$lt_cv_truncate_bin" >&6; }
6412 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6415 for cc_temp in $*""; do
6417 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6418 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6423 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6426 # Check whether --enable-libtool-lock was given.
6427 if test "${enable_libtool_lock+set}" = set; then :
6428 enableval=$enable_libtool_lock;
6431 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6433 # Some flags need to be propagated to the compiler or linker for good
6437 # Find out what ABI is being produced by ac_compile, and set mode
6438 # options accordingly.
6439 echo 'int i;' > conftest.$ac_ext
6440 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6441 (eval $ac_compile) 2>&5
6443 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6444 test $ac_status = 0; }; then
6445 case `/usr/bin/file conftest.$ac_objext` in
6457 # Find out what ABI is being produced by ac_compile, and set linker
6458 # options accordingly.
6459 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6460 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6461 (eval $ac_compile) 2>&5
6463 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6464 test $ac_status = 0; }; then
6465 if test yes = "$lt_cv_prog_gnu_ld"; then
6466 case `/usr/bin/file conftest.$ac_objext` in
6468 LD="${LD-ld} -melf32bsmip"
6471 LD="${LD-ld} -melf32bmipn32"
6474 LD="${LD-ld} -melf64bmip"
6478 case `/usr/bin/file conftest.$ac_objext` in
6495 # Find out what ABI is being produced by ac_compile, and set linker
6496 # options accordingly.
6497 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6498 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6499 (eval $ac_compile) 2>&5
6501 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6502 test $ac_status = 0; }; then
6504 case `/usr/bin/file conftest.$ac_objext` in
6512 case `/usr/bin/file conftest.$ac_objext` in
6514 emul="${emul}btsmip
"
6517 emul="${emul}ltsmip
"
6520 case `/usr/bin/file conftest.$ac_objext` in
6525 LD="${LD-ld} -m $emul"
6530 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6531 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6532 # Find out what ABI is being produced by ac_compile, and set linker
6533 # options accordingly. Note that the listed cases only cover the
6534 # situations where additional linker options are needed (such as when
6535 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6536 # vice versa); the common cases where no linker options are needed do
6537 # not appear in the list.
6538 echo 'int i;' > conftest.$ac_ext
6539 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6540 (eval $ac_compile) 2>&5
6542 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6543 test $ac_status = 0; }; then
6544 case `/usr/bin/file conftest.o` in
6547 x86_64-*kfreebsd*-gnu)
6548 LD="${LD-ld} -m elf_i386_fbsd
"
6551 case `/usr/bin/file conftest.o` in
6553 LD="${LD-ld} -m elf32_x86_64
"
6556 LD="${LD-ld} -m elf_i386
"
6560 powerpc64le-*linux*)
6561 LD="${LD-ld} -m elf32lppclinux
"
6564 LD="${LD-ld} -m elf32ppclinux
"
6567 LD="${LD-ld} -m elf_s390
"
6570 LD="${LD-ld} -m elf32_sparc
"
6576 x86_64-*kfreebsd*-gnu)
6577 LD="${LD-ld} -m elf_x86_64_fbsd
"
6580 LD="${LD-ld} -m elf_x86_64
"
6583 LD="${LD-ld} -m elf64lppc
"
6586 LD="${LD-ld} -m elf64ppc
"
6588 s390*-*linux*|s390*-*tpf*)
6589 LD="${LD-ld} -m elf64_s390
"
6592 LD="${LD-ld} -m elf64_sparc
"
6602 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6604 CFLAGS="$CFLAGS -belf"
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6606 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6607 if ${lt_cv_cc_needs_belf+:} false; then :
6608 $as_echo_n "(cached
) " >&6
6611 ac_cpp='$CPP $CPPFLAGS'
6612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6627 if ac_fn_c_try_link "$LINENO"; then :
6628 lt_cv_cc_needs_belf=yes
6630 lt_cv_cc_needs_belf=no
6632 rm -f core conftest.err conftest.$ac_objext \
6633 conftest$ac_exeext conftest.$ac_ext
6635 ac_cpp='$CPP $CPPFLAGS'
6636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6642 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6643 if test yes != "$lt_cv_cc_needs_belf"; then
6644 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6649 # Find out what ABI is being produced by ac_compile, and set linker
6650 # options accordingly.
6651 echo 'int i;' > conftest.$ac_ext
6652 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6653 (eval $ac_compile) 2>&5
6655 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6656 test $ac_status = 0; }; then
6657 case `/usr/bin/file conftest.o` in
6659 case $lt_cv_prog_gnu_ld in
6662 i?86-*-solaris*|x86_64-*-solaris*)
6663 LD="${LD-ld} -m elf_x86_64
"
6666 LD="${LD-ld} -m elf64_sparc
"
6669 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6670 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6675 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6687 need_locks=$enable_libtool_lock
6689 if test -n "$ac_tool_prefix"; then
6690 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6691 set dummy ${ac_tool_prefix}mt; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6693 $as_echo_n "checking
for $ac_word...
" >&6; }
6694 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6695 $as_echo_n "(cached
) " >&6
6697 if test -n "$MANIFEST_TOOL"; then
6698 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6717 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6718 if test -n "$MANIFEST_TOOL"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6720 $as_echo "$MANIFEST_TOOL" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6723 $as_echo "no
" >&6; }
6728 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6729 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6730 # Extract the first word of "mt
", so it can be a program name with args.
6731 set dummy mt; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6733 $as_echo_n "checking
for $ac_word...
" >&6; }
6734 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6735 $as_echo_n "(cached
) " >&6
6737 if test -n "$ac_ct_MANIFEST_TOOL"; then
6738 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6757 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6758 if test -n "$ac_ct_MANIFEST_TOOL"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6760 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6763 $as_echo "no
" >&6; }
6766 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6769 case $cross_compiling:$ac_tool_warned in
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6772 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6773 ac_tool_warned=yes ;;
6775 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6778 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6781 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6783 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6784 if ${lt_cv_path_mainfest_tool+:} false; then :
6785 $as_echo_n "(cached
) " >&6
6787 lt_cv_path_mainfest_tool=no
6788 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6789 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6790 cat conftest.err >&5
6791 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6792 lt_cv_path_mainfest_tool=yes
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6797 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6798 if test yes != "$lt_cv_path_mainfest_tool"; then
6808 rhapsody* | darwin*)
6809 if test -n "$ac_tool_prefix"; then
6810 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6811 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6813 $as_echo_n "checking
for $ac_word...
" >&6; }
6814 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6815 $as_echo_n "(cached
) " >&6
6817 if test -n "$DSYMUTIL"; then
6818 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 test -z "$as_dir" && as_dir=.
6825 for ac_exec_ext in '' $ac_executable_extensions; do
6826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6827 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6837 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6838 if test -n "$DSYMUTIL"; then
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6840 $as_echo "$DSYMUTIL" >&6; }
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6843 $as_echo "no
" >&6; }
6848 if test -z "$ac_cv_prog_DSYMUTIL"; then
6849 ac_ct_DSYMUTIL=$DSYMUTIL
6850 # Extract the first word of "dsymutil
", so it can be a program name with args.
6851 set dummy dsymutil; ac_word=$2
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6853 $as_echo_n "checking
for $ac_word...
" >&6; }
6854 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6855 $as_echo_n "(cached
) " >&6
6857 if test -n "$ac_ct_DSYMUTIL"; then
6858 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6864 test -z "$as_dir" && as_dir=.
6865 for ac_exec_ext in '' $ac_executable_extensions; do
6866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6867 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6877 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6878 if test -n "$ac_ct_DSYMUTIL"; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6880 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6883 $as_echo "no
" >&6; }
6886 if test "x
$ac_ct_DSYMUTIL" = x; then
6889 case $cross_compiling:$ac_tool_warned in
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6892 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6893 ac_tool_warned=yes ;;
6895 DSYMUTIL=$ac_ct_DSYMUTIL
6898 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6901 if test -n "$ac_tool_prefix"; then
6902 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6903 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6905 $as_echo_n "checking
for $ac_word...
" >&6; }
6906 if ${ac_cv_prog_NMEDIT+:} false; then :
6907 $as_echo_n "(cached
) " >&6
6909 if test -n "$NMEDIT"; then
6910 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 test -z "$as_dir" && as_dir=.
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6919 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6929 NMEDIT=$ac_cv_prog_NMEDIT
6930 if test -n "$NMEDIT"; then
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6932 $as_echo "$NMEDIT" >&6; }
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6935 $as_echo "no
" >&6; }
6940 if test -z "$ac_cv_prog_NMEDIT"; then
6941 ac_ct_NMEDIT=$NMEDIT
6942 # Extract the first word of "nmedit
", so it can be a program name with args.
6943 set dummy nmedit; ac_word=$2
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6945 $as_echo_n "checking
for $ac_word...
" >&6; }
6946 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6947 $as_echo_n "(cached
) " >&6
6949 if test -n "$ac_ct_NMEDIT"; then
6950 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 test -z "$as_dir" && as_dir=.
6957 for ac_exec_ext in '' $ac_executable_extensions; do
6958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6959 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6969 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6970 if test -n "$ac_ct_NMEDIT"; then
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6972 $as_echo "$ac_ct_NMEDIT" >&6; }
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6975 $as_echo "no
" >&6; }
6978 if test "x
$ac_ct_NMEDIT" = x; then
6981 case $cross_compiling:$ac_tool_warned in
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6984 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6985 ac_tool_warned=yes ;;
6987 NMEDIT=$ac_ct_NMEDIT
6990 NMEDIT="$ac_cv_prog_NMEDIT"
6993 if test -n "$ac_tool_prefix"; then
6994 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6995 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6997 $as_echo_n "checking
for $ac_word...
" >&6; }
6998 if ${ac_cv_prog_LIPO+:} false; then :
6999 $as_echo_n "(cached
) " >&6
7001 if test -n "$LIPO"; then
7002 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 test -z "$as_dir" && as_dir=.
7009 for ac_exec_ext in '' $ac_executable_extensions; do
7010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7011 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7021 LIPO=$ac_cv_prog_LIPO
7022 if test -n "$LIPO"; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7024 $as_echo "$LIPO" >&6; }
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7027 $as_echo "no
" >&6; }
7032 if test -z "$ac_cv_prog_LIPO"; then
7034 # Extract the first word of "lipo
", so it can be a program name with args.
7035 set dummy lipo; ac_word=$2
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7037 $as_echo_n "checking
for $ac_word...
" >&6; }
7038 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7039 $as_echo_n "(cached
) " >&6
7041 if test -n "$ac_ct_LIPO"; then
7042 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 test -z "$as_dir" && as_dir=.
7049 for ac_exec_ext in '' $ac_executable_extensions; do
7050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7051 ac_cv_prog_ac_ct_LIPO="lipo
"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7061 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7062 if test -n "$ac_ct_LIPO"; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7064 $as_echo "$ac_ct_LIPO" >&6; }
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7067 $as_echo "no
" >&6; }
7070 if test "x
$ac_ct_LIPO" = x; then
7073 case $cross_compiling:$ac_tool_warned in
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7076 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7077 ac_tool_warned=yes ;;
7082 LIPO="$ac_cv_prog_LIPO"
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}otool; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7089 $as_echo_n "checking
for $ac_word...
" >&6; }
7090 if ${ac_cv_prog_OTOOL+:} false; then :
7091 $as_echo_n "(cached
) " >&6
7093 if test -n "$OTOOL"; then
7094 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7113 OTOOL=$ac_cv_prog_OTOOL
7114 if test -n "$OTOOL"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7116 $as_echo "$OTOOL" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7119 $as_echo "no
" >&6; }
7124 if test -z "$ac_cv_prog_OTOOL"; then
7126 # Extract the first word of "otool
", so it can be a program name with args.
7127 set dummy otool; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7129 $as_echo_n "checking
for $ac_word...
" >&6; }
7130 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7131 $as_echo_n "(cached
) " >&6
7133 if test -n "$ac_ct_OTOOL"; then
7134 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_ac_ct_OTOOL="otool
"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7153 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7154 if test -n "$ac_ct_OTOOL"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7156 $as_echo "$ac_ct_OTOOL" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7159 $as_echo "no
" >&6; }
7162 if test "x
$ac_ct_OTOOL" = x; then
7165 case $cross_compiling:$ac_tool_warned in
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7168 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7169 ac_tool_warned=yes ;;
7174 OTOOL="$ac_cv_prog_OTOOL"
7177 if test -n "$ac_tool_prefix"; then
7178 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7179 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7181 $as_echo_n "checking
for $ac_word...
" >&6; }
7182 if ${ac_cv_prog_OTOOL64+:} false; then :
7183 $as_echo_n "(cached
) " >&6
7185 if test -n "$OTOOL64"; then
7186 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir=.
7193 for ac_exec_ext in '' $ac_executable_extensions; do
7194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7195 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7205 OTOOL64=$ac_cv_prog_OTOOL64
7206 if test -n "$OTOOL64"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7208 $as_echo "$OTOOL64" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7211 $as_echo "no
" >&6; }
7216 if test -z "$ac_cv_prog_OTOOL64"; then
7217 ac_ct_OTOOL64=$OTOOL64
7218 # Extract the first word of "otool64
", so it can be a program name with args.
7219 set dummy otool64; ac_word=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7221 $as_echo_n "checking
for $ac_word...
" >&6; }
7222 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7223 $as_echo_n "(cached
) " >&6
7225 if test -n "$ac_ct_OTOOL64"; then
7226 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 test -z "$as_dir" && as_dir=.
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7245 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7246 if test -n "$ac_ct_OTOOL64"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7248 $as_echo "$ac_ct_OTOOL64" >&6; }
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7251 $as_echo "no
" >&6; }
7254 if test "x
$ac_ct_OTOOL64" = x; then
7257 case $cross_compiling:$ac_tool_warned in
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7260 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7261 ac_tool_warned=yes ;;
7263 OTOOL64=$ac_ct_OTOOL64
7266 OTOOL64="$ac_cv_prog_OTOOL64"
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7296 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7297 if ${lt_cv_apple_cc_single_mod+:} false; then :
7298 $as_echo_n "(cached
) " >&6
7300 lt_cv_apple_cc_single_mod=no
7301 if test -z "$LT_MULTI_MODULE"; then
7302 # By default we will add the -single_module flag. You can override
7303 # by either setting the environment variable LT_MULTI_MODULE
7304 # non-empty at configure time, or by adding -multi_module to the
7306 rm -rf libconftest.dylib*
7307 echo "int foo
(void
){return 1;}" > conftest.c
7308 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7309 -dynamiclib -Wl,-single_module conftest.c
" >&5
7310 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7311 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7313 # If there is a non-empty error log, and "single_module
"
7314 # appears in it, assume the flag caused a linker warning
7315 if test -s conftest.err && $GREP single_module conftest.err; then
7316 cat conftest.err >&5
7317 # Otherwise, if the output was created with a 0 exit code from
7318 # the compiler, it worked.
7319 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7320 lt_cv_apple_cc_single_mod=yes
7322 cat conftest.err >&5
7324 rm -rf libconftest.dylib*
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7329 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7332 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7333 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7334 $as_echo_n "(cached
) " >&6
7336 lt_cv_ld_exported_symbols_list=no
7337 save_LDFLAGS=$LDFLAGS
7338 echo "_main
" > conftest.sym
7339 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7351 if ac_fn_c_try_link "$LINENO"; then :
7352 lt_cv_ld_exported_symbols_list=yes
7354 lt_cv_ld_exported_symbols_list=no
7356 rm -f core conftest.err conftest.$ac_objext \
7357 conftest$ac_exeext conftest.$ac_ext
7358 LDFLAGS=$save_LDFLAGS
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7362 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7365 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7366 if ${lt_cv_ld_force_load+:} false; then :
7367 $as_echo_n "(cached
) " >&6
7369 lt_cv_ld_force_load=no
7370 cat > conftest.c << _LT_EOF
7371 int forced_loaded() { return 2;}
7373 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7374 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7375 echo "$AR cru libconftest.a conftest.o
" >&5
7376 $AR cru libconftest.a conftest.o 2>&5
7377 echo "$RANLIB libconftest.a
" >&5
7378 $RANLIB libconftest.a 2>&5
7379 cat > conftest.c << _LT_EOF
7380 int main() { return 0;}
7382 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7383 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7385 if test -s conftest.err && $GREP force_load conftest.err; then
7386 cat conftest.err >&5
7387 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7388 lt_cv_ld_force_load=yes
7390 cat conftest.err >&5
7392 rm -f conftest.err libconftest.a conftest conftest.c
7393 rm -rf conftest.dSYM
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7397 $as_echo "$lt_cv_ld_force_load" >&6; }
7399 rhapsody* | darwin1.[012])
7400 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7402 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7403 darwin*) # darwin 5.x on
7404 # if running on 10.5 or later, the deployment target defaults
7405 # to the OS version, if on x86, and 10.4, the deployment
7406 # target defaults to 10.4. Don't you love it?
7407 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7408 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7409 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7411 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7413 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7417 if test yes = "$lt_cv_apple_cc_single_mod"; then
7418 _lt_dar_single_mod='$single_module'
7420 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7421 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7423 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7425 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7426 _lt_dsymutil='~$DSYMUTIL $lib || :'
7433 # func_munge_path_list VARIABLE PATH
7434 # -----------------------------------
7435 # VARIABLE is name of variable containing _space_ separated list of
7436 # directories to be munged by the contents of PATH, which is string
7439 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7441 # string "DIR
[ DIR
]" will be appended to VARIABLE
7442 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7443 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7444 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7446 # VARIABLE will be replaced by "DIR
[ DIR
]"
7447 func_munge_path_list ()
7453 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7456 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7459 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7460 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7463 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7469 ac_cpp='$CPP $CPPFLAGS'
7470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7474 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7475 # On Suns, sometimes $CPP names a directory.
7476 if test -n "$CPP" && test -d "$CPP"; then
7479 if test -z "$CPP"; then
7480 if ${ac_cv_prog_CPP+:} false; then :
7481 $as_echo_n "(cached
) " >&6
7483 # Double quotes because CPP needs to be expanded
7484 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7487 for ac_c_preproc_warn_flag in '' yes
7489 # Use a header file that comes with gcc, so configuring glibc
7490 # with a fresh cross-compiler works.
7491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7492 # <limits.h> exists even on freestanding compilers.
7493 # On the NeXT, cc -E runs the code through the compiler's parser,
7494 # not just through cpp. "Syntax error
" is here to catch this case.
7495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7496 /* end confdefs.h. */
7498 # include <limits.h>
7500 # include <assert.h>
7504 if ac_fn_c_try_cpp "$LINENO"; then :
7507 # Broken: fails on valid input.
7510 rm -f conftest.err conftest.i conftest.$ac_ext
7512 # OK, works on sane cases. Now check whether nonexistent headers
7513 # can be detected and how.
7514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7515 /* end confdefs.h. */
7516 #include <ac_nonexistent.h>
7518 if ac_fn_c_try_cpp "$LINENO"; then :
7519 # Broken: success on invalid input.
7522 # Passes both tests.
7526 rm -f conftest.err conftest.i conftest.$ac_ext
7529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7530 rm -f conftest.i conftest.err conftest.$ac_ext
7531 if $ac_preproc_ok; then :
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7544 $as_echo "$CPP" >&6; }
7546 for ac_c_preproc_warn_flag in '' yes
7548 # Use a header file that comes with gcc, so configuring glibc
7549 # with a fresh cross-compiler works.
7550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7551 # <limits.h> exists even on freestanding compilers.
7552 # On the NeXT, cc -E runs the code through the compiler's parser,
7553 # not just through cpp. "Syntax error
" is here to catch this case.
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7557 # include <limits.h>
7559 # include <assert.h>
7563 if ac_fn_c_try_cpp "$LINENO"; then :
7566 # Broken: fails on valid input.
7569 rm -f conftest.err conftest.i conftest.$ac_ext
7571 # OK, works on sane cases. Now check whether nonexistent headers
7572 # can be detected and how.
7573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7574 /* end confdefs.h. */
7575 #include <ac_nonexistent.h>
7577 if ac_fn_c_try_cpp "$LINENO"; then :
7578 # Broken: success on invalid input.
7581 # Passes both tests.
7585 rm -f conftest.err conftest.i conftest.$ac_ext
7588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7589 rm -f conftest.i conftest.err conftest.$ac_ext
7590 if $ac_preproc_ok; then :
7593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7595 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7596 See \`config.log' for more details
" "$LINENO" 5; }
7600 ac_cpp='$CPP $CPPFLAGS'
7601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7607 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7608 if ${ac_cv_header_stdc+:} false; then :
7609 $as_echo_n "(cached
) " >&6
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7626 if ac_fn_c_try_compile "$LINENO"; then :
7627 ac_cv_header_stdc=yes
7629 ac_cv_header_stdc=no
7631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7633 if test $ac_cv_header_stdc = yes; then
7634 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7640 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7641 $EGREP "memchr
" >/dev/null 2>&1; then :
7644 ac_cv_header_stdc=no
7650 if test $ac_cv_header_stdc = yes; then
7651 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7657 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7658 $EGREP "free
" >/dev/null 2>&1; then :
7661 ac_cv_header_stdc=no
7667 if test $ac_cv_header_stdc = yes; then
7668 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7669 if test "$cross_compiling" = yes; then :
7672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h. */
7676 #if ((' ' & 0x0FF) == 0x020)
7677 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7678 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7680 # define ISLOWER(c) \
7681 (('a' <= (c) && (c) <= 'i') \
7682 || ('j' <= (c) && (c) <= 'r') \
7683 || ('s' <= (c) && (c) <= 'z'))
7684 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7687 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7692 for (i = 0; i < 256; i++)
7693 if (XOR (islower (i), ISLOWER (i))
7694 || toupper (i) != TOUPPER (i))
7699 if ac_fn_c_try_run "$LINENO"; then :
7702 ac_cv_header_stdc=no
7704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7705 conftest.$ac_objext conftest.beam conftest.$ac_ext
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7711 $as_echo "$ac_cv_header_stdc" >&6; }
7712 if test $ac_cv_header_stdc = yes; then
7714 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7718 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7719 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7720 inttypes.h stdint.h unistd.h
7722 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7723 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7725 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7726 cat >>confdefs.h
<<_ACEOF
7727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 for ac_header
in dlfcn.h
7737 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7739 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7740 cat >>confdefs.h
<<_ACEOF
7741 #define HAVE_DLFCN_H 1
7762 # Check whether --enable-shared was given.
7763 if test "${enable_shared+set}" = set; then :
7764 enableval
=$enable_shared; p
=${PACKAGE-default}
7766 yes) enable_shared
=yes ;;
7767 no
) enable_shared
=no
;;
7770 # Look at the argument we got. We use all the common list separators.
7771 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7772 for pkg
in $enableval; do
7774 if test "X$pkg" = "X$p"; then
7793 # Check whether --enable-static was given.
7794 if test "${enable_static+set}" = set; then :
7795 enableval
=$enable_static; p
=${PACKAGE-default}
7797 yes) enable_static
=yes ;;
7798 no
) enable_static
=no
;;
7801 # Look at the argument we got. We use all the common list separators.
7802 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7803 for pkg
in $enableval; do
7805 if test "X$pkg" = "X$p"; then
7825 # Check whether --with-pic was given.
7826 if test "${with_pic+set}" = set; then :
7827 withval
=$with_pic; lt_p
=${PACKAGE-default}
7829 yes|no
) pic_mode
=$withval ;;
7832 # Look at the argument we got. We use all the common list separators.
7833 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7834 for lt_pkg
in $withval; do
7836 if test "X$lt_pkg" = "X$lt_p"; then
7854 # Check whether --enable-fast-install was given.
7855 if test "${enable_fast_install+set}" = set; then :
7856 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7858 yes) enable_fast_install
=yes ;;
7859 no
) enable_fast_install
=no
;;
7861 enable_fast_install
=no
7862 # Look at the argument we got. We use all the common list separators.
7863 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7864 for pkg
in $enableval; do
7866 if test "X$pkg" = "X$p"; then
7867 enable_fast_install
=yes
7874 enable_fast_install
=yes
7884 shared_archive_member_spec
=
7885 case $host,$enable_shared in
7886 power
*-*-aix[5-9]*,yes)
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7888 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7890 # Check whether --with-aix-soname was given.
7891 if test "${with_aix_soname+set}" = set; then :
7892 withval
=$with_aix_soname; case $withval in
7896 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7899 lt_cv_with_aix_soname
=$with_aix_soname
7901 if ${lt_cv_with_aix_soname+:} false
; then :
7902 $as_echo_n "(cached) " >&6
7904 lt_cv_with_aix_soname
=aix
7907 with_aix_soname
=$lt_cv_with_aix_soname
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7911 $as_echo "$with_aix_soname" >&6; }
7912 if test aix
!= "$with_aix_soname"; then
7913 # For the AIX way of multilib, we name the shared archive member
7914 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7915 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7916 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7917 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7918 if test 64 = "${OBJECT_MODE-32}"; then
7919 shared_archive_member_spec
=shr_64
7921 shared_archive_member_spec
=shr
7939 # This can be used to rebuild libtool when needed
7940 LIBTOOL_DEPS
=$ltmain
7942 # Always use our own libtool.
7943 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7974 test -z "$LN_S" && LN_S
="ln -s"
7989 if test -n "${ZSH_VERSION+set}"; then
7990 setopt NO_GLOB_SUBST
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7994 $as_echo_n "checking for objdir... " >&6; }
7995 if ${lt_cv_objdir+:} false
; then :
7996 $as_echo_n "(cached) " >&6
7998 rm -f .libs
2>/dev
/null
7999 mkdir .libs
2>/dev
/null
8000 if test -d .libs
; then
8003 # MS-DOS does not allow filenames that begin with a dot.
8006 rmdir .libs
2>/dev
/null
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8009 $as_echo "$lt_cv_objdir" >&6; }
8010 objdir
=$lt_cv_objdir
8016 cat >>confdefs.h
<<_ACEOF
8017 #define LT_OBJDIR "$lt_cv_objdir/"
8025 # AIX sometimes has problems with the GCC collect2 program. For some
8026 # reason, if we set the COLLECT_NAMES environment variable, the problems
8027 # vanish in a puff of smoke.
8028 if test set != "${COLLECT_NAMES+set}"; then
8030 export COLLECT_NAMES
8037 can_build_shared
=yes
8039 # All known linkers require a '.a' archive for static linking (except MSVC,
8040 # which needs '.lib').
8043 with_gnu_ld
=$lt_cv_prog_gnu_ld
8048 # Set sane defaults for various variables
8049 test -z "$CC" && CC
=cc
8050 test -z "$LTCC" && LTCC
=$CC
8051 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8052 test -z "$LD" && LD
=ld
8053 test -z "$ac_objext" && ac_objext
=o
8055 func_cc_basename
$compiler
8056 cc_basename
=$func_cc_basename_result
8059 # Only perform the check for file, if the check method requires it
8060 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8061 case $deplibs_check_method in
8063 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8065 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8066 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8067 $as_echo_n "(cached) " >&6
8071 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8074 lt_save_MAGIC_CMD
=$MAGIC_CMD
8075 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8076 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8077 for ac_dir
in $ac_dummy; do
8079 test -z "$ac_dir" && ac_dir
=.
8080 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8081 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8082 if test -n "$file_magic_test_file"; then
8083 case $deplibs_check_method in
8085 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8086 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8087 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8088 $EGREP "$file_magic_regex" > /dev
/null
; then
8093 *** Warning: the command libtool uses to detect shared libraries,
8094 *** $file_magic_cmd, produces output that libtool cannot recognize.
8095 *** The result is that libtool may fail to recognize shared libraries
8096 *** as such. This will affect the creation of libtool libraries that
8097 *** depend on shared libraries, but programs linked with such libtool
8098 *** libraries will work regardless of this problem. Nevertheless, you
8099 *** may want to report the problem to your system manager and/or to
8100 *** bug-libtool@gnu.org
8110 MAGIC_CMD
=$lt_save_MAGIC_CMD
8115 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8116 if test -n "$MAGIC_CMD"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8118 $as_echo "$MAGIC_CMD" >&6; }
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8128 if test -z "$lt_cv_path_MAGIC_CMD"; then
8129 if test -n "$ac_tool_prefix"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8131 $as_echo_n "checking for file... " >&6; }
8132 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8137 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8140 lt_save_MAGIC_CMD
=$MAGIC_CMD
8141 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8142 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8143 for ac_dir
in $ac_dummy; do
8145 test -z "$ac_dir" && ac_dir
=.
8146 if test -f "$ac_dir/file"; then
8147 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8148 if test -n "$file_magic_test_file"; then
8149 case $deplibs_check_method in
8151 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8152 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8153 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8154 $EGREP "$file_magic_regex" > /dev
/null
; then
8159 *** Warning: the command libtool uses to detect shared libraries,
8160 *** $file_magic_cmd, produces output that libtool cannot recognize.
8161 *** The result is that libtool may fail to recognize shared libraries
8162 *** as such. This will affect the creation of libtool libraries that
8163 *** depend on shared libraries, but programs linked with such libtool
8164 *** libraries will work regardless of this problem. Nevertheless, you
8165 *** may want to report the problem to your system manager and/or to
8166 *** bug-libtool@gnu.org
8176 MAGIC_CMD
=$lt_save_MAGIC_CMD
8181 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8182 if test -n "$MAGIC_CMD"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8184 $as_echo "$MAGIC_CMD" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187 $as_echo "no" >&6; }
8200 # Use C for the default configuration in the libtool script
8204 ac_cpp
='$CPP $CPPFLAGS'
8205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8210 # Source file extension for C test sources.
8213 # Object file extension for compiled C test sources.
8217 # Code to be used in simple compile tests
8218 lt_simple_compile_test_code
="int some_variable = 0;"
8220 # Code to be used in simple link tests
8221 lt_simple_link_test_code
='int main(){return(0);}'
8229 # If no C compiler was specified, use CC.
8232 # If no C compiler flags were specified, use CFLAGS.
8233 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8235 # Allow CC to be a program name with arguments.
8238 # Save the default compiler, since it gets overwritten when the other
8239 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8240 compiler_DEFAULT
=$CC
8242 # save warnings/boilerplate of simple test code
8243 ac_outfile
=conftest.
$ac_objext
8244 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8245 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8246 _lt_compiler_boilerplate
=`cat conftest.err`
8249 ac_outfile
=conftest.
$ac_objext
8250 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8251 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8252 _lt_linker_boilerplate
=`cat conftest.err`
8256 if test -n "$compiler"; then
8258 lt_prog_compiler_no_builtin_flag
=
8260 if test yes = "$GCC"; then
8261 case $cc_basename in
8263 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8265 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8269 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8270 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8271 $as_echo_n "(cached) " >&6
8273 lt_cv_prog_compiler_rtti_exceptions
=no
8274 ac_outfile
=conftest.
$ac_objext
8275 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8276 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8277 # Insert the option either (1) after the last *FLAGS variable, or
8278 # (2) before a word containing "conftest.", or (3) at the end.
8279 # Note that $ac_compile itself does not contain backslashes and begins
8280 # with a dollar sign (not a hyphen), so the echo should work correctly.
8281 # The option is referenced via a variable to avoid confusing sed.
8282 lt_compile
=`echo "$ac_compile" | $SED \
8283 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8284 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8285 -e 's:$: $lt_compiler_flag:'`
8286 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8287 (eval "$lt_compile" 2>conftest.err
)
8289 cat conftest.err
>&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 if (exit $ac_status) && test -s "$ac_outfile"; then
8292 # The compiler can only warn and ignore the option if not recognized
8293 # So say no if there are warnings other than the usual output.
8294 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8295 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8296 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8297 lt_cv_prog_compiler_rtti_exceptions
=yes
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8304 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8306 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8307 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8319 lt_prog_compiler_wl
=
8320 lt_prog_compiler_pic
=
8321 lt_prog_compiler_static
=
8324 if test yes = "$GCC"; then
8325 lt_prog_compiler_wl
='-Wl,'
8326 lt_prog_compiler_static
='-static'
8330 # All AIX code is PIC.
8331 if test ia64
= "$host_cpu"; then
8332 # AIX 5 now supports IA64 processor
8333 lt_prog_compiler_static
='-Bstatic'
8335 lt_prog_compiler_pic
='-fPIC'
8341 # see comment about AmigaOS4 .so support
8342 lt_prog_compiler_pic
='-fPIC'
8345 # FIXME: we need at least 68020 code to build shared libraries, but
8346 # adding the '-m68020' flag to GCC prevents building anything better,
8348 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8353 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8354 # PIC is the default for these OSes.
8357 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8358 # This hack is so that the source file can tell whether it is being
8359 # built for inclusion in a dll (and should export symbols for example).
8360 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8361 # (--disable-auto-import) libraries
8362 lt_prog_compiler_pic
='-DDLL_EXPORT'
8365 lt_prog_compiler_static
='$wl-static'
8370 darwin
* | rhapsody
*)
8371 # PIC is the default on this platform
8372 # Common symbols not allowed in MH_DYLIB files
8373 lt_prog_compiler_pic
='-fno-common'
8377 # PIC is the default for Haiku.
8378 # The "-static" flag exists, but is broken.
8379 lt_prog_compiler_static
=
8383 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8384 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8385 # sets the default TLS model and affects inlining.
8391 lt_prog_compiler_pic
='-fPIC'
8397 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8398 # Instead, we relocate shared libraries at runtime.
8402 # Just because we use GCC doesn't mean we suddenly get shared libraries
8403 # on systems that don't support them.
8404 lt_prog_compiler_can_build_shared
=no
8409 # QNX uses GNU C++, but need to define -shared option too, otherwise
8411 lt_prog_compiler_pic
='-fPIC -shared'
8415 if test -d /usr
/nec
; then
8416 lt_prog_compiler_pic
=-Kconform_pic
8421 lt_prog_compiler_pic
='-fPIC'
8425 case $cc_basename in
8426 nvcc
*) # Cuda Compiler Driver 2.2
8427 lt_prog_compiler_wl
='-Xlinker '
8428 if test -n "$lt_prog_compiler_pic"; then
8429 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8434 # PORTME Check for flag to pass linker flags through the system compiler.
8437 lt_prog_compiler_wl
='-Wl,'
8438 if test ia64
= "$host_cpu"; then
8439 # AIX 5 now supports IA64 processor
8440 lt_prog_compiler_static
='-Bstatic'
8442 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8446 darwin
* | rhapsody
*)
8447 # PIC is the default on this platform
8448 # Common symbols not allowed in MH_DYLIB files
8449 lt_prog_compiler_pic
='-fno-common'
8450 case $cc_basename in
8452 # NAG Fortran compiler
8453 lt_prog_compiler_wl
='-Wl,-Wl,,'
8454 lt_prog_compiler_pic
='-PIC'
8455 lt_prog_compiler_static
='-Bstatic'
8460 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8461 # This hack is so that the source file can tell whether it is being
8462 # built for inclusion in a dll (and should export symbols for example).
8463 lt_prog_compiler_pic
='-DDLL_EXPORT'
8466 lt_prog_compiler_static
='$wl-static'
8471 hpux9
* | hpux10
* | hpux11
*)
8472 lt_prog_compiler_wl
='-Wl,'
8473 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8480 lt_prog_compiler_pic
='+Z'
8483 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8484 lt_prog_compiler_static
='$wl-a ${wl}archive'
8487 irix5
* | irix6
* | nonstopux
*)
8488 lt_prog_compiler_wl
='-Wl,'
8489 # PIC (with -KPIC) is the default.
8490 lt_prog_compiler_static
='-non_shared'
8493 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8494 case $cc_basename in
8495 # old Intel for x86_64, which still supported -KPIC.
8497 lt_prog_compiler_wl
='-Wl,'
8498 lt_prog_compiler_pic
='-KPIC'
8499 lt_prog_compiler_static
='-static'
8501 # icc used to be incompatible with GCC.
8502 # ICC 10 doesn't accept -KPIC any more.
8504 lt_prog_compiler_wl
='-Wl,'
8505 lt_prog_compiler_pic
='-fPIC'
8506 lt_prog_compiler_static
='-static'
8508 # Lahey Fortran 8.1.
8510 lt_prog_compiler_wl
='-Wl,'
8511 lt_prog_compiler_pic
='--shared'
8512 lt_prog_compiler_static
='--static'
8515 # NAG Fortran compiler
8516 lt_prog_compiler_wl
='-Wl,-Wl,,'
8517 lt_prog_compiler_pic
='-PIC'
8518 lt_prog_compiler_static
='-Bstatic'
8521 # Fabrice Bellard et al's Tiny C Compiler
8522 lt_prog_compiler_wl
='-Wl,'
8523 lt_prog_compiler_pic
='-fPIC'
8524 lt_prog_compiler_static
='-static'
8526 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8527 # Portland Group compilers (*not* the Pentium gcc compiler,
8528 # which looks to be a dead project)
8529 lt_prog_compiler_wl
='-Wl,'
8530 lt_prog_compiler_pic
='-fpic'
8531 lt_prog_compiler_static
='-Bstatic'
8534 lt_prog_compiler_wl
='-Wl,'
8535 # All Alpha code is PIC.
8536 lt_prog_compiler_static
='-non_shared'
8538 xl
* | bgxl
* | bgf
* | mpixl
*)
8539 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8540 lt_prog_compiler_wl
='-Wl,'
8541 lt_prog_compiler_pic
='-qpic'
8542 lt_prog_compiler_static
='-qstaticlink'
8545 case `$CC -V 2>&1 | sed 5q` in
8546 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8547 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8548 lt_prog_compiler_pic
='-KPIC'
8549 lt_prog_compiler_static
='-Bstatic'
8550 lt_prog_compiler_wl
=''
8552 *Sun\ F
* |
*Sun
*Fortran
*)
8553 lt_prog_compiler_pic
='-KPIC'
8554 lt_prog_compiler_static
='-Bstatic'
8555 lt_prog_compiler_wl
='-Qoption ld '
8559 lt_prog_compiler_pic
='-KPIC'
8560 lt_prog_compiler_static
='-Bstatic'
8561 lt_prog_compiler_wl
='-Wl,'
8563 *Intel
*\
[CF
]*Compiler
*)
8564 lt_prog_compiler_wl
='-Wl,'
8565 lt_prog_compiler_pic
='-fPIC'
8566 lt_prog_compiler_static
='-static'
8569 lt_prog_compiler_wl
='-Wl,'
8570 lt_prog_compiler_pic
='-fpic'
8571 lt_prog_compiler_static
='-Bstatic'
8579 lt_prog_compiler_pic
='-KPIC'
8580 lt_prog_compiler_static
='-Bstatic'
8584 # QNX uses GNU C++, but need to define -shared option too, otherwise
8586 lt_prog_compiler_pic
='-fPIC -shared'
8589 osf3
* | osf4
* | osf5
*)
8590 lt_prog_compiler_wl
='-Wl,'
8591 # All OSF/1 code is PIC.
8592 lt_prog_compiler_static
='-non_shared'
8596 lt_prog_compiler_static
='-non_shared'
8600 lt_prog_compiler_pic
='-KPIC'
8601 lt_prog_compiler_static
='-Bstatic'
8602 case $cc_basename in
8603 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8604 lt_prog_compiler_wl
='-Qoption ld ';;
8606 lt_prog_compiler_wl
='-Wl,';;
8611 lt_prog_compiler_wl
='-Qoption ld '
8612 lt_prog_compiler_pic
='-PIC'
8613 lt_prog_compiler_static
='-Bstatic'
8616 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8617 lt_prog_compiler_wl
='-Wl,'
8618 lt_prog_compiler_pic
='-KPIC'
8619 lt_prog_compiler_static
='-Bstatic'
8623 if test -d /usr
/nec
; then
8624 lt_prog_compiler_pic
='-Kconform_pic'
8625 lt_prog_compiler_static
='-Bstatic'
8629 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8630 lt_prog_compiler_wl
='-Wl,'
8631 lt_prog_compiler_pic
='-KPIC'
8632 lt_prog_compiler_static
='-Bstatic'
8636 lt_prog_compiler_wl
='-Wl,'
8637 lt_prog_compiler_can_build_shared
=no
8641 lt_prog_compiler_pic
='-pic'
8642 lt_prog_compiler_static
='-Bstatic'
8646 lt_prog_compiler_can_build_shared
=no
8652 # For platforms that do not support PIC, -DPIC is meaningless:
8654 lt_prog_compiler_pic
=
8657 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8662 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8663 if ${lt_cv_prog_compiler_pic+:} false
; then :
8664 $as_echo_n "(cached) " >&6
8666 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8669 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8670 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8673 # Check to make sure the PIC flag actually works.
8675 if test -n "$lt_prog_compiler_pic"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8677 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8678 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8679 $as_echo_n "(cached) " >&6
8681 lt_cv_prog_compiler_pic_works
=no
8682 ac_outfile
=conftest.
$ac_objext
8683 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8684 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8685 # Insert the option either (1) after the last *FLAGS variable, or
8686 # (2) before a word containing "conftest.", or (3) at the end.
8687 # Note that $ac_compile itself does not contain backslashes and begins
8688 # with a dollar sign (not a hyphen), so the echo should work correctly.
8689 # The option is referenced via a variable to avoid confusing sed.
8690 lt_compile
=`echo "$ac_compile" | $SED \
8691 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8692 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8693 -e 's:$: $lt_compiler_flag:'`
8694 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8695 (eval "$lt_compile" 2>conftest.err
)
8697 cat conftest.err
>&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 if (exit $ac_status) && test -s "$ac_outfile"; then
8700 # The compiler can only warn and ignore the option if not recognized
8701 # So say no if there are warnings other than the usual output.
8702 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8703 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8704 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8705 lt_cv_prog_compiler_pic_works
=yes
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8712 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8714 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8715 case $lt_prog_compiler_pic in
8717 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8720 lt_prog_compiler_pic
=
8721 lt_prog_compiler_can_build_shared
=no
8737 # Check to make sure the static flag actually works.
8739 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8741 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8742 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8743 $as_echo_n "(cached) " >&6
8745 lt_cv_prog_compiler_static_works
=no
8746 save_LDFLAGS
=$LDFLAGS
8747 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8748 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8749 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8750 # The linker can only warn and ignore the option if not recognized
8751 # So say no if there are warnings
8752 if test -s conftest.err
; then
8753 # Append any errors to the config.log.
8754 cat conftest.err
1>&5
8755 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8756 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8757 if diff conftest.exp conftest.er2
>/dev
/null
; then
8758 lt_cv_prog_compiler_static_works
=yes
8761 lt_cv_prog_compiler_static_works
=yes
8765 LDFLAGS
=$save_LDFLAGS
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8769 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8771 if test yes = "$lt_cv_prog_compiler_static_works"; then
8774 lt_prog_compiler_static
=
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8784 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8785 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8786 $as_echo_n "(cached) " >&6
8788 lt_cv_prog_compiler_c_o
=no
8789 $RM -r conftest
2>/dev
/null
8793 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8795 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8796 # Insert the option either (1) after the last *FLAGS variable, or
8797 # (2) before a word containing "conftest.", or (3) at the end.
8798 # Note that $ac_compile itself does not contain backslashes and begins
8799 # with a dollar sign (not a hyphen), so the echo should work correctly.
8800 lt_compile
=`echo "$ac_compile" | $SED \
8801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8803 -e 's:$: $lt_compiler_flag:'`
8804 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8805 (eval "$lt_compile" 2>out
/conftest.err
)
8807 cat out
/conftest.err
>&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8811 # The compiler can only warn and ignore the option if not recognized
8812 # So say no if there are warnings
8813 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8814 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8815 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8816 lt_cv_prog_compiler_c_o
=yes
8821 # SGI C++ compiler will create directory out/ii_files/ for
8822 # template instantiation
8823 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8824 $RM out
/* && rmdir out
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8831 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8840 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8841 $as_echo_n "(cached) " >&6
8843 lt_cv_prog_compiler_c_o
=no
8844 $RM -r conftest
2>/dev
/null
8848 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8850 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8851 # Insert the option either (1) after the last *FLAGS variable, or
8852 # (2) before a word containing "conftest.", or (3) at the end.
8853 # Note that $ac_compile itself does not contain backslashes and begins
8854 # with a dollar sign (not a hyphen), so the echo should work correctly.
8855 lt_compile
=`echo "$ac_compile" | $SED \
8856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8858 -e 's:$: $lt_compiler_flag:'`
8859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8860 (eval "$lt_compile" 2>out
/conftest.err
)
8862 cat out
/conftest.err
>&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8866 # The compiler can only warn and ignore the option if not recognized
8867 # So say no if there are warnings
8868 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8869 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8870 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8871 lt_cv_prog_compiler_c_o
=yes
8876 # SGI C++ compiler will create directory out/ii_files/ for
8877 # template instantiation
8878 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8879 $RM out
/* && rmdir out
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8886 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8891 hard_links
=nottested
8892 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8893 # do not overwrite the value of need_locks provided by the user
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8895 $as_echo_n "checking if we can lock with hard links... " >&6; }
8898 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8900 ln conftest.a conftest.b
2>&5 || hard_links
=no
8901 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8903 $as_echo "$hard_links" >&6; }
8904 if test no
= "$hard_links"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8906 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8919 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8922 allow_undefined_flag
=
8923 always_export_symbols
=no
8925 archive_expsym_cmds
=
8926 compiler_needs_object
=no
8927 enable_shared_with_static_runtimes
=no
8928 export_dynamic_flag_spec
=
8929 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8930 hardcode_automatic
=no
8932 hardcode_direct_absolute
=no
8933 hardcode_libdir_flag_spec
=
8934 hardcode_libdir_separator
=
8936 hardcode_shlibpath_var
=unsupported
8938 link_all_deplibs
=unknown
8941 old_archive_from_new_cmds
=
8942 old_archive_from_expsyms_cmds
=
8943 thread_safe_flag_spec
=
8944 whole_archive_flag_spec
=
8945 # include_expsyms should be a list of space-separated symbols to be *always*
8946 # included in the symbol list
8948 # exclude_expsyms can be an extended regexp of symbols to exclude
8949 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8950 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8951 # as well as any symbol that contains 'd'.
8952 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8953 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8954 # platforms (ab)use it in PIC code, but their linkers get confused if
8955 # the symbol is explicitly referenced. Since portable code cannot
8956 # rely on this symbol name, it's probably fine to never include it in
8957 # preloaded symbol tables.
8958 # Exclude shared library initialization/finalization symbols.
8959 extract_expsyms_cmds
=
8962 cygwin
* | mingw
* | pw32
* | cegcc
*)
8963 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8964 # When not using gcc, we currently assume that we are using
8965 # Microsoft Visual C++.
8966 if test yes != "$GCC"; then
8971 # we just hope/assume this is gcc and not c89 (= MSVC++)
8981 # On some targets, GNU ld is compatible enough with the native linker
8982 # that we're better off using the native interface for both.
8983 lt_use_gnu_ld_interface
=no
8984 if test yes = "$with_gnu_ld"; then
8987 # The AIX port of GNU ld has always aspired to compatibility
8988 # with the native linker. However, as the warning in the GNU ld
8989 # block says, versions before 2.19.5* couldn't really create working
8990 # shared libraries, regardless of the interface used.
8991 case `$LD -v 2>&1` in
8992 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8993 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8994 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8996 lt_use_gnu_ld_interface
=yes
9001 lt_use_gnu_ld_interface
=yes
9006 if test yes = "$lt_use_gnu_ld_interface"; then
9007 # If archive_cmds runs LD, not CC, wlarc should be empty
9010 # Set some defaults for GNU ld with shared library support. These
9011 # are reset later if shared libraries are not supported. Putting them
9012 # here allows them to be overridden if necessary.
9013 runpath_var
=LD_RUN_PATH
9014 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9015 export_dynamic_flag_spec
='$wl--export-dynamic'
9016 # ancient GNU ld didn't support --whole-archive et. al.
9017 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9018 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9020 whole_archive_flag_spec
=
9022 supports_anon_versioning
=no
9023 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9024 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9025 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9026 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9027 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9028 *\
2.11.
*) ;; # other 2.11 versions
9029 *) supports_anon_versioning
=yes ;;
9032 # See if GNU ld supports shared libraries.
9035 # On AIX/PPC, the GNU linker is very broken
9036 if test ia64
!= "$host_cpu"; then
9040 *** Warning: the GNU linker, at least up to release 2.19, is reported
9041 *** to be unable to reliably create shared libraries on AIX.
9042 *** Therefore, libtool is disabling shared libraries support. If you
9043 *** really care for shared libraries, you may want to install binutils
9044 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9045 *** You will then need to restart the configuration process.
9054 # see comment about AmigaOS4 .so support
9055 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9056 archive_expsym_cmds
=''
9059 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)'
9060 hardcode_libdir_flag_spec
='-L$libdir'
9061 hardcode_minus_L
=yes
9067 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9068 allow_undefined_flag
=unsupported
9069 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9070 # support --undefined. This deserves some investigation. FIXME
9071 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9077 cygwin
* | mingw
* | pw32
* | cegcc
*)
9078 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9079 # as there is no search path for DLLs.
9080 hardcode_libdir_flag_spec
='-L$libdir'
9081 export_dynamic_flag_spec
='$wl--export-all-symbols'
9082 allow_undefined_flag
=unsupported
9083 always_export_symbols
=no
9084 enable_shared_with_static_runtimes
=yes
9085 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'
9086 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9088 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9089 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9090 # If the export-symbols file already is a .def file, use it as
9091 # is; otherwise, prepend EXPORTS...
9092 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9093 cp $export_symbols $output_objdir/$soname.def;
9095 echo EXPORTS > $output_objdir/$soname.def;
9096 cat $export_symbols >> $output_objdir/$soname.def;
9098 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9105 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9106 link_all_deplibs
=yes
9110 hardcode_libdir_flag_spec
='-L$libdir'
9111 hardcode_minus_L
=yes
9112 allow_undefined_flag
=unsupported
9114 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9115 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9116 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9117 $ECHO EXPORTS >> $output_objdir/$libname.def~
9118 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9119 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9120 emximp -o $lib $output_objdir/$libname.def'
9121 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9122 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9123 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9124 $ECHO EXPORTS >> $output_objdir/$libname.def~
9126 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9127 prefix_cmds="$prefix_cmds -e 1d";
9129 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9130 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9131 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9132 emximp -o $lib $output_objdir/$libname.def'
9133 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9134 enable_shared_with_static_runtimes
=yes
9139 hardcode_shlibpath_var
=no
9140 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9141 export_dynamic_flag_spec
='$wl-E'
9142 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9143 # Instead, shared libraries are loaded at an image base (0x10000000 by
9144 # default) and relocated if they conflict, which is a slow very memory
9145 # consuming and fragmenting process. To avoid this, we pick a random,
9146 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9147 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9148 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9149 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'
9152 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9154 if test linux-dietlibc
= "$host_os"; then
9155 case $cc_basename in
9156 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9159 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9160 && test no
= "$tmp_diet"
9162 tmp_addflag
=' $pic_flag'
9163 tmp_sharedflag
='-shared'
9164 case $cc_basename,$host_cpu in
9165 pgcc
*) # Portland Group C compiler
9166 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'
9167 tmp_addflag
=' $pic_flag'
9169 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9170 # Portland Group f77 and f90 compilers
9171 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'
9172 tmp_addflag
=' $pic_flag -Mnomain' ;;
9173 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9174 tmp_addflag
=' -i_dynamic' ;;
9175 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9176 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9177 ifc
* | ifort
*) # Intel Fortran compiler
9178 tmp_addflag
=' -nofor_main' ;;
9179 lf95
*) # Lahey Fortran 8.1
9180 whole_archive_flag_spec
=
9181 tmp_sharedflag
='--shared' ;;
9182 nagfor
*) # NAGFOR 5.3
9183 tmp_sharedflag
='-Wl,-shared' ;;
9184 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9185 tmp_sharedflag
='-qmkshrobj'
9187 nvcc
*) # Cuda Compiler Driver 2.2
9188 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'
9189 compiler_needs_object
=yes
9192 case `$CC -V 2>&1 | sed 5q` in
9193 *Sun\ C
*) # Sun C 5.9
9194 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'
9195 compiler_needs_object
=yes
9196 tmp_sharedflag
='-G' ;;
9197 *Sun\ F
*) # Sun Fortran 8.3
9198 tmp_sharedflag
='-G' ;;
9200 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9202 if test yes = "$supports_anon_versioning"; then
9203 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9204 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9205 echo "local: *; };" >> $output_objdir/$libname.ver~
9206 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9209 case $cc_basename in
9211 export_dynamic_flag_spec
='-rdynamic'
9213 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9214 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9215 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9216 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9217 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9218 if test yes = "$supports_anon_versioning"; then
9219 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9220 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9221 echo "local: *; };" >> $output_objdir/$libname.ver~
9222 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9232 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9233 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9236 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9237 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9242 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9246 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9247 *** create shared libraries on Solaris systems. Therefore, libtool
9248 *** is disabling shared libraries support. We urge you to upgrade GNU
9249 *** binutils to release 2.9.1 or newer. Another option is to modify
9250 *** your PATH or compiler configuration so that the native linker is
9251 *** used, and then restart.
9254 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9255 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9256 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9262 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9263 case `$LD -v 2>&1` in
9264 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9268 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9269 *** reliably create shared libraries on SCO systems. Therefore, libtool
9270 *** is disabling shared libraries support. We urge you to upgrade GNU
9271 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9272 *** your PATH or compiler configuration so that the native linker is
9273 *** used, and then restart.
9278 # For security reasons, it is highly recommended that you always
9279 # use absolute paths for naming shared libraries, and exclude the
9280 # DT_RUNPATH tag from executables and libraries. But doing so
9281 # requires that you compile everything twice, which is a pain.
9282 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9283 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9284 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9285 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9294 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9297 hardcode_shlibpath_var
=no
9301 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9302 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9303 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9310 if test no
= "$ld_shlibs"; then
9312 hardcode_libdir_flag_spec
=
9313 export_dynamic_flag_spec
=
9314 whole_archive_flag_spec
=
9317 # PORTME fill in a description of your system's linker (not GNU ld)
9320 allow_undefined_flag
=unsupported
9321 always_export_symbols
=yes
9322 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'
9323 # Note: this linker hardcodes the directories in LIBPATH if there
9324 # are no directories specified by -L.
9325 hardcode_minus_L
=yes
9326 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9327 # Neither direct hardcoding nor static linking is supported with a
9329 hardcode_direct
=unsupported
9334 if test ia64
= "$host_cpu"; then
9335 # On IA64, the linker does run time linking by default, so we don't
9336 # have to do anything special.
9337 aix_use_runtimelinking
=no
9338 exp_sym_flag
='-Bexport'
9341 # If we're using GNU nm, then we don't want the "-C" option.
9342 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9343 # Without the "-l" option, or with the "-B" option, AIX nm treats
9344 # weak defined symbols like other global defined symbols, whereas
9345 # GNU nm marks them as "W".
9346 # While the 'weak' keyword is ignored in the Export File, we need
9347 # it in the Import File for the 'aix-soname' feature, so we have
9348 # to replace the "-B" option with "-P" for AIX nm.
9349 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9350 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'
9352 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'
9354 aix_use_runtimelinking
=no
9356 # Test if we are trying to use run time linking or normal
9357 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9358 # have runtime linking enabled, and use it for executables.
9359 # For shared libraries, we enable/disable runtime linking
9360 # depending on the kind of the shared library created -
9361 # when "with_aix_soname,aix_use_runtimelinking" is:
9362 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9363 # "aix,yes" lib.so shared, rtl:yes, for executables
9364 # lib.a static archive
9365 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9366 # lib.a(lib.so.V) shared, rtl:no, for executables
9367 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9368 # lib.a(lib.so.V) shared, rtl:no
9369 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9370 # lib.a static archive
9371 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9372 for ld_flag
in $LDFLAGS; do
9373 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9374 aix_use_runtimelinking
=yes
9378 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9379 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9380 # so we don't have lib.a shared libs to link our executables.
9381 # We have to force runtime linking in this case.
9382 aix_use_runtimelinking
=yes
9383 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9388 exp_sym_flag
='-bexport'
9389 no_entry_flag
='-bnoentry'
9392 # When large executables or shared objects are built, AIX ld can
9393 # have problems creating the table of contents. If linking a library
9394 # or program results in "error TOC overflow" add -mminimal-toc to
9395 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9396 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9400 hardcode_direct_absolute
=yes
9401 hardcode_libdir_separator
=':'
9402 link_all_deplibs
=yes
9403 file_list_spec
='$wl-f,'
9404 case $with_aix_soname,$aix_use_runtimelinking in
9405 aix
,*) ;; # traditional, no import file
9406 svr4
,* |
*,yes) # use import file
9407 # The Import File defines what to hardcode.
9409 hardcode_direct_absolute
=no
9413 if test yes = "$GCC"; then
9414 case $host_os in aix4.
[012]|aix4.
[012].
*)
9415 # We only want to do this on AIX 4.2 and lower, the check
9416 # below for broken collect2 doesn't work under 4.3+
9417 collect2name
=`$CC -print-prog-name=collect2`
9418 if test -f "$collect2name" &&
9419 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9421 # We have reworked collect2
9424 # We have old collect2
9425 hardcode_direct
=unsupported
9426 # It fails to find uninstalled libraries when the uninstalled
9427 # path is not listed in the libpath. Setting hardcode_minus_L
9428 # to unsupported forces relinking
9429 hardcode_minus_L
=yes
9430 hardcode_libdir_flag_spec
='-L$libdir'
9431 hardcode_libdir_separator
=
9435 shared_flag
='-shared'
9436 if test yes = "$aix_use_runtimelinking"; then
9437 shared_flag
="$shared_flag "'$wl-G'
9439 # Need to ensure runtime linking is disabled for the traditional
9440 # shared library, or the linker may eventually find shared libraries
9441 # /with/ Import File - we do not want to mix them.
9442 shared_flag_aix
='-shared'
9443 shared_flag_svr4
='-shared $wl-G'
9446 if test ia64
= "$host_cpu"; then
9447 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9448 # chokes on -Wl,-G. The following line is correct:
9451 if test yes = "$aix_use_runtimelinking"; then
9454 shared_flag
='$wl-bM:SRE'
9456 shared_flag_aix
='$wl-bM:SRE'
9457 shared_flag_svr4
='$wl-G'
9461 export_dynamic_flag_spec
='$wl-bexpall'
9462 # It seems that -bexpall does not export symbols beginning with
9463 # underscore (_), so it is better to generate a list of symbols to export.
9464 always_export_symbols
=yes
9465 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9466 # Warning - without using the other runtime loading flags (-brtl),
9467 # -berok will link without error, but may produce a broken library.
9468 allow_undefined_flag
='-berok'
9469 # Determine the default libpath from the value encoded in an
9471 if test set = "${lt_cv_aix_libpath+set}"; then
9472 aix_libpath
=$lt_cv_aix_libpath
9474 if ${lt_cv_aix_libpath_+:} false
; then :
9475 $as_echo_n "(cached) " >&6
9477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9488 if ac_fn_c_try_link
"$LINENO"; then :
9490 lt_aix_libpath_sed
='
9491 /Import File Strings/,/^$/ {
9493 s/^0 *\([^ ]*\) *$/\1/
9497 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9498 # Check for a 64-bit object if we didn't find anything.
9499 if test -z "$lt_cv_aix_libpath_"; then
9500 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9503 rm -f core conftest.err conftest.
$ac_objext \
9504 conftest
$ac_exeext conftest.
$ac_ext
9505 if test -z "$lt_cv_aix_libpath_"; then
9506 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9511 aix_libpath
=$lt_cv_aix_libpath_
9514 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9515 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
9517 if test ia64
= "$host_cpu"; then
9518 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9519 allow_undefined_flag
="-z nodefs"
9520 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"
9522 # Determine the default libpath from the value encoded in an
9524 if test set = "${lt_cv_aix_libpath+set}"; then
9525 aix_libpath
=$lt_cv_aix_libpath
9527 if ${lt_cv_aix_libpath_+:} false
; then :
9528 $as_echo_n "(cached) " >&6
9530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9541 if ac_fn_c_try_link
"$LINENO"; then :
9543 lt_aix_libpath_sed
='
9544 /Import File Strings/,/^$/ {
9546 s/^0 *\([^ ]*\) *$/\1/
9550 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 # Check for a 64-bit object if we didn't find anything.
9552 if test -z "$lt_cv_aix_libpath_"; then
9553 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9556 rm -f core conftest.err conftest.
$ac_objext \
9557 conftest
$ac_exeext conftest.
$ac_ext
9558 if test -z "$lt_cv_aix_libpath_"; then
9559 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9564 aix_libpath
=$lt_cv_aix_libpath_
9567 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9568 # Warning - without using the other run time loading flags,
9569 # -berok will link without error, but may produce a broken library.
9570 no_undefined_flag
=' $wl-bernotok'
9571 allow_undefined_flag
=' $wl-berok'
9572 if test yes = "$with_gnu_ld"; then
9573 # We only use this code for GNU lds that support --whole-archive.
9574 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9576 # Exported symbols can be pulled into shared objects from archives
9577 whole_archive_flag_spec
='$convenience'
9579 archive_cmds_need_lc
=yes
9580 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9581 # -brtl affects multiple linker settings, -berok does not and is overridden later
9582 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9583 if test svr4
!= "$with_aix_soname"; then
9584 # This is similar to how AIX traditionally builds its shared libraries.
9585 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'
9587 if test aix
!= "$with_aix_soname"; then
9588 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'
9590 # used by -dlpreopen to get the symbols
9591 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9593 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9601 # see comment about AmigaOS4 .so support
9602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9603 archive_expsym_cmds
=''
9606 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)'
9607 hardcode_libdir_flag_spec
='-L$libdir'
9608 hardcode_minus_L
=yes
9614 export_dynamic_flag_spec
=-rdynamic
9617 cygwin
* | mingw
* | pw32
* | cegcc
*)
9618 # When not using gcc, we currently assume that we are using
9619 # Microsoft Visual C++.
9620 # hardcode_libdir_flag_spec is actually meaningless, as there is
9621 # no search path for DLLs.
9622 case $cc_basename in
9625 hardcode_libdir_flag_spec
=' '
9626 allow_undefined_flag
=unsupported
9627 always_export_symbols
=yes
9629 # Tell ltmain to make .lib files, not .a files.
9631 # Tell ltmain to make .dll files, not .so files.
9633 # FIXME: Setting linknames here is a bad hack.
9634 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9635 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9636 cp "$export_symbols" "$output_objdir/$soname.def";
9637 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9639 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9641 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9643 # The linker will not automatically build a static lib if we build a DLL.
9644 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9645 enable_shared_with_static_runtimes
=yes
9646 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9647 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9649 old_postinstall_cmds
='chmod 644 $oldlib'
9650 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9651 lt_tool_outputfile="@TOOL_OUTPUT@"~
9652 case $lt_outputfile in
9655 lt_outputfile=$lt_outputfile.exe
9656 lt_tool_outputfile=$lt_tool_outputfile.exe
9659 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9660 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9661 $RM "$lt_outputfile.manifest";
9665 # Assume MSVC wrapper
9666 hardcode_libdir_flag_spec
=' '
9667 allow_undefined_flag
=unsupported
9668 # Tell ltmain to make .lib files, not .a files.
9670 # Tell ltmain to make .dll files, not .so files.
9672 # FIXME: Setting linknames here is a bad hack.
9673 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9674 # The linker will automatically build a .lib file if we build a DLL.
9675 old_archive_from_new_cmds
='true'
9676 # FIXME: Should let the user specify the lib program.
9677 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9678 enable_shared_with_static_runtimes
=yes
9683 darwin
* | rhapsody
*)
9686 archive_cmds_need_lc
=no
9688 hardcode_automatic
=yes
9689 hardcode_shlibpath_var
=unsupported
9690 if test yes = "$lt_cv_ld_force_load"; then
9691 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\"`'
9694 whole_archive_flag_spec
=''
9696 link_all_deplibs
=yes
9697 allow_undefined_flag
=$_lt_dar_allow_undefined
9698 case $cc_basename in
9699 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9700 *) _lt_dar_can_shared
=$GCC ;;
9702 if test yes = "$_lt_dar_can_shared"; then
9703 output_verbose_link_cmd
=func_echo_all
9704 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9705 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9706 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"
9707 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"
9716 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9717 hardcode_libdir_flag_spec
='-L$libdir'
9718 hardcode_shlibpath_var
=no
9721 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9722 # support. Future versions do this automatically, but an explicit c++rt0.o
9723 # does not break anything, and helps significantly (at the cost of a little
9726 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9727 hardcode_libdir_flag_spec
='-R$libdir'
9729 hardcode_shlibpath_var
=no
9732 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9736 hardcode_minus_L
=yes
9737 hardcode_shlibpath_var
=no
9740 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9741 freebsd
* | dragonfly
*)
9742 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9743 hardcode_libdir_flag_spec
='-R$libdir'
9745 hardcode_shlibpath_var
=no
9749 if test yes = "$GCC"; then
9750 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'
9752 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'
9754 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9755 hardcode_libdir_separator
=:
9758 # hardcode_minus_L: Not really in the search PATH,
9759 # but as the default location of the library.
9760 hardcode_minus_L
=yes
9761 export_dynamic_flag_spec
='$wl-E'
9765 if test yes,no
= "$GCC,$with_gnu_ld"; then
9766 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9770 if test no
= "$with_gnu_ld"; then
9771 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9772 hardcode_libdir_separator
=:
9774 hardcode_direct_absolute
=yes
9775 export_dynamic_flag_spec
='$wl-E'
9776 # hardcode_minus_L: Not really in the search PATH,
9777 # but as the default location of the library.
9778 hardcode_minus_L
=yes
9783 if test yes,no
= "$GCC,$with_gnu_ld"; then
9786 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9792 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9798 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9801 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9805 # Older versions of the 11.00 compiler do not understand -b yet
9806 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9808 $as_echo_n "checking if $CC understands -b... " >&6; }
9809 if ${lt_cv_prog_compiler__b+:} false
; then :
9810 $as_echo_n "(cached) " >&6
9812 lt_cv_prog_compiler__b
=no
9813 save_LDFLAGS
=$LDFLAGS
9814 LDFLAGS
="$LDFLAGS -b"
9815 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9816 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9817 # The linker can only warn and ignore the option if not recognized
9818 # So say no if there are warnings
9819 if test -s conftest.err
; then
9820 # Append any errors to the config.log.
9821 cat conftest.err
1>&5
9822 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9823 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9824 if diff conftest.exp conftest.er2
>/dev
/null
; then
9825 lt_cv_prog_compiler__b
=yes
9828 lt_cv_prog_compiler__b
=yes
9832 LDFLAGS
=$save_LDFLAGS
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9836 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9838 if test yes = "$lt_cv_prog_compiler__b"; then
9839 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847 if test no
= "$with_gnu_ld"; then
9848 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9849 hardcode_libdir_separator
=:
9854 hardcode_shlibpath_var
=no
9858 hardcode_direct_absolute
=yes
9859 export_dynamic_flag_spec
='$wl-E'
9861 # hardcode_minus_L: Not really in the search PATH,
9862 # but as the default location of the library.
9863 hardcode_minus_L
=yes
9869 irix5
* | irix6
* | nonstopux
*)
9870 if test yes = "$GCC"; then
9871 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'
9872 # Try to use the -exported_symbol ld option, if it does not
9873 # work, assume that -exports_file does not work either and
9874 # implicitly export all symbols.
9875 # This should be the same for all languages, so no per-tag cache variable.
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9877 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9878 if ${lt_cv_irix_exported_symbol+:} false
; then :
9879 $as_echo_n "(cached) " >&6
9881 save_LDFLAGS
=$LDFLAGS
9882 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int foo (void) { return 0; }
9887 if ac_fn_c_try_link
"$LINENO"; then :
9888 lt_cv_irix_exported_symbol
=yes
9890 lt_cv_irix_exported_symbol
=no
9892 rm -f core conftest.err conftest.
$ac_objext \
9893 conftest
$ac_exeext conftest.
$ac_ext
9894 LDFLAGS
=$save_LDFLAGS
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9897 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9898 if test yes = "$lt_cv_irix_exported_symbol"; then
9899 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'
9902 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'
9903 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'
9905 archive_cmds_need_lc
='no'
9906 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9907 hardcode_libdir_separator
=:
9909 link_all_deplibs
=yes
9913 case $cc_basename in
9915 # Fabrice Bellard et al's Tiny C Compiler
9917 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9923 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9924 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9926 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9928 hardcode_libdir_flag_spec
='-R$libdir'
9930 hardcode_shlibpath_var
=no
9934 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9937 hardcode_libdir_separator
=:
9938 hardcode_shlibpath_var
=no
9945 if test -f /usr
/libexec
/ld.so
; then
9947 hardcode_shlibpath_var
=no
9948 hardcode_direct_absolute
=yes
9949 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9950 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9951 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9952 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9953 export_dynamic_flag_spec
='$wl-E'
9955 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9956 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9964 hardcode_libdir_flag_spec
='-L$libdir'
9965 hardcode_minus_L
=yes
9966 allow_undefined_flag
=unsupported
9968 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9969 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9970 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9971 $ECHO EXPORTS >> $output_objdir/$libname.def~
9972 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9973 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9974 emximp -o $lib $output_objdir/$libname.def'
9975 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9976 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9977 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9978 $ECHO EXPORTS >> $output_objdir/$libname.def~
9980 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9981 prefix_cmds="$prefix_cmds -e 1d";
9983 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9984 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9985 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9986 emximp -o $lib $output_objdir/$libname.def'
9987 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9988 enable_shared_with_static_runtimes
=yes
9992 if test yes = "$GCC"; then
9993 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9994 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'
9996 allow_undefined_flag
=' -expect_unresolved \*'
9997 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'
9999 archive_cmds_need_lc
='no'
10000 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10001 hardcode_libdir_separator
=:
10004 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10005 if test yes = "$GCC"; then
10006 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10007 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'
10008 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10010 allow_undefined_flag
=' -expect_unresolved \*'
10011 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'
10012 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~
10013 $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'
10015 # Both c and cxx compiler support -rpath directly
10016 hardcode_libdir_flag_spec
='-rpath $libdir'
10018 archive_cmds_need_lc
='no'
10019 hardcode_libdir_separator
=:
10023 no_undefined_flag
=' -z defs'
10024 if test yes = "$GCC"; then
10026 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10028 $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'
10030 case `$CC -V 2>&1` in
10033 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10035 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10039 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10040 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10041 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10045 hardcode_libdir_flag_spec
='-R$libdir'
10046 hardcode_shlibpath_var
=no
10048 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10050 # The compiler driver will combine and reorder linker options,
10051 # but understands '-z linker_flag'. GCC discards it without '$wl',
10052 # but is careful enough not to reorder.
10053 # Supported since Solaris 2.6 (maybe 2.5.1?)
10054 if test yes = "$GCC"; then
10055 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10057 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10061 link_all_deplibs
=yes
10065 if test sequent
= "$host_vendor"; then
10066 # Use $CC to link under sequent, because it throws in some extra .o
10067 # files that make .init and .fini sections work.
10068 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_libdir_flag_spec
='-L$libdir'
10073 hardcode_direct
=yes
10074 hardcode_minus_L
=yes
10075 hardcode_shlibpath_var
=no
10079 case $host_vendor in
10081 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_direct
=yes # is this really true???
10085 ## LD is ld it makes a PLAMLIB
10086 ## CC just makes a GrossModule.
10087 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10088 reload_cmds
='$CC -r -o $output$reload_objs'
10092 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10093 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10096 runpath_var
='LD_RUN_PATH'
10097 hardcode_shlibpath_var
=no
10101 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10102 hardcode_shlibpath_var
=no
10103 export_dynamic_flag_spec
='-Bexport'
10107 if test -d /usr
/nec
; then
10108 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_shlibpath_var
=no
10110 runpath_var
=LD_RUN_PATH
10111 hardcode_runpath_var
=yes
10116 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10117 no_undefined_flag
='$wl-z,text'
10118 archive_cmds_need_lc
=no
10119 hardcode_shlibpath_var
=no
10120 runpath_var
='LD_RUN_PATH'
10122 if test yes = "$GCC"; then
10123 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10126 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10131 sysv5
* | sco3.2v5
* | sco5v6
*)
10132 # Note: We CANNOT use -z defs as we might desire, because we do not
10133 # link with -lc, and that would cause any symbols used from libc to
10134 # always be unresolved, which means just about no library would
10135 # ever link correctly. If we're not using GNU ld we use -z text
10136 # though, which does catch some bad symbols but isn't as heavy-handed
10138 no_undefined_flag
='$wl-z,text'
10139 allow_undefined_flag
='$wl-z,nodefs'
10140 archive_cmds_need_lc
=no
10141 hardcode_shlibpath_var
=no
10142 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10143 hardcode_libdir_separator
=':'
10144 link_all_deplibs
=yes
10145 export_dynamic_flag_spec
='$wl-Bexport'
10146 runpath_var
='LD_RUN_PATH'
10148 if test yes = "$GCC"; then
10149 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10150 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10152 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10153 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10158 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_libdir_flag_spec
='-L$libdir'
10160 hardcode_shlibpath_var
=no
10168 if test sni
= "$host_vendor"; then
10170 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10171 export_dynamic_flag_spec
='$wl-Blargedynsym'
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10178 $as_echo "$ld_shlibs" >&6; }
10179 test no
= "$ld_shlibs" && can_build_shared
=no
10181 with_gnu_ld
=$with_gnu_ld
10198 # Do we need to explicitly link libc?
10200 case "x$archive_cmds_need_lc" in
10202 # Assume -lc should be added
10203 archive_cmds_need_lc
=yes
10205 if test yes,yes = "$GCC,$enable_shared"; then
10206 case $archive_cmds in
10208 # FIXME: we may have to deal with multi-command sequences.
10211 # Test whether the compiler implicitly links with -lc since on some
10212 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10213 # to ld, don't add -lc before -lgcc.
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10215 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10216 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10217 $as_echo_n "(cached) " >&6
10220 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10223 (eval $ac_compile) 2>&5
10225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10226 test $ac_status = 0; } 2>conftest.err
; then
10229 libobjs
=conftest.
$ac_objext
10231 wl
=$lt_prog_compiler_wl
10232 pic_flag
=$lt_prog_compiler_pic
10238 lt_save_allow_undefined_flag
=$allow_undefined_flag
10239 allow_undefined_flag
=
10240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10241 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10244 test $ac_status = 0; }
10246 lt_cv_archive_cmds_need_lc
=no
10248 lt_cv_archive_cmds_need_lc
=yes
10250 allow_undefined_flag
=$lt_save_allow_undefined_flag
10252 cat conftest.err
1>&5
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10258 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10259 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10418 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10420 if test yes = "$GCC"; then
10422 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10423 *) lt_awk_arg
='/^libraries:/' ;;
10426 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10427 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10429 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10430 case $lt_search_path_spec in
10432 # if the path contains ";" then we assume it to be the separator
10433 # otherwise default to the standard path separator (i.e. ":") - it is
10434 # assumed that no part of a normal pathname contains ";" but that should
10435 # okay in the real world where ";" in dirpaths is itself problematic.
10436 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10439 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10442 # Ok, now we have the path, separated by spaces, we can step through it
10443 # and add multilib dir if necessary...
10444 lt_tmp_lt_search_path_spec
=
10445 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10446 # ...but if some path component already ends with the multilib dir we assume
10447 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10448 case "$lt_multi_os_dir; $lt_search_path_spec " in
10449 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10453 for lt_sys_path
in $lt_search_path_spec; do
10454 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10455 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10456 elif test -n "$lt_multi_os_dir"; then
10457 test -d "$lt_sys_path" && \
10458 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10461 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10462 BEGIN {RS = " "; FS = "/|\n";} {
10465 for (lt_i = NF; lt_i > 0; lt_i--) {
10466 if ($lt_i != "" && $lt_i != ".") {
10467 if ($lt_i == "..") {
10470 if (lt_count == 0) {
10471 lt_foo = "/" $lt_i lt_foo;
10478 if (lt_foo != "") { lt_freq[lt_foo]++; }
10479 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10481 # AWK program above erroneously prepends '/' to C:/dos/paths
10484 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10485 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10487 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10489 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10491 library_names_spec
=
10492 libname_spec
='lib$name'
10496 postuninstall_cmds
=
10500 shlibpath_overrides_runpath
=unknown
10502 dynamic_linker
="$host_os ld.so"
10503 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10504 need_lib_prefix
=unknown
10505 hardcode_into_libs
=no
10507 # when you set need_version to no, make sure it does not cause -set_version
10508 # flags to be left without arguments
10509 need_version
=unknown
10515 version_type
=linux
# correct to gnu/linux during the next big refactor
10516 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10517 shlibpath_var
=LIBPATH
10519 # AIX 3 has no versioning support, so we append a major version to the name.
10520 soname_spec
='$libname$release$shared_ext$major'
10524 version_type
=linux
# correct to gnu/linux during the next big refactor
10527 hardcode_into_libs
=yes
10528 if test ia64
= "$host_cpu"; then
10529 # AIX 5 supports IA64
10530 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10531 shlibpath_var
=LD_LIBRARY_PATH
10533 # With GCC up to 2.95.x, collect2 would create an import file
10534 # for dependence libraries. The import file would start with
10535 # the line '#! .'. This would cause the generated library to
10536 # depend on '.', always an invalid library. This was fixed in
10537 # development snapshots of GCC prior to 3.0.
10539 aix4 | aix4.
[01] | aix4.
[01].
*)
10540 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10542 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10545 can_build_shared
=no
10549 # Using Import Files as archive members, it is possible to support
10550 # filename-based versioning of shared library archives on AIX. While
10551 # this would work for both with and without runtime linking, it will
10552 # prevent static linking of such archives. So we do filename-based
10553 # shared library versioning with .so extension only, which is used
10554 # when both runtime linking and shared linking is enabled.
10555 # Unfortunately, runtime linking may impact performance, so we do
10556 # not want this to be the default eventually. Also, we use the
10557 # versioned .so libs for executables only if there is the -brtl
10558 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10559 # To allow for filename-based versioning support, we need to create
10560 # libNAME.so.V as an archive file, containing:
10561 # *) an Import File, referring to the versioned filename of the
10562 # archive as well as the shared archive member, telling the
10563 # bitwidth (32 or 64) of that shared object, and providing the
10564 # list of exported symbols of that shared object, eventually
10565 # decorated with the 'weak' keyword
10566 # *) the shared object with the F_LOADONLY flag set, to really avoid
10567 # it being seen by the linker.
10568 # At run time we better use the real file rather than another symlink,
10569 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10571 case $with_aix_soname,$aix_use_runtimelinking in
10572 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10573 # soname into executable. Probably we can add versioning support to
10574 # collect2, so additional links can be useful in future.
10575 aix
,yes) # traditional libtool
10576 dynamic_linker
='AIX unversionable lib.so'
10577 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10578 # instead of lib<name>.a to let people know that these are not
10579 # typical AIX shared libraries.
10580 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10582 aix
,no
) # traditional AIX only
10583 dynamic_linker
='AIX lib.a(lib.so.V)'
10584 # We preserve .a as extension for shared libraries through AIX4.2
10585 # and later when we are not doing run time linking.
10586 library_names_spec
='$libname$release.a $libname.a'
10587 soname_spec
='$libname$release$shared_ext$major'
10589 svr4
,*) # full svr4 only
10590 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10591 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10592 # We do not specify a path in Import Files, so LIBPATH fires.
10593 shlibpath_overrides_runpath
=yes
10595 *,yes) # both, prefer svr4
10596 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10597 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10598 # unpreferred sharedlib libNAME.a needs extra handling
10599 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"'
10600 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"'
10601 # We do not specify a path in Import Files, so LIBPATH fires.
10602 shlibpath_overrides_runpath
=yes
10604 *,no
) # both, prefer aix
10605 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10606 library_names_spec
='$libname$release.a $libname.a'
10607 soname_spec
='$libname$release$shared_ext$major'
10608 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10609 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)'
10610 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"'
10613 shlibpath_var
=LIBPATH
10620 # Since July 2007 AmigaOS4 officially supports .so libraries.
10621 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10622 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10625 library_names_spec
='$libname.ixlibrary $libname.a'
10626 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10627 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'
10633 library_names_spec
='$libname$shared_ext'
10634 dynamic_linker
="$host_os ld.so"
10635 shlibpath_var
=LIBRARY_PATH
10639 version_type
=linux
# correct to gnu/linux during the next big refactor
10641 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10642 soname_spec
='$libname$release$shared_ext$major'
10643 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10644 shlibpath_var
=LD_LIBRARY_PATH
10645 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10646 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10647 # the default ld.so.conf also contains /usr/contrib/lib and
10648 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10649 # libtool to hard-code these into programs
10652 cygwin
* | mingw
* | pw32
* | cegcc
*)
10653 version_type
=windows
10658 case $GCC,$cc_basename in
10661 library_names_spec
='$libname.dll.a'
10662 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10663 postinstall_cmds
='base_file=`basename \$file`~
10664 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10665 dldir=$destdir/`dirname \$dlpath`~
10666 test -d \$dldir || mkdir -p \$dldir~
10667 $install_prog $dir/$dlname \$dldir/$dlname~
10668 chmod a+x \$dldir/$dlname~
10669 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10670 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10672 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10673 dlpath=$dir/\$dldll~
10675 shlibpath_overrides_runpath
=yes
10679 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10680 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10682 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10685 # MinGW DLLs use traditional 'lib' prefix
10686 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10689 # pw32 DLLs use 'pw' prefix rather than 'lib'
10690 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10693 dynamic_linker
='Win32 ld.exe'
10698 libname_spec
='$name'
10699 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10700 library_names_spec
='$libname.dll.lib'
10704 sys_lib_search_path_spec
=
10707 for lt_path
in $LIB
10710 # Let DOS variable expansion print the short 8.3 style file name.
10711 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10712 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10715 # Convert to MSYS style.
10716 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10719 # Convert to unix form, then to dos form, then back to unix form
10720 # but this time dos style (no spaces!) so that the unix form looks
10721 # like /cygdrive/c/PROGRA~1:/cygdr...
10722 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10723 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10724 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10727 sys_lib_search_path_spec
=$LIB
10728 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10729 # It is most probably a Windows format PATH.
10730 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10732 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10734 # FIXME: find the short name or the path components, as spaces are
10735 # common. (e.g. "Program Files" -> "PROGRA~1")
10739 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10740 postinstall_cmds
='base_file=`basename \$file`~
10741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10742 dldir=$destdir/`dirname \$dlpath`~
10743 test -d \$dldir || mkdir -p \$dldir~
10744 $install_prog $dir/$dlname \$dldir/$dlname'
10745 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10746 dlpath=$dir/\$dldll~
10748 shlibpath_overrides_runpath
=yes
10749 dynamic_linker
='Win32 link.exe'
10753 # Assume MSVC wrapper
10754 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10755 dynamic_linker
='Win32 ld.exe'
10758 # FIXME: first we should search . and the directory the executable is in
10762 darwin
* | rhapsody
*)
10763 dynamic_linker
="$host_os dyld"
10764 version_type
=darwin
10767 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10768 soname_spec
='$libname$release$major$shared_ext'
10769 shlibpath_overrides_runpath
=yes
10770 shlibpath_var
=DYLD_LIBRARY_PATH
10771 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10773 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10774 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10778 version_type
=linux
# correct to gnu/linux during the next big refactor
10781 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10782 soname_spec
='$libname$release$shared_ext$major'
10783 shlibpath_var
=LD_LIBRARY_PATH
10786 freebsd
* | dragonfly
*)
10787 # DragonFly does not have aout. When/if they implement a new
10788 # versioning mechanism, adjust this.
10789 if test -x /usr
/bin
/objformat
; then
10790 objformat
=`/usr/bin/objformat`
10793 freebsd
[23].
*) objformat
=aout
;;
10794 *) objformat
=elf
;;
10797 version_type
=freebsd-
$objformat
10798 case $version_type in
10800 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10801 soname_spec
='$libname$release$shared_ext$major'
10806 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10810 shlibpath_var
=LD_LIBRARY_PATH
10813 shlibpath_overrides_runpath
=yes
10815 freebsd3.
[01]* | freebsdelf3.
[01]*)
10816 shlibpath_overrides_runpath
=yes
10817 hardcode_into_libs
=yes
10819 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10820 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10821 shlibpath_overrides_runpath
=no
10822 hardcode_into_libs
=yes
10824 *) # from 4.6 on, and DragonFly
10825 shlibpath_overrides_runpath
=yes
10826 hardcode_into_libs
=yes
10832 version_type
=linux
# correct to gnu/linux during the next big refactor
10835 dynamic_linker
="$host_os runtime_loader"
10836 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10837 soname_spec
='$libname$release$shared_ext$major'
10838 shlibpath_var
=LIBRARY_PATH
10839 shlibpath_overrides_runpath
=no
10840 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10841 hardcode_into_libs
=yes
10844 hpux9
* | hpux10
* | hpux11
*)
10845 # Give a soname corresponding to the major version so that dld.sl refuses to
10846 # link against other versions.
10853 hardcode_into_libs
=yes
10854 dynamic_linker
="$host_os dld.so"
10855 shlibpath_var
=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10857 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10858 soname_spec
='$libname$release$shared_ext$major'
10859 if test 32 = "$HPUX_IA64_MODE"; then
10860 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10861 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10863 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10864 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10869 hardcode_into_libs
=yes
10870 dynamic_linker
="$host_os dld.sl"
10871 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10872 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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'
10875 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10876 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10880 dynamic_linker
="$host_os dld.sl"
10881 shlibpath_var
=SHLIB_PATH
10882 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10883 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10884 soname_spec
='$libname$release$shared_ext$major'
10887 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10888 postinstall_cmds
='chmod 555 $lib'
10889 # or fails outright, so override atomically:
10890 install_override_mode
=555
10894 version_type
=linux
# correct to gnu/linux during the next big refactor
10897 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10898 soname_spec
='$libname$release$shared_ext$major'
10899 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10900 shlibpath_var
=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath
=no
10902 hardcode_into_libs
=yes
10905 irix5
* | irix6
* | nonstopux
*)
10907 nonstopux
*) version_type
=nonstopux
;;
10909 if test yes = "$lt_cv_prog_gnu_ld"; then
10910 version_type
=linux
# correct to gnu/linux during the next big refactor
10917 soname_spec
='$libname$release$shared_ext$major'
10918 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10920 irix5
* | nonstopux
*)
10921 libsuff
= shlibsuff
=
10924 case $LD in # libtool.m4 will add one of these switches to LD
10925 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10926 libsuff
= shlibsuff
= libmagic
=32-bit;;
10927 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10928 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10929 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10930 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10931 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10935 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10936 shlibpath_overrides_runpath
=no
10937 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10938 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10939 hardcode_into_libs
=yes
10942 # No shared lib support for Linux oldld, aout, or coff.
10943 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10948 version_type
=none
# Android doesn't support versioned libraries.
10951 library_names_spec
='$libname$release$shared_ext'
10952 soname_spec
='$libname$release$shared_ext'
10954 shlibpath_var
=LD_LIBRARY_PATH
10955 shlibpath_overrides_runpath
=yes
10957 # This implies no fast_install, which is unacceptable.
10958 # Some rework will be needed to allow for fast_install
10959 # before this can be enabled.
10960 hardcode_into_libs
=yes
10962 dynamic_linker
='Android linker'
10963 # Don't embed -rpath directories since the linker doesn't support them.
10964 hardcode_libdir_flag_spec
='-L$libdir'
10967 # This must be glibc/ELF.
10968 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10969 version_type
=linux
# correct to gnu/linux during the next big refactor
10972 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10973 soname_spec
='$libname$release$shared_ext$major'
10974 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10975 shlibpath_var
=LD_LIBRARY_PATH
10976 shlibpath_overrides_runpath
=no
10978 # Some binutils ld are patched to set DT_RUNPATH
10979 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10980 $as_echo_n "(cached) " >&6
10982 lt_cv_shlibpath_overrides_runpath
=no
10983 save_LDFLAGS
=$LDFLAGS
10984 save_libdir
=$libdir
10985 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10986 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10998 if ac_fn_c_try_link
"$LINENO"; then :
10999 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11000 lt_cv_shlibpath_overrides_runpath
=yes
11003 rm -f core conftest.err conftest.
$ac_objext \
11004 conftest
$ac_exeext conftest.
$ac_ext
11005 LDFLAGS
=$save_LDFLAGS
11006 libdir
=$save_libdir
11010 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11012 # This implies no fast_install, which is unacceptable.
11013 # Some rework will be needed to allow for fast_install
11014 # before this can be enabled.
11015 hardcode_into_libs
=yes
11017 # Add ABI-specific directories to the system library path.
11018 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11020 # Ideally, we could use ldconfig to report *all* directores which are
11021 # searched for libraries, however this is still not possible. Aside from not
11022 # being certain /sbin/ldconfig is available, command
11023 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11024 # even though it is searched at run-time. Try to do the best guess by
11025 # appending ld.so.conf contents (and includes) to the search path.
11026 if test -f /etc
/ld.so.conf
; then
11027 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' ' '`
11028 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11031 # We used to test for /lib/ld.so.1 and disable shared libraries on
11032 # powerpc, because MkLinux only supported shared libraries with the
11033 # GNU dynamic linker. Since this was broken with cross compilers,
11034 # most powerpc-linux boxes support dynamic linking these days and
11035 # people can always --disable-shared, the test was removed, and we
11036 # assume the GNU/Linux dynamic linker is in use.
11037 dynamic_linker
='GNU/Linux ld.so'
11044 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11045 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11047 dynamic_linker
='NetBSD (a.out) ld.so'
11049 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11050 soname_spec
='$libname$release$shared_ext$major'
11051 dynamic_linker
='NetBSD ld.elf_so'
11053 shlibpath_var
=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath
=yes
11055 hardcode_into_libs
=yes
11059 version_type
=linux
# correct to gnu/linux during the next big refactor
11060 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11061 shlibpath_var
=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath
=yes
11069 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11070 soname_spec
='$libname$release$shared_ext$major'
11071 shlibpath_var
=LD_LIBRARY_PATH
11072 shlibpath_overrides_runpath
=no
11073 hardcode_into_libs
=yes
11074 dynamic_linker
='ldqnx.so'
11077 openbsd
* | bitrig
*)
11079 sys_lib_dlsearch_path_spec
=/usr
/lib
11081 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11086 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11087 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11088 shlibpath_var
=LD_LIBRARY_PATH
11089 shlibpath_overrides_runpath
=yes
11093 libname_spec
='$name'
11094 version_type
=windows
11098 # OS/2 can only load a DLL with a base name of 8 characters or less.
11099 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11100 v=$($ECHO $release$versuffix | tr -d .-);
11101 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11102 $ECHO $n$v`$shared_ext'
11103 library_names_spec
='${libname}_dll.$libext'
11104 dynamic_linker
='OS/2 ld.exe'
11105 shlibpath_var
=BEGINLIBPATH
11106 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11107 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11108 postinstall_cmds
='base_file=`basename \$file`~
11109 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11110 dldir=$destdir/`dirname \$dlpath`~
11111 test -d \$dldir || mkdir -p \$dldir~
11112 $install_prog $dir/$dlname \$dldir/$dlname~
11113 chmod a+x \$dldir/$dlname~
11114 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11115 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11117 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11118 dlpath=$dir/\$dldll~
11122 osf3
* | osf4
* | osf5
*)
11126 soname_spec
='$libname$release$shared_ext$major'
11127 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11128 shlibpath_var
=LD_LIBRARY_PATH
11129 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11130 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11138 version_type
=linux
# correct to gnu/linux during the next big refactor
11141 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11142 soname_spec
='$libname$release$shared_ext$major'
11143 shlibpath_var
=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath
=yes
11145 hardcode_into_libs
=yes
11146 # ldd complains unless libraries are executable
11147 postinstall_cmds
='chmod +x $lib'
11152 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11153 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11154 shlibpath_var
=LD_LIBRARY_PATH
11155 shlibpath_overrides_runpath
=yes
11156 if test yes = "$with_gnu_ld"; then
11163 version_type
=linux
# correct to gnu/linux during the next big refactor
11164 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11165 soname_spec
='$libname$release$shared_ext$major'
11166 shlibpath_var
=LD_LIBRARY_PATH
11167 case $host_vendor in
11169 shlibpath_overrides_runpath
=no
11171 runpath_var
=LD_RUN_PATH
11179 shlibpath_overrides_runpath
=no
11180 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11186 if test -d /usr
/nec
; then
11187 version_type
=linux
# correct to gnu/linux during the next big refactor
11188 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11189 soname_spec
='$libname$shared_ext.$major'
11190 shlibpath_var
=LD_LIBRARY_PATH
11194 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11198 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11199 soname_spec
='$libname$release$shared_ext$major'
11200 shlibpath_var
=LD_LIBRARY_PATH
11201 shlibpath_overrides_runpath
=yes
11202 hardcode_into_libs
=yes
11203 if test yes = "$with_gnu_ld"; then
11204 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11206 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11209 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11213 sys_lib_dlsearch_path_spec
='/usr/lib'
11217 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11218 version_type
=linux
# correct to gnu/linux during the next big refactor
11221 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11222 shlibpath_var
=LD_LIBRARY_PATH
11223 shlibpath_overrides_runpath
=no
11224 hardcode_into_libs
=yes
11228 version_type
=linux
# correct to gnu/linux during the next big refactor
11229 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11230 soname_spec
='$libname$release$shared_ext$major'
11231 shlibpath_var
=LD_LIBRARY_PATH
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11239 $as_echo "$dynamic_linker" >&6; }
11240 test no
= "$dynamic_linker" && can_build_shared
=no
11242 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11243 if test yes = "$GCC"; then
11244 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11247 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11248 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11251 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11252 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11255 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11256 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11258 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11259 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11261 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11262 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11361 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11363 if test -n "$hardcode_libdir_flag_spec" ||
11364 test -n "$runpath_var" ||
11365 test yes = "$hardcode_automatic"; then
11367 # We can hardcode non-existent directories.
11368 if test no
!= "$hardcode_direct" &&
11369 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11370 # have to relink, otherwise we might link with an installed library
11371 # when we should be linking with a yet-to-be-installed one
11372 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11373 test no
!= "$hardcode_minus_L"; then
11374 # Linking always hardcodes the temporary library directory.
11375 hardcode_action
=relink
11377 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11378 hardcode_action
=immediate
11381 # We cannot hardcode anything, or else we can only hardcode existing
11383 hardcode_action
=unsupported
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11386 $as_echo "$hardcode_action" >&6; }
11388 if test relink
= "$hardcode_action" ||
11389 test yes = "$inherit_rpath"; then
11390 # Fast installation is not supported
11391 enable_fast_install
=no
11392 elif test yes = "$shlibpath_overrides_runpath" ||
11393 test no
= "$enable_shared"; then
11394 # Fast installation is not necessary
11395 enable_fast_install
=needless
11403 if test yes != "$enable_dlopen"; then
11404 enable_dlopen
=unknown
11405 enable_dlopen_self
=unknown
11406 enable_dlopen_self_static
=unknown
11413 lt_cv_dlopen
=load_add_on
11415 lt_cv_dlopen_self
=yes
11418 mingw
* | pw32
* | cegcc
*)
11419 lt_cv_dlopen
=LoadLibrary
11424 lt_cv_dlopen
=dlopen
11429 # if libdl is installed we need to link against it
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11431 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11432 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11433 $as_echo_n "(cached) " >&6
11435 ac_check_lib_save_LIBS
=$LIBS
11437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11455 if ac_fn_c_try_link
"$LINENO"; then :
11456 ac_cv_lib_dl_dlopen
=yes
11458 ac_cv_lib_dl_dlopen
=no
11460 rm -f core conftest.err conftest.
$ac_objext \
11461 conftest
$ac_exeext conftest.
$ac_ext
11462 LIBS
=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11465 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11466 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11467 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11472 lt_cv_dlopen_self
=yes
11479 # Don't try to run any link tests for TPF. We know it's impossible
11480 # because TPF is a cross-compiler, and we know how we open DSOs.
11481 lt_cv_dlopen
=dlopen
11483 lt_cv_dlopen_self
=no
11487 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11488 if test "x$ac_cv_func_shl_load" = xyes
; then :
11489 lt_cv_dlopen
=shl_load
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11492 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11493 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11494 $as_echo_n "(cached) " >&6
11496 ac_check_lib_save_LIBS
=$LIBS
11498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11511 return shl_load ();
11516 if ac_fn_c_try_link
"$LINENO"; then :
11517 ac_cv_lib_dld_shl_load
=yes
11519 ac_cv_lib_dld_shl_load
=no
11521 rm -f core conftest.err conftest.
$ac_objext \
11522 conftest
$ac_exeext conftest.
$ac_ext
11523 LIBS
=$ac_check_lib_save_LIBS
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11526 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11527 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11528 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11530 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11531 if test "x$ac_cv_func_dlopen" = xyes
; then :
11532 lt_cv_dlopen
=dlopen
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11535 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11536 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11537 $as_echo_n "(cached) " >&6
11539 ac_check_lib_save_LIBS
=$LIBS
11541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11544 /* Override any GCC internal prototype to avoid an error.
11545 Use char because int might match the return type of a GCC
11546 builtin and then its argument prototype would still apply. */
11559 if ac_fn_c_try_link
"$LINENO"; then :
11560 ac_cv_lib_dl_dlopen
=yes
11562 ac_cv_lib_dl_dlopen
=no
11564 rm -f core conftest.err conftest.
$ac_objext \
11565 conftest
$ac_exeext conftest.
$ac_ext
11566 LIBS
=$ac_check_lib_save_LIBS
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11569 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11570 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11571 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11574 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11575 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11576 $as_echo_n "(cached) " >&6
11578 ac_check_lib_save_LIBS
=$LIBS
11579 LIBS
="-lsvld $LIBS"
11580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11598 if ac_fn_c_try_link
"$LINENO"; then :
11599 ac_cv_lib_svld_dlopen
=yes
11601 ac_cv_lib_svld_dlopen
=no
11603 rm -f core conftest.err conftest.
$ac_objext \
11604 conftest
$ac_exeext conftest.
$ac_ext
11605 LIBS
=$ac_check_lib_save_LIBS
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11608 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11609 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11610 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11613 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11614 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11632 return dld_link ();
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_dld_dld_link
=yes
11640 ac_cv_lib_dld_dld_link
=no
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 LIBS
=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11647 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11648 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11649 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11670 if test no
= "$lt_cv_dlopen"; then
11676 case $lt_cv_dlopen in
11678 save_CPPFLAGS
=$CPPFLAGS
11679 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11681 save_LDFLAGS
=$LDFLAGS
11682 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11685 LIBS
="$lt_cv_dlopen_libs $LIBS"
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11688 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11689 if ${lt_cv_dlopen_self+:} false
; then :
11690 $as_echo_n "(cached) " >&6
11692 if test yes = "$cross_compiling"; then :
11693 lt_cv_dlopen_self
=cross
11695 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11696 lt_status
=$lt_dlunknown
11697 cat > conftest.
$ac_ext <<_LT_EOF
11698 #line $LINENO "configure"
11699 #include "confdefs.h"
11708 # define LT_DLGLOBAL RTLD_GLOBAL
11711 # define LT_DLGLOBAL DL_GLOBAL
11713 # define LT_DLGLOBAL 0
11717 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11718 find out it does not work in some platform. */
11719 #ifndef LT_DLLAZY_OR_NOW
11721 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11724 # define LT_DLLAZY_OR_NOW DL_LAZY
11727 # define LT_DLLAZY_OR_NOW RTLD_NOW
11730 # define LT_DLLAZY_OR_NOW DL_NOW
11732 # define LT_DLLAZY_OR_NOW 0
11739 /* When -fvisibility=hidden is used, assume the code has been annotated
11740 correspondingly for the symbols needed. */
11741 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11742 int fnord () __attribute__((visibility("default")));
11745 int fnord () { return 42; }
11748 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11749 int status = $lt_dlunknown;
11753 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11756 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11757 else puts (dlerror ());
11759 /* dlclose (self); */
11767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11768 (eval $ac_link) 2>&5
11770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11771 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11772 (.
/conftest
; exit; ) >&5 2>/dev
/null
11774 case x
$lt_status in
11775 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11776 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11777 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11780 # compilation failed
11781 lt_cv_dlopen_self
=no
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11789 $as_echo "$lt_cv_dlopen_self" >&6; }
11791 if test yes = "$lt_cv_dlopen_self"; then
11792 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11794 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11795 if ${lt_cv_dlopen_self_static+:} false
; then :
11796 $as_echo_n "(cached) " >&6
11798 if test yes = "$cross_compiling"; then :
11799 lt_cv_dlopen_self_static
=cross
11801 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11802 lt_status
=$lt_dlunknown
11803 cat > conftest.
$ac_ext <<_LT_EOF
11804 #line $LINENO "configure"
11805 #include "confdefs.h"
11814 # define LT_DLGLOBAL RTLD_GLOBAL
11817 # define LT_DLGLOBAL DL_GLOBAL
11819 # define LT_DLGLOBAL 0
11823 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11824 find out it does not work in some platform. */
11825 #ifndef LT_DLLAZY_OR_NOW
11827 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11830 # define LT_DLLAZY_OR_NOW DL_LAZY
11833 # define LT_DLLAZY_OR_NOW RTLD_NOW
11836 # define LT_DLLAZY_OR_NOW DL_NOW
11838 # define LT_DLLAZY_OR_NOW 0
11845 /* When -fvisibility=hidden is used, assume the code has been annotated
11846 correspondingly for the symbols needed. */
11847 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11848 int fnord () __attribute__((visibility("default")));
11851 int fnord () { return 42; }
11854 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11855 int status = $lt_dlunknown;
11859 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11862 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11863 else puts (dlerror ());
11865 /* dlclose (self); */
11873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11874 (eval $ac_link) 2>&5
11876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11877 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11878 (.
/conftest
; exit; ) >&5 2>/dev
/null
11880 case x
$lt_status in
11881 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11882 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11883 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11886 # compilation failed
11887 lt_cv_dlopen_self_static
=no
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11895 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11898 CPPFLAGS
=$save_CPPFLAGS
11899 LDFLAGS
=$save_LDFLAGS
11904 case $lt_cv_dlopen_self in
11905 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11906 *) enable_dlopen_self
=unknown
;;
11909 case $lt_cv_dlopen_self_static in
11910 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11911 *) enable_dlopen_self_static
=unknown
;;
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11934 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11935 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11936 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11937 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11939 $as_echo "yes" >&6; }
11941 # FIXME - insert some real tests, host_os isn't really good enough
11944 if test -n "$STRIP"; then
11945 striplib
="$STRIP -x"
11946 old_striplib
="$STRIP -S"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11948 $as_echo "yes" >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11951 $as_echo "no" >&6; }
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11956 $as_echo "no" >&6; }
11972 # Report what library types will actually be built
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11974 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11976 $as_echo "$can_build_shared" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11979 $as_echo_n "checking whether to build shared libraries... " >&6; }
11980 test no
= "$can_build_shared" && enable_shared
=no
11982 # On AIX, shared libraries and static libraries use the same namespace, and
11983 # are all built from PIC.
11986 test yes = "$enable_shared" && enable_static
=no
11987 if test -n "$RANLIB"; then
11988 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11989 postinstall_cmds
='$RANLIB $lib'
11994 if test ia64
!= "$host_cpu"; then
11995 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11996 yes,aix
,yes) ;; # shared object as lib.so file only
11997 yes,svr4
,*) ;; # shared object as lib.so archive member only
11998 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12004 $as_echo "$enable_shared" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12007 $as_echo_n "checking whether to build static libraries... " >&6; }
12008 # Make sure either enable_shared or enable_static is yes.
12009 test yes = "$enable_shared" || enable_static
=yes
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12011 $as_echo "$enable_static" >&6; }
12018 ac_cpp
='$CPP $CPPFLAGS'
12019 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12020 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12021 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12039 ac_config_commands
="$ac_config_commands libtool"
12044 # Only expand once:
12047 for ac_prog
in perl5 perl
12049 # Extract the first word of "$ac_prog", so it can be a program name with args.
12050 set dummy
$ac_prog; ac_word
=$2
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12052 $as_echo_n "checking for $ac_word... " >&6; }
12053 if ${ac_cv_path_PERL+:} false
; then :
12054 $as_echo_n "(cached) " >&6
12058 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
12061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12062 for as_dir
in $LPATH
12065 test -z "$as_dir" && as_dir
=.
12066 for ac_exec_ext
in '' $ac_executable_extensions; do
12067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12068 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
12069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12079 PERL
=$ac_cv_path_PERL
12080 if test -n "$PERL"; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
12082 $as_echo "$PERL" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12085 $as_echo "no" >&6; }
12089 test -n "$PERL" && break
12091 test -n "$PERL" || PERL
="perl"
12094 if test "$PERL" = "perl"
12096 as_fn_error $?
"Perl not found." "$LINENO" 5
12099 if test "$GCC" = "yes"
12101 CFLAGS
="$CFLAGS -Wall"
12104 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.. -I../libs -I${srcdir}/../libs"
12108 # Check whether --with-userdb was given.
12109 if test "${with_userdb+set}" = set; then :
12110 withval
=$with_userdb; userdb
="$withval"
12112 userdb
="/etc/userdb"
12116 USERDB
="`echo $userdb | tr 'a-z' 'A-Z'`"
12120 # Check whether --with-userdbmandir was given.
12121 if test "${with_userdbmandir+set}" = set; then :
12122 withval
=$with_userdbmandir; mandir
="$withval"
12127 # Check whether --with-userdbtmpdir was given.
12128 if test "${with_userdbtmpdir+set}" = set; then :
12129 withval
=$with_userdbtmpdir; tmpdir
="$withval"
12137 if test "$tmpdir" = ""
12139 tmpdir
=`echo "$userdb" | sed 's/\/[^\/]*$//'`
12148 # Check whether --with-makedatprog was given.
12149 if test "${with_makedatprog+set}" = set; then :
12150 withval
=$with_makedatprog; makedat
="$withval"
12152 makedat
="$bindir/makedat"
12157 if test -d ${srcdir}/..
/libs
/md5
12160 cat >>confdefs.h
<<_ACEOF
12164 MD5LIB
=..
/libs
/md
5/libmd5.la
12170 if test -d ${srcdir}/..
/libs
/sha1
12172 SHA1LIB
=..
/libs
/sha
1/libsha1.la
12178 if test -d ${srcdir}/..
/libs
/libhmac
12181 cat >>confdefs.h
<<_ACEOF
12182 #define HAVE_HMAC 1
12185 HMACLIB
=..
/libs
/libhmac
/libhmac.la
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12192 $as_echo_n "checking for ANSI C header files... " >&6; }
12193 if ${ac_cv_header_stdc+:} false
; then :
12194 $as_echo_n "(cached) " >&6
12196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12198 #include <stdlib.h>
12199 #include <stdarg.h>
12200 #include <string.h>
12211 if ac_fn_c_try_compile
"$LINENO"; then :
12212 ac_cv_header_stdc
=yes
12214 ac_cv_header_stdc
=no
12216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12218 if test $ac_cv_header_stdc = yes; then
12219 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 #include <string.h>
12225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12226 $EGREP "memchr" >/dev
/null
2>&1; then :
12229 ac_cv_header_stdc
=no
12235 if test $ac_cv_header_stdc = yes; then
12236 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12239 #include <stdlib.h>
12242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12243 $EGREP "free" >/dev
/null
2>&1; then :
12246 ac_cv_header_stdc
=no
12252 if test $ac_cv_header_stdc = yes; then
12253 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12254 if test "$cross_compiling" = yes; then :
12257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 #include <stdlib.h>
12261 #if ((' ' & 0x0FF) == 0x020)
12262 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12263 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12265 # define ISLOWER(c) \
12266 (('a' <= (c) && (c) <= 'i') \
12267 || ('j' <= (c) && (c) <= 'r') \
12268 || ('s' <= (c) && (c) <= 'z'))
12269 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12272 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12277 for (i = 0; i < 256; i++)
12278 if (XOR (islower (i), ISLOWER (i))
12279 || toupper (i) != TOUPPER (i))
12284 if ac_fn_c_try_run
"$LINENO"; then :
12287 ac_cv_header_stdc
=no
12289 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12290 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12296 $as_echo "$ac_cv_header_stdc" >&6; }
12297 if test $ac_cv_header_stdc = yes; then
12299 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12303 for ac_header
in sys
/stat.h sys
/time.h unistd.h fcntl.h termios.h
crypt.h
12305 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12306 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12307 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12308 cat >>confdefs.h
<<_ACEOF
12309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12317 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12318 if ${ac_cv_header_time+:} false
; then :
12319 $as_echo_n "(cached) " >&6
12321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12323 #include <sys/types.h>
12324 #include <sys/time.h>
12330 if ((struct tm *) 0)
12336 if ac_fn_c_try_compile
"$LINENO"; then :
12337 ac_cv_header_time
=yes
12339 ac_cv_header_time
=no
12341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12344 $as_echo "$ac_cv_header_time" >&6; }
12345 if test $ac_cv_header_time = yes; then
12347 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12353 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12354 if ${ac_cv_c_const+:} false
; then :
12355 $as_echo_n "(cached) " >&6
12357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12364 #ifndef __cplusplus
12365 /* Ultrix mips cc rejects this sort of thing. */
12366 typedef int charset[2];
12367 const charset cs = { 0, 0 };
12368 /* SunOS 4.1.1 cc rejects this. */
12369 char const *const *pcpcc;
12371 /* NEC SVR4.0.2 mips cc rejects this. */
12372 struct point {int x, y;};
12373 static struct point const zero = {0,0};
12374 /* AIX XL C 1.02.0.0 rejects this.
12375 It does not let you subtract one const X* pointer from another in
12376 an arm of an if-expression whose if-part is not a constant
12378 const char *g = "string";
12379 pcpcc = &g + (g ? g-g : 0);
12380 /* HPUX 7.0 cc rejects these. */
12382 ppc = (char**) pcpcc;
12383 pcpcc = (char const *const *) ppc;
12384 { /* SCO 3.2v4 cc rejects this sort of thing. */
12387 char const *s = 0 ? (char *) 0 : (char const *) 0;
12392 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12393 int x[] = {25, 17};
12394 const int *foo = &x[0];
12397 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12398 typedef const int *iptr;
12402 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12403 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12404 struct s { int j; const int *ap[3]; } bx;
12405 struct s *b = &bx; b->j = 5;
12407 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12408 const int foo = 10;
12409 if (!foo) return 0;
12411 return !cs[0] && !zero.x;
12418 if ac_fn_c_try_compile
"$LINENO"; then :
12423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12426 $as_echo "$ac_cv_c_const" >&6; }
12427 if test $ac_cv_c_const = no
; then
12429 $as_echo "#define const /**/" >>confdefs.h
12433 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12434 if test "x$ac_cv_type_pid_t" = xyes
; then :
12438 cat >>confdefs.h
<<_ACEOF
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12445 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12446 if ${ac_cv_type_uid_t+:} false
; then :
12447 $as_echo_n "(cached) " >&6
12449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12451 #include <sys/types.h>
12454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12455 $EGREP "uid_t" >/dev
/null
2>&1; then :
12456 ac_cv_type_uid_t
=yes
12458 ac_cv_type_uid_t
=no
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12464 $as_echo "$ac_cv_type_uid_t" >&6; }
12465 if test $ac_cv_type_uid_t = no
; then
12467 $as_echo "#define uid_t int" >>confdefs.h
12470 $as_echo "#define gid_t int" >>confdefs.h
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12475 $as_echo_n "checking return type of signal handlers... " >&6; }
12476 if ${ac_cv_type_signal+:} false
; then :
12477 $as_echo_n "(cached) " >&6
12479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12481 #include <sys/types.h>
12482 #include <signal.h>
12487 return *(signal (0, 0)) (0) == 1;
12492 if ac_fn_c_try_compile
"$LINENO"; then :
12493 ac_cv_type_signal
=int
12495 ac_cv_type_signal
=void
12497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12500 $as_echo "$ac_cv_type_signal" >&6; }
12502 cat >>confdefs.h
<<_ACEOF
12503 #define RETSIGTYPE $ac_cv_type_signal
12507 # Check whether --enable-largefile was given.
12508 if test "${enable_largefile+set}" = set; then :
12509 enableval
=$enable_largefile;
12512 if test "$enable_largefile" != no
; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12515 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12516 if ${ac_cv_sys_largefile_CC+:} false
; then :
12517 $as_echo_n "(cached) " >&6
12519 ac_cv_sys_largefile_CC
=no
12520 if test "$GCC" != yes; then
12523 # IRIX 6.2 and later do not support large files by default,
12524 # so use the C compiler's -n32 option if that helps.
12525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12527 #include <sys/types.h>
12528 /* Check that off_t can represent 2**63 - 1 correctly.
12529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12530 since some C++ compilers masquerading as C compilers
12531 incorrectly reject 9223372036854775807. */
12532 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12534 && LARGE_OFF_T % 2147483647 == 1)
12544 if ac_fn_c_try_compile
"$LINENO"; then :
12547 rm -f core conftest.err conftest.
$ac_objext
12549 if ac_fn_c_try_compile
"$LINENO"; then :
12550 ac_cv_sys_largefile_CC
=' -n32'; break
12552 rm -f core conftest.err conftest.
$ac_objext
12556 rm -f conftest.
$ac_ext
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12560 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12561 if test "$ac_cv_sys_largefile_CC" != no
; then
12562 CC
=$CC$ac_cv_sys_largefile_CC
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12566 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12567 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12568 $as_echo_n "(cached) " >&6
12571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12573 #include <sys/types.h>
12574 /* Check that off_t can represent 2**63 - 1 correctly.
12575 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12576 since some C++ compilers masquerading as C compilers
12577 incorrectly reject 9223372036854775807. */
12578 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12579 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12580 && LARGE_OFF_T % 2147483647 == 1)
12590 if ac_fn_c_try_compile
"$LINENO"; then :
12591 ac_cv_sys_file_offset_bits
=no
; break
12593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12596 #define _FILE_OFFSET_BITS 64
12597 #include <sys/types.h>
12598 /* Check that off_t can represent 2**63 - 1 correctly.
12599 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12600 since some C++ compilers masquerading as C compilers
12601 incorrectly reject 9223372036854775807. */
12602 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12603 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12604 && LARGE_OFF_T % 2147483647 == 1)
12614 if ac_fn_c_try_compile
"$LINENO"; then :
12615 ac_cv_sys_file_offset_bits
=64; break
12617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12618 ac_cv_sys_file_offset_bits
=unknown
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12623 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12624 case $ac_cv_sys_file_offset_bits in #(
12627 cat >>confdefs.h
<<_ACEOF
12628 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12633 if test $ac_cv_sys_file_offset_bits = unknown
; then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12635 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12636 if ${ac_cv_sys_large_files+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12642 #include <sys/types.h>
12643 /* Check that off_t can represent 2**63 - 1 correctly.
12644 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12645 since some C++ compilers masquerading as C compilers
12646 incorrectly reject 9223372036854775807. */
12647 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12648 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12649 && LARGE_OFF_T % 2147483647 == 1)
12659 if ac_fn_c_try_compile
"$LINENO"; then :
12660 ac_cv_sys_large_files
=no
; break
12662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h. */
12665 #define _LARGE_FILES 1
12666 #include <sys/types.h>
12667 /* Check that off_t can represent 2**63 - 1 correctly.
12668 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12669 since some C++ compilers masquerading as C compilers
12670 incorrectly reject 9223372036854775807. */
12671 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12672 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12673 && LARGE_OFF_T % 2147483647 == 1)
12683 if ac_fn_c_try_compile
"$LINENO"; then :
12684 ac_cv_sys_large_files
=1; break
12686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12687 ac_cv_sys_large_files
=unknown
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12692 $as_echo "$ac_cv_sys_large_files" >&6; }
12693 case $ac_cv_sys_large_files in #(
12696 cat >>confdefs.h
<<_ACEOF
12697 #define _LARGE_FILES $ac_cv_sys_large_files
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
12710 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
12711 if ${ac_cv_lib_crypt_crypt+:} false
; then :
12712 $as_echo_n "(cached) " >&6
12714 ac_check_lib_save_LIBS
=$LIBS
12715 LIBS
="-lcrypt $LIBS"
12716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12734 if ac_fn_c_try_link
"$LINENO"; then :
12735 ac_cv_lib_crypt_crypt
=yes
12737 ac_cv_lib_crypt_crypt
=no
12739 rm -f core conftest.err conftest.
$ac_objext \
12740 conftest
$ac_exeext conftest.
$ac_ext
12741 LIBS
=$ac_check_lib_save_LIBS
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
12744 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
12745 if test "x$ac_cv_lib_crypt_crypt" = xyes
; then :
12746 CRYPTLIBS
="-lcrypt"
12750 LIBS
="$CRYPTLIBS $LIBS"
12751 ac_fn_c_check_func
"$LINENO" "crypt" "ac_cv_func_crypt"
12752 if test "x$ac_cv_func_crypt" = xyes
; then :
12754 cat >>confdefs.h
<<_ACEOF
12755 #define HAVE_CRYPT 1
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt() prototype" >&5
12762 $as_echo_n "checking for crypt() prototype... " >&6; }
12763 if ${userdb_cv_NEED_CRYPT_PROTOTYPE+:} false
; then :
12764 $as_echo_n "(cached) " >&6
12766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12773 #include <unistd.h>
12775 int crypt(int, int);
12786 if ac_fn_c_try_compile
"$LINENO"; then :
12787 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
12789 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
12791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
12796 $as_echo "$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
12799 cat >>confdefs.h
<<_ACEOF
12800 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
12805 for ac_func
in isatty gettimeofday
12807 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12808 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12809 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12810 cat >>confdefs.h
<<_ACEOF
12811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12819 # Check whether --with-random was given.
12820 if test "${with_random+set}" = set; then :
12821 withval
=$with_random; random
="$withval"
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random source" >&5
12832 $as_echo_n "checking for random source... " >&6; }
12833 if ${userdb_cv_RANDOM+:} false
; then :
12834 $as_echo_n "(cached) " >&6
12836 if test -c /dev
/urandom
12838 userdb_cv_RANDOM
=/dev
/urandom
12840 if test -c /dev
/random
12842 userdb_cv_RANDOM
=/dev
/random
12844 userdb_cv_RANDOM
="none"
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userdb_cv_RANDOM" >&5
12850 $as_echo "$userdb_cv_RANDOM" >&6; }
12851 random
="$userdb_cv_RANDOM"
12858 if test "$random" != "none"
12861 cat >>confdefs.h
<<_ACEOF
12862 #define RANDOM "$random"
12867 if test -d ${srcdir}/..
/libs
/docbook
; then
12869 HAVE_SGML_FALSE
='#'
12876 ac_config_files
="$ac_config_files Makefile userdb.pl makeuserdb pw2userdb"
12878 cat >confcache
<<\_ACEOF
12879 # This file is a shell script that caches the results of configure
12880 # tests run on this system so they can be shared between configure
12881 # scripts and configure runs, see configure's option --config-cache.
12882 # It is not useful on other systems. If it contains results you don't
12883 # want to keep, you may remove or edit it.
12885 # config.status only pays attention to the cache file if you give it
12886 # the --recheck option to rerun configure.
12888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12890 # following values.
12894 # The following way of writing the cache mishandles newlines in values,
12895 # but we know of no workaround that is simple, portable, and efficient.
12896 # So, we kill variables containing newlines.
12897 # Ultrix sh set writes to stderr and can't be redirected directly,
12898 # and sets the high bit in the cache file unless we assign to the vars.
12900 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12901 eval ac_val
=\$
$ac_var
12905 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12909 _ | IFS | as_nl
) ;; #(
12910 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12911 *) { eval $ac_var=; unset $ac_var;} ;;
12917 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12918 *${as_nl}ac_space
=\
*)
12919 # `set' does not quote correctly, so add quotes: double-quote
12920 # substitution turns \\\\ into \\, and sed turns \\ into \.
12923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12926 # `set' quotes correctly as required by POSIX, so do not add quotes.
12927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12938 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12940 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12941 if test -w "$cache_file"; then
12942 if test "x$cache_file" != "x/dev/null"; then
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12944 $as_echo "$as_me: updating cache $cache_file" >&6;}
12945 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12946 cat confcache
>"$cache_file"
12948 case $cache_file in #(
12950 mv -f confcache
"$cache_file"$$
&&
12951 mv -f "$cache_file"$$
"$cache_file" ;; #(
12953 mv -f confcache
"$cache_file" ;;
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12959 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12964 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12965 # Let make expand exec_prefix.
12966 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12968 DEFS
=-DHAVE_CONFIG_H
12973 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12974 # 1. Remove the extension, and $U if already installed.
12975 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12976 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12977 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12978 # will be set to the directory where LIBOBJS objects are built.
12979 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12980 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12982 LIBOBJS
=$ac_libobjs
12984 LTLIBOBJS
=$ac_ltlibobjs
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12988 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12989 if test -n "$am_sleep_pid"; then
12990 # Hide warnings about reused PIDs.
12991 wait $am_sleep_pid 2>/dev
/null
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12994 $as_echo "done" >&6; }
12995 if test -n "$EXEEXT"; then
12997 am__EXEEXT_FALSE
='#'
12999 am__EXEEXT_TRUE
='#'
13003 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13004 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13007 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13008 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13011 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
13012 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
13013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13016 : "${CONFIG_STATUS=./config.status}"
13018 ac_clean_files_save
=$ac_clean_files
13019 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13021 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13023 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13025 # Generated by $as_me.
13026 # Run this file to recreate the current configuration.
13027 # Compiler output produced by configure, useful for debugging
13028 # configure, is in config.log if it exists.
13031 ac_cs_recheck=false
13034 SHELL=\${CONFIG_SHELL-$SHELL}
13037 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13038 ## -------------------- ##
13039 ## M4sh Initialization. ##
13040 ## -------------------- ##
13042 # Be more Bourne compatible
13043 DUALCASE
=1; export DUALCASE
# for MKS sh
13044 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13047 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13048 # is contrary to our usage. Disable this feature.
13049 alias -g '${1+"$@"}'='"$@"'
13050 setopt NO_GLOB_SUBST
13052 case `(set -o) 2>/dev/null` in #(
13064 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13065 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13066 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13067 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13068 # Prefer a ksh shell builtin over an external printf program on Solaris,
13069 # but without wasting forks for bash or zsh.
13070 if test -z "$BASH_VERSION$ZSH_VERSION" \
13071 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13072 as_echo='print
-r --'
13073 as_echo_n='print
-rn --'
13074 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13075 as_echo='printf %s
\n'
13076 as_echo_n='printf %s
'
13078 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13079 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13080 as_echo_n='/usr
/ucb
/echo -n'
13082 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13083 as_echo_n_body='eval
13087 expr "X$arg" : "X\\(.*\\)$as_nl";
13088 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13090 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13092 export as_echo_n_body
13093 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13095 export as_echo_body
13096 as_echo='sh
-c $as_echo_body as_echo
'
13099 # The user is always right.
13100 if test "${PATH_SEPARATOR+set}" != set; then
13102 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13103 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13110 # We need space, tab and new line, in precisely that order. Quoting is
13111 # there to prevent editors from complaining about space-tab.
13112 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13113 # splitting by setting IFS to empty value.)
13116 # Find who we are. Look in the path if we contain no directory separator.
13119 *[\\/]* ) as_myself=$0 ;;
13120 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $PATH
13124 test -z "$as_dir" && as_dir=.
13125 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13131 # We did not find ourselves, most probably we were run as `sh COMMAND'
13132 # in which case we are not to be found in the path.
13133 if test "x$as_myself" = x
; then
13136 if test ! -f "$as_myself"; then
13137 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13141 # Unset variables that we do not need and which cause bugs (e.g. in
13142 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13143 # suppresses any "Segmentation fault" message there. '((' could
13144 # trigger a bug in pdksh 5.2.14.
13145 for as_var
in BASH_ENV ENV MAIL MAILPATH
13146 do eval test x\
${$as_var+set} = xset \
13147 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13160 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13163 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13164 # ----------------------------------------
13165 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13166 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13167 # script with STATUS, using 1 if that was 0.
13170 as_status
=$1; test $as_status -eq 0 && as_status
=1
13172 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13173 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13175 $as_echo "$as_me: error: $2" >&2
13176 as_fn_exit
$as_status
13180 # as_fn_set_status STATUS
13181 # -----------------------
13182 # Set $? to STATUS, without forking.
13183 as_fn_set_status
()
13186 } # as_fn_set_status
13188 # as_fn_exit STATUS
13189 # -----------------
13190 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13194 as_fn_set_status
$1
13200 # Portably unset VAR.
13203 { eval $1=; unset $1;}
13205 as_unset
=as_fn_unset
13206 # as_fn_append VAR VALUE
13207 # ----------------------
13208 # Append the text in VALUE to the end of the definition contained in VAR. Take
13209 # advantage of any shell optimizations that allow amortized linear growth over
13210 # repeated appends, instead of the typical quadratic growth present in naive
13212 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13213 eval 'as_fn_append ()
13224 # as_fn_arith ARG...
13225 # ------------------
13226 # Perform arithmetic evaluation on the ARGs, and store the result in the
13227 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13228 # must be portable across $(()) and expr.
13229 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13230 eval 'as_fn_arith ()
13237 as_val
=`expr "$@" || test $? -eq 1`
13242 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13243 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13249 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13250 as_basename
=basename
13255 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13261 as_me
=`$as_basename -- "$0" ||
13262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13263 X"$0" : 'X\(//\)$' \| \
13264 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13266 sed '/^.*\/\([^/][^/]*\)\/*$/{
13280 # Avoid depending upon Character Ranges.
13281 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13282 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13283 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13284 as_cr_digits
='0123456789'
13285 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13287 ECHO_C
= ECHO_N
= ECHO_T
=
13288 case `echo -n x` in #(((((
13290 case `echo 'xy\c'` in
13291 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13293 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13300 rm -f conf$$ conf$$.exe conf$$.
file
13301 if test -d conf$$.dir
; then
13302 rm -f conf$$.dir
/conf$$.
file
13305 mkdir conf$$.dir
2>/dev
/null
13307 if (echo >conf$$.
file) 2>/dev
/null
; then
13308 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13310 # ... but there are two gotchas:
13311 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13312 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13313 # In both cases, we have to default to `cp -pR'.
13314 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13316 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13324 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13325 rmdir conf$$.dir
2>/dev
/null
13330 # Create "$as_dir" as a directory, including parents if necessary.
13335 -*) as_dir
=.
/$as_dir;;
13337 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13341 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13342 *) as_qdir
=$as_dir;;
13344 as_dirs
="'$as_qdir' $as_dirs"
13345 as_dir
=`$as_dirname -- "$as_dir" ||
13346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13347 X"$as_dir" : 'X\(//\)[^/]' \| \
13348 X"$as_dir" : 'X\(//\)$' \| \
13349 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13350 $as_echo X"$as_dir" |
13351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13355 /^X\(\/\/\)[^/].*/{
13368 test -d "$as_dir" && break
13370 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13371 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13375 if mkdir
-p .
2>/dev
/null
; then
13376 as_mkdir_p
='mkdir -p "$as_dir"'
13378 test -d .
/-p && rmdir .
/-p
13383 # as_fn_executable_p FILE
13384 # -----------------------
13385 # Test if FILE is an executable regular file.
13386 as_fn_executable_p
()
13388 test -f "$1" && test -x "$1"
13389 } # as_fn_executable_p
13390 as_test_x
='test -x'
13391 as_executable_p
=as_fn_executable_p
13393 # Sed expression to map a string onto a valid CPP name.
13394 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13396 # Sed expression to map a string onto a valid variable name.
13397 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13401 ## ----------------------------------- ##
13402 ## Main body of $CONFIG_STATUS script. ##
13403 ## ----------------------------------- ##
13405 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13408 # Save the log message, to keep $0 and so on meaningful, and to
13409 # report actual input values of CONFIG_FILES etc. instead of their
13410 # values after options handling.
13412 This file was extended by libuserdb $as_me 0.10, which was
13413 generated by GNU Autoconf 2.69. Invocation command line was
13415 CONFIG_FILES = $CONFIG_FILES
13416 CONFIG_HEADERS = $CONFIG_HEADERS
13417 CONFIG_LINKS = $CONFIG_LINKS
13418 CONFIG_COMMANDS = $CONFIG_COMMANDS
13421 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13426 case $ac_config_files in *"
13427 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13430 case $ac_config_headers in *"
13431 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13436 # Files that config.status was made for.
13437 config_files="$ac_config_files"
13438 config_headers="$ac_config_headers"
13439 config_commands="$ac_config_commands"
13443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13445 \`$as_me' instantiates files and other configuration actions
13446 from templates according to the current configuration. Unless the files
13447 and actions are specified as TAGs, all are instantiated by default.
13449 Usage: $0 [OPTION]... [TAG]...
13451 -h, --help print this help, then exit
13452 -V, --version print version number and configuration settings, then exit
13453 --config print configuration, then exit
13454 -q, --quiet, --silent
13455 do not print progress messages
13456 -d, --debug don't remove temporary files
13457 --recheck update $as_me by reconfiguring in the same conditions
13458 --file=FILE[:TEMPLATE]
13459 instantiate the configuration file FILE
13460 --header=FILE[:TEMPLATE]
13461 instantiate the configuration header FILE
13463 Configuration files:
13466 Configuration headers:
13469 Configuration commands:
13472 Report bugs to <courier-users@lists.sourceforge.net>."
13475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13476 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13478 libuserdb config.status 0.10
13479 configured by $0, generated by GNU Autoconf 2.69,
13480 with options \\"\$ac_cs_config\\"
13482 Copyright (C) 2012 Free Software Foundation, Inc.
13483 This config.status script is free software; the Free Software Foundation
13484 gives unlimited permission to copy, distribute and modify it."
13491 test -n "\$AWK" || AWK=awk
13494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13495 # The default lists apply if the user does not specify any file.
13501 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13502 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13506 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13518 # Handling of the options.
13519 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13521 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13522 $as_echo "$ac_cs_version"; exit ;;
13523 --config |
--confi |
--conf |
--con |
--co |
--c )
13524 $as_echo "$ac_cs_config"; exit ;;
13525 --debug |
--debu |
--deb |
--de |
--d |
-d )
13527 --file |
--fil |
--fi |
--f )
13530 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13531 '') as_fn_error $?
"missing file argument" ;;
13533 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13534 ac_need_defaults
=false
;;
13535 --header |
--heade |
--head |
--hea )
13538 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13540 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13541 ac_need_defaults
=false
;;
13543 # Conflict between --help and --header
13544 as_fn_error $?
"ambiguous option: \`$1'
13545 Try \`$0 --help' for more information.";;
13546 --help |
--hel |
-h )
13547 $as_echo "$ac_cs_usage"; exit ;;
13548 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13549 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13552 # This is an error.
13553 -*) as_fn_error $?
"unrecognized option: \`$1'
13554 Try \`$0 --help' for more information." ;;
13556 *) as_fn_append ac_config_targets
" $1"
13557 ac_need_defaults
=false
;;
13563 ac_configure_extra_args
=
13565 if $ac_cs_silent; then
13567 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13572 if \$ac_cs_recheck; then
13573 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13575 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13576 CONFIG_SHELL='$SHELL'
13577 export CONFIG_SHELL
13582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13586 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13587 ## Running $as_me. ##
13593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13597 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13600 # The HP-UX ksh and POSIX shell print the target directory to stdout
13601 # if CDPATH is set.
13602 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13604 sed_quote_subst='$sed_quote_subst'
13605 double_quote_subst='$double_quote_subst'
13606 delay_variable_subst='$delay_variable_subst'
13607 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13608 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13609 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13610 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13611 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13612 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13613 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13614 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13615 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13616 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13617 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13618 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13619 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13620 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13621 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13622 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13623 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13624 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13625 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13626 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13627 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13628 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13629 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13630 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13631 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13632 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13633 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13634 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13635 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13636 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13637 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13638 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13639 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13640 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13641 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13642 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13643 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13644 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13645 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13646 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13647 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13648 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13649 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13650 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13651 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13652 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13653 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13654 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13655 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13656 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13657 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13658 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13659 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13660 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13661 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13662 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13663 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13664 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13665 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"`'
13666 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13667 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13668 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13669 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13670 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13671 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13672 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13673 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13674 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13675 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13676 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13677 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13678 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13679 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13680 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13681 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13682 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13683 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13684 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13685 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13686 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13687 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13688 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13689 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13690 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13691 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13692 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13693 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13694 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13695 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13696 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13697 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13698 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13699 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13700 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13701 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13702 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13703 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13704 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13705 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13706 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13707 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13708 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13709 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13710 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13711 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13712 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13713 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13714 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13715 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13716 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13717 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13718 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13719 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13720 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13721 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13722 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13723 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13724 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13725 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13726 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13727 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13728 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13729 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13730 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13731 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13732 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13733 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13734 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13735 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13736 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13737 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13738 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13739 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13740 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13741 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13744 LTCFLAGS='$LTCFLAGS'
13745 compiler='$compiler_DEFAULT'
13747 # A function that is used when there is no print builtin or printf.
13748 func_fallback_echo ()
13750 eval 'cat <<_LTECHO_EOF
13755 # Quote evaled strings.
13770 deplibs_check_method \
13775 sharedlib_from_linklib_cmd \
13778 archiver_list_spec \
13784 lt_cv_sys_global_symbol_pipe \
13785 lt_cv_sys_global_symbol_to_cdecl \
13786 lt_cv_sys_global_symbol_to_import \
13787 lt_cv_sys_global_symbol_to_c_name_address \
13788 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13789 lt_cv_nm_interface \
13790 nm_file_list_spec \
13791 lt_cv_truncate_bin \
13792 lt_prog_compiler_no_builtin_flag \
13793 lt_prog_compiler_pic \
13794 lt_prog_compiler_wl \
13795 lt_prog_compiler_static \
13796 lt_cv_prog_compiler_c_o \
13805 export_dynamic_flag_spec \
13806 whole_archive_flag_spec \
13807 compiler_needs_object \
13809 allow_undefined_flag \
13810 no_undefined_flag \
13811 hardcode_libdir_flag_spec \
13812 hardcode_libdir_separator \
13816 variables_saved_for_relink \
13818 library_names_spec \
13820 install_override_mode \
13824 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13825 *[\\\\\\\`\\"\\\$]*)
13826 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13829 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13834 # Double-quote double-evaled strings.
13835 for var in reload_cmds \
13836 old_postinstall_cmds \
13837 old_postuninstall_cmds \
13839 extract_expsyms_cmds \
13840 old_archive_from_new_cmds \
13841 old_archive_from_expsyms_cmds \
13843 archive_expsym_cmds \
13845 module_expsym_cmds \
13846 export_symbols_cmds \
13850 postuninstall_cmds \
13852 sys_lib_search_path_spec \
13853 configure_time_dlsearch_path \
13854 configure_time_lt_sys_library_path; do
13855 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13856 *[\\\\\\\`\\"\\\$]*)
13857 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13860 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13865 ac_aux_dir='$ac_aux_dir'
13867 # See if we are running on zsh, and set the options that allow our
13868 # commands through without removal of \ escapes INIT.
13869 if test -n "\${ZSH_VERSION+set}"; then
13870 setopt NO_GLOB_SUBST
13884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13886 # Handling of arguments.
13887 for ac_config_target
in $ac_config_targets
13889 case $ac_config_target in
13890 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13891 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13892 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13893 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13894 "userdb.pl") CONFIG_FILES
="$CONFIG_FILES userdb.pl" ;;
13895 "makeuserdb") CONFIG_FILES
="$CONFIG_FILES makeuserdb" ;;
13896 "pw2userdb") CONFIG_FILES
="$CONFIG_FILES pw2userdb" ;;
13898 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13903 # If the user did not use the arguments to specify the items to instantiate,
13904 # then the envvar interface is used. Set only those that are not.
13905 # We use the long form for the default assignment because of an extremely
13906 # bizarre bug on SunOS 4.1.3.
13907 if $ac_need_defaults; then
13908 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13909 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13913 # Have a temporary directory for convenience. Make it in the build tree
13914 # simply because there is no reason against having it here, and in addition,
13915 # creating and moving files from /tmp can sometimes cause problems.
13916 # Hook for its removal unless debugging.
13917 # Note that there is a small window in which the directory will not be cleaned:
13918 # after its creation but before its name has been assigned to `$tmp'.
13922 trap 'exit_status=$?
13923 : "${ac_tmp:=$tmp}"
13924 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13926 trap 'as_fn_exit 1' 1 2 13 15
13928 # Create a (secure) tmp directory for tmp files.
13931 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13935 tmp
=.
/conf$$
-$RANDOM
13936 (umask 077 && mkdir
"$tmp")
13937 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13940 # Set up the scripts for CONFIG_FILES section.
13941 # No need to generate them if there are no CONFIG_FILES.
13942 # This happens for instance with `./config.status config.h'.
13943 if test -n "$CONFIG_FILES"; then
13946 ac_cr
=`echo X | tr X '\015'`
13947 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13948 # But we know of no other shell where ac_cr would be empty at this
13949 # point, so we can use a bashism as a fallback.
13950 if test "x$ac_cr" = x
; then
13951 eval ac_cr
=\$
\'\\r
\'
13953 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13954 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13957 ac_cs_awk_cr
=$ac_cr
13960 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13965 echo "cat >conf$$subs.awk <<_ACEOF" &&
13966 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13968 } >conf$$subs.sh ||
13969 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13970 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13972 for ac_last_try in false false false false false :; do
13973 . ./conf$$subs.sh ||
13974 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13976 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13977 if test $ac_delim_n = $ac_delim_num; then
13979 elif $ac_last_try; then
13980 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13982 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13985 rm -f conf$$subs.sh
13987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13988 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13992 s/^/S["/; s
/!.
*/"]=/
14002 s/\(.\{148\}\)..*/\1/
14004 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14009 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14016 s/\(.\{148\}\)..*/\1/
14018 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14022 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14027 ' <conf$$subs.awk | sed '
14032 ' >>$CONFIG_STATUS || ac_write_fail=1
14033 rm -f conf$$subs.awk
14034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14036 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14037 for (key in S) S_is_set[key] = 1
14043 nfields = split(line, field, "@
")
14045 len = length(field[1])
14046 for (i = 2; i < nfields; i++) {
14048 keylen = length(key)
14049 if (S_is_set[key]) {
14051 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14052 len += length(value) + length(field[++i])
14063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14064 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14065 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14068 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14069 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14072 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14073 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14074 # trailing colons and then remove the whole line if VPATH becomes empty
14075 # (actually we leave an empty line to preserve line numbers).
14076 if test "x
$srcdir" = x.; then
14077 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14096 fi # test -n "$CONFIG_FILES"
14098 # Set up the scripts for CONFIG_HEADERS section.
14099 # No need to generate them if there are no CONFIG_HEADERS.
14100 # This happens for instance with `./config.status Makefile'.
14101 if test -n "$CONFIG_HEADERS"; then
14102 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14106 # Transform confdefs.h into an awk script `defines.awk', embedded as
14107 # here-document in config.status, that substitutes the proper values into
14108 # config.h.in to produce config.h.
14110 # Create a delimiter string that does not exist in confdefs.h, to ease
14111 # handling of long lines.
14113 for ac_last_try in false false :; do
14114 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14115 if test -z "$ac_tt"; then
14117 elif $ac_last_try; then
14118 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14120 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14124 # For the awk script, D is an array of macro values keyed by name,
14125 # likewise P contains macro parameters if any. Preserve backslash
14126 # newline sequences.
14128 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14130 s/.\{148\}/&'"$ac_delim"'/g
14133 s/^[ ]*#[ ]*define[ ][ ]*/ /
14140 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14142 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14146 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14147 D["\
1"]=" \
3\\\\\\n
"\\/p
14149 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14154 s/.\{148\}/&'"$ac_delim"'/g
14159 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14162 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14164 ' <confdefs.h | sed '
14165 s/'"$ac_delim"'/"\\\
14166 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14169 for (key in D) D_is_set[key] = 1
14172 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14174 split(line, arg, " ")
14175 if (arg[1] == "#") {
14179 defundef
= substr
(arg
[1], 2)
14182 split(mac1
, mac2
, "(") #)
14184 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14185 if (D_is_set
[macro
]) {
14186 # Preserve the white space surrounding the "#".
14187 print prefix
"define", macro P
[macro
] D
[macro
]
14190 # Replace #undef with comments. This is necessary, for example,
14191 # in the case of _POSIX_SOURCE, which is predefined and required
14192 # on some systems where configure will not decide to define it.
14193 if (defundef
== "undef") {
14194 print
"/*", prefix defundef
, macro
, "*/"
14202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14203 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14204 fi # test -n "$CONFIG_HEADERS"
14207 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14212 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14214 case $ac_mode$ac_tag in
14216 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14217 :[FH
]-) ac_tag
=-:-;;
14218 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14235 -) ac_f
="$ac_tmp/stdin";;
14236 *) # Look for the file first in the build tree, then in the source tree
14237 # (if the path is not absolute). The absolute path cannot be DOS-style,
14238 # because $ac_f cannot contain `:'.
14242 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14244 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14246 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14247 as_fn_append ac_file_inputs
" '$ac_f'"
14250 # Let's still pretend it is `configure' which instantiates (i.e., don't
14251 # use $as_me), people would be surprised to read:
14252 # /* config.h. Generated by config.status. */
14253 configure_input
='Generated from '`
14254 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14256 if test x
"$ac_file" != x-
; then
14257 configure_input
="$ac_file. $configure_input"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14259 $as_echo "$as_me: creating $ac_file" >&6;}
14261 # Neutralize special characters interpreted by sed in replacement strings.
14262 case $configure_input in #(
14263 *\
&* |
*\|
* |
*\\* )
14264 ac_sed_conf_input
=`$as_echo "$configure_input" |
14265 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14266 *) ac_sed_conf_input
=$configure_input;;
14270 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14271 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14276 ac_dir
=`$as_dirname -- "$ac_file" ||
14277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14278 X"$ac_file" : 'X\(//\)[^/]' \| \
14279 X"$ac_file" : 'X\(//\)$' \| \
14280 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14281 $as_echo X"$ac_file" |
14282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14286 /^X\(\/\/\)[^/].*/{
14299 as_dir
="$ac_dir"; as_fn_mkdir_p
14303 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14305 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14306 # A ".." for each directory in $ac_dir_suffix.
14307 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14308 case $ac_top_builddir_sub in
14309 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14310 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14313 ac_abs_top_builddir
=$ac_pwd
14314 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14315 # for backward compatibility:
14316 ac_top_builddir
=$ac_top_build_prefix
14319 .
) # We are building in place.
14321 ac_top_srcdir
=$ac_top_builddir_sub
14322 ac_abs_top_srcdir
=$ac_pwd ;;
14323 [\\/]* | ?
:[\\/]* ) # Absolute name.
14324 ac_srcdir
=$srcdir$ac_dir_suffix;
14325 ac_top_srcdir
=$srcdir
14326 ac_abs_top_srcdir
=$srcdir ;;
14327 *) # Relative name.
14328 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14329 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14330 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14332 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14342 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14343 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14345 ac_MKDIR_P
=$MKDIR_P
14347 [\\/$
]* | ?
:[\\/]* ) ;;
14348 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14353 # If the template does not know about datarootdir, expand it.
14354 # FIXME: This hack should be removed a few years after 2.60.
14355 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14366 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14367 *datarootdir
*) ac_datarootdir_seen
=yes;;
14368 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14370 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14373 ac_datarootdir_hack='
14374 s&@datadir@&$datadir&g
14375 s&@docdir@&$docdir&g
14376 s&@infodir@&$infodir&g
14377 s&@localedir@&$localedir&g
14378 s&@mandir@&$mandir&g
14379 s&\\\${datarootdir}&$datarootdir&g' ;;
14383 # Neutralize VPATH when `$srcdir' = `.'.
14384 # Shell code in configure.ac might set extrasub.
14385 # FIXME: do we really want to maintain this feature?
14386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14387 ac_sed_extra="$ac_vpsub
14390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14392 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14393 s|@configure_input@|
$ac_sed_conf_input|
;t t
14394 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14395 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14396 s
&@srcdir@
&$ac_srcdir&;t t
14397 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14398 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14399 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14400 s
&@builddir@
&$ac_builddir&;t t
14401 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14402 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14403 s
&@INSTALL@
&$ac_INSTALL&;t t
14404 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14405 $ac_datarootdir_hack
14407 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14408 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14410 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14411 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14412 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14413 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14415 which seems to be undefined. Please make sure it is defined" >&5
14416 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14417 which seems to be undefined. Please make sure it is defined" >&2;}
14419 rm -f "$ac_tmp/stdin"
14421 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14422 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14430 if test x"$ac_file" != x-; then
14432 $as_echo "/* $configure_input */" \
14433 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14434 } >"$ac_tmp/config.h" \
14435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14436 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14438 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14441 mv "$ac_tmp/config.h" "$ac_file" \
14442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14445 $as_echo "/* $configure_input */" \
14446 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14447 || as_fn_error $? "could not create -" "$LINENO" 5
14449 # Compute "$ac_file"'s index
in $config_headers.
14452 for _am_header
in $config_headers :; do
14453 case $_am_header in
14454 $_am_arg |
$_am_arg:* )
14457 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14460 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14461 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14462 X"$_am_arg" : 'X\(//\)[^/]' \| \
14463 X"$_am_arg" : 'X\(//\)$' \| \
14464 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14465 $as_echo X"$_am_arg" |
14466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14470 /^X\(\/\/\)[^/].*/{
14482 s/.*/./; q'`/stamp-h
$_am_stamp_count
14485 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14486 $as_echo "$as_me: executing $ac_file commands" >&6;}
14491 case $ac_file$ac_mode in
14492 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14493 # Older Autoconf quotes --file arguments for eval, but not when files
14494 # are listed without --file. Let's play safe and only enable the eval
14495 # if we detect the quoting.
14496 case $CONFIG_FILES in
14497 *\'*) eval set x
"$CONFIG_FILES" ;;
14498 *) set x
$CONFIG_FILES ;;
14503 # Strip MF so we end up with the name of the file.
14504 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14505 # Check whether this is an Automake generated Makefile or not.
14506 # We used to match only the files named 'Makefile.in', but
14507 # some people rename them; so instead we look at the file content.
14508 # Grep'ing the first line is not enough: some people post-process
14509 # each Makefile.in and add a new line on top of each file to say so.
14510 # Grep'ing the whole file is not good either: AIX grep has a line
14511 # limit of 2048, but all sed's we know have understand at least 4000.
14512 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14513 dirpart
=`$as_dirname -- "$mf" ||
14514 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14515 X"$mf" : 'X\(//\)[^/]' \| \
14516 X"$mf" : 'X\(//\)$' \| \
14517 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14523 /^X\(\/\/\)[^/].*/{
14539 # Extract the definition of DEPDIR, am__include, and am__quote
14540 # from the Makefile without running 'make'.
14541 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14542 test -z "$DEPDIR" && continue
14543 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14544 test -z "$am__include" && continue
14545 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14546 # Find all dependency output files, they are included files with
14547 # $(DEPDIR) in their names. We invoke sed twice because it is the
14548 # simplest approach to changing $(DEPDIR) to its actual value in the
14550 for file in `sed -n "
14551 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14552 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14553 # Make sure the directory exists.
14554 test -f "$dirpart/$file" && continue
14555 fdir
=`$as_dirname -- "$file" ||
14556 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14557 X"$file" : 'X\(//\)[^/]' \| \
14558 X"$file" : 'X\(//\)$' \| \
14559 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14560 $as_echo X"$file" |
14561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14565 /^X\(\/\/\)[^/].*/{
14578 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14579 # echo "creating $dirpart/$file"
14580 echo '# dummy' > "$dirpart/$file"
14587 # See if we are running on zsh, and set the options that allow our
14588 # commands through without removal of \ escapes.
14589 if test -n "${ZSH_VERSION+set}"; then
14590 setopt NO_GLOB_SUBST
14594 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14597 cat <<_LT_EOF >> "$cfgfile"
14599 # Generated automatically by $as_me ($PACKAGE) $VERSION
14600 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14601 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14603 # Provide generalized library-building support services.
14604 # Written by Gordon Matzigkeit, 1996
14606 # Copyright (C) 2014 Free Software Foundation, Inc.
14607 # This is free software; see the source for copying conditions. There is NO
14608 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14610 # GNU Libtool is free software; you can redistribute it and/or modify
14611 # it under the terms of the GNU General Public License as published by
14612 # the Free Software Foundation; either version 2 of of the License, or
14613 # (at your option) any later version.
14615 # As a special exception to the GNU General Public License, if you
14616 # distribute this file as part of a program or library that is built
14617 # using GNU Libtool, you may include this file under the same
14618 # distribution terms that you use for the rest of that program.
14620 # GNU Libtool is distributed in the hope that it will be useful, but
14621 # WITHOUT ANY WARRANTY; without even the implied warranty of
14622 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14623 # GNU General Public License for more details.
14625 # You should have received a copy of the GNU General Public License
14626 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14629 # The names of the tagged configurations supported by this script.
14632 # Configured defaults for sys_lib_dlsearch_path munging.
14633 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14635 # ### BEGIN LIBTOOL CONFIG
14637 # Which release of libtool.m4 was used?
14638 macro_version=$macro_version
14639 macro_revision=$macro_revision
14641 # Whether or not to build shared libraries.
14642 build_libtool_libs=$enable_shared
14644 # Whether or not to build static libraries.
14645 build_old_libs=$enable_static
14647 # What type of objects to build.
14650 # Whether or not to optimize for fast installation.
14651 fast_install=$enable_fast_install
14653 # Shared archive member basename,for filename based shared library versioning on AIX.
14654 shared_archive_member_spec=$shared_archive_member_spec
14656 # Shell to use when invoking shell scripts.
14659 # An echo program that protects backslashes.
14662 # The PATH separator for the build system.
14663 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14666 host_alias=$host_alias
14670 # The build system.
14671 build_alias=$build_alias
14675 # A sed program that does not truncate output.
14678 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14679 Xsed="\$SED -e 1s/^X//"
14681 # A grep program that handles long lines.
14687 # A literal string matcher.
14690 # A BSD- or MS-compatible name lister.
14693 # Whether we need soft or hard links.
14696 # What is the maximum length of a command?
14697 max_cmd_len=$max_cmd_len
14699 # Object file suffix (normally "o").
14702 # Executable file suffix (normally "").
14705 # whether the shell understands "unset".
14708 # turn spaces into newlines.
14711 # turn newlines into spaces.
14714 # convert \$build file names to \$host format.
14715 to_host_file_cmd=$lt_cv_to_host_file_cmd
14717 # convert \$build files to toolchain format.
14718 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14720 # An object symbol dumper.
14721 OBJDUMP=$lt_OBJDUMP
14723 # Method to check whether dependent libraries are shared objects.
14724 deplibs_check_method=$lt_deplibs_check_method
14726 # Command to use when deplibs_check_method = "file_magic".
14727 file_magic_cmd=$lt_file_magic_cmd
14729 # How to find potential files when deplibs_check_method = "file_magic".
14730 file_magic_glob=$lt_file_magic_glob
14732 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14733 want_nocaseglob=$lt_want_nocaseglob
14735 # DLL creation program.
14736 DLLTOOL=$lt_DLLTOOL
14738 # Command to associate shared and link libraries.
14739 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14744 # Flags to create an archive.
14745 AR_FLAGS=$lt_AR_FLAGS
14747 # How to feed a file listing to the archiver.
14748 archiver_list_spec=$lt_archiver_list_spec
14750 # A symbol stripping program.
14753 # Commands used to install an old-style archive.
14755 old_postinstall_cmds=$lt_old_postinstall_cmds
14756 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14758 # Whether to use a lock for old archive extraction.
14759 lock_old_archive_extraction=$lock_old_archive_extraction
14764 # LTCC compiler flags.
14765 LTCFLAGS=$lt_CFLAGS
14767 # Take the output of nm and produce a listing of raw symbols and C names.
14768 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14770 # Transform the output of nm in a proper C declaration.
14771 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14773 # Transform the output of nm into a list of symbols to manually relocate.
14774 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14776 # Transform the output of nm in a C name address pair.
14777 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14779 # Transform the output of nm in a C name address pair when lib prefix is needed.
14780 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14782 # The name lister interface.
14783 nm_interface=$lt_lt_cv_nm_interface
14785 # Specify filename containing input files for \$NM.
14786 nm_file_list_spec=$lt_nm_file_list_spec
14788 # The root where to search for dependent libraries,and where our libraries should be installed.
14789 lt_sysroot=$lt_sysroot
14791 # Command to truncate a binary pipe.
14792 lt_truncate_bin=$lt_lt_cv_truncate_bin
14794 # The name of the directory that contains temporary libtool files.
14797 # Used to examine libraries when file_magic_cmd begins with "file".
14798 MAGIC_CMD=$MAGIC_CMD
14800 # Must we lock files when doing compilation?
14801 need_locks=$lt_need_locks
14804 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14806 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14807 DSYMUTIL=$lt_DSYMUTIL
14809 # Tool to change global to local symbols on Mac OS X.
14812 # Tool to manipulate fat objects and archives on Mac OS X.
14815 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14818 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14819 OTOOL64=$lt_OTOOL64
14821 # Old archive suffix (normally "a").
14824 # Shared library suffix (normally ".so").
14825 shrext_cmds=$lt_shrext_cmds
14827 # The commands to extract the exported symbol list from a shared archive.
14828 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14830 # Variables whose values should be saved in libtool wrapper scripts and
14831 # restored at link time.
14832 variables_saved_for_relink=$lt_variables_saved_for_relink
14834 # Do we need the "lib" prefix for modules?
14835 need_lib_prefix=$need_lib_prefix
14837 # Do we need a version for libraries?
14838 need_version=$need_version
14840 # Library versioning type.
14841 version_type=$version_type
14843 # Shared library runtime path variable.
14844 runpath_var=$runpath_var
14846 # Shared library path variable.
14847 shlibpath_var=$shlibpath_var
14849 # Is shlibpath searched before the hard-coded library search path?
14850 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14852 # Format of library name prefix.
14853 libname_spec=$lt_libname_spec
14855 # List of archive names. First name is the real one, the rest are links.
14856 # The last name is the one that the linker finds with -lNAME
14857 library_names_spec=$lt_library_names_spec
14859 # The coded name of the library, if different from the real name.
14860 soname_spec=$lt_soname_spec
14862 # Permission mode override for installation of shared libraries.
14863 install_override_mode=$lt_install_override_mode
14865 # Command to use after installation of a shared archive.
14866 postinstall_cmds=$lt_postinstall_cmds
14868 # Command to use after uninstallation of a shared archive.
14869 postuninstall_cmds=$lt_postuninstall_cmds
14871 # Commands used to finish a libtool library installation in a directory.
14872 finish_cmds=$lt_finish_cmds
14874 # As "finish_cmds", except a single script fragment to be evaled but
14876 finish_eval=$lt_finish_eval
14878 # Whether we should hardcode library paths into libraries.
14879 hardcode_into_libs=$hardcode_into_libs
14881 # Compile-time system search path for libraries.
14882 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14884 # Detected run-time system search path for libraries.
14885 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14887 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14888 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14890 # Whether dlopen is supported.
14891 dlopen_support=$enable_dlopen
14893 # Whether dlopen of programs is supported.
14894 dlopen_self=$enable_dlopen_self
14896 # Whether dlopen of statically linked programs is supported.
14897 dlopen_self_static=$enable_dlopen_self_static
14899 # Commands to strip libraries.
14900 old_striplib=$lt_old_striplib
14901 striplib=$lt_striplib
14904 # The linker used to build libraries.
14907 # How to create reloadable object files.
14908 reload_flag=$lt_reload_flag
14909 reload_cmds=$lt_reload_cmds
14911 # Commands used to build an old-style archive.
14912 old_archive_cmds=$lt_old_archive_cmds
14914 # A language specific compiler.
14917 # Is the compiler the GNU compiler?
14920 # Compiler flag to turn off builtin functions.
14921 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14923 # Additional compiler flags for building library objects.
14924 pic_flag=$lt_lt_prog_compiler_pic
14926 # How to pass a linker flag through the compiler.
14927 wl=$lt_lt_prog_compiler_wl
14929 # Compiler flag to prevent dynamic linking.
14930 link_static_flag=$lt_lt_prog_compiler_static
14932 # Does compiler simultaneously support -c and -o options?
14933 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14935 # Whether or not to add -lc for building shared libraries.
14936 build_libtool_need_lc=$archive_cmds_need_lc
14938 # Whether or not to disallow shared libs when runtime libs are static.
14939 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14941 # Compiler flag to allow reflexive dlopens.
14942 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14944 # Compiler flag to generate shared objects directly from archives.
14945 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14947 # Whether the compiler copes with passing no objects directly.
14948 compiler_needs_object=$lt_compiler_needs_object
14950 # Create an old-style archive from a shared archive.
14951 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14953 # Create a temporary old-style archive to link instead of a shared archive.
14954 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14956 # Commands used to build a shared archive.
14957 archive_cmds=$lt_archive_cmds
14958 archive_expsym_cmds=$lt_archive_expsym_cmds
14960 # Commands used to build a loadable module if different from building
14961 # a shared archive.
14962 module_cmds=$lt_module_cmds
14963 module_expsym_cmds=$lt_module_expsym_cmds
14965 # Whether we are building with GNU ld or not.
14966 with_gnu_ld=$lt_with_gnu_ld
14968 # Flag that allows shared libraries with undefined symbols to be built.
14969 allow_undefined_flag=$lt_allow_undefined_flag
14971 # Flag that enforces no undefined symbols.
14972 no_undefined_flag=$lt_no_undefined_flag
14974 # Flag to hardcode \$libdir into a binary during linking.
14975 # This must work even if \$libdir does not exist
14976 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14978 # Whether we need a single "-rpath" flag with a separated argument.
14979 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14981 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14982 # DIR into the resulting binary.
14983 hardcode_direct=$hardcode_direct
14985 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14986 # DIR into the resulting binary and the resulting library dependency is
14987 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14988 # library is relocated.
14989 hardcode_direct_absolute=$hardcode_direct_absolute
14991 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14992 # into the resulting binary.
14993 hardcode_minus_L=$hardcode_minus_L
14995 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14996 # into the resulting binary.
14997 hardcode_shlibpath_var=$hardcode_shlibpath_var
14999 # Set to "yes" if building a shared library automatically hardcodes DIR
15000 # into the library and all subsequent libraries and executables linked
15002 hardcode_automatic=$hardcode_automatic
15004 # Set to yes if linker adds runtime paths of dependent libraries
15005 # to runtime path list.
15006 inherit_rpath=$inherit_rpath
15008 # Whether libtool must link a program against all its dependency libraries.
15009 link_all_deplibs=$link_all_deplibs
15011 # Set to "yes" if exported symbols are required.
15012 always_export_symbols=$always_export_symbols
15014 # The commands to list exported symbols.
15015 export_symbols_cmds=$lt_export_symbols_cmds
15017 # Symbols that should not be listed in the preloaded symbols.
15018 exclude_expsyms=$lt_exclude_expsyms
15020 # Symbols that must always be exported.
15021 include_expsyms=$lt_include_expsyms
15023 # Commands necessary for linking programs (against libraries) with templates.
15024 prelink_cmds=$lt_prelink_cmds
15026 # Commands necessary for finishing linking programs.
15027 postlink_cmds=$lt_postlink_cmds
15029 # Specify filename containing input files.
15030 file_list_spec=$lt_file_list_spec
15032 # How to hardcode a shared library path into an executable.
15033 hardcode_action=$hardcode_action
15035 # ### END LIBTOOL CONFIG
15039 cat <<'_LT_EOF' >> "$cfgfile"
15041 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15043 # func_munge_path_list VARIABLE PATH
15044 # -----------------------------------
15045 # VARIABLE is name of variable containing _space_ separated list of
15046 # directories to be munged by the contents of PATH, which is string
15049 # string "DIR[ DIR]" will be prepended to VARIABLE
15051 # string "DIR[ DIR]" will be appended to VARIABLE
15052 # "DIRP[:DIRP]::[DIRA:]DIRA"
15053 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15054 # "DIRA[ DIRA]" will be appended to VARIABLE
15056 # VARIABLE will be replaced by "DIR[ DIR]"
15057 func_munge_path_list ()
15063 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15066 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15069 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15070 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15073 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15079 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15080 func_cc_basename ()
15082 for cc_temp in $*""; do
15084 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15085 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15090 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15094 # ### END FUNCTIONS SHARED WITH CONFIGURE
15100 cat <<\_LT_EOF
>> "$cfgfile"
15101 # AIX sometimes has problems with the GCC collect2 program. For some
15102 # reason, if we set the COLLECT_NAMES environment variable, the problems
15103 # vanish in a puff of smoke.
15104 if test set != "${COLLECT_NAMES+set}"; then
15106 export COLLECT_NAMES
15113 ltmain
=$ac_aux_dir/ltmain.sh
15116 # We use sed instead of cat because bash on DJGPP gets confused if
15117 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15118 # text mode, it properly converts lines to CR/LF. This bash problem
15119 # is reportedly fixed, but why not run on old versions too?
15120 sed '$q' "$ltmain" >> "$cfgfile" \
15121 ||
(rm -f "$cfgfile"; exit 1)
15123 mv -f "$cfgfile" "$ofile" ||
15124 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15135 ac_clean_files
=$ac_clean_files_save
15137 test $ac_write_fail = 0 ||
15138 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15141 # configure is writing to config.log, and then calls config.status.
15142 # config.status does its own redirection, appending to config.log.
15143 # Unfortunately, on DOS this fails, as config.log is still kept open
15144 # by configure, so config.status won't be able to write to it; its
15145 # output is simply discarded. So we exec the FD to /dev/null,
15146 # effectively closing config.log, so it can be properly (re)opened and
15147 # appended to by config.status. When coming back to configure, we
15148 # need to make the FD available again.
15149 if test "$no_create" != yes; then
15151 ac_config_status_args
=
15152 test "$silent" = yes &&
15153 ac_config_status_args
="$ac_config_status_args --quiet"
15155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15158 # would make configure fail if this is the last instruction.
15159 $ac_cs_success || as_fn_exit
1
15161 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15163 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}