2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for random128 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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
='random128'
592 PACKAGE_TARNAME
='random128'
593 PACKAGE_VERSION
='0.10'
594 PACKAGE_STRING
='random128 0.10'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="random128.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
701 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
758 enable_dependency_tracking
770 ac_precious_vars
='build_alias
782 # Initialize some variables set by options.
784 ac_init_version
=false
785 ac_unrecognized_opts
=
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name
=s
,x
,x
,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir
='${exec_prefix}/bin'
811 sbindir
='${exec_prefix}/sbin'
812 libexecdir
='${exec_prefix}/libexec'
813 datarootdir
='${prefix}/share'
814 datadir
='${datarootdir}'
815 sysconfdir
='${prefix}/etc'
816 sharedstatedir
='${prefix}/com'
817 localstatedir
='${prefix}/var'
818 includedir
='${prefix}/include'
819 oldincludedir
='/usr/include'
820 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
821 infodir
='${datarootdir}/info'
826 libdir
='${exec_prefix}/lib'
827 localedir
='${datarootdir}/locale'
828 mandir
='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\
$ac_option
842 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
847 # Accept the important Cygnus configure options, so we can diagnose typos.
849 case $ac_dashdash$ac_option in
853 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
855 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
858 -build |
--build |
--buil |
--bui |
--bu)
859 ac_prev
=build_alias
;;
860 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
861 build_alias
=$ac_optarg ;;
863 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
864 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
865 ac_prev
=cache_file
;;
866 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
867 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
868 cache_file
=$ac_optarg ;;
871 cache_file
=config.cache
;;
873 -datadir |
--datadir |
--datadi |
--datad)
875 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
876 datadir
=$ac_optarg ;;
878 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
879 |
--dataroo |
--dataro |
--datar)
880 ac_prev
=datarootdir
;;
881 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
882 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
883 datarootdir
=$ac_optarg ;;
885 -disable-* |
--disable-*)
886 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887 # Reject names that are not valid shell variable names.
888 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
889 as_fn_error $?
"invalid feature name: $ac_useropt"
890 ac_useropt_orig
=$ac_useropt
891 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892 case $ac_user_opts in
896 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897 ac_unrecognized_sep
=', ';;
899 eval enable_
$ac_useropt=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
915 as_fn_error $?
"invalid feature name: $ac_useropt"
916 ac_useropt_orig
=$ac_useropt
917 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918 case $ac_user_opts in
922 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923 ac_unrecognized_sep
=', ';;
925 eval enable_
$ac_useropt=\
$ac_optarg ;;
927 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
928 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
929 |
--exec |
--exe |
--ex)
930 ac_prev
=exec_prefix
;;
931 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
932 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
933 |
--exec=* |
--exe=* |
--ex=*)
934 exec_prefix
=$ac_optarg ;;
936 -gas |
--gas |
--ga |
--g)
937 # Obsolete; use --with-gas.
940 -help |
--help |
--hel |
--he |
-h)
942 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
943 ac_init_help
=recursive
;;
944 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
945 ac_init_help
=short
;;
947 -host |
--host |
--hos |
--ho)
948 ac_prev
=host_alias
;;
949 -host=* |
--host=* |
--hos=* |
--ho=*)
950 host_alias
=$ac_optarg ;;
952 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
954 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
956 htmldir
=$ac_optarg ;;
958 -includedir |
--includedir |
--includedi |
--included |
--include \
959 |
--includ |
--inclu |
--incl |
--inc)
960 ac_prev
=includedir
;;
961 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
962 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
963 includedir
=$ac_optarg ;;
965 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
967 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
968 infodir
=$ac_optarg ;;
970 -libdir |
--libdir |
--libdi |
--libd)
972 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
975 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
976 |
--libexe |
--libex |
--libe)
977 ac_prev
=libexecdir
;;
978 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
979 |
--libexe=* |
--libex=* |
--libe=*)
980 libexecdir
=$ac_optarg ;;
982 -localedir |
--localedir |
--localedi |
--localed |
--locale)
984 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
985 localedir
=$ac_optarg ;;
987 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
988 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
989 ac_prev
=localstatedir
;;
990 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
991 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
992 localstatedir
=$ac_optarg ;;
994 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
996 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 # Obsolete; use --without-fp.
1003 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1004 |
--no-cr |
--no-c |
-n)
1007 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1008 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1011 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1012 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1013 |
--oldin |
--oldi |
--old |
--ol |
--o)
1014 ac_prev
=oldincludedir
;;
1015 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1016 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1017 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1018 oldincludedir
=$ac_optarg ;;
1020 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1022 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1023 prefix
=$ac_optarg ;;
1025 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1026 |
--program-pre |
--program-pr |
--program-p)
1027 ac_prev
=program_prefix
;;
1028 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1029 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1030 program_prefix
=$ac_optarg ;;
1032 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1033 |
--program-suf |
--program-su |
--program-s)
1034 ac_prev
=program_suffix
;;
1035 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1036 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1037 program_suffix
=$ac_optarg ;;
1039 -program-transform-name |
--program-transform-name \
1040 |
--program-transform-nam |
--program-transform-na \
1041 |
--program-transform-n |
--program-transform- \
1042 |
--program-transform |
--program-transfor \
1043 |
--program-transfo |
--program-transf \
1044 |
--program-trans |
--program-tran \
1045 |
--progr-tra |
--program-tr |
--program-t)
1046 ac_prev
=program_transform_name
;;
1047 -program-transform-name=* |
--program-transform-name=* \
1048 |
--program-transform-nam=* |
--program-transform-na=* \
1049 |
--program-transform-n=* |
--program-transform-=* \
1050 |
--program-transform=* |
--program-transfor=* \
1051 |
--program-transfo=* |
--program-transf=* \
1052 |
--program-trans=* |
--program-tran=* \
1053 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1054 program_transform_name
=$ac_optarg ;;
1056 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1058 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1059 pdfdir
=$ac_optarg ;;
1061 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1063 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1066 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1067 |
-silent |
--silent |
--silen |
--sile |
--sil)
1070 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1072 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1074 sbindir
=$ac_optarg ;;
1076 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1077 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1078 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1080 ac_prev
=sharedstatedir
;;
1081 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1082 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1083 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1085 sharedstatedir
=$ac_optarg ;;
1087 -site |
--site |
--sit)
1089 -site=* |
--site=* |
--sit=*)
1092 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1094 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1095 srcdir
=$ac_optarg ;;
1097 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1098 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1099 ac_prev
=sysconfdir
;;
1100 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1101 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1102 sysconfdir
=$ac_optarg ;;
1104 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1105 ac_prev
=target_alias
;;
1106 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1107 target_alias
=$ac_optarg ;;
1109 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1112 -version |
--version |
--versio |
--versi |
--vers |
-V)
1113 ac_init_version
=: ;;
1116 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1119 as_fn_error $?
"invalid package name: $ac_useropt"
1120 ac_useropt_orig
=$ac_useropt
1121 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127 ac_unrecognized_sep
=', ';;
1129 eval with_
$ac_useropt=\
$ac_optarg ;;
1131 -without-* |
--without-*)
1132 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1135 as_fn_error $?
"invalid package name: $ac_useropt"
1136 ac_useropt_orig
=$ac_useropt
1137 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143 ac_unrecognized_sep
=', ';;
1145 eval with_
$ac_useropt=no
;;
1148 # Obsolete; use --with-x.
1151 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1152 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1153 ac_prev
=x_includes
;;
1154 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1155 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1156 x_includes
=$ac_optarg ;;
1158 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1159 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1160 ac_prev
=x_libraries
;;
1161 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1162 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1163 x_libraries
=$ac_optarg ;;
1165 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1166 Try \`$0 --help' for more information"
1170 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1171 # Reject names that are not valid shell variable names.
1172 case $ac_envvar in #(
1173 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1174 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1176 eval $ac_envvar=\
$ac_optarg
1177 export $ac_envvar ;;
1180 # FIXME: should be removed in autoconf 3.0.
1181 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1183 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190 if test -n "$ac_prev"; then
1191 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1192 as_fn_error $?
"missing argument to $ac_option"
1195 if test -n "$ac_unrecognized_opts"; then
1196 case $enable_option_checking in
1198 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1199 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 # Check all directory arguments for consistency.
1204 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207 libdir localedir mandir
1209 eval ac_val
=\$
$ac_var
1210 # Remove trailing slashes.
1213 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214 eval $ac_var=\
$ac_val;;
1216 # Be sure to have absolute directory names.
1218 [\\/$
]* | ?
:[\\/]* ) continue;;
1219 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1221 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1224 # There might be people who depend on the old broken behavior: `$host'
1225 # used to hold the argument of --host etc.
1226 # FIXME: To remove some day.
1229 target
=$target_alias
1231 # FIXME: To remove some day.
1232 if test "x$host_alias" != x
; then
1233 if test "x$build_alias" = x
; then
1234 cross_compiling
=maybe
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 as_fn_error $?
"working directory cannot be determined"
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 as_fn_error $?
"pwd does not report name of working directory"
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256 ac_srcdir_defaulted
=yes
1257 # Try the directory containing this script, then the parent directory.
1258 ac_confdir
=`$as_dirname -- "$as_myself" ||
1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260 X"$as_myself" : 'X\(//\)[^/]' \| \
1261 X"$as_myself" : 'X\(//\)$' \| \
1262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263 $as_echo X"$as_myself" |
1264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1286 ac_srcdir_defaulted
=no
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1290 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1292 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296 # When building in place, set srcdir=.
1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300 # Remove unnecessary trailing slashes from srcdir.
1301 # Double slashes in file names in object file debugging info
1302 # mess up M-x gdb in Emacs.
1304 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 for ac_var
in $ac_precious_vars; do
1307 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1309 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1310 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1314 # Report the --help message.
1316 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh.
1320 \`configure' configures random128 0.10 to adapt to many kinds of systems.
1322 Usage: $0 [OPTION]... [VAR=VALUE]...
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables.
1327 Defaults for the options are specified in brackets.
1330 -h, --help display this help and exit
1331 --help=short display options specific to this package
1332 --help=recursive display the short help of all the included packages
1333 -V, --version display version information and exit
1334 -q, --quiet, --silent do not print \`checking ...' messages
1335 --cache-file=FILE cache test results in FILE [disabled]
1336 -C, --config-cache alias for \`--cache-file=config.cache'
1337 -n, --no-create do not create output files
1338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340 Installation directories:
1341 --prefix=PREFIX install architecture-independent files in PREFIX
1342 [$ac_default_prefix]
1343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1346 By default, \`make install' will install all the files in
1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349 for instance \`--prefix=\$HOME'.
1351 For better control, use the options below.
1353 Fine tuning of the installation directories:
1354 --bindir=DIR user executables [EPREFIX/bin]
1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/random128]
1369 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR]
1378 --program-prefix=PREFIX prepend PREFIX to installed program names
1379 --program-suffix=SUFFIX append SUFFIX to installed program names
1380 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1383 --build=BUILD configure
for building on BUILD
[guessed
]
1384 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive
) echo "Configuration of random128 0.10:";;
1395 --disable-option-checking ignore unrecognized
--enable/--with options
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1399 --disable-silent-rules verbose build output
(undo
: "make V=0")
1400 --enable-dependency-tracking
1401 do not reject slow dependency extractors
1402 --disable-dependency-tracking
1403 speeds up one-time build
1404 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1405 --enable-static[=PKGS
] build static libraries
[default
=yes]
1406 --enable-fast-install[=PKGS
]
1407 optimize
for fast installation
[default
=yes]
1408 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1409 --disable-largefile omit support
for large files
1412 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1413 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1414 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1416 --with-aix-soname=aix|svr4|both
1417 shared library versioning
(aka
"SONAME") variant to
1418 provide on AIX
, [default
=aix
].
1419 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1420 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1421 compiler
's sysroot if not specified).
1422 --with-random=/dev/urandom - location of the system random file generator
1423 --without-random - there is no system random file generator
1425 Some influential environment variables:
1426 CC C compiler command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1429 nonstandard directory <lib dir>
1430 LIBS libraries to pass to the linker, e.g. -l<library>
1431 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1432 you have headers in a nonstandard directory <include dir>
1435 User-defined run-time library search path.
1437 Use these variables to override the choices made by `configure' or to
help
1438 it to
find libraries and programs with nonstandard names
/locations.
1440 Report bugs to
<courier-users@lists.sourceforge.net
>.
1445 if test "$ac_init_help" = "recursive"; then
1446 # If there are subdirs, report their specific --help.
1447 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1448 test -d "$ac_dir" ||
1449 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1454 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1456 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1457 # A ".." for each directory in $ac_dir_suffix.
1458 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1459 case $ac_top_builddir_sub in
1460 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1461 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1464 ac_abs_top_builddir
=$ac_pwd
1465 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1466 # for backward compatibility:
1467 ac_top_builddir
=$ac_top_build_prefix
1470 .
) # We are building in place.
1472 ac_top_srcdir
=$ac_top_builddir_sub
1473 ac_abs_top_srcdir
=$ac_pwd ;;
1474 [\\/]* | ?
:[\\/]* ) # Absolute name.
1475 ac_srcdir
=$srcdir$ac_dir_suffix;
1476 ac_top_srcdir
=$srcdir
1477 ac_abs_top_srcdir
=$srcdir ;;
1479 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1480 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1481 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1483 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1485 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1486 # Check for guested configure.
1487 if test -f "$ac_srcdir/configure.gnu"; then
1489 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1490 elif test -f "$ac_srcdir/configure"; then
1492 $SHELL "$ac_srcdir/configure" --help=recursive
1494 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1496 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1500 test -n "$ac_init_help" && exit $ac_status
1501 if $ac_init_version; then
1503 random128 configure
0.10
1504 generated by GNU Autoconf
2.69
1506 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1507 This configure
script is free software
; the Free Software Foundation
1508 gives unlimited permission to copy
, distribute and modify it.
1513 ## ------------------------ ##
1514 ## Autoconf initialization. ##
1515 ## ------------------------ ##
1517 # ac_fn_c_try_compile LINENO
1518 # --------------------------
1519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1520 ac_fn_c_try_compile
()
1522 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1523 rm -f conftest.
$ac_objext
1524 if { { ac_try
="$ac_compile"
1526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_compile") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && {
1540 test -z "$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1542 } && test -s conftest.$ac_objext; then :
1545 $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551 as_fn_set_status $ac_retval
1553 } # ac_fn_c_try_compile
1555 # ac_fn_c_try_cpp LINENO
1556 # ----------------------
1557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { { ac_try="$ac_cpp conftest.$ac_ext"
1563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1564 *) ac_try_echo
=$ac_try;;
1566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1570 if test -s conftest.err
; then
1571 grep -v '^ *+' conftest.err
>conftest.er1
1572 cat conftest.er1
>&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } > conftest.i
&& {
1577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.
$ac_ext >&5
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 as_fn_set_status
$ac_retval
1592 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1593 # -------------------------------------------------------
1594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1595 # the include files in INCLUDES and setting the cache variable VAR
1597 ac_fn_c_check_header_mongrel
()
1599 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1600 if eval \
${$3+:} false
; then :
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \
${$3+:} false
; then :
1604 $as_echo_n "(cached) " >&6
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1610 # Is the header compilable?
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1612 $as_echo_n "checking $2 usability... " >&6; }
1613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h. */
1618 if ac_fn_c_try_compile
"$LINENO"; then :
1619 ac_header_compiler
=yes
1621 ac_header_compiler
=no
1623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1625 $as_echo "$ac_header_compiler" >&6; }
1627 # Is the header present?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1629 $as_echo_n "checking $2 presence... " >&6; }
1630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1634 if ac_fn_c_try_cpp
"$LINENO"; then :
1635 ac_header_preproc
=yes
1637 ac_header_preproc
=no
1639 rm -f conftest.err conftest.i conftest.
$ac_ext
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1641 $as_echo "$ac_header_preproc" >&6; }
1643 # So? What about this header?
1644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1655 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1659 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 ( $as_echo "## -------------------------------------------------- ##
1663 ## Report this to courier-users@lists.sourceforge.net ##
1664 ## -------------------------------------------------- ##"
1665 ) |
sed "s/^/$as_me: WARNING: /" >&2
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669 $as_echo_n "checking for $2... " >&6; }
1670 if eval \
${$3+:} false
; then :
1671 $as_echo_n "(cached) " >&6
1673 eval "$3=\$ac_header_compiler"
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1677 $as_echo "$ac_res" >&6; }
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 } # ac_fn_c_check_header_mongrel
1683 # ac_fn_c_try_run LINENO
1684 # ----------------------
1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1686 # that executables *can* be run.
1689 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1690 if { { ac_try
="$ac_link"
1692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_link") 2>&5
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1701 { { case "(($ac_try" in
1702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1703 *) ac_try_echo
=$ac_try;;
1705 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_try") 2>&5
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; }; }; then :
1713 $as_echo "$as_me: program exited with status $ac_status" >&5
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.
$ac_ext >&5
1717 ac_retval
=$ac_status
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status
$ac_retval
1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1726 # -------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_c_check_header_compile
()
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. */
1742 if ac_fn_c_try_compile
"$LINENO"; then :
1747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 } # ac_fn_c_check_header_compile
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1762 rm -f conftest.
$ac_objext conftest
$ac_exeext
1763 if { { ac_try
="$ac_link"
1765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>conftest.err
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && {
1779 test -z "$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1781 } && test -s conftest$ac_exeext && {
1782 test "$cross_compiling" = yes ||
1783 test -x conftest$ac_exeext
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794 # interfere with the next link command; also delete a directory that is
1795 # left behind by Apple's compiler. We do this before executing the actions.
1796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 as_fn_set_status $ac_retval
1800 } # ac_fn_c_try_link
1802 # ac_fn_c_check_func LINENO FUNC VAR
1803 # ----------------------------------
1804 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1805 ac_fn_c_check_func ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1815 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1817 #define $2 innocuous_$2
1819 /* System header to define __stub macros and hopefully few prototypes,
1820 which can conflict with char $2 (); below.
1821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1822 <limits.h> exists even on freestanding compilers. */
1825 # include <limits.h>
1827 # include <assert.h>
1832 /* Override any GCC internal prototype to avoid an error.
1833 Use char because int might match the return type of a GCC
1834 builtin and then its argument prototype would still apply. */
1839 /* The GNU C library defines this for functions which it implements
1840 to always fail with ENOSYS. Some functions are actually named
1841 something starting with __ and the normal name is an alias. */
1842 #if defined __stub_$2 || defined __stub___$2
1854 if ac_fn_c_try_link "$LINENO"; then :
1859 rm -f core conftest.err conftest.$ac_objext \
1860 conftest$ac_exeext conftest.$ac_ext
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1864 $as_echo "$ac_res" >&6; }
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 } # ac_fn_c_check_func
1869 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1870 # -------------------------------------------
1871 # Tests whether TYPE exists after having included INCLUDES, setting cache
1872 # variable VAR accordingly.
1873 ac_fn_c_check_type ()
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877 $as_echo_n "checking for $2... " >&6; }
1878 if eval \${$3+:} false; then :
1879 $as_echo_n "(cached) " >&6
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1894 if ac_fn_c_try_compile "$LINENO"; then :
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1907 if ac_fn_c_try_compile "$LINENO"; then :
1912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 } # ac_fn_c_check_type
1922 cat >config.log <<_ACEOF
1923 This file contains any messages produced by compilers while
1924 running configure, to aid debugging if configure makes a mistake.
1926 It was created by random128 $as_me 0.10, which was
1927 generated by GNU Autoconf 2.69. Invocation command line was
1939 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1940 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1941 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1942 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1943 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1945 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1946 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1948 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1949 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1950 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1951 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1952 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1953 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1954 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir=.
1963 $as_echo "PATH: $as_dir"
1979 # Keep a trace of the command line.
1980 # Strip out --no-create and --no-recursion so they do not pile up.
1981 # Strip out --silent because we don't want to record it for future runs.
1982 # Also quote any args containing shell meta-characters.
1983 # Make two passes to allow for proper duplicate-argument suppression.
1987 ac_must_keep_next=false
1993 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1995 | -silent | --silent | --silen | --sile | --sil)
1998 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2001 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2003 as_fn_append ac_configure_args1 " '$ac_arg'"
2004 if test $ac_must_keep_next = true; then
2005 ac_must_keep_next=false # Got value, back to normal.
2008 *=* | --config-cache | -C | -disable-* | --disable-* \
2009 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2010 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2011 | -with-* | --with-* | -without-* | --without-* | --x)
2012 case "$ac_configure_args0 " in
2013 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2016 -* ) ac_must_keep_next=true ;;
2019 as_fn_append ac_configure_args " '$ac_arg'"
2024 { ac_configure_args0=; unset ac_configure_args0;}
2025 { ac_configure_args1=; unset ac_configure_args1;}
2027 # When interrupted or exit'd, cleanup temporary files, and complete
2028 # config.log. We remove comments because anyway the quotes in there
2029 # would cause problems or look ugly.
2030 # WARNING: Use '\'' to represent an apostrophe within the trap.
2031 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2032 trap 'exit_status=$?
2033 # Save into config.log some information that might help in debugging.
2037 $as_echo "## ---------------- ##
2038 ## Cache variables. ##
2039 ## ---------------- ##"
2041 # The following way of writing the cache mishandles newlines in values,
2043 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2044 eval ac_val=\$$ac_var
2048 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2052 _ | IFS | as_nl) ;; #(
2053 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2054 *) { eval $ac_var=; unset $ac_var;} ;;
2059 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2060 *${as_nl}ac_space=\ *)
2062 "s/'\''/'\''\\\\'\'''\''/g;
2063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2073 $as_echo "## ----------------- ##
2074 ## Output variables. ##
2075 ## ----------------- ##"
2077 for ac_var in $ac_subst_vars
2079 eval ac_val=\$$ac_var
2081 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2083 $as_echo "$ac_var='\''$ac_val'\''"
2087 if test -n "$ac_subst_files"; then
2088 $as_echo "## ------------------- ##
2089 ## File substitutions. ##
2090 ## ------------------- ##"
2092 for ac_var in $ac_subst_files
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2103 if test -s confdefs.h; then
2104 $as_echo "## ----------- ##
2111 test "$ac_signal" != 0 &&
2112 $as_echo "$as_me: caught signal $ac_signal"
2113 $as_echo "$as_me: exit $exit_status"
2115 rm -f core *.core core.conftest.* &&
2116 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2119 for ac_signal in 1 2 13 15; do
2120 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2124 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2125 rm -f -r conftest* confdefs.h
2127 $as_echo "/* confdefs.h */" > confdefs.h
2129 # Predefined preprocessor variables.
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_NAME "$PACKAGE_NAME"
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_STRING "$PACKAGE_STRING"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_URL "$PACKAGE_URL"
2156 # Let the site file select an alternate cache file if it wants to.
2157 # Prefer an explicitly selected file to automatically selected ones.
2160 if test -n "$CONFIG_SITE"; then
2161 # We do not want a PATH search for config.site.
2162 case $CONFIG_SITE in #((
2163 -*) ac_site_file1=./$CONFIG_SITE;;
2164 */*) ac_site_file1=$CONFIG_SITE;;
2165 *) ac_site_file1=./$CONFIG_SITE;;
2167 elif test "x$prefix" != xNONE; then
2168 ac_site_file1=$prefix/share/config.site
2169 ac_site_file2=$prefix/etc/config.site
2171 ac_site_file1=$ac_default_prefix/share/config.site
2172 ac_site_file2=$ac_default_prefix/etc/config.site
2174 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2176 test "x$ac_site_file" = xNONE && continue
2177 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2179 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2180 sed 's/^/| /' "$ac_site_file" >&5
2182 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2184 as_fn_error $? "failed to load site
script $ac_site_file
2185 See \
`config.log' for more details" "$LINENO" 5; }
2189 if test -r "$cache_file"; then
2190 # Some versions of bash will fail to source /dev/null (special files
2191 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2192 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2194 $as_echo "$as_me: loading cache $cache_file" >&6;}
2196 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2197 *) . "./$cache_file";;
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2202 $as_echo "$as_me: creating cache $cache_file" >&6;}
2206 # Check that the precious variables saved in the cache have kept the same
2208 ac_cache_corrupted=false
2209 for ac_var in $ac_precious_vars; do
2210 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2211 eval ac_new_set=\$ac_env_${ac_var}_set
2212 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2213 eval ac_new_val=\$ac_env_${ac_var}_value
2214 case $ac_old_set,$ac_new_set in
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2217 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2218 ac_cache_corrupted=: ;;
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2221 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2222 ac_cache_corrupted=: ;;
2225 if test "x$ac_old_val" != "x$ac_new_val"; then
2226 # differences in whitespace do not lead to failure.
2227 ac_old_val_w=`echo x
$ac_old_val`
2228 ac_new_val_w=`echo x
$ac_new_val`
2229 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2231 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2232 ac_cache_corrupted=:
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2235 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2236 eval $ac_var=\$ac_old_val
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2239 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2241 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2244 # Pass precious variables to config.status.
2245 if test "$ac_new_set" = set; then
2247 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2248 *) ac_arg=$ac_var=$ac_new_val ;;
2250 case " $ac_configure_args " in
2251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2252 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2256 if $ac_cache_corrupted; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2260 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2261 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2263 ## -------------------- ##
2264 ## Main body of script. ##
2265 ## -------------------- ##
2268 ac_cpp='$CPP $CPPFLAGS'
2269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2275 >confdefs.h # Kill PACKAGE_ macros
2279 for ac_dir in ../.. "$srcdir"/../..; do
2280 if test -f "$ac_dir/install-sh"; then
2282 ac_install_sh="$ac_aux_dir/install-sh -c"
2284 elif test -f "$ac_dir/install.sh"; then
2286 ac_install_sh="$ac_aux_dir/install.sh -c"
2288 elif test -f "$ac_dir/shtool"; then
2290 ac_install_sh="$ac_aux_dir/shtool install -c"
2294 if test -z "$ac_aux_dir"; then
2295 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2298 # These three variables are undocumented and unsupported,
2299 # and are intended to be withdrawn in a future Autoconf release.
2300 # They can cause serious problems if a builder's source tree is in a directory
2301 # whose full name contains unusual characters.
2302 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2303 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2304 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2307 am__api_version='1.15'
2309 # Find a good install program. We prefer a C program (faster),
2310 # so one script is as good as another. But avoid the broken or
2311 # incompatible versions:
2312 # SysV /etc/install, /usr/sbin/install
2313 # SunOS /usr/etc/install
2314 # IRIX /sbin/install
2316 # AmigaOS /C/install, which installs bootblocks on floppy discs
2317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2320 # OS/2's system install, which has a completely different semantic
2321 # ./install, which can be erroneously created by make from ./install.sh.
2322 # Reject install programs that cannot install multiple files.
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2324 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2325 if test -z "$INSTALL"; then
2326 if ${ac_cv_path_install+:} false; then :
2327 $as_echo_n "(cached) " >&6
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir=.
2334 # Account for people who put trailing slashes in PATH elements.
2335 case $as_dir/ in #((
2336 ./ | .// | /[cC]/* | \
2337 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2338 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2341 # OSF1 and SCO ODT 3.0 have their own names for install.
2342 # Don't use installbsd from OSF since it installs stuff as root
2344 for ac_prog in ginstall scoinst install; do
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2347 if test $ac_prog = install &&
2348 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349 # AIX install. It has an incompatible calling convention.
2351 elif test $ac_prog = install &&
2352 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2353 # program-specific install script used by HP pwplus--don't use.
2356 rm -rf conftest.one conftest.two conftest.dir
2357 echo one > conftest.one
2358 echo two > conftest.two
2360 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2361 test -s conftest.one && test -s conftest.two &&
2362 test -s conftest.dir/conftest.one &&
2363 test -s conftest.dir/conftest.two
2365 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2378 rm -rf conftest.one conftest.two conftest.dir
2381 if test "${ac_cv_path_install+set}" = set; then
2382 INSTALL=$ac_cv_path_install
2384 # As a last resort, use the slow shell script. Don't cache a
2385 # value for INSTALL within a source directory, because that will
2386 # break other packages using the cache if that directory is
2387 # removed, or if the value is a relative name.
2388 INSTALL=$ac_install_sh
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2392 $as_echo "$INSTALL" >&6; }
2394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2395 # It thinks the first close brace ends the variable substitution.
2396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2403 $as_echo_n "checking whether build environment is sane... " >&6; }
2404 # Reject unsafe characters in $srcdir or the absolute working directory
2405 # name. Accept space and tab only in the latter.
2409 *[\\\"\#\$\&\'\`$am_lf]*)
2410 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2413 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2414 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2417 # Do 'set' in a subshell so we don't clobber the current shell's
2418 # arguments. Must try -L first in case configure is actually a
2419 # symlink; some systems play weird games with the mod time of symlinks
2420 # (eg FreeBSD returns the mod time of the symlink's containing
2424 for am_try
in 1 2; do
2425 echo "timestamp, slept: $am_has_slept" > conftest.
file
2426 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2427 if test "$*" = "X"; then
2429 set X
`ls -t "$srcdir/configure" conftest.file`
2431 if test "$*" != "X $srcdir/configure conftest.file" \
2432 && test "$*" != "X conftest.file $srcdir/configure"; then
2434 # If neither matched, then we have a broken ls. This can happen
2435 # if, for instance, CONFIG_SHELL is bash and it inherits a
2436 # broken ls alias from the environment. This has actually
2437 # happened. Such a system could not be considered "sane".
2438 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2439 alias in your environment" "$LINENO" 5
2441 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2448 test "$2" = conftest.
file
2454 as_fn_error $?
"newly created file is older than distributed files!
2455 Check your system clock" "$LINENO" 5
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2458 $as_echo "yes" >&6; }
2459 # If we didn't sleep, we still need to ensure time stamps of config.status and
2460 # generated files are strictly newer.
2462 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2469 test "$program_prefix" != NONE
&&
2470 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2471 # Use a double $ so make ignores it.
2472 test "$program_suffix" != NONE
&&
2473 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2474 # Double any \ or $.
2475 # By default was `s,x,x', remove it if useless.
2476 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2477 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2479 # Expand $ac_aux_dir to an absolute path.
2480 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2482 if test x
"${MISSING+set}" != xset
; then
2485 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2487 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2490 # Use eval to expand $SHELL
2491 if eval "$MISSING --is-lightweight"; then
2492 am_missing_run
="$MISSING "
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2496 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2499 if test x
"${install_sh+set}" != xset
; then
2502 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2504 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2508 # Installed binaries are usually stripped using 'strip' when the user
2509 # run "make install-strip". However 'strip' might not be the right
2510 # tool to use in cross-compilation environments, therefore Automake
2511 # will honor the 'STRIP' environment variable to overrule this program.
2512 if test "$cross_compiling" != no
; then
2513 if test -n "$ac_tool_prefix"; then
2514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2515 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_STRIP+:} false
; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$STRIP"; then
2522 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 STRIP
=$ac_cv_prog_STRIP
2542 if test -n "$STRIP"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2544 $as_echo "$STRIP" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2552 if test -z "$ac_cv_prog_STRIP"; then
2554 # Extract the first word of "strip", so it can be a program name with args.
2555 set dummy strip
; ac_word
=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$ac_ct_STRIP"; then
2562 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir
=.
2569 for ac_exec_ext
in '' $ac_executable_extensions; do
2570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2571 ac_cv_prog_ac_ct_STRIP
="strip"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2582 if test -n "$ac_ct_STRIP"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2584 $as_echo "$ac_ct_STRIP" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2590 if test "x$ac_ct_STRIP" = x
; then
2593 case $cross_compiling:$ac_tool_warned in
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2597 ac_tool_warned
=yes ;;
2602 STRIP
="$ac_cv_prog_STRIP"
2606 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2609 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2610 if test -z "$MKDIR_P"; then
2611 if ${ac_cv_path_mkdir+:} false
; then :
2612 $as_echo_n "(cached) " >&6
2614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2615 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2618 test -z "$as_dir" && as_dir
=.
2619 for ac_prog
in mkdir gmkdir
; do
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2622 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2623 'mkdir (GNU coreutils) '* | \
2624 'mkdir (coreutils) '* | \
2625 'mkdir (fileutils) '4.1*)
2626 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2636 test -d .
/--version && rmdir .
/--version
2637 if test "${ac_cv_path_mkdir+set}" = set; then
2638 MKDIR_P
="$ac_cv_path_mkdir -p"
2640 # As a last resort, use the slow shell script. Don't cache a
2641 # value for MKDIR_P within a source directory, because that will
2642 # break other packages using the cache if that directory is
2643 # removed, or if the value is a relative name.
2644 MKDIR_P
="$ac_install_sh -d"
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2648 $as_echo "$MKDIR_P" >&6; }
2650 for ac_prog
in gawk mawk nawk
awk
2652 # Extract the first word of "$ac_prog", so it can be a program name with args.
2653 set dummy
$ac_prog; ac_word
=$2
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if ${ac_cv_prog_AWK+:} false
; then :
2657 $as_echo_n "(cached) " >&6
2659 if test -n "$AWK"; then
2660 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir
=.
2667 for ac_exec_ext
in '' $ac_executable_extensions; do
2668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2669 ac_cv_prog_AWK
="$ac_prog"
2670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 if test -n "$AWK"; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2682 $as_echo "$AWK" >&6; }
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2689 test -n "$AWK" && break
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2693 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2695 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2696 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2697 $as_echo_n "(cached) " >&6
2699 cat >conftest.
make <<\_ACEOF
2702 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2704 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2705 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2707 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2709 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2713 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2715 $as_echo "yes" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2720 SET_MAKE
="MAKE=${MAKE-make}"
2723 rm -rf .tst
2>/dev
/null
2724 mkdir .tst
2>/dev
/null
2725 if test -d .tst
; then
2730 rmdir .tst
2>/dev
/null
2732 # Check whether --enable-silent-rules was given.
2733 if test "${enable_silent_rules+set}" = set; then :
2734 enableval
=$enable_silent_rules;
2737 case $enable_silent_rules in # (((
2738 yes) AM_DEFAULT_VERBOSITY
=0;;
2739 no
) AM_DEFAULT_VERBOSITY
=1;;
2740 *) AM_DEFAULT_VERBOSITY
=1;;
2742 am_make
=${MAKE-make}
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2744 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2745 if ${am_cv_make_support_nested_variables+:} false
; then :
2746 $as_echo_n "(cached) " >&6
2748 if $as_echo 'TRUE=$(BAR$(V))
2754 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2755 am_cv_make_support_nested_variables
=yes
2757 am_cv_make_support_nested_variables
=no
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2761 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2762 if test $am_cv_make_support_nested_variables = yes; then
2764 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2766 AM_V
=$AM_DEFAULT_VERBOSITY
2767 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2771 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2772 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2773 # is not polluted with repeated "-I."
2774 am__isrc
=' -I$(srcdir)'
2775 # test to see if srcdir already configured
2776 if test -f $srcdir/config.status
; then
2777 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2781 # test whether we have cygpath
2782 if test -z "$CYGPATH_W"; then
2783 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2784 CYGPATH_W
='cygpath -w'
2791 # Define the identity of the package.
2796 # Some tools Automake needs.
2798 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2801 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2804 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2807 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2810 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2812 # For better backward compatibility. To be removed once Automake 1.9.x
2813 # dies out for good. For more background, see:
2814 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2815 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2816 mkdir_p
='$(MKDIR_P)'
2818 # We need awk for the "check" target (and possibly the TAP driver). The
2819 # system "awk" is bad on some platforms.
2820 # Always define AMTAR for backward compatibility. Yes, it's still used
2821 # in the wild :-( We should find a proper way to deprecate it ...
2825 # We'll loop over all known methods to create a tar archive until one works.
2826 _am_tools
='gnutar pax cpio none'
2828 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2835 # POSIX will say in a future version that running "rm -f" with no argument
2836 # is OK; and we want to be able to make that assumption in our Makefile
2837 # recipes. So use an aggressive probe to check that the usage we want is
2838 # actually supported "in the wild" to an acceptable degree.
2839 # See automake bug#10828.
2840 # To make any issue more visible, cause the running configure to be aborted
2841 # by default if the 'rm' program in use doesn't match our expectations; the
2842 # user can still override this though.
2843 if rm -f && rm -fr && rm -rf; then : OK
; else
2847 Your 'rm' program seems unable to run without file operands specified
2848 on the command line, even when the '-f' option is present. This is contrary
2849 to the behaviour of most rm programs out there, and not conforming with
2850 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2852 Please tell bug-automake@gnu.org about your system, including the value
2853 of your $PATH and any error possibly output before this message. This
2854 can help us improve future automake versions.
2857 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2858 echo 'Configuration will proceed anyway, since you have set the' >&2
2859 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2863 Aborting the configuration process, to ensure you take notice of the issue.
2865 You can download and install GNU coreutils to get an 'rm' implementation
2866 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2868 If you want to complete the configuration process using your problematic
2869 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2870 to "yes", and re-run configure.
2873 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2877 LPATH
="$PATH:/usr/local/bin"
2880 ac_config_headers
="$ac_config_headers config.h"
2882 DEPDIR
="${am__leading_dot}deps"
2884 ac_config_commands
="$ac_config_commands depfiles"
2887 am_make
=${MAKE-make}
2888 cat > confinc
<< 'END'
2890 @
echo this is the am__doit target
2893 # If we don't find an include directive, just comment out the code.
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2895 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2899 # First try GNU make style include.
2900 echo "include confinc" > confmf
2901 # Ignore all kinds of additional output from 'make'.
2902 case `$am_make -s -f confmf 2> /dev/null` in #(
2903 *the\ am__doit\ target
*)
2909 # Now try BSD make style include.
2910 if test "$am__include" = "#"; then
2911 echo '.include "confinc"' > confmf
2912 case `$am_make -s -f confmf 2> /dev/null` in #(
2913 *the\ am__doit\ target
*)
2914 am__include
=.include
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2923 $as_echo "$_am_result" >&6; }
2924 rm -f confinc confmf
2926 # Check whether --enable-dependency-tracking was given.
2927 if test "${enable_dependency_tracking+set}" = set; then :
2928 enableval
=$enable_dependency_tracking;
2931 if test "x$enable_dependency_tracking" != xno
; then
2932 am_depcomp
="$ac_aux_dir/depcomp"
2936 if test "x$enable_dependency_tracking" != xno; then
2946 ac_cpp
='$CPP $CPPFLAGS'
2947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2950 if test -n "$ac_tool_prefix"; then
2951 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2952 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954 $as_echo_n "checking for $ac_word... " >&6; }
2955 if ${ac_cv_prog_CC+:} false
; then :
2956 $as_echo_n "(cached) " >&6
2958 if test -n "$CC"; then
2959 ac_cv_prog_CC
="$CC" # Let the user override the test.
2961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir
=.
2966 for ac_exec_ext
in '' $ac_executable_extensions; do
2967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test -n "$CC"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981 $as_echo "$CC" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2989 if test -z "$ac_cv_prog_CC"; then
2991 # Extract the first word of "gcc", so it can be a program name with args.
2992 set dummy gcc
; ac_word
=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$ac_ct_CC"; then
2999 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_ac_ct_CC
="gcc"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3019 if test -n "$ac_ct_CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3021 $as_echo "$ac_ct_CC" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3027 if test "x$ac_ct_CC" = x
; then
3030 case $cross_compiling:$ac_tool_warned in
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3034 ac_tool_warned
=yes ;;
3042 if test -z "$CC"; then
3043 if test -n "$ac_tool_prefix"; then
3044 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3045 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_CC+:} false
; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$CC"; then
3052 ac_cv_prog_CC
="$CC" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test -n "$CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3083 if test -z "$CC"; then
3084 # Extract the first word of "cc", so it can be a program name with args.
3085 set dummy cc
; ac_word
=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if ${ac_cv_prog_CC+:} false
; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC
="$CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3102 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3103 ac_prog_rejected
=yes
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test $ac_prog_rejected = yes; then
3115 # We found a bogon in the path, so make sure we never use it.
3116 set dummy
$ac_cv_prog_CC
3118 if test $# != 0; then
3119 # We chose a different compiler from the bogus one.
3120 # However, it has the same basename, so the bogon will be chosen
3121 # first if we set CC to just the basename; use the full file name.
3123 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3129 if test -n "$CC"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3131 $as_echo "$CC" >&6; }
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3139 if test -z "$CC"; then
3140 if test -n "$ac_tool_prefix"; then
3141 for ac_prog
in cl.exe
3143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3144 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_CC+:} false
; then :
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC
="$CC" # Let the user override the test.
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3180 test -n "$CC" && break
3183 if test -z "$CC"; then
3185 for ac_prog
in cl.exe
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy
$ac_prog; ac_word
=$2
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3192 $as_echo_n "(cached) " >&6
3194 if test -n "$ac_ct_CC"; then
3195 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_exec_ext
in '' $ac_executable_extensions; do
3203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_ac_ct_CC
="$ac_prog"
3205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3215 if test -n "$ac_ct_CC"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3217 $as_echo "$ac_ct_CC" >&6; }
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$ac_ct_CC" && break
3227 if test "x$ac_ct_CC" = x
; then
3230 case $cross_compiling:$ac_tool_warned in
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned
=yes ;;
3243 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $?
"no acceptable C compiler found in \$PATH
3246 See \`config.log' for more details" "$LINENO" 5; }
3248 # Provide some information about the compiler.
3249 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3252 for ac_option
in --version -v -V -qversion; do
3253 { { ac_try
="$ac_compiler $ac_option >&5"
3255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3256 *) ac_try_echo=$ac_try;;
3258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3259 $as_echo "$ac_try_echo"; } >&5
3260 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3262 if test -s conftest.err; then
3264 ... rest of stderr output deleted ...
3265 10q' conftest.err >conftest.er1
3266 cat conftest.er1 >&5
3268 rm -f conftest.er1 conftest.err
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3284 ac_clean_files_save=$ac_clean_files
3285 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3286 # Try to create an executable without -o first, disregard a.out.
3287 # It will help us diagnose broken compilers, and finding out an intuition
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3290 $as_echo_n "checking whether the C compiler works... " >&6; }
3291 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3293 # The possible output files:
3294 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3297 for ac_file in $ac_files
3300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3301 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3306 if { { ac_try="$ac_link_default"
3308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3309 *) ac_try_echo
=$ac_try;;
3311 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313 (eval "$ac_link_default") 2>&5
3315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316 test $ac_status = 0; }; then :
3317 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3318 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3319 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3320 # so that the user can short-circuit this test for compilers unknown to
3322 for ac_file
in $ac_files ''
3324 test -f "$ac_file" ||
continue
3326 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3329 # We found the default executable, but exeext='' is most
3333 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3335 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3337 # We set ac_cv_exeext here because the later test for it is not
3338 # safe: cross compilers may not add the suffix if given an `-o'
3339 # argument, so we may need to know it at that point already.
3340 # Even if this section looks crufty: it has the advantage of
3347 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3352 if test -z "$ac_file"; then :
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3355 $as_echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.
$ac_ext >&5
3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error
77 "C compiler cannot create executables
3361 See \`config.log' for more details" "$LINENO" 5; }
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3364 $as_echo "yes" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3367 $as_echo_n "checking for C compiler default output file name... " >&6; }
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3369 $as_echo "$ac_file" >&6; }
3370 ac_exeext
=$ac_cv_exeext
3372 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3373 ac_clean_files
=$ac_clean_files_save
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3375 $as_echo_n "checking for suffix of executables... " >&6; }
3376 if { { ac_try
="$ac_link"
3378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383 (eval "$ac_link") 2>&5
3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386 test $ac_status = 0; }; then :
3387 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3388 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3389 # work properly (i.e., refer to `conftest.exe'), while it won't with
3391 for ac_file
in conftest.exe conftest conftest.
*; do
3392 test -f "$ac_file" ||
continue
3394 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3395 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3404 See \`config.log' for more details" "$LINENO" 5; }
3406 rm -f conftest conftest
$ac_cv_exeext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3408 $as_echo "$ac_cv_exeext" >&6; }
3410 rm -f conftest.
$ac_ext
3411 EXEEXT
=$ac_cv_exeext
3413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3419 FILE *f = fopen ("conftest.out", "w");
3420 return ferror (f) || fclose (f) != 0;
3426 ac_clean_files
="$ac_clean_files conftest.out"
3427 # Check that the compiler produces executables we can run. If not, either
3428 # the compiler is broken, or we cross compile.
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3430 $as_echo_n "checking whether we are cross compiling... " >&6; }
3431 if test "$cross_compiling" != yes; then
3432 { { ac_try
="$ac_link"
3434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_link") 2>&5
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }
3443 if { ac_try='./conftest$ac_cv_exeext'
3444 { { case "(($ac_try" in
3445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3446 *) ac_try_echo
=$ac_try;;
3448 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_try") 2>&5
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }; }; then
3456 if test "$cross_compiling" = maybe
; then
3459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461 as_fn_error $?
"cannot run C compiled programs.
3462 If you meant to cross compile, use \`--host'.
3463 See \`config.log' for more details" "$LINENO" 5; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3468 $as_echo "$cross_compiling" >&6; }
3470 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3471 ac_clean_files
=$ac_clean_files_save
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3473 $as_echo_n "checking for suffix of object files... " >&6; }
3474 if ${ac_cv_objext+:} false
; then :
3475 $as_echo_n "(cached) " >&6
3477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 rm -f conftest.o conftest.obj
3489 if { { ac_try
="$ac_compile"
3491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496 (eval "$ac_compile") 2>&5
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }; then :
3500 for ac_file in conftest.o conftest.obj conftest.*; do
3501 test -f "$ac_file" || continue;
3503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3504 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3509 $as_echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3514 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3515 See \
`config.log' for more details" "$LINENO" 5; }
3517 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3520 $as_echo "$ac_cv_objext" >&6; }
3521 OBJEXT=$ac_cv_objext
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3524 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3525 if ${ac_cv_c_compiler_gnu+:} false; then :
3526 $as_echo_n "(cached) " >&6
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3542 if ac_fn_c_try_compile "$LINENO"; then :
3547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3552 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3553 if test $ac_compiler_gnu = yes; then
3558 ac_test_CFLAGS=${CFLAGS+set}
3559 ac_save_CFLAGS=$CFLAGS
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3561 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3562 if ${ac_cv_prog_cc_g+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 ac_save_c_werror_flag=$ac_c_werror_flag
3566 ac_c_werror_flag=yes
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 if ac_fn_c_try_compile "$LINENO"; then :
3598 ac_c_werror_flag=$ac_save_c_werror_flag
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3611 if ac_fn_c_try_compile "$LINENO"; then :
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 ac_c_werror_flag=$ac_save_c_werror_flag
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3622 $as_echo "$ac_cv_prog_cc_g" >&6; }
3623 if test "$ac_test_CFLAGS" = set; then
3624 CFLAGS=$ac_save_CFLAGS
3625 elif test $ac_cv_prog_cc_g = yes; then
3626 if test "$GCC" = yes; then
3632 if test "$GCC" = yes; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3639 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3640 if ${ac_cv_prog_cc_c89+:} false; then :
3641 $as_echo_n "(cached) " >&6
3643 ac_cv_prog_cc_c89=no
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3650 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3651 struct buf { int x; };
3652 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3653 static char *e (p, i)
3659 static char *f (char * (*g) (char **, int), char **p, ...)
3664 s = g (p, va_arg (v,int));
3669 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3670 function prototypes and stuff, but not '\xHH' hex character constants.
3671 These don't provoke an error unfortunately, instead are silently treated
3672 as 'x'. The following induces an error, until -std is added to get
3673 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3674 array size at least. It's necessary to write '\x00'==0 to get something
3675 that's true only with -std. */
3676 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3678 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3679 inside strings and character constants. */
3681 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3683 int test (int i, double x);
3684 struct s1 {int (*f) (int a);};
3685 struct s2 {int (*f) (double a);};
3686 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3692 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3697 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3698 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3700 CC="$ac_save_CC $ac_arg"
3701 if ac_fn_c_try_compile "$LINENO"; then :
3702 ac_cv_prog_cc_c89=$ac_arg
3704 rm -f core conftest.err conftest.$ac_objext
3705 test "x$ac_cv_prog_cc_c89" != "xno" && break
3707 rm -f conftest.$ac_ext
3712 case "x$ac_cv_prog_cc_c89" in
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3715 $as_echo "none needed" >&6; } ;;
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3718 $as_echo "unsupported" >&6; } ;;
3720 CC="$CC $ac_cv_prog_cc_c89"
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3722 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3724 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
3735 ac_cpp='$CPP $CPPFLAGS'
3736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3740 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3741 if ${am_cv_prog_cc_c_o+:} false; then :
3742 $as_echo_n "(cached) " >&6
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3755 # Make sure it works both with $CC and with simple cc.
3756 # Following AC_PROG_CC_C_O, we do the test twice because some
3757 # compilers refuse to overwrite an existing .o file with -o,
3758 # though they will create one.
3759 am_cv_prog_cc_c_o=yes
3761 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3762 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } \
3766 && test -f conftest2.$ac_objext; then
3769 am_cv_prog_cc_c_o=no
3773 rm -f core conftest*
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3777 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3778 if test "$am_cv_prog_cc_c_o" != yes; then
3779 # Losing compiler, so override with the script.
3780 # FIXME: It is wrong to rewrite CC.
3781 # But if we don't then we get into trouble of one sort or another.
3782 # A longer-term fix would be to have automake use am__CC in this case,
3783 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3784 CC="$am_aux_dir/compile $CC"
3787 ac_cpp='$CPP $CPPFLAGS'
3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 depcc="$CC" am_compiler_list=
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3796 $as_echo_n "checking dependency style of $depcc... " >&6; }
3797 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3801 # We make a subdir and do the tests there. Otherwise we can end up
3802 # making bogus files that we don't know about and never remove. For
3803 # instance it was reported that on HP-UX the gcc test will end up
3804 # making a dummy file named 'D' -- because '-MD' means "put the output
3808 # Copy depcomp to subdir because otherwise we won't find it if we're
3809 # using a relative directory.
3810 cp "$am_depcomp" conftest.dir
3812 # We will build objects and dependencies in a subdirectory because
3813 # it helps to detect inapplicable dependency modes. For instance
3814 # both Tru64's cc and ICC support -MD to output dependencies as a
3815 # side effect of compilation, but ICC will put the dependencies in
3816 # the current directory while Tru64 will put them in the object
3820 am_cv_CC_dependencies_compiler_type=none
3821 if test "$am_compiler_list" = ""; then
3822 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3825 case " $depcc " in #(
3826 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3829 for depmode in $am_compiler_list; do
3830 # Setup a source with many dependencies, because some compilers
3831 # like to wrap large dependency lists on column 80 (with \), and
3832 # we should not choose a depcomp mode which is confused by this.
3834 # We need to recreate these files for each test, as the compiler may
3835 # overwrite some of them when testing with obscure command lines.
3836 # This happens at least with the AIX C compiler.
3838 for i in 1 2 3 4 5 6; do
3839 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3840 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3841 # Solaris 10 /bin/sh.
3842 echo '/* dummy */' > sub/conftst$i.h
3844 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3846 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3847 # mode. It turns out that the SunPro C++ compiler does not properly
3848 # handle '-M -o', and we need to detect this. Also, some Intel
3849 # versions had trouble with output in subdirs.
3850 am__obj=sub/conftest.${OBJEXT-o}
3851 am__minus_obj="-o $am__obj"
3854 # This depmode causes a compiler race in universal mode.
3855 test "$am__universal" = false || continue
3858 # After this tag, mechanisms are not by side-effect, so they'll
3859 # only be used when explicitly requested.
3860 if test "x$enable_dependency_tracking" = xyes; then
3866 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3867 # This compiler won't grok '-c -o', but also, the minuso test has
3868 # not run yet. These depmodes are late enough in the game, and
3869 # so weak that their functioning should not be impacted.
3870 am__obj=conftest.${OBJEXT-o}
3875 if depmode=$depmode \
3876 source=sub/conftest.c object=$am__obj \
3877 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3878 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3879 >/dev/null 2>conftest.err &&
3880 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3881 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3882 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3883 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3884 # icc doesn't choke on unknown options, it will just issue warnings
3885 # or remarks (even with -Werror). So we grep stderr for any message
3886 # that says an option was ignored or not supported.
3887 # When given -MP, icc 7.0 and 7.1 complain thusly:
3888 # icc: Command line warning: ignoring option '-M'; no argument required
3889 # The diagnosis changed in icc 8.0:
3890 # icc: Command line remark: option '-MP' not supported
3891 if (grep 'ignoring option' conftest.err ||
3892 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3893 am_cv_CC_dependencies_compiler_type=$depmode
3902 am_cv_CC_dependencies_compiler_type=none
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3907 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3908 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3911 test "x$enable_dependency_tracking" != xno \
3912 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3914 am__fastdepCC_FALSE='#'
3916 am__fastdepCC_TRUE='#'
3917 am__fastdepCC_FALSE=
3923 ac_cpp='$CPP $CPPFLAGS'
3924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3928 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3929 # On Suns, sometimes $CPP names a directory.
3930 if test -n "$CPP" && test -d "$CPP"; then
3933 if test -z "$CPP"; then
3934 if ${ac_cv_prog_CPP+:} false; then :
3935 $as_echo_n "(cached) " >&6
3937 # Double quotes because CPP needs to be expanded
3938 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3941 for ac_c_preproc_warn_flag in '' yes
3943 # Use a header file that comes with gcc, so configuring glibc
3944 # with a fresh cross-compiler works.
3945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3946 # <limits.h> exists even on freestanding compilers.
3947 # On the NeXT, cc -E runs the code through the compiler's parser,
3948 # not just through cpp. "Syntax error" is here to catch this case.
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3952 # include <limits.h>
3954 # include <assert.h>
3958 if ac_fn_c_try_cpp "$LINENO"; then :
3961 # Broken: fails on valid input.
3964 rm -f conftest.err conftest.i conftest.$ac_ext
3966 # OK, works on sane cases. Now check whether nonexistent headers
3967 # can be detected and how.
3968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3970 #include <ac_nonexistent.h>
3972 if ac_fn_c_try_cpp "$LINENO"; then :
3973 # Broken: success on invalid input.
3976 # Passes both tests.
3980 rm -f conftest.err conftest.i conftest.$ac_ext
3983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3984 rm -f conftest.i conftest.err conftest.
$ac_ext
3985 if $ac_preproc_ok; then :
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3998 $as_echo "$CPP" >&6; }
4000 for ac_c_preproc_warn_flag
in '' yes
4002 # Use a header file that comes with gcc, so configuring glibc
4003 # with a fresh cross-compiler works.
4004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4005 # <limits.h> exists even on freestanding compilers.
4006 # On the NeXT, cc -E runs the code through the compiler's parser,
4007 # not just through cpp. "Syntax error" is here to catch this case.
4008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4011 # include <limits.h>
4013 # include <assert.h>
4017 if ac_fn_c_try_cpp
"$LINENO"; then :
4020 # Broken: fails on valid input.
4023 rm -f conftest.err conftest.i conftest.
$ac_ext
4025 # OK, works on sane cases. Now check whether nonexistent headers
4026 # can be detected and how.
4027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4029 #include <ac_nonexistent.h>
4031 if ac_fn_c_try_cpp
"$LINENO"; then :
4032 # Broken: success on invalid input.
4035 # Passes both tests.
4039 rm -f conftest.err conftest.i conftest.
$ac_ext
4042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4043 rm -f conftest.i conftest.err conftest.
$ac_ext
4044 if $ac_preproc_ok; then :
4047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4049 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4050 See \`config.log' for more details" "$LINENO" 5; }
4054 ac_cpp
='$CPP $CPPFLAGS'
4055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4061 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4062 if ${ac_cv_path_GREP+:} false
; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -z "$GREP"; then
4066 ac_path_GREP_found
=false
4067 # Loop through the user's path and test for each of PROGNAME-LIST
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4069 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_prog
in grep ggrep
; do
4074 for ac_exec_ext
in '' $ac_executable_extensions; do
4075 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4076 as_fn_executable_p
"$ac_path_GREP" ||
continue
4077 # Check for GNU ac_path_GREP and select it if it is found.
4078 # Check for GNU $ac_path_GREP
4079 case `"$ac_path_GREP" --version 2>&1` in
4081 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4084 $as_echo_n 0123456789 >"conftest.in"
4087 cat "conftest.in" "conftest.in" >"conftest.tmp"
4088 mv "conftest.tmp" "conftest.in"
4089 cp "conftest.in" "conftest.nl"
4090 $as_echo 'GREP' >> "conftest.nl"
4091 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4092 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4093 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4094 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4095 # Best one so far, save it but keep looking for a better one
4096 ac_cv_path_GREP
="$ac_path_GREP"
4097 ac_path_GREP_max
=$ac_count
4099 # 10*(2^10) chars as input seems more than enough
4100 test $ac_count -gt 10 && break
4102 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4105 $ac_path_GREP_found && break 3
4110 if test -z "$ac_cv_path_GREP"; then
4111 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4114 ac_cv_path_GREP
=$GREP
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4119 $as_echo "$ac_cv_path_GREP" >&6; }
4120 GREP
="$ac_cv_path_GREP"
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4124 $as_echo_n "checking for egrep... " >&6; }
4125 if ${ac_cv_path_EGREP+:} false
; then :
4126 $as_echo_n "(cached) " >&6
4128 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4129 then ac_cv_path_EGREP
="$GREP -E"
4131 if test -z "$EGREP"; then
4132 ac_path_EGREP_found
=false
4133 # Loop through the user's path and test for each of PROGNAME-LIST
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4138 test -z "$as_dir" && as_dir
=.
4139 for ac_prog
in egrep; do
4140 for ac_exec_ext
in '' $ac_executable_extensions; do
4141 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4142 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4143 # Check for GNU ac_path_EGREP and select it if it is found.
4144 # Check for GNU $ac_path_EGREP
4145 case `"$ac_path_EGREP" --version 2>&1` in
4147 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4150 $as_echo_n 0123456789 >"conftest.in"
4153 cat "conftest.in" "conftest.in" >"conftest.tmp"
4154 mv "conftest.tmp" "conftest.in"
4155 cp "conftest.in" "conftest.nl"
4156 $as_echo 'EGREP' >> "conftest.nl"
4157 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4158 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4159 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4160 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4161 # Best one so far, save it but keep looking for a better one
4162 ac_cv_path_EGREP
="$ac_path_EGREP"
4163 ac_path_EGREP_max
=$ac_count
4165 # 10*(2^10) chars as input seems more than enough
4166 test $ac_count -gt 10 && break
4168 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4171 $ac_path_EGREP_found && break 3
4176 if test -z "$ac_cv_path_EGREP"; then
4177 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4180 ac_cv_path_EGREP
=$EGREP
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4186 $as_echo "$ac_cv_path_EGREP" >&6; }
4187 EGREP
="$ac_cv_path_EGREP"
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4191 $as_echo_n "checking for ANSI C header files... " >&6; }
4192 if ${ac_cv_header_stdc+:} false
; then :
4193 $as_echo_n "(cached) " >&6
4195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4210 if ac_fn_c_try_compile
"$LINENO"; then :
4211 ac_cv_header_stdc
=yes
4213 ac_cv_header_stdc
=no
4215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4217 if test $ac_cv_header_stdc = yes; then
4218 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4225 $EGREP "memchr" >/dev
/null
2>&1; then :
4228 ac_cv_header_stdc
=no
4234 if test $ac_cv_header_stdc = yes; then
4235 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4242 $EGREP "free" >/dev
/null
2>&1; then :
4245 ac_cv_header_stdc
=no
4251 if test $ac_cv_header_stdc = yes; then
4252 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4253 if test "$cross_compiling" = yes; then :
4256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 #if ((' ' & 0x0FF) == 0x020)
4261 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4262 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4264 # define ISLOWER(c) \
4265 (('a' <= (c) && (c) <= 'i') \
4266 || ('j' <= (c) && (c) <= 'r') \
4267 || ('s' <= (c) && (c) <= 'z'))
4268 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4271 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4276 for (i = 0; i < 256; i++)
4277 if (XOR (islower (i), ISLOWER (i))
4278 || toupper (i) != TOUPPER (i))
4283 if ac_fn_c_try_run
"$LINENO"; then :
4286 ac_cv_header_stdc
=no
4288 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4289 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4295 $as_echo "$ac_cv_header_stdc" >&6; }
4296 if test $ac_cv_header_stdc = yes; then
4298 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4302 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4303 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4304 inttypes.h stdint.h unistd.h
4306 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4307 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4309 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4310 cat >>confdefs.h
<<_ACEOF
4311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4320 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4321 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4328 if test "$MINIX" = yes; then
4330 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4333 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4336 $as_echo "#define _MINIX 1" >>confdefs.h
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4342 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4343 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4344 $as_echo_n "(cached) " >&6
4346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4349 # define __EXTENSIONS__ 1
4350 $ac_includes_default
4359 if ac_fn_c_try_compile
"$LINENO"; then :
4360 ac_cv_safe_to_define___extensions__
=yes
4362 ac_cv_safe_to_define___extensions__
=no
4364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4367 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4368 test $ac_cv_safe_to_define___extensions__ = yes &&
4369 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4371 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4373 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4375 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4377 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4382 $as_echo_n "checking whether ln -s works... " >&6; }
4384 if test "$LN_S" = "ln -s"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4386 $as_echo "yes" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4389 $as_echo "no, using $LN_S" >&6; }
4393 ac_cpp
='$CPP $CPPFLAGS'
4394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4397 if test -n "$ac_tool_prefix"; then
4398 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4399 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if ${ac_cv_prog_CC+:} false
; then :
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$CC"; then
4406 ac_cv_prog_CC
="$CC" # Let the user override the test.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4415 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 if test -n "$CC"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4428 $as_echo "$CC" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4436 if test -z "$ac_cv_prog_CC"; then
4438 # Extract the first word of "gcc", so it can be a program name with args.
4439 set dummy gcc
; ac_word
=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$ac_ct_CC"; then
4446 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_ac_ct_CC
="gcc"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4466 if test -n "$ac_ct_CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4468 $as_echo "$ac_ct_CC" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4474 if test "x$ac_ct_CC" = x
; then
4477 case $cross_compiling:$ac_tool_warned in
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4481 ac_tool_warned
=yes ;;
4489 if test -z "$CC"; then
4490 if test -n "$ac_tool_prefix"; then
4491 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4492 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if ${ac_cv_prog_CC+:} false
; then :
4496 $as_echo_n "(cached) " >&6
4498 if test -n "$CC"; then
4499 ac_cv_prog_CC
="$CC" # Let the user override the test.
4501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4505 test -z "$as_dir" && as_dir
=.
4506 for ac_exec_ext
in '' $ac_executable_extensions; do
4507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4508 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 if test -n "$CC"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4521 $as_echo "$CC" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4530 if test -z "$CC"; then
4531 # Extract the first word of "cc", so it can be a program name with args.
4532 set dummy cc
; ac_word
=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_CC+:} false
; then :
4536 $as_echo_n "(cached) " >&6
4538 if test -n "$CC"; then
4539 ac_cv_prog_CC
="$CC" # Let the user override the test.
4542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir
=.
4547 for ac_exec_ext
in '' $ac_executable_extensions; do
4548 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4549 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4550 ac_prog_rejected
=yes
4554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 if test $ac_prog_rejected = yes; then
4562 # We found a bogon in the path, so make sure we never use it.
4563 set dummy
$ac_cv_prog_CC
4565 if test $# != 0; then
4566 # We chose a different compiler from the bogus one.
4567 # However, it has the same basename, so the bogon will be chosen
4568 # first if we set CC to just the basename; use the full file name.
4570 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4576 if test -n "$CC"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4578 $as_echo "$CC" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4586 if test -z "$CC"; then
4587 if test -n "$ac_tool_prefix"; then
4588 for ac_prog
in cl.exe
4590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4591 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if ${ac_cv_prog_CC+:} false
; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$CC"; then
4598 ac_cv_prog_CC
="$CC" # Let the user override the test.
4600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 test -z "$as_dir" && as_dir
=.
4605 for ac_exec_ext
in '' $ac_executable_extensions; do
4606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 if test -n "$CC"; then
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4620 $as_echo "$CC" >&6; }
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4627 test -n "$CC" && break
4630 if test -z "$CC"; then
4632 for ac_prog
in cl.exe
4634 # Extract the first word of "$ac_prog", so it can be a program name with args.
4635 set dummy
$ac_prog; ac_word
=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4639 $as_echo_n "(cached) " >&6
4641 if test -n "$ac_ct_CC"; then
4642 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir
=.
4649 for ac_exec_ext
in '' $ac_executable_extensions; do
4650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_ac_ct_CC
="$ac_prog"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4662 if test -n "$ac_ct_CC"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4664 $as_echo "$ac_ct_CC" >&6; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4671 test -n "$ac_ct_CC" && break
4674 if test "x$ac_ct_CC" = x
; then
4677 case $cross_compiling:$ac_tool_warned in
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4681 ac_tool_warned
=yes ;;
4690 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4692 as_fn_error $?
"no acceptable C compiler found in \$PATH
4693 See \`config.log' for more details" "$LINENO" 5; }
4695 # Provide some information about the compiler.
4696 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4699 for ac_option
in --version -v -V -qversion; do
4700 { { ac_try
="$ac_compiler $ac_option >&5"
4702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4706 $as_echo "$ac_try_echo"; } >&5
4707 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4709 if test -s conftest.err; then
4711 ... rest of stderr output deleted ...
4712 10q' conftest.err >conftest.er1
4713 cat conftest.er1 >&5
4715 rm -f conftest.er1 conftest.err
4716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4717 test $ac_status = 0; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4721 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4722 if ${ac_cv_c_compiler_gnu+:} false; then :
4723 $as_echo_n "(cached) " >&6
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4739 if ac_fn_c_try_compile "$LINENO"; then :
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4745 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4749 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4750 if test $ac_compiler_gnu = yes; then
4755 ac_test_CFLAGS=${CFLAGS+set}
4756 ac_save_CFLAGS=$CFLAGS
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4758 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4759 if ${ac_cv_prog_cc_g+:} false; then :
4760 $as_echo_n "(cached) " >&6
4762 ac_save_c_werror_flag=$ac_c_werror_flag
4763 ac_c_werror_flag=yes
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4777 if ac_fn_c_try_compile "$LINENO"; then :
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4792 if ac_fn_c_try_compile "$LINENO"; then :
4795 ac_c_werror_flag=$ac_save_c_werror_flag
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4808 if ac_fn_c_try_compile "$LINENO"; then :
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 ac_c_werror_flag=$ac_save_c_werror_flag
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4819 $as_echo "$ac_cv_prog_cc_g" >&6; }
4820 if test "$ac_test_CFLAGS" = set; then
4821 CFLAGS=$ac_save_CFLAGS
4822 elif test $ac_cv_prog_cc_g = yes; then
4823 if test "$GCC" = yes; then
4829 if test "$GCC" = yes; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4836 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4837 if ${ac_cv_prog_cc_c89+:} false; then :
4838 $as_echo_n "(cached) " >&6
4840 ac_cv_prog_cc_c89=no
4842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4843 /* end confdefs.h. */
4847 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4848 struct buf { int x; };
4849 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4850 static char *e (p, i)
4856 static char *f (char * (*g) (char **, int), char **p, ...)
4861 s = g (p, va_arg (v,int));
4866 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4867 function prototypes and stuff, but not '\xHH' hex character constants.
4868 These don't provoke an error unfortunately, instead are silently treated
4869 as 'x'. The following induces an error, until -std is added to get
4870 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4871 array size at least. It's necessary to write '\x00'==0 to get something
4872 that's true only with -std. */
4873 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4875 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4876 inside strings and character constants. */
4878 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4880 int test (int i, double x);
4881 struct s1 {int (*f) (int a);};
4882 struct s2 {int (*f) (double a);};
4883 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4889 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4894 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4895 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4897 CC="$ac_save_CC $ac_arg"
4898 if ac_fn_c_try_compile "$LINENO"; then :
4899 ac_cv_prog_cc_c89=$ac_arg
4901 rm -f core conftest.err conftest.$ac_objext
4902 test "x$ac_cv_prog_cc_c89" != "xno" && break
4904 rm -f conftest.$ac_ext
4909 case "x$ac_cv_prog_cc_c89" in
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4912 $as_echo "none needed" >&6; } ;;
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4915 $as_echo "unsupported" >&6; } ;;
4917 CC="$CC $ac_cv_prog_cc_c89"
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4919 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4921 if test "x$ac_cv_prog_cc_c89" != xno; then :
4926 ac_cpp='$CPP $CPPFLAGS'
4927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4932 ac_cpp='$CPP $CPPFLAGS'
4933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4937 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4938 if ${am_cv_prog_cc_c_o+:} false; then :
4939 $as_echo_n "(cached) " >&6
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4952 # Make sure it works both with $CC and with simple cc.
4953 # Following AC_PROG_CC_C_O, we do the test twice because some
4954 # compilers refuse to overwrite an existing .o file with -o,
4955 # though they will create one.
4956 am_cv_prog_cc_c_o=yes
4958 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4959 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); } \
4963 && test -f conftest2.$ac_objext; then
4966 am_cv_prog_cc_c_o=no
4970 rm -f core conftest*
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4974 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4975 if test "$am_cv_prog_cc_c_o" != yes; then
4976 # Losing compiler, so override with the script.
4977 # FIXME: It is wrong to rewrite CC.
4978 # But if we don't then we get into trouble of one sort or another.
4979 # A longer-term fix would be to have automake use am__CC in this case,
4980 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4981 CC="$am_aux_dir/compile $CC"
4984 ac_cpp='$CPP $CPPFLAGS'
4985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4990 depcc="$CC" am_compiler_list=
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4993 $as_echo_n "checking dependency style of $depcc... " >&6; }
4994 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4995 $as_echo_n "(cached) " >&6
4997 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4998 # We make a subdir and do the tests there. Otherwise we can end up
4999 # making bogus files that we don't know about and never remove. For
5000 # instance it was reported that on HP-UX the gcc test will end up
5001 # making a dummy file named 'D' -- because '-MD' means "put the output
5005 # Copy depcomp to subdir because otherwise we won't find it if we're
5006 # using a relative directory.
5007 cp "$am_depcomp" conftest.dir
5009 # We will build objects and dependencies in a subdirectory because
5010 # it helps to detect inapplicable dependency modes. For instance
5011 # both Tru64's cc and ICC support -MD to output dependencies as a
5012 # side effect of compilation, but ICC will put the dependencies in
5013 # the current directory while Tru64 will put them in the object
5017 am_cv_CC_dependencies_compiler_type=none
5018 if test "$am_compiler_list" = ""; then
5019 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5022 case " $depcc " in #(
5023 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5026 for depmode in $am_compiler_list; do
5027 # Setup a source with many dependencies, because some compilers
5028 # like to wrap large dependency lists on column 80 (with \), and
5029 # we should not choose a depcomp mode which is confused by this.
5031 # We need to recreate these files for each test, as the compiler may
5032 # overwrite some of them when testing with obscure command lines.
5033 # This happens at least with the AIX C compiler.
5035 for i in 1 2 3 4 5 6; do
5036 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5037 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5038 # Solaris 10 /bin/sh.
5039 echo '/* dummy */' > sub/conftst$i.h
5041 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5043 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5044 # mode. It turns out that the SunPro C++ compiler does not properly
5045 # handle '-M -o', and we need to detect this. Also, some Intel
5046 # versions had trouble with output in subdirs.
5047 am__obj=sub/conftest.${OBJEXT-o}
5048 am__minus_obj="-o $am__obj"
5051 # This depmode causes a compiler race in universal mode.
5052 test "$am__universal" = false || continue
5055 # After this tag, mechanisms are not by side-effect, so they'll
5056 # only be used when explicitly requested.
5057 if test "x$enable_dependency_tracking" = xyes; then
5063 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5064 # This compiler won't grok '-c -o', but also, the minuso test has
5065 # not run yet. These depmodes are late enough in the game, and
5066 # so weak that their functioning should not be impacted.
5067 am__obj=conftest.${OBJEXT-o}
5072 if depmode=$depmode \
5073 source=sub/conftest.c object=$am__obj \
5074 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5075 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5076 >/dev/null 2>conftest.err &&
5077 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5078 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5079 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5080 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5081 # icc doesn't choke on unknown options, it will just issue warnings
5082 # or remarks (even with -Werror). So we grep stderr for any message
5083 # that says an option was ignored or not supported.
5084 # When given -MP, icc 7.0 and 7.1 complain thusly:
5085 # icc: Command line warning: ignoring option '-M'; no argument required
5086 # The diagnosis changed in icc 8.0:
5087 # icc: Command line remark: option '-MP' not supported
5088 if (grep 'ignoring option' conftest.err ||
5089 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5090 am_cv_CC_dependencies_compiler_type=$depmode
5099 am_cv_CC_dependencies_compiler_type=none
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5104 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5105 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5108 test "x$enable_dependency_tracking" != xno \
5109 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5111 am__fastdepCC_FALSE='#'
5113 am__fastdepCC_TRUE='#'
5114 am__fastdepCC_FALSE=
5120 # Extract the first word of "$ac_prog", so it can be a program name with args.
5121 set dummy $ac_prog; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if ${ac_cv_path_PS+:} false; then :
5125 $as_echo_n "(cached) " >&6
5129 ac_cv_path_PS="$PS" # Let the user override the test with a path.
5132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 for as_dir in $LPATH
5136 test -z "$as_dir" && as_dir=.
5137 for ac_exec_ext in '' $ac_executable_extensions; do
5138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5139 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 if test -n "$PS"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS" >&5
5153 $as_echo "$PS" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5160 test -n "$PS" && break
5162 test -n "$PS" || PS="ps"
5166 # Extract the first word of "$ac_prog", so it can be a program name with args.
5167 set dummy $ac_prog; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_path_W+:} false; then :
5171 $as_echo_n "(cached) " >&6
5175 ac_cv_path_W="$W" # Let the user override the test with a path.
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $LPATH
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_path_W="$as_dir/$ac_word$ac_exec_ext"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 if test -n "$W"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $W" >&5
5199 $as_echo "$W" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 test -n "$W" && break
5208 test -n "$W" || W="w"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5213 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5218 macro_version='2.4.6'
5219 macro_revision='2.4.6'
5233 ltmain=$ac_aux_dir/ltmain.sh
5235 # Make sure we can run config.sub.
5236 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5237 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5240 $as_echo_n "checking build system type... " >&6; }
5241 if ${ac_cv_build+:} false; then :
5242 $as_echo_n "(cached) " >&6
5244 ac_build_alias=$build_alias
5245 test "x$ac_build_alias" = x &&
5246 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5247 test "x$ac_build_alias" = x &&
5248 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5249 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5250 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5254 $as_echo "$ac_cv_build" >&6; }
5255 case $ac_cv_build in
5257 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5260 ac_save_IFS=$IFS; IFS='-'
5266 # Remember, the first character of IFS is used to create $*,
5267 # except with old shells:
5270 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5274 $as_echo_n "checking host system type... " >&6; }
5275 if ${ac_cv_host+:} false; then :
5276 $as_echo_n "(cached) " >&6
5278 if test "x$host_alias" = x; then
5279 ac_cv_host=$ac_cv_build
5281 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5282 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5287 $as_echo "$ac_cv_host" >&6; }
5290 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5293 ac_save_IFS=$IFS; IFS='-'
5299 # Remember, the first character of IFS is used to create $*,
5300 # except with old shells:
5303 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
5306 # Backslashify metacharacters that are still active within
5307 # double-quoted strings.
5308 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5310 # Same as above, but do not quote variable references.
5311 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5313 # Sed substitution to delay expansion of an escaped shell variable in a
5314 # double_quote_subst'ed string.
5315 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5317 # Sed substitution to delay expansion of an escaped single quote.
5318 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5320 # Sed substitution to avoid accidental globbing in evaled expressions
5321 no_glob_subst='s/\*/\\\*/g'
5323 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5325 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5328 $as_echo_n "checking how to print
strings...
" >&6; }
5329 # Test print first, because it will be a builtin if present.
5330 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5331 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5333 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5336 # Use this function as a fallback that always works.
5337 func_fallback_echo ()
5339 eval 'cat <<_LTECHO_EOF
5343 ECHO='func_fallback_echo'
5346 # func_echo_all arg...
5347 # Invoke $ECHO with all args, space-separated.
5354 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5355 $as_echo "printf" >&6; } ;;
5356 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5357 $as_echo "print
-r" >&6; } ;;
5358 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5359 $as_echo "cat" >&6; } ;;
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5376 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5377 if ${ac_cv_path_SED+:} false; then :
5378 $as_echo_n "(cached
) " >&6
5380 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5381 for ac_i in 1 2 3 4 5 6 7; do
5382 ac_script="$ac_script$as_nl$ac_script"
5384 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5385 { ac_script=; unset ac_script;}
5386 if test -z "$SED"; then
5387 ac_path_SED_found=false
5388 # Loop through the user's path and test for each of PROGNAME-LIST
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir=.
5394 for ac_prog in sed gsed; do
5395 for ac_exec_ext in '' $ac_executable_extensions; do
5396 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5397 as_fn_executable_p "$ac_path_SED" || continue
5398 # Check for GNU ac_path_SED and select it if it is found.
5399 # Check for GNU $ac_path_SED
5400 case `"$ac_path_SED" --version 2>&1` in
5402 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5405 $as_echo_n 0123456789 >"conftest.
in"
5408 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5409 mv "conftest.tmp
" "conftest.
in"
5410 cp "conftest.
in" "conftest.
nl"
5411 $as_echo '' >> "conftest.
nl"
5412 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5413 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5414 as_fn_arith $ac_count + 1 && ac_count=$as_val
5415 if test $ac_count -gt ${ac_path_SED_max-0}; then
5416 # Best one so far, save it but keep looking for a better one
5417 ac_cv_path_SED="$ac_path_SED"
5418 ac_path_SED_max=$ac_count
5420 # 10*(2^10) chars as input seems more than enough
5421 test $ac_count -gt 10 && break
5423 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5426 $ac_path_SED_found && break 3
5431 if test -z "$ac_cv_path_SED"; then
5432 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5440 $as_echo "$ac_cv_path_SED" >&6; }
5441 SED="$ac_cv_path_SED"
5444 test -z "$SED" && SED=sed
5445 Xsed="$SED -e 1s
/^X
//"
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5458 $as_echo_n "checking
for fgrep...
" >&6; }
5459 if ${ac_cv_path_FGREP+:} false; then :
5460 $as_echo_n "(cached
) " >&6
5462 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5463 then ac_cv_path_FGREP="$GREP -F"
5465 if test -z "$FGREP"; then
5466 ac_path_FGREP_found=false
5467 # Loop through the user's path and test for each of PROGNAME-LIST
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5472 test -z "$as_dir" && as_dir=.
5473 for ac_prog in fgrep; do
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5476 as_fn_executable_p "$ac_path_FGREP" || continue
5477 # Check for GNU ac_path_FGREP and select it if it is found.
5478 # Check for GNU $ac_path_FGREP
5479 case `"$ac_path_FGREP" --version 2>&1` in
5481 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5484 $as_echo_n 0123456789 >"conftest.
in"
5487 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5488 mv "conftest.tmp
" "conftest.
in"
5489 cp "conftest.
in" "conftest.
nl"
5490 $as_echo 'FGREP' >> "conftest.
nl"
5491 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5492 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5493 as_fn_arith $ac_count + 1 && ac_count=$as_val
5494 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5495 # Best one so far, save it but keep looking for a better one
5496 ac_cv_path_FGREP="$ac_path_FGREP"
5497 ac_path_FGREP_max=$ac_count
5499 # 10*(2^10) chars as input seems more than enough
5500 test $ac_count -gt 10 && break
5502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5505 $ac_path_FGREP_found && break 3
5510 if test -z "$ac_cv_path_FGREP"; then
5511 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5514 ac_cv_path_FGREP=$FGREP
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5520 $as_echo "$ac_cv_path_FGREP" >&6; }
5521 FGREP="$ac_cv_path_FGREP"
5524 test -z "$GREP" && GREP=grep
5544 # Check whether --with-gnu-ld was given.
5545 if test "${with_gnu_ld+set}" = set; then :
5546 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5552 if test yes = "$GCC"; then
5553 # Check if gcc -print-prog-name=ld gives a path.
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5555 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5558 # gcc leaves a trailing carriage return, which upsets mingw
5559 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5561 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5564 # Accept absolute paths.
5566 re_direlt='/[^/][^/]*/\.\./'
5567 # Canonicalize the pathname of ld
5568 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5569 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5570 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5572 test -z "$LD" && LD=$ac_prog
5575 # If it fails, then pretend we aren't using GCC.
5579 # If it is relative, then search for the first ld in PATH.
5583 elif test yes = "$with_gnu_ld"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5585 $as_echo_n "checking
for GNU ld...
" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5588 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5590 if ${lt_cv_path_LD+:} false; then :
5591 $as_echo_n "(cached
) " >&6
5593 if test -z "$LD"; then
5594 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5595 for ac_dir in $PATH; do
5597 test -z "$ac_dir" && ac_dir=.
5598 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5599 lt_cv_path_LD=$ac_dir/$ac_prog
5600 # Check to see if the program is GNU ld. I'd rather use --version,
5601 # but apparently some variants of GNU ld only accept -v.
5602 # Break only if it was the GNU/non-GNU ld that we prefer.
5603 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5604 *GNU* | *'with BFD'*)
5605 test no != "$with_gnu_ld" && break
5608 test yes != "$with_gnu_ld" && break
5615 lt_cv_path_LD=$LD # Let the user override the test with a path.
5620 if test -n "$LD"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5622 $as_echo "$LD" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5625 $as_echo "no
" >&6; }
5627 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5629 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5630 if ${lt_cv_prog_gnu_ld+:} false; then :
5631 $as_echo_n "(cached
) " >&6
5633 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5634 case `$LD -v 2>&1 </dev/null` in
5635 *GNU* | *'with BFD'*)
5636 lt_cv_prog_gnu_ld=yes
5639 lt_cv_prog_gnu_ld=no
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5644 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5645 with_gnu_ld=$lt_cv_prog_gnu_ld
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5656 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5657 if ${lt_cv_path_NM+:} false; then :
5658 $as_echo_n "(cached
) " >&6
5660 if test -n "$NM"; then
5661 # Let the user override the test.
5664 lt_nm_to_check=${ac_tool_prefix}nm
5665 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5666 lt_nm_to_check="$lt_nm_to_check nm
"
5668 for lt_tmp_nm in $lt_nm_to_check; do
5669 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5670 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5672 test -z "$ac_dir" && ac_dir=.
5673 tmp_nm=$ac_dir/$lt_tmp_nm
5674 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5675 # Check to see if the nm accepts a BSD-compat flag.
5676 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5677 # nm: unknown option "B
" ignored
5678 # Tru64's nm complains that /dev/null is an invalid object file
5679 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5681 mingw*) lt_bad_file=conftest.nm/nofile ;;
5682 *) lt_bad_file=/dev/null ;;
5684 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5685 *$lt_bad_file* | *'Invalid file or object type'*)
5686 lt_cv_path_NM="$tmp_nm -B"
5690 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5692 lt_cv_path_NM="$tmp_nm -p"
5696 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5697 continue # so that we can try to find one that supports BSD flags
5706 : ${lt_cv_path_NM=no}
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5710 $as_echo "$lt_cv_path_NM" >&6; }
5711 if test no != "$lt_cv_path_NM"; then
5714 # Didn't find any BSD compatible name lister, look for dumpbin.
5715 if test -n "$DUMPBIN"; then :
5716 # Let the user override the test.
5718 if test -n "$ac_tool_prefix"; then
5719 for ac_prog in dumpbin "link
-dump"
5721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5724 $as_echo_n "checking
for $ac_word...
" >&6; }
5725 if ${ac_cv_prog_DUMPBIN+:} false; then :
5726 $as_echo_n "(cached
) " >&6
5728 if test -n "$DUMPBIN"; then
5729 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5748 DUMPBIN=$ac_cv_prog_DUMPBIN
5749 if test -n "$DUMPBIN"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5751 $as_echo "$DUMPBIN" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5754 $as_echo "no
" >&6; }
5758 test -n "$DUMPBIN" && break
5761 if test -z "$DUMPBIN"; then
5762 ac_ct_DUMPBIN=$DUMPBIN
5763 for ac_prog in dumpbin "link
-dump"
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy $ac_prog; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5768 $as_echo_n "checking
for $ac_word...
" >&6; }
5769 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5770 $as_echo_n "(cached
) " >&6
5772 if test -n "$ac_ct_DUMPBIN"; then
5773 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5792 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5793 if test -n "$ac_ct_DUMPBIN"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5795 $as_echo "$ac_ct_DUMPBIN" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5798 $as_echo "no
" >&6; }
5802 test -n "$ac_ct_DUMPBIN" && break
5805 if test "x
$ac_ct_DUMPBIN" = x; then
5808 case $cross_compiling:$ac_tool_warned in
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5811 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5812 ac_tool_warned=yes ;;
5814 DUMPBIN=$ac_ct_DUMPBIN
5818 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5820 DUMPBIN="$DUMPBIN -symbols -headers"
5828 if test : != "$DUMPBIN"; then
5832 test -z "$NM" && NM=nm
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5840 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5841 if ${lt_cv_nm_interface+:} false; then :
5842 $as_echo_n "(cached
) " >&6
5844 lt_cv_nm_interface="BSD nm
"
5845 echo "int some_variable
= 0;" > conftest.$ac_ext
5846 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5847 (eval "$ac_compile" 2>conftest.err)
5848 cat conftest.err >&5
5849 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5850 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5851 cat conftest.err >&5
5852 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5853 cat conftest.out >&5
5854 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5855 lt_cv_nm_interface="MS dumpbin
"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5860 $as_echo "$lt_cv_nm_interface" >&6; }
5862 # find the maximum length of command line arguments
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5864 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5865 if ${lt_cv_sys_max_cmd_len+:} false; then :
5866 $as_echo_n "(cached
) " >&6
5873 # On DJGPP, this test can blow up pretty badly due to problems in libc
5874 # (any single argument exceeding 2000 bytes causes a buffer overrun
5875 # during glob expansion). Even if it were fixed, the result of this
5876 # check would be larger than it should be.
5877 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5881 # Under GNU Hurd, this test is not required because there is
5882 # no limit to the length of command line arguments.
5883 # Libtool will interpret -1 as no limit whatsoever
5884 lt_cv_sys_max_cmd_len=-1;
5887 cygwin* | mingw* | cegcc*)
5888 # On Win9x/ME, this test blows up -- it succeeds, but takes
5889 # about 5 minutes as the teststring grows exponentially.
5890 # Worse, since 9x/ME are not pre-emptively multitasking,
5891 # you end up with a "frozen
" computer, even though with patience
5892 # the test eventually succeeds (with a max line length of 256k).
5893 # Instead, let's just punt: use the minimum linelength reported by
5894 # all of the supported platforms: 8192 (on NT/2K/XP).
5895 lt_cv_sys_max_cmd_len=8192;
5899 # On MiNT this can take a long time and run out of memory.
5900 lt_cv_sys_max_cmd_len=8192;
5904 # On AmigaOS with pdksh, this test takes hours, literally.
5905 # So we just punt and use a minimum line length of 8192.
5906 lt_cv_sys_max_cmd_len=8192;
5909 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5910 # This has been around since 386BSD, at least. Likely further.
5911 if test -x /sbin/sysctl; then
5912 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5913 elif test -x /usr/sbin/sysctl; then
5914 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5916 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5918 # And add a safety zone
5919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5924 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5925 lt_cv_sys_max_cmd_len=196608
5929 # The test takes a long time on OS/2.
5930 lt_cv_sys_max_cmd_len=8192
5934 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5935 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5936 # nice to cause kernel panics so lets avoid the loop below.
5937 # First set a reasonable default.
5938 lt_cv_sys_max_cmd_len=16384
5940 if test -x /sbin/sysconfig; then
5941 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5942 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5947 lt_cv_sys_max_cmd_len=102400
5949 sysv5* | sco5v6* | sysv4.2uw2*)
5950 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5951 if test -n "$kargmax"; then
5952 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5954 lt_cv_sys_max_cmd_len=32768
5958 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5959 if test -n "$lt_cv_sys_max_cmd_len" && \
5960 test undefined != "$lt_cv_sys_max_cmd_len"; then
5961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5962 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5964 # Make teststring a little bigger before we do anything with it.
5965 # a 1K string should be a reasonable start.
5966 for i in 1 2 3 4 5 6 7 8; do
5967 teststring=$teststring$teststring
5969 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5970 # If test is not a shell built-in, we'll probably end up computing a
5971 # maximum length that is only half of the actual maximum length, but
5973 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5974 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5975 test 17 != "$i" # 1/2 MB should be enough
5978 teststring=$teststring$teststring
5980 # Only check the string length outside the loop.
5981 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5983 # Add a significant safety factor because C++ compilers can tack on
5984 # massive amounts of additional arguments before passing them to the
5985 # linker. It appears as though 1/2 is a usable value.
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5993 if test -n "$lt_cv_sys_max_cmd_len"; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5995 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5998 $as_echo "none
" >&6; }
6000 max_cmd_len=$lt_cv_sys_max_cmd_len
6011 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6021 # test EBCDIC or ASCII
6022 case `echo X|tr X '\101'` in
6023 A) # ASCII based system
6024 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6025 lt_SP2NL='tr \040 \012'
6026 lt_NL2SP='tr \015\012 \040\040'
6028 *) # EBCDIC based system
6029 lt_SP2NL='tr \100 \n'
6030 lt_NL2SP='tr \r\n \100\100'
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6043 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6044 if ${lt_cv_to_host_file_cmd+:} false; then :
6045 $as_echo_n "(cached
) " >&6
6050 *-*-mingw* ) # actually msys
6051 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6054 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6056 * ) # otherwise, assume *nix
6057 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6063 *-*-mingw* ) # actually msys
6064 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6067 lt_cv_to_host_file_cmd=func_convert_file_noop
6069 * ) # otherwise, assume *nix
6070 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6074 * ) # unhandled hosts (and "normal
" native builds)
6075 lt_cv_to_host_file_cmd=func_convert_file_noop
6081 to_host_file_cmd=$lt_cv_to_host_file_cmd
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6083 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6090 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6091 if ${lt_cv_to_tool_file_cmd+:} false; then :
6092 $as_echo_n "(cached
) " >&6
6094 #assume ordinary cross tools, or native build.
6095 lt_cv_to_tool_file_cmd=func_convert_file_noop
6099 *-*-mingw* ) # actually msys
6100 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6108 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6110 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6117 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6118 if ${lt_cv_ld_reload_flag+:} false; then :
6119 $as_echo_n "(cached
) " >&6
6121 lt_cv_ld_reload_flag='-r'
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6124 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6125 reload_flag=$lt_cv_ld_reload_flag
6126 case $reload_flag in
6128 *) reload_flag=" $reload_flag" ;;
6130 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6132 cygwin* | mingw* | pw32* | cegcc*)
6133 if test yes != "$GCC"; then
6138 if test yes = "$GCC"; then
6139 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6141 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6154 if test -n "$ac_tool_prefix"; then
6155 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6156 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6158 $as_echo_n "checking
for $ac_word...
" >&6; }
6159 if ${ac_cv_prog_OBJDUMP+:} false; then :
6160 $as_echo_n "(cached
) " >&6
6162 if test -n "$OBJDUMP"; then
6163 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6172 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6182 OBJDUMP=$ac_cv_prog_OBJDUMP
6183 if test -n "$OBJDUMP"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6185 $as_echo "$OBJDUMP" >&6; }
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6188 $as_echo "no
" >&6; }
6193 if test -z "$ac_cv_prog_OBJDUMP"; then
6194 ac_ct_OBJDUMP=$OBJDUMP
6195 # Extract the first word of "objdump
", so it can be a program name with args.
6196 set dummy objdump; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6198 $as_echo_n "checking
for $ac_word...
" >&6; }
6199 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6200 $as_echo_n "(cached
) " >&6
6202 if test -n "$ac_ct_OBJDUMP"; then
6203 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6222 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6223 if test -n "$ac_ct_OBJDUMP"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6225 $as_echo "$ac_ct_OBJDUMP" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6228 $as_echo "no
" >&6; }
6231 if test "x
$ac_ct_OBJDUMP" = x; then
6234 case $cross_compiling:$ac_tool_warned in
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6237 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6238 ac_tool_warned=yes ;;
6240 OBJDUMP=$ac_ct_OBJDUMP
6243 OBJDUMP="$ac_cv_prog_OBJDUMP"
6246 test -z "$OBJDUMP" && OBJDUMP=objdump
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6257 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6258 if ${lt_cv_deplibs_check_method+:} false; then :
6259 $as_echo_n "(cached
) " >&6
6261 lt_cv_file_magic_cmd='$MAGIC_CMD'
6262 lt_cv_file_magic_test_file=
6263 lt_cv_deplibs_check_method='unknown'
6264 # Need to set the preceding variable on all platforms that support
6265 # interlibrary dependencies.
6266 # 'none' -- dependencies not supported.
6267 # 'unknown' -- same as none, but documents that we really don't know.
6268 # 'pass_all' -- all dependencies passed with no checks.
6269 # 'test_compile' -- check by making test program.
6270 # 'file_magic [[regex]]' -- check by looking for files in library path
6271 # that responds to the $file_magic_cmd with a given extended regex.
6272 # If you have 'file' or equivalent on your system and you're not sure
6273 # whether 'pass_all' will *always* work, you probably want this one.
6277 lt_cv_deplibs_check_method=pass_all
6281 lt_cv_deplibs_check_method=pass_all
6285 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6286 lt_cv_file_magic_cmd='/usr/bin/file -L'
6287 lt_cv_file_magic_test_file=/shlib/libc.so
6291 # func_win32_libid is a shell function defined in ltmain.sh
6292 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6293 lt_cv_file_magic_cmd='func_win32_libid'
6297 # Base MSYS/MinGW do not provide the 'file' command needed by
6298 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6299 # unless we find 'file', for example because we are cross-compiling.
6300 if ( file / ) >/dev/null 2>&1; then
6301 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6302 lt_cv_file_magic_cmd='func_win32_libid'
6304 # Keep this pattern in sync with the one in func_win32_libid.
6305 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6306 lt_cv_file_magic_cmd='$OBJDUMP -f'
6311 # use the weaker test based on 'objdump'. See mingw*.
6312 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6313 lt_cv_file_magic_cmd='$OBJDUMP -f'
6316 darwin* | rhapsody*)
6317 lt_cv_deplibs_check_method=pass_all
6320 freebsd* | dragonfly*)
6321 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6324 # Not sure whether the presence of OpenBSD here was a mistake.
6325 # Let's accept both of them until this is cleared up.
6326 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6327 lt_cv_file_magic_cmd=/usr/bin/file
6328 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6332 lt_cv_deplibs_check_method=pass_all
6337 lt_cv_deplibs_check_method=pass_all
6340 hpux10.20* | hpux11*)
6341 lt_cv_file_magic_cmd=/usr/bin/file
6344 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6345 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6348 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]'
6349 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6352 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6353 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6359 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6360 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6363 irix5* | irix6* | nonstopux*)
6365 *-32|*"-32 ") libmagic=32-bit;;
6366 *-n32|*"-n32 ") libmagic=N32;;
6367 *-64|*"-64 ") libmagic=64-bit;;
6368 *) libmagic=never-match;;
6370 lt_cv_deplibs_check_method=pass_all
6373 # This must be glibc/ELF.
6374 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6375 lt_cv_deplibs_check_method=pass_all
6379 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6380 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6382 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6387 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6388 lt_cv_file_magic_cmd=/usr/bin/file
6389 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6393 lt_cv_deplibs_check_method=pass_all
6397 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6398 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6400 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6404 osf3* | osf4* | osf5*)
6405 lt_cv_deplibs_check_method=pass_all
6409 lt_cv_deplibs_check_method=pass_all
6413 lt_cv_deplibs_check_method=pass_all
6416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6417 lt_cv_deplibs_check_method=pass_all
6421 case $host_vendor in
6423 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]'
6424 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6427 lt_cv_deplibs_check_method=pass_all
6430 lt_cv_file_magic_cmd='/bin/file'
6431 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6434 lt_cv_file_magic_cmd='/bin/file'
6435 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6436 lt_cv_file_magic_test_file=/lib/libc.so
6439 lt_cv_deplibs_check_method=pass_all
6442 lt_cv_deplibs_check_method=pass_all
6448 lt_cv_deplibs_check_method=pass_all
6451 lt_cv_deplibs_check_method=pass_all
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6457 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6461 if test "$build" = "$host"; then
6464 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6467 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6473 file_magic_cmd=$lt_cv_file_magic_cmd
6474 deplibs_check_method=$lt_cv_deplibs_check_method
6475 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6498 if test -n "$ac_tool_prefix"; then
6499 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6500 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6502 $as_echo_n "checking
for $ac_word...
" >&6; }
6503 if ${ac_cv_prog_DLLTOOL+:} false; then :
6504 $as_echo_n "(cached
) " >&6
6506 if test -n "$DLLTOOL"; then
6507 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 test -z "$as_dir" && as_dir=.
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6516 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6526 DLLTOOL=$ac_cv_prog_DLLTOOL
6527 if test -n "$DLLTOOL"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6529 $as_echo "$DLLTOOL" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6532 $as_echo "no
" >&6; }
6537 if test -z "$ac_cv_prog_DLLTOOL"; then
6538 ac_ct_DLLTOOL=$DLLTOOL
6539 # Extract the first word of "dlltool
", so it can be a program name with args.
6540 set dummy dlltool; ac_word=$2
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6542 $as_echo_n "checking
for $ac_word...
" >&6; }
6543 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6544 $as_echo_n "(cached
) " >&6
6546 if test -n "$ac_ct_DLLTOOL"; then
6547 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 test -z "$as_dir" && as_dir=.
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6556 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6566 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6567 if test -n "$ac_ct_DLLTOOL"; then
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6569 $as_echo "$ac_ct_DLLTOOL" >&6; }
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6572 $as_echo "no
" >&6; }
6575 if test "x
$ac_ct_DLLTOOL" = x; then
6578 case $cross_compiling:$ac_tool_warned in
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6581 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6582 ac_tool_warned=yes ;;
6584 DLLTOOL=$ac_ct_DLLTOOL
6587 DLLTOOL="$ac_cv_prog_DLLTOOL"
6590 test -z "$DLLTOOL" && DLLTOOL=dlltool
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6602 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6603 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6604 $as_echo_n "(cached
) " >&6
6606 lt_cv_sharedlib_from_linklib_cmd='unknown'
6609 cygwin* | mingw* | pw32* | cegcc*)
6610 # two different shell functions defined in ltmain.sh;
6611 # decide which one to use based on capabilities of $DLLTOOL
6612 case `$DLLTOOL --help 2>&1` in
6613 *--identify-strict*)
6614 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6617 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6622 # fallback: assume linklib IS sharedlib
6623 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6629 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6630 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6631 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6639 if test -n "$ac_tool_prefix"; then
6642 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6643 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6645 $as_echo_n "checking
for $ac_word...
" >&6; }
6646 if ${ac_cv_prog_AR+:} false; then :
6647 $as_echo_n "(cached
) " >&6
6649 if test -n "$AR"; then
6650 ac_cv_prog_AR="$AR" # Let the user override the test.
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6670 if test -n "$AR"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6672 $as_echo "$AR" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6675 $as_echo "no
" >&6; }
6679 test -n "$AR" && break
6682 if test -z "$AR"; then
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6689 $as_echo_n "checking
for $ac_word...
" >&6; }
6690 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6691 $as_echo_n "(cached
) " >&6
6693 if test -n "$ac_ct_AR"; then
6694 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_ac_ct_AR="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6713 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6714 if test -n "$ac_ct_AR"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6716 $as_echo "$ac_ct_AR" >&6; }
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6719 $as_echo "no
" >&6; }
6723 test -n "$ac_ct_AR" && break
6726 if test "x
$ac_ct_AR" = x; then
6729 case $cross_compiling:$ac_tool_warned in
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6732 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6733 ac_tool_warned=yes ;;
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6753 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6754 if ${lt_cv_ar_at_file+:} false; then :
6755 $as_echo_n "(cached
) " >&6
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6769 if ac_fn_c_try_compile "$LINENO"; then :
6770 echo conftest.$ac_objext > conftest.lst
6771 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6772 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6773 (eval $lt_ar_try) 2>&5
6775 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6776 test $ac_status = 0; }
6777 if test 0 -eq "$ac_status"; then
6778 # Ensure the archiver fails upon bogus file names.
6779 rm -f conftest.$ac_objext libconftest.a
6780 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6781 (eval $lt_ar_try) 2>&5
6783 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6784 test $ac_status = 0; }
6785 if test 0 -ne "$ac_status"; then
6789 rm -f conftest.* libconftest.a
6792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6796 $as_echo "$lt_cv_ar_at_file" >&6; }
6798 if test no = "$lt_cv_ar_at_file"; then
6801 archiver_list_spec=$lt_cv_ar_at_file
6810 if test -n "$ac_tool_prefix"; then
6811 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6812 set dummy ${ac_tool_prefix}strip; ac_word=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6814 $as_echo_n "checking
for $ac_word...
" >&6; }
6815 if ${ac_cv_prog_STRIP+:} false; then :
6816 $as_echo_n "(cached
) " >&6
6818 if test -n "$STRIP"; then
6819 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir=.
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6828 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6838 STRIP=$ac_cv_prog_STRIP
6839 if test -n "$STRIP"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6841 $as_echo "$STRIP" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6844 $as_echo "no
" >&6; }
6849 if test -z "$ac_cv_prog_STRIP"; then
6851 # Extract the first word of "strip
", so it can be a program name with args.
6852 set dummy strip; ac_word=$2
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6854 $as_echo_n "checking
for $ac_word...
" >&6; }
6855 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6856 $as_echo_n "(cached
) " >&6
6858 if test -n "$ac_ct_STRIP"; then
6859 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865 test -z "$as_dir" && as_dir=.
6866 for ac_exec_ext in '' $ac_executable_extensions; do
6867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6868 ac_cv_prog_ac_ct_STRIP="strip
"
6869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6878 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6879 if test -n "$ac_ct_STRIP"; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6881 $as_echo "$ac_ct_STRIP" >&6; }
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6884 $as_echo "no
" >&6; }
6887 if test "x
$ac_ct_STRIP" = x; then
6890 case $cross_compiling:$ac_tool_warned in
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6893 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6894 ac_tool_warned=yes ;;
6899 STRIP="$ac_cv_prog_STRIP"
6902 test -z "$STRIP" && STRIP=:
6909 if test -n "$ac_tool_prefix"; then
6910 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6911 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6913 $as_echo_n "checking
for $ac_word...
" >&6; }
6914 if ${ac_cv_prog_RANLIB+:} false; then :
6915 $as_echo_n "(cached
) " >&6
6917 if test -n "$RANLIB"; then
6918 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6937 RANLIB=$ac_cv_prog_RANLIB
6938 if test -n "$RANLIB"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6940 $as_echo "$RANLIB" >&6; }
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6943 $as_echo "no
" >&6; }
6948 if test -z "$ac_cv_prog_RANLIB"; then
6949 ac_ct_RANLIB=$RANLIB
6950 # Extract the first word of "ranlib
", so it can be a program name with args.
6951 set dummy ranlib; ac_word=$2
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6953 $as_echo_n "checking
for $ac_word...
" >&6; }
6954 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6955 $as_echo_n "(cached
) " >&6
6957 if test -n "$ac_ct_RANLIB"; then
6958 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 test -z "$as_dir" && as_dir=.
6965 for ac_exec_ext in '' $ac_executable_extensions; do
6966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6967 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6977 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6978 if test -n "$ac_ct_RANLIB"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6980 $as_echo "$ac_ct_RANLIB" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6983 $as_echo "no
" >&6; }
6986 if test "x
$ac_ct_RANLIB" = x; then
6989 case $cross_compiling:$ac_tool_warned in
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6992 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6993 ac_tool_warned=yes ;;
6995 RANLIB=$ac_ct_RANLIB
6998 RANLIB="$ac_cv_prog_RANLIB"
7001 test -z "$RANLIB" && RANLIB=:
7008 # Determine commands to create old-style static archives.
7009 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7010 old_postinstall_cmds='chmod 644 $oldlib'
7011 old_postuninstall_cmds=
7013 if test -n "$RANLIB"; then
7016 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7019 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7022 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7027 lock_old_archive_extraction=yes ;;
7029 lock_old_archive_extraction=no ;;
7070 # If no C compiler was specified, use CC.
7073 # If no C compiler flags were specified, use CFLAGS.
7074 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7076 # Allow CC to be a program name with arguments.
7080 # Check for command to grab the raw symbol name followed by C symbol from nm.
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7082 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7083 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7084 $as_echo_n "(cached
) " >&6
7087 # These are sane defaults that work on at least a few old systems.
7088 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7090 # Character class describing NM global symbol codes.
7091 symcode='[BCDEGRST]'
7093 # Regexp to match symbols that can be accessed directly from C.
7094 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7096 # Define system-specific variables.
7101 cygwin* | mingw* | pw32* | cegcc*)
7102 symcode='[ABCDGISTW]'
7105 if test ia64 = "$host_cpu"; then
7106 symcode='[ABCDEGRST]'
7110 symcode='[BCDEGRST]'
7113 symcode='[BCDEGQRST]'
7124 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7132 # If we're using GNU nm, then use its standard symbol codes.
7133 case `$NM -V 2>&1` in
7134 *GNU* | *'with BFD'*)
7135 symcode='[ABCDGIRSTW]' ;;
7138 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7139 # Gets list of data symbols to import.
7140 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7141 # Adjust the below global symbol transforms to fixup imported variables.
7142 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7143 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7144 lt_c_name_lib_hook="\
7145 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7146 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7148 # Disable hooks by default.
7149 lt_cv_sys_global_symbol_to_import=
7155 # Transform an extracted symbol line into a proper C declaration.
7156 # Some systems (esp. on ia64) link data and code symbols differently,
7157 # so use this general approach.
7158 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7160 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7161 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7163 # Transform an extracted symbol line into symbol name and symbol address
7164 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7166 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7167 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7169 # Transform an extracted symbol line into symbol name with lib prefix and
7171 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7172 $lt_c_name_lib_hook\
7173 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7174 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7175 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7177 # Handle CRLF in mingw tool chain
7181 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7185 # Try without a prefix underscore, then with it.
7186 for ac_symprfx in "" "_
"; do
7188 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7189 symxfrm="\\1 $ac_symprfx\\2 \\2"
7191 # Write the raw and C identifiers.
7192 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7193 # Fake it for dumpbin and say T for any non-static function,
7194 # D for any global variable and I for any imported variable.
7195 # Also find C++ and __fastcall symbols from MSVC++,
7196 # which start with @ or ?.
7197 lt_cv_sys_global_symbol_pipe="$AWK '"\
7198 " {last_section=section; section=\$ 3};"\
7199 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7200 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7201 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7202 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7203 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7204 " \$ 0!~/External *\|/{next};"\
7205 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7206 " {if(hide[section]) next};"\
7207 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7208 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7209 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7210 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7211 " ' prfx
=^
$ac_symprfx"
7213 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7215 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7217 # Check to see that the pipe works correctly.
7221 cat > conftest.$ac_ext <<_LT_EOF
7226 void nm_test_func(void);
7227 void nm_test_func(void){}
7231 int main(){nm_test_var='a';nm_test_func();return(0);}
7234 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7235 (eval $ac_compile) 2>&5
7237 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7238 test $ac_status = 0; }; then
7239 # Now try to grab the symbols.
7241 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7242 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7244 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7245 test $ac_status = 0; } && test -s "$nlist"; then
7246 # Try sorting and uniquifying the output.
7247 if sort "$nlist" | uniq > "$nlist"T; then
7248 mv -f "$nlist"T "$nlist"
7253 # Make sure that we snagged all the symbols we need.
7254 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7255 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7256 cat <<_LT_EOF > conftest.$ac_ext
7257 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7258 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7259 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7260 relocations are performed -- see ld's documentation on pseudo-relocs. */
7261 # define LT_DLSYM_CONST
7262 #elif defined __osf__
7263 /* This system does not cope well with relocations in const data. */
7264 # define LT_DLSYM_CONST
7266 # define LT_DLSYM_CONST const
7274 # Now generate the symbol file.
7275 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7277 cat <<_LT_EOF >> conftest.$ac_ext
7279 /* The mapping between symbol names and symbols. */
7280 LT_DLSYM_CONST struct {
7284 lt__PROGRAM__LTX_preloaded_symbols[] =
7286 { "@PROGRAM@
", (void *) 0 },
7288 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7289 cat <<\_LT_EOF >> conftest.$ac_ext
7293 /* This works around a problem in FreeBSD linker */
7294 #ifdef FREEBSD_WORKAROUND
7295 static const void *lt_preloaded_setup() {
7296 return lt__PROGRAM__LTX_preloaded_symbols;
7304 # Now try linking the two files.
7305 mv conftest.$ac_objext conftstm.$ac_objext
7306 lt_globsym_save_LIBS=$LIBS
7307 lt_globsym_save_CFLAGS=$CFLAGS
7308 LIBS=conftstm.$ac_objext
7309 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7310 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7311 (eval $ac_link) 2>&5
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7314 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7317 LIBS=$lt_globsym_save_LIBS
7318 CFLAGS=$lt_globsym_save_CFLAGS
7320 echo "cannot
find nm_test_func
in $nlist" >&5
7323 echo "cannot
find nm_test_var
in $nlist" >&5
7326 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7329 echo "$progname: failed program was
:" >&5
7330 cat conftest.$ac_ext >&5
7332 rm -rf conftest* conftst*
7334 # Do not use the global_symbol_pipe unless it works.
7335 if test yes = "$pipe_works"; then
7338 lt_cv_sys_global_symbol_pipe=
7344 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7345 lt_cv_sys_global_symbol_to_cdecl=
7347 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7349 $as_echo "failed
" >&6; }
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7352 $as_echo "ok
" >&6; }
7355 # Response file support.
7356 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7357 nm_file_list_spec='@'
7358 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7359 nm_file_list_spec='@'
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7399 $as_echo_n "checking
for sysroot...
" >&6; }
7401 # Check whether --with-sysroot was given.
7402 if test "${with_sysroot+set}" = set; then :
7403 withval=$with_sysroot;
7410 case $with_sysroot in #(
7412 if test yes = "$GCC"; then
7413 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7417 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7423 $as_echo "$with_sysroot" >&6; }
7424 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7429 $as_echo "${lt_sysroot:-no}" >&6; }
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7436 $as_echo_n "checking
for a working
dd...
" >&6; }
7437 if ${ac_cv_path_lt_DD+:} false; then :
7438 $as_echo_n "(cached
) " >&6
7440 printf 0123456789abcdef0123456789abcdef >conftest.i
7441 cat conftest.i conftest.i >conftest2.i
7443 if test -z "$lt_DD"; then
7444 ac_path_lt_DD_found=false
7445 # Loop through the user's path and test for each of PROGNAME-LIST
7446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 test -z "$as_dir" && as_dir=.
7451 for ac_prog in dd; do
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7454 as_fn_executable_p "$ac_path_lt_DD" || continue
7455 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7456 cmp -s conftest.i conftest.out \
7457 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7459 $ac_path_lt_DD_found && break 3
7464 if test -z "$ac_cv_path_lt_DD"; then
7468 ac_cv_path_lt_DD=$lt_DD
7471 rm -f conftest.i conftest2.i conftest.out
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7474 $as_echo "$ac_cv_path_lt_DD" >&6; }
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7478 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7479 if ${lt_cv_truncate_bin+:} false; then :
7480 $as_echo_n "(cached
) " >&6
7482 printf 0123456789abcdef0123456789abcdef >conftest.i
7483 cat conftest.i conftest.i >conftest2.i
7485 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7486 cmp -s conftest.i conftest.out \
7487 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7489 rm -f conftest.i conftest2.i conftest.out
7490 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7493 $as_echo "$lt_cv_truncate_bin" >&6; }
7501 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7504 for cc_temp in $*""; do
7506 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7507 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7512 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7515 # Check whether --enable-libtool-lock was given.
7516 if test "${enable_libtool_lock+set}" = set; then :
7517 enableval=$enable_libtool_lock;
7520 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7522 # Some flags need to be propagated to the compiler or linker for good
7526 # Find out what ABI is being produced by ac_compile, and set mode
7527 # options accordingly.
7528 echo 'int i;' > conftest.$ac_ext
7529 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7530 (eval $ac_compile) 2>&5
7532 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7533 test $ac_status = 0; }; then
7534 case `/usr/bin/file conftest.$ac_objext` in
7546 # Find out what ABI is being produced by ac_compile, and set linker
7547 # options accordingly.
7548 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7549 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7550 (eval $ac_compile) 2>&5
7552 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7553 test $ac_status = 0; }; then
7554 if test yes = "$lt_cv_prog_gnu_ld"; then
7555 case `/usr/bin/file conftest.$ac_objext` in
7557 LD="${LD-ld} -melf32bsmip"
7560 LD="${LD-ld} -melf32bmipn32"
7563 LD="${LD-ld} -melf64bmip"
7567 case `/usr/bin/file conftest.$ac_objext` in
7584 # Find out what ABI is being produced by ac_compile, and set linker
7585 # options accordingly.
7586 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7587 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7588 (eval $ac_compile) 2>&5
7590 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7591 test $ac_status = 0; }; then
7593 case `/usr/bin/file conftest.$ac_objext` in
7601 case `/usr/bin/file conftest.$ac_objext` in
7603 emul="${emul}btsmip
"
7606 emul="${emul}ltsmip
"
7609 case `/usr/bin/file conftest.$ac_objext` in
7614 LD="${LD-ld} -m $emul"
7619 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7620 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7621 # Find out what ABI is being produced by ac_compile, and set linker
7622 # options accordingly. Note that the listed cases only cover the
7623 # situations where additional linker options are needed (such as when
7624 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7625 # vice versa); the common cases where no linker options are needed do
7626 # not appear in the list.
7627 echo 'int i;' > conftest.$ac_ext
7628 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7629 (eval $ac_compile) 2>&5
7631 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7632 test $ac_status = 0; }; then
7633 case `/usr/bin/file conftest.o` in
7636 x86_64-*kfreebsd*-gnu)
7637 LD="${LD-ld} -m elf_i386_fbsd
"
7640 case `/usr/bin/file conftest.o` in
7642 LD="${LD-ld} -m elf32_x86_64
"
7645 LD="${LD-ld} -m elf_i386
"
7649 powerpc64le-*linux*)
7650 LD="${LD-ld} -m elf32lppclinux
"
7653 LD="${LD-ld} -m elf32ppclinux
"
7656 LD="${LD-ld} -m elf_s390
"
7659 LD="${LD-ld} -m elf32_sparc
"
7665 x86_64-*kfreebsd*-gnu)
7666 LD="${LD-ld} -m elf_x86_64_fbsd
"
7669 LD="${LD-ld} -m elf_x86_64
"
7672 LD="${LD-ld} -m elf64lppc
"
7675 LD="${LD-ld} -m elf64ppc
"
7677 s390*-*linux*|s390*-*tpf*)
7678 LD="${LD-ld} -m elf64_s390
"
7681 LD="${LD-ld} -m elf64_sparc
"
7691 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7693 CFLAGS="$CFLAGS -belf"
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7695 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7696 if ${lt_cv_cc_needs_belf+:} false; then :
7697 $as_echo_n "(cached
) " >&6
7700 ac_cpp='$CPP $CPPFLAGS'
7701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7716 if ac_fn_c_try_link "$LINENO"; then :
7717 lt_cv_cc_needs_belf=yes
7719 lt_cv_cc_needs_belf=no
7721 rm -f core conftest.err conftest.$ac_objext \
7722 conftest$ac_exeext conftest.$ac_ext
7724 ac_cpp='$CPP $CPPFLAGS'
7725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7731 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7732 if test yes != "$lt_cv_cc_needs_belf"; then
7733 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7738 # Find out what ABI is being produced by ac_compile, and set linker
7739 # options accordingly.
7740 echo 'int i;' > conftest.$ac_ext
7741 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7742 (eval $ac_compile) 2>&5
7744 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7745 test $ac_status = 0; }; then
7746 case `/usr/bin/file conftest.o` in
7748 case $lt_cv_prog_gnu_ld in
7751 i?86-*-solaris*|x86_64-*-solaris*)
7752 LD="${LD-ld} -m elf_x86_64
"
7755 LD="${LD-ld} -m elf64_sparc
"
7758 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7759 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7764 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7776 need_locks=$enable_libtool_lock
7778 if test -n "$ac_tool_prefix"; then
7779 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7780 set dummy ${ac_tool_prefix}mt; ac_word=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7782 $as_echo_n "checking
for $ac_word...
" >&6; }
7783 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7784 $as_echo_n "(cached
) " >&6
7786 if test -n "$MANIFEST_TOOL"; then
7787 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7793 test -z "$as_dir" && as_dir=.
7794 for ac_exec_ext in '' $ac_executable_extensions; do
7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7796 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7806 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7807 if test -n "$MANIFEST_TOOL"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7809 $as_echo "$MANIFEST_TOOL" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7812 $as_echo "no
" >&6; }
7817 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7818 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7819 # Extract the first word of "mt
", so it can be a program name with args.
7820 set dummy mt; ac_word=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7822 $as_echo_n "checking
for $ac_word...
" >&6; }
7823 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7824 $as_echo_n "(cached
) " >&6
7826 if test -n "$ac_ct_MANIFEST_TOOL"; then
7827 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7836 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7846 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7847 if test -n "$ac_ct_MANIFEST_TOOL"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7849 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7852 $as_echo "no
" >&6; }
7855 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7858 case $cross_compiling:$ac_tool_warned in
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7861 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7862 ac_tool_warned=yes ;;
7864 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7867 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7870 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7872 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7873 if ${lt_cv_path_mainfest_tool+:} false; then :
7874 $as_echo_n "(cached
) " >&6
7876 lt_cv_path_mainfest_tool=no
7877 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7878 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7879 cat conftest.err >&5
7880 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7881 lt_cv_path_mainfest_tool=yes
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7886 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7887 if test yes != "$lt_cv_path_mainfest_tool"; then
7897 rhapsody* | darwin*)
7898 if test -n "$ac_tool_prefix"; then
7899 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7900 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7902 $as_echo_n "checking
for $ac_word...
" >&6; }
7903 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7904 $as_echo_n "(cached
) " >&6
7906 if test -n "$DSYMUTIL"; then
7907 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7926 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7927 if test -n "$DSYMUTIL"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7929 $as_echo "$DSYMUTIL" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7932 $as_echo "no
" >&6; }
7937 if test -z "$ac_cv_prog_DSYMUTIL"; then
7938 ac_ct_DSYMUTIL=$DSYMUTIL
7939 # Extract the first word of "dsymutil
", so it can be a program name with args.
7940 set dummy dsymutil; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7942 $as_echo_n "checking
for $ac_word...
" >&6; }
7943 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7944 $as_echo_n "(cached
) " >&6
7946 if test -n "$ac_ct_DSYMUTIL"; then
7947 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7966 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7967 if test -n "$ac_ct_DSYMUTIL"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7969 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7972 $as_echo "no
" >&6; }
7975 if test "x
$ac_ct_DSYMUTIL" = x; then
7978 case $cross_compiling:$ac_tool_warned in
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7981 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7982 ac_tool_warned=yes ;;
7984 DSYMUTIL=$ac_ct_DSYMUTIL
7987 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7994 $as_echo_n "checking
for $ac_word...
" >&6; }
7995 if ${ac_cv_prog_NMEDIT+:} false; then :
7996 $as_echo_n "(cached
) " >&6
7998 if test -n "$NMEDIT"; then
7999 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8018 NMEDIT=$ac_cv_prog_NMEDIT
8019 if test -n "$NMEDIT"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8021 $as_echo "$NMEDIT" >&6; }
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8024 $as_echo "no
" >&6; }
8029 if test -z "$ac_cv_prog_NMEDIT"; then
8030 ac_ct_NMEDIT=$NMEDIT
8031 # Extract the first word of "nmedit
", so it can be a program name with args.
8032 set dummy nmedit; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8034 $as_echo_n "checking
for $ac_word...
" >&6; }
8035 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8036 $as_echo_n "(cached
) " >&6
8038 if test -n "$ac_ct_NMEDIT"; then
8039 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8048 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8058 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8059 if test -n "$ac_ct_NMEDIT"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8061 $as_echo "$ac_ct_NMEDIT" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8064 $as_echo "no
" >&6; }
8067 if test "x
$ac_ct_NMEDIT" = x; then
8070 case $cross_compiling:$ac_tool_warned in
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8073 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8074 ac_tool_warned=yes ;;
8076 NMEDIT=$ac_ct_NMEDIT
8079 NMEDIT="$ac_cv_prog_NMEDIT"
8082 if test -n "$ac_tool_prefix"; then
8083 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8084 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8086 $as_echo_n "checking
for $ac_word...
" >&6; }
8087 if ${ac_cv_prog_LIPO+:} false; then :
8088 $as_echo_n "(cached
) " >&6
8090 if test -n "$LIPO"; then
8091 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097 test -z "$as_dir" && as_dir=.
8098 for ac_exec_ext in '' $ac_executable_extensions; do
8099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8100 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8110 LIPO=$ac_cv_prog_LIPO
8111 if test -n "$LIPO"; then
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8113 $as_echo "$LIPO" >&6; }
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8116 $as_echo "no
" >&6; }
8121 if test -z "$ac_cv_prog_LIPO"; then
8123 # Extract the first word of "lipo
", so it can be a program name with args.
8124 set dummy lipo; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8126 $as_echo_n "checking
for $ac_word...
" >&6; }
8127 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8128 $as_echo_n "(cached
) " >&6
8130 if test -n "$ac_ct_LIPO"; then
8131 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8140 ac_cv_prog_ac_ct_LIPO="lipo
"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8150 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8151 if test -n "$ac_ct_LIPO"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8153 $as_echo "$ac_ct_LIPO" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8156 $as_echo "no
" >&6; }
8159 if test "x
$ac_ct_LIPO" = x; then
8162 case $cross_compiling:$ac_tool_warned in
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8165 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8166 ac_tool_warned=yes ;;
8171 LIPO="$ac_cv_prog_LIPO"
8174 if test -n "$ac_tool_prefix"; then
8175 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8176 set dummy ${ac_tool_prefix}otool; ac_word=$2
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8178 $as_echo_n "checking
for $ac_word...
" >&6; }
8179 if ${ac_cv_prog_OTOOL+:} false; then :
8180 $as_echo_n "(cached
) " >&6
8182 if test -n "$OTOOL"; then
8183 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8189 test -z "$as_dir" && as_dir=.
8190 for ac_exec_ext in '' $ac_executable_extensions; do
8191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8192 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8202 OTOOL=$ac_cv_prog_OTOOL
8203 if test -n "$OTOOL"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8205 $as_echo "$OTOOL" >&6; }
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8208 $as_echo "no
" >&6; }
8213 if test -z "$ac_cv_prog_OTOOL"; then
8215 # Extract the first word of "otool
", so it can be a program name with args.
8216 set dummy otool; ac_word=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8218 $as_echo_n "checking
for $ac_word...
" >&6; }
8219 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8220 $as_echo_n "(cached
) " >&6
8222 if test -n "$ac_ct_OTOOL"; then
8223 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8232 ac_cv_prog_ac_ct_OTOOL="otool
"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8242 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8243 if test -n "$ac_ct_OTOOL"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8245 $as_echo "$ac_ct_OTOOL" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8248 $as_echo "no
" >&6; }
8251 if test "x
$ac_ct_OTOOL" = x; then
8254 case $cross_compiling:$ac_tool_warned in
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8257 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8258 ac_tool_warned=yes ;;
8263 OTOOL="$ac_cv_prog_OTOOL"
8266 if test -n "$ac_tool_prefix"; then
8267 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8268 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8270 $as_echo_n "checking
for $ac_word...
" >&6; }
8271 if ${ac_cv_prog_OTOOL64+:} false; then :
8272 $as_echo_n "(cached
) " >&6
8274 if test -n "$OTOOL64"; then
8275 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8284 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8294 OTOOL64=$ac_cv_prog_OTOOL64
8295 if test -n "$OTOOL64"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8297 $as_echo "$OTOOL64" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8300 $as_echo "no
" >&6; }
8305 if test -z "$ac_cv_prog_OTOOL64"; then
8306 ac_ct_OTOOL64=$OTOOL64
8307 # Extract the first word of "otool64
", so it can be a program name with args.
8308 set dummy otool64; ac_word=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8310 $as_echo_n "checking
for $ac_word...
" >&6; }
8311 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8312 $as_echo_n "(cached
) " >&6
8314 if test -n "$ac_ct_OTOOL64"; then
8315 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 test -z "$as_dir" && as_dir=.
8322 for ac_exec_ext in '' $ac_executable_extensions; do
8323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8324 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8334 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8335 if test -n "$ac_ct_OTOOL64"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8337 $as_echo "$ac_ct_OTOOL64" >&6; }
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8340 $as_echo "no
" >&6; }
8343 if test "x
$ac_ct_OTOOL64" = x; then
8346 case $cross_compiling:$ac_tool_warned in
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8349 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8350 ac_tool_warned=yes ;;
8352 OTOOL64=$ac_ct_OTOOL64
8355 OTOOL64="$ac_cv_prog_OTOOL64"
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8385 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8386 if ${lt_cv_apple_cc_single_mod+:} false; then :
8387 $as_echo_n "(cached
) " >&6
8389 lt_cv_apple_cc_single_mod=no
8390 if test -z "$LT_MULTI_MODULE"; then
8391 # By default we will add the -single_module flag. You can override
8392 # by either setting the environment variable LT_MULTI_MODULE
8393 # non-empty at configure time, or by adding -multi_module to the
8395 rm -rf libconftest.dylib*
8396 echo "int foo
(void
){return 1;}" > conftest.c
8397 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8398 -dynamiclib -Wl,-single_module conftest.c
" >&5
8399 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8400 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8402 # If there is a non-empty error log, and "single_module
"
8403 # appears in it, assume the flag caused a linker warning
8404 if test -s conftest.err && $GREP single_module conftest.err; then
8405 cat conftest.err >&5
8406 # Otherwise, if the output was created with a 0 exit code from
8407 # the compiler, it worked.
8408 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8409 lt_cv_apple_cc_single_mod=yes
8411 cat conftest.err >&5
8413 rm -rf libconftest.dylib*
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8418 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8421 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8422 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8423 $as_echo_n "(cached
) " >&6
8425 lt_cv_ld_exported_symbols_list=no
8426 save_LDFLAGS=$LDFLAGS
8427 echo "_main
" > conftest.sym
8428 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8440 if ac_fn_c_try_link "$LINENO"; then :
8441 lt_cv_ld_exported_symbols_list=yes
8443 lt_cv_ld_exported_symbols_list=no
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 LDFLAGS=$save_LDFLAGS
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8451 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8454 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8455 if ${lt_cv_ld_force_load+:} false; then :
8456 $as_echo_n "(cached
) " >&6
8458 lt_cv_ld_force_load=no
8459 cat > conftest.c << _LT_EOF
8460 int forced_loaded() { return 2;}
8462 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8463 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8464 echo "$AR cru libconftest.a conftest.o
" >&5
8465 $AR cru libconftest.a conftest.o 2>&5
8466 echo "$RANLIB libconftest.a
" >&5
8467 $RANLIB libconftest.a 2>&5
8468 cat > conftest.c << _LT_EOF
8469 int main() { return 0;}
8471 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8472 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8474 if test -s conftest.err && $GREP force_load conftest.err; then
8475 cat conftest.err >&5
8476 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8477 lt_cv_ld_force_load=yes
8479 cat conftest.err >&5
8481 rm -f conftest.err libconftest.a conftest conftest.c
8482 rm -rf conftest.dSYM
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8486 $as_echo "$lt_cv_ld_force_load" >&6; }
8488 rhapsody* | darwin1.[012])
8489 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8491 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8492 darwin*) # darwin 5.x on
8493 # if running on 10.5 or later, the deployment target defaults
8494 # to the OS version, if on x86, and 10.4, the deployment
8495 # target defaults to 10.4. Don't you love it?
8496 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8497 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8498 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8500 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8502 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8506 if test yes = "$lt_cv_apple_cc_single_mod"; then
8507 _lt_dar_single_mod='$single_module'
8509 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8510 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8512 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8514 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8515 _lt_dsymutil='~$DSYMUTIL $lib || :'
8522 # func_munge_path_list VARIABLE PATH
8523 # -----------------------------------
8524 # VARIABLE is name of variable containing _space_ separated list of
8525 # directories to be munged by the contents of PATH, which is string
8528 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8530 # string "DIR
[ DIR
]" will be appended to VARIABLE
8531 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8532 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8533 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8535 # VARIABLE will be replaced by "DIR
[ DIR
]"
8536 func_munge_path_list ()
8542 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8545 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8548 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8549 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8552 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8557 for ac_header in dlfcn.h
8559 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8561 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8562 cat >>confdefs.h <<_ACEOF
8563 #define HAVE_DLFCN_H 1
8584 # Check whether --enable-shared was given.
8585 if test "${enable_shared+set}" = set; then :
8586 enableval=$enable_shared; p=${PACKAGE-default}
8588 yes) enable_shared=yes ;;
8589 no) enable_shared=no ;;
8592 # Look at the argument we got. We use all the common list separators.
8593 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8594 for pkg in $enableval; do
8596 if test "X
$pkg" = "X
$p"; then
8615 # Check whether --enable-static was given.
8616 if test "${enable_static+set}" = set; then :
8617 enableval=$enable_static; p=${PACKAGE-default}
8619 yes) enable_static=yes ;;
8620 no) enable_static=no ;;
8623 # Look at the argument we got. We use all the common list separators.
8624 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8625 for pkg in $enableval; do
8627 if test "X
$pkg" = "X
$p"; then
8647 # Check whether --with-pic was given.
8648 if test "${with_pic+set}" = set; then :
8649 withval=$with_pic; lt_p=${PACKAGE-default}
8651 yes|no) pic_mode=$withval ;;
8654 # Look at the argument we got. We use all the common list separators.
8655 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8656 for lt_pkg in $withval; do
8658 if test "X
$lt_pkg" = "X
$lt_p"; then
8676 # Check whether --enable-fast-install was given.
8677 if test "${enable_fast_install+set}" = set; then :
8678 enableval=$enable_fast_install; p=${PACKAGE-default}
8680 yes) enable_fast_install=yes ;;
8681 no) enable_fast_install=no ;;
8683 enable_fast_install=no
8684 # Look at the argument we got. We use all the common list separators.
8685 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8686 for pkg in $enableval; do
8688 if test "X
$pkg" = "X
$p"; then
8689 enable_fast_install=yes
8696 enable_fast_install=yes
8706 shared_archive_member_spec=
8707 case $host,$enable_shared in
8708 power*-*-aix[5-9]*,yes)
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
which variant of shared library versioning to provide
" >&5
8710 $as_echo_n "checking
which variant of shared library versioning to provide...
" >&6; }
8712 # Check whether --with-aix-soname was given.
8713 if test "${with_aix_soname+set}" = set; then :
8714 withval=$with_aix_soname; case $withval in
8718 as_fn_error $? "Unknown argument to
--with-aix-soname" "$LINENO" 5
8721 lt_cv_with_aix_soname=$with_aix_soname
8723 if ${lt_cv_with_aix_soname+:} false; then :
8724 $as_echo_n "(cached
) " >&6
8726 lt_cv_with_aix_soname=aix
8729 with_aix_soname=$lt_cv_with_aix_soname
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_aix_soname" >&5
8733 $as_echo "$with_aix_soname" >&6; }
8734 if test aix != "$with_aix_soname"; then
8735 # For the AIX way of multilib, we name the shared archive member
8736 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8737 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8738 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8739 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8740 if test 64 = "${OBJECT_MODE-32}"; then
8741 shared_archive_member_spec=shr_64
8743 shared_archive_member_spec=shr
8761 # This can be used to rebuild libtool when needed
8762 LIBTOOL_DEPS=$ltmain
8764 # Always use our own libtool.
8765 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8796 test -z "$LN_S" && LN_S="ln -s"
8811 if test -n "${ZSH_VERSION+set}"; then
8812 setopt NO_GLOB_SUBST
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8816 $as_echo_n "checking
for objdir...
" >&6; }
8817 if ${lt_cv_objdir+:} false; then :
8818 $as_echo_n "(cached
) " >&6
8820 rm -f .libs 2>/dev/null
8821 mkdir .libs 2>/dev/null
8822 if test -d .libs; then
8825 # MS-DOS does not allow filenames that begin with a dot.
8828 rmdir .libs 2>/dev/null
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8831 $as_echo "$lt_cv_objdir" >&6; }
8832 objdir=$lt_cv_objdir
8838 cat >>confdefs.h <<_ACEOF
8839 #define LT_OBJDIR "$lt_cv_objdir/"
8847 # AIX sometimes has problems with the GCC collect2 program. For some
8848 # reason, if we set the COLLECT_NAMES environment variable, the problems
8849 # vanish in a puff of smoke.
8850 if test set != "${COLLECT_NAMES+set}"; then
8852 export COLLECT_NAMES
8859 can_build_shared=yes
8861 # All known linkers require a '.a' archive for static linking (except MSVC,
8862 # which needs '.lib').
8865 with_gnu_ld=$lt_cv_prog_gnu_ld
8870 # Set sane defaults for various variables
8871 test -z "$CC" && CC=cc
8872 test -z "$LTCC" && LTCC=$CC
8873 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8874 test -z "$LD" && LD=ld
8875 test -z "$ac_objext" && ac_objext=o
8877 func_cc_basename $compiler
8878 cc_basename=$func_cc_basename_result
8881 # Only perform the check for file, if the check method requires it
8882 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8883 case $deplibs_check_method in
8885 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8887 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8888 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8889 $as_echo_n "(cached
) " >&6
8893 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8896 lt_save_MAGIC_CMD=$MAGIC_CMD
8897 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8898 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8899 for ac_dir in $ac_dummy; do
8901 test -z "$ac_dir" && ac_dir=.
8902 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8903 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8904 if test -n "$file_magic_test_file"; then
8905 case $deplibs_check_method in
8907 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8908 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8909 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8910 $EGREP "$file_magic_regex" > /dev/null; then
8915 *** Warning: the command libtool uses to detect shared libraries,
8916 *** $file_magic_cmd, produces output that libtool cannot recognize.
8917 *** The result is that libtool may fail to recognize shared libraries
8918 *** as such. This will affect the creation of libtool libraries that
8919 *** depend on shared libraries, but programs linked with such libtool
8920 *** libraries will work regardless of this problem. Nevertheless, you
8921 *** may want to report the problem to your system manager and/or to
8922 *** bug-libtool@gnu.org
8932 MAGIC_CMD=$lt_save_MAGIC_CMD
8937 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8938 if test -n "$MAGIC_CMD"; then
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8940 $as_echo "$MAGIC_CMD" >&6; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8943 $as_echo "no
" >&6; }
8950 if test -z "$lt_cv_path_MAGIC_CMD"; then
8951 if test -n "$ac_tool_prefix"; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8953 $as_echo_n "checking
for file...
" >&6; }
8954 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8955 $as_echo_n "(cached
) " >&6
8959 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8962 lt_save_MAGIC_CMD=$MAGIC_CMD
8963 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8964 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8965 for ac_dir in $ac_dummy; do
8967 test -z "$ac_dir" && ac_dir=.
8968 if test -f "$ac_dir/file"; then
8969 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8970 if test -n "$file_magic_test_file"; then
8971 case $deplibs_check_method in
8973 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8974 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8975 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8976 $EGREP "$file_magic_regex" > /dev/null; then
8981 *** Warning: the command libtool uses to detect shared libraries,
8982 *** $file_magic_cmd, produces output that libtool cannot recognize.
8983 *** The result is that libtool may fail to recognize shared libraries
8984 *** as such. This will affect the creation of libtool libraries that
8985 *** depend on shared libraries, but programs linked with such libtool
8986 *** libraries will work regardless of this problem. Nevertheless, you
8987 *** may want to report the problem to your system manager and/or to
8988 *** bug-libtool@gnu.org
8998 MAGIC_CMD=$lt_save_MAGIC_CMD
9003 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9004 if test -n "$MAGIC_CMD"; then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9006 $as_echo "$MAGIC_CMD" >&6; }
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9009 $as_echo "no
" >&6; }
9022 # Use C for the default configuration in the libtool script
9026 ac_cpp='$CPP $CPPFLAGS'
9027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9032 # Source file extension for C test sources.
9035 # Object file extension for compiled C test sources.
9039 # Code to be used in simple compile tests
9040 lt_simple_compile_test_code="int some_variable
= 0;"
9042 # Code to be used in simple link tests
9043 lt_simple_link_test_code='int main(){return(0);}'
9051 # If no C compiler was specified, use CC.
9054 # If no C compiler flags were specified, use CFLAGS.
9055 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9057 # Allow CC to be a program name with arguments.
9060 # Save the default compiler, since it gets overwritten when the other
9061 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9062 compiler_DEFAULT=$CC
9064 # save warnings/boilerplate of simple test code
9065 ac_outfile=conftest.$ac_objext
9066 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9067 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9068 _lt_compiler_boilerplate=`cat conftest.err`
9071 ac_outfile=conftest.$ac_objext
9072 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9073 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9074 _lt_linker_boilerplate=`cat conftest.err`
9078 if test -n "$compiler"; then
9080 lt_prog_compiler_no_builtin_flag=
9082 if test yes = "$GCC"; then
9083 case $cc_basename in
9085 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9087 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9091 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9092 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9093 $as_echo_n "(cached
) " >&6
9095 lt_cv_prog_compiler_rtti_exceptions=no
9096 ac_outfile=conftest.$ac_objext
9097 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9098 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9099 # Insert the option either (1) after the last *FLAGS variable, or
9100 # (2) before a word containing "conftest.
", or (3) at the end.
9101 # Note that $ac_compile itself does not contain backslashes and begins
9102 # with a dollar sign (not a hyphen), so the echo should work correctly.
9103 # The option is referenced via a variable to avoid confusing sed.
9104 lt_compile=`echo "$ac_compile" | $SED \
9105 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9106 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9107 -e 's:$: $lt_compiler_flag:'`
9108 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9109 (eval "$lt_compile" 2>conftest.err)
9111 cat conftest.err >&5
9112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9113 if (exit $ac_status) && test -s "$ac_outfile"; then
9114 # The compiler can only warn and ignore the option if not recognized
9115 # So say no if there are warnings other than the usual output.
9116 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9117 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9118 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9119 lt_cv_prog_compiler_rtti_exceptions=yes
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9126 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9128 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9129 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9141 lt_prog_compiler_wl=
9142 lt_prog_compiler_pic=
9143 lt_prog_compiler_static=
9146 if test yes = "$GCC"; then
9147 lt_prog_compiler_wl='-Wl,'
9148 lt_prog_compiler_static='-static'
9152 # All AIX code is PIC.
9153 if test ia64 = "$host_cpu"; then
9154 # AIX 5 now supports IA64 processor
9155 lt_prog_compiler_static='-Bstatic'
9157 lt_prog_compiler_pic='-fPIC'
9163 # see comment about AmigaOS4 .so support
9164 lt_prog_compiler_pic='-fPIC'
9167 # FIXME: we need at least 68020 code to build shared libraries, but
9168 # adding the '-m68020' flag to GCC prevents building anything better,
9170 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9175 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9176 # PIC is the default for these OSes.
9179 mingw* | cygwin* | pw32* | os2* | cegcc*)
9180 # This hack is so that the source file can tell whether it is being
9181 # built for inclusion in a dll (and should export symbols for example).
9182 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9183 # (--disable-auto-import) libraries
9184 lt_prog_compiler_pic='-DDLL_EXPORT'
9187 lt_prog_compiler_static='$wl-static'
9192 darwin* | rhapsody*)
9193 # PIC is the default on this platform
9194 # Common symbols not allowed in MH_DYLIB files
9195 lt_prog_compiler_pic='-fno-common'
9199 # PIC is the default for Haiku.
9200 # The "-static" flag exists, but is broken.
9201 lt_prog_compiler_static=
9205 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9206 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9207 # sets the default TLS model and affects inlining.
9213 lt_prog_compiler_pic='-fPIC'
9219 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9220 # Instead, we relocate shared libraries at runtime.
9224 # Just because we use GCC doesn't mean we suddenly get shared libraries
9225 # on systems that don't support them.
9226 lt_prog_compiler_can_build_shared=no
9231 # QNX uses GNU C++, but need to define -shared option too, otherwise
9233 lt_prog_compiler_pic='-fPIC -shared'
9237 if test -d /usr/nec; then
9238 lt_prog_compiler_pic=-Kconform_pic
9243 lt_prog_compiler_pic='-fPIC'
9247 case $cc_basename in
9248 nvcc*) # Cuda Compiler Driver 2.2
9249 lt_prog_compiler_wl='-Xlinker '
9250 if test -n "$lt_prog_compiler_pic"; then
9251 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9256 # PORTME Check for flag to pass linker flags through the system compiler.
9259 lt_prog_compiler_wl='-Wl,'
9260 if test ia64 = "$host_cpu"; then
9261 # AIX 5 now supports IA64 processor
9262 lt_prog_compiler_static='-Bstatic'
9264 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9268 darwin* | rhapsody*)
9269 # PIC is the default on this platform
9270 # Common symbols not allowed in MH_DYLIB files
9271 lt_prog_compiler_pic='-fno-common'
9272 case $cc_basename in
9274 # NAG Fortran compiler
9275 lt_prog_compiler_wl='-Wl,-Wl,,'
9276 lt_prog_compiler_pic='-PIC'
9277 lt_prog_compiler_static='-Bstatic'
9282 mingw* | cygwin* | pw32* | os2* | cegcc*)
9283 # This hack is so that the source file can tell whether it is being
9284 # built for inclusion in a dll (and should export symbols for example).
9285 lt_prog_compiler_pic='-DDLL_EXPORT'
9288 lt_prog_compiler_static='$wl-static'
9293 hpux9* | hpux10* | hpux11*)
9294 lt_prog_compiler_wl='-Wl,'
9295 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9302 lt_prog_compiler_pic='+Z'
9305 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9306 lt_prog_compiler_static='$wl-a ${wl}archive'
9309 irix5* | irix6* | nonstopux*)
9310 lt_prog_compiler_wl='-Wl,'
9311 # PIC (with -KPIC) is the default.
9312 lt_prog_compiler_static='-non_shared'
9315 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9316 case $cc_basename in
9317 # old Intel for x86_64, which still supported -KPIC.
9319 lt_prog_compiler_wl='-Wl,'
9320 lt_prog_compiler_pic='-KPIC'
9321 lt_prog_compiler_static='-static'
9323 # icc used to be incompatible with GCC.
9324 # ICC 10 doesn't accept -KPIC any more.
9326 lt_prog_compiler_wl='-Wl,'
9327 lt_prog_compiler_pic='-fPIC'
9328 lt_prog_compiler_static='-static'
9330 # Lahey Fortran 8.1.
9332 lt_prog_compiler_wl='-Wl,'
9333 lt_prog_compiler_pic='--shared'
9334 lt_prog_compiler_static='--static'
9337 # NAG Fortran compiler
9338 lt_prog_compiler_wl='-Wl,-Wl,,'
9339 lt_prog_compiler_pic='-PIC'
9340 lt_prog_compiler_static='-Bstatic'
9343 # Fabrice Bellard et al's Tiny C Compiler
9344 lt_prog_compiler_wl='-Wl,'
9345 lt_prog_compiler_pic='-fPIC'
9346 lt_prog_compiler_static='-static'
9348 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9349 # Portland Group compilers (*not* the Pentium gcc compiler,
9350 # which looks to be a dead project)
9351 lt_prog_compiler_wl='-Wl,'
9352 lt_prog_compiler_pic='-fpic'
9353 lt_prog_compiler_static='-Bstatic'
9356 lt_prog_compiler_wl='-Wl,'
9357 # All Alpha code is PIC.
9358 lt_prog_compiler_static='-non_shared'
9360 xl* | bgxl* | bgf* | mpixl*)
9361 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9362 lt_prog_compiler_wl='-Wl,'
9363 lt_prog_compiler_pic='-qpic'
9364 lt_prog_compiler_static='-qstaticlink'
9367 case `$CC -V 2>&1 | sed 5q` in
9368 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9369 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9370 lt_prog_compiler_pic='-KPIC'
9371 lt_prog_compiler_static='-Bstatic'
9372 lt_prog_compiler_wl=''
9374 *Sun\ F* | *Sun*Fortran*)
9375 lt_prog_compiler_pic='-KPIC'
9376 lt_prog_compiler_static='-Bstatic'
9377 lt_prog_compiler_wl='-Qoption ld '
9381 lt_prog_compiler_pic='-KPIC'
9382 lt_prog_compiler_static='-Bstatic'
9383 lt_prog_compiler_wl='-Wl,'
9385 *Intel*\ [CF]*Compiler*)
9386 lt_prog_compiler_wl='-Wl,'
9387 lt_prog_compiler_pic='-fPIC'
9388 lt_prog_compiler_static='-static'
9391 lt_prog_compiler_wl='-Wl,'
9392 lt_prog_compiler_pic='-fpic'
9393 lt_prog_compiler_static='-Bstatic'
9401 lt_prog_compiler_pic='-KPIC'
9402 lt_prog_compiler_static='-Bstatic'
9406 # QNX uses GNU C++, but need to define -shared option too, otherwise
9408 lt_prog_compiler_pic='-fPIC -shared'
9411 osf3* | osf4* | osf5*)
9412 lt_prog_compiler_wl='-Wl,'
9413 # All OSF/1 code is PIC.
9414 lt_prog_compiler_static='-non_shared'
9418 lt_prog_compiler_static='-non_shared'
9422 lt_prog_compiler_pic='-KPIC'
9423 lt_prog_compiler_static='-Bstatic'
9424 case $cc_basename in
9425 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9426 lt_prog_compiler_wl='-Qoption ld ';;
9428 lt_prog_compiler_wl='-Wl,';;
9433 lt_prog_compiler_wl='-Qoption ld '
9434 lt_prog_compiler_pic='-PIC'
9435 lt_prog_compiler_static='-Bstatic'
9438 sysv4 | sysv4.2uw2* | sysv4.3*)
9439 lt_prog_compiler_wl='-Wl,'
9440 lt_prog_compiler_pic='-KPIC'
9441 lt_prog_compiler_static='-Bstatic'
9445 if test -d /usr/nec; then
9446 lt_prog_compiler_pic='-Kconform_pic'
9447 lt_prog_compiler_static='-Bstatic'
9451 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9452 lt_prog_compiler_wl='-Wl,'
9453 lt_prog_compiler_pic='-KPIC'
9454 lt_prog_compiler_static='-Bstatic'
9458 lt_prog_compiler_wl='-Wl,'
9459 lt_prog_compiler_can_build_shared=no
9463 lt_prog_compiler_pic='-pic'
9464 lt_prog_compiler_static='-Bstatic'
9468 lt_prog_compiler_can_build_shared=no
9474 # For platforms that do not support PIC, -DPIC is meaningless:
9476 lt_prog_compiler_pic=
9479 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9484 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9485 if ${lt_cv_prog_compiler_pic+:} false; then :
9486 $as_echo_n "(cached
) " >&6
9488 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
9491 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9492 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9495 # Check to make sure the PIC flag actually works.
9497 if test -n "$lt_prog_compiler_pic"; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9499 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9500 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9501 $as_echo_n "(cached
) " >&6
9503 lt_cv_prog_compiler_pic_works=no
9504 ac_outfile=conftest.$ac_objext
9505 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9506 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9507 # Insert the option either (1) after the last *FLAGS variable, or
9508 # (2) before a word containing "conftest.
", or (3) at the end.
9509 # Note that $ac_compile itself does not contain backslashes and begins
9510 # with a dollar sign (not a hyphen), so the echo should work correctly.
9511 # The option is referenced via a variable to avoid confusing sed.
9512 lt_compile=`echo "$ac_compile" | $SED \
9513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9515 -e 's:$: $lt_compiler_flag:'`
9516 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9517 (eval "$lt_compile" 2>conftest.err)
9519 cat conftest.err >&5
9520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9521 if (exit $ac_status) && test -s "$ac_outfile"; then
9522 # The compiler can only warn and ignore the option if not recognized
9523 # So say no if there are warnings other than the usual output.
9524 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9525 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9526 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9527 lt_cv_prog_compiler_pic_works=yes
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9534 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9536 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9537 case $lt_prog_compiler_pic in
9539 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9542 lt_prog_compiler_pic=
9543 lt_prog_compiler_can_build_shared=no
9559 # Check to make sure the static flag actually works.
9561 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9563 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9564 if ${lt_cv_prog_compiler_static_works+:} false; then :
9565 $as_echo_n "(cached
) " >&6
9567 lt_cv_prog_compiler_static_works=no
9568 save_LDFLAGS=$LDFLAGS
9569 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9570 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9571 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9572 # The linker can only warn and ignore the option if not recognized
9573 # So say no if there are warnings
9574 if test -s conftest.err; then
9575 # Append any errors to the config.log.
9576 cat conftest.err 1>&5
9577 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9578 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9579 if diff conftest.exp conftest.er2 >/dev/null; then
9580 lt_cv_prog_compiler_static_works=yes
9583 lt_cv_prog_compiler_static_works=yes
9587 LDFLAGS=$save_LDFLAGS
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9591 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9593 if test yes = "$lt_cv_prog_compiler_static_works"; then
9596 lt_prog_compiler_static=
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9606 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9607 if ${lt_cv_prog_compiler_c_o+:} false; then :
9608 $as_echo_n "(cached
) " >&6
9610 lt_cv_prog_compiler_c_o=no
9611 $RM -r conftest 2>/dev/null
9615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9617 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9618 # Insert the option either (1) after the last *FLAGS variable, or
9619 # (2) before a word containing "conftest.
", or (3) at the end.
9620 # Note that $ac_compile itself does not contain backslashes and begins
9621 # with a dollar sign (not a hyphen), so the echo should work correctly.
9622 lt_compile=`echo "$ac_compile" | $SED \
9623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9625 -e 's:$: $lt_compiler_flag:'`
9626 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9627 (eval "$lt_compile" 2>out/conftest.err)
9629 cat out/conftest.err >&5
9630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9633 # The compiler can only warn and ignore the option if not recognized
9634 # So say no if there are warnings
9635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9636 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9637 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9638 lt_cv_prog_compiler_c_o=yes
9643 # SGI C++ compiler will create directory out/ii_files/ for
9644 # template instantiation
9645 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9646 $RM out/* && rmdir out
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9653 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9661 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9662 if ${lt_cv_prog_compiler_c_o+:} false; then :
9663 $as_echo_n "(cached
) " >&6
9665 lt_cv_prog_compiler_c_o=no
9666 $RM -r conftest 2>/dev/null
9670 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9672 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9673 # Insert the option either (1) after the last *FLAGS variable, or
9674 # (2) before a word containing "conftest.
", or (3) at the end.
9675 # Note that $ac_compile itself does not contain backslashes and begins
9676 # with a dollar sign (not a hyphen), so the echo should work correctly.
9677 lt_compile=`echo "$ac_compile" | $SED \
9678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9680 -e 's:$: $lt_compiler_flag:'`
9681 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9682 (eval "$lt_compile" 2>out/conftest.err)
9684 cat out/conftest.err >&5
9685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9686 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9688 # The compiler can only warn and ignore the option if not recognized
9689 # So say no if there are warnings
9690 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9691 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9692 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9693 lt_cv_prog_compiler_c_o=yes
9698 # SGI C++ compiler will create directory out/ii_files/ for
9699 # template instantiation
9700 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9701 $RM out/* && rmdir out
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9708 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9713 hard_links=nottested
9714 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9715 # do not overwrite the value of need_locks provided by the user
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9717 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9720 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9722 ln conftest.a conftest.b 2>&5 || hard_links=no
9723 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9725 $as_echo "$hard_links" >&6; }
9726 if test no = "$hard_links"; then
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: '$CC' does not support
'-c -o', so
'make -j' may be unsafe
" >&5
9728 $as_echo "$as_me: WARNING
: '$CC' does not support
'-c -o', so
'make -j' may be unsafe
" >&2;}
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9741 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9744 allow_undefined_flag=
9745 always_export_symbols=no
9747 archive_expsym_cmds=
9748 compiler_needs_object=no
9749 enable_shared_with_static_runtimes=no
9750 export_dynamic_flag_spec=
9751 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9752 hardcode_automatic=no
9754 hardcode_direct_absolute=no
9755 hardcode_libdir_flag_spec=
9756 hardcode_libdir_separator=
9758 hardcode_shlibpath_var=unsupported
9760 link_all_deplibs=unknown
9763 old_archive_from_new_cmds=
9764 old_archive_from_expsyms_cmds=
9765 thread_safe_flag_spec=
9766 whole_archive_flag_spec=
9767 # include_expsyms should be a list of space-separated symbols to be *always*
9768 # included in the symbol list
9770 # exclude_expsyms can be an extended regexp of symbols to exclude
9771 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9772 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9773 # as well as any symbol that contains 'd'.
9774 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9775 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9776 # platforms (ab)use it in PIC code, but their linkers get confused if
9777 # the symbol is explicitly referenced. Since portable code cannot
9778 # rely on this symbol name, it's probably fine to never include it in
9779 # preloaded symbol tables.
9780 # Exclude shared library initialization/finalization symbols.
9781 extract_expsyms_cmds=
9784 cygwin* | mingw* | pw32* | cegcc*)
9785 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9786 # When not using gcc, we currently assume that we are using
9787 # Microsoft Visual C++.
9788 if test yes != "$GCC"; then
9793 # we just hope/assume this is gcc and not c89 (= MSVC++)
9803 # On some targets, GNU ld is compatible enough with the native linker
9804 # that we're better off using the native interface for both.
9805 lt_use_gnu_ld_interface=no
9806 if test yes = "$with_gnu_ld"; then
9809 # The AIX port of GNU ld has always aspired to compatibility
9810 # with the native linker. However, as the warning in the GNU ld
9811 # block says, versions before 2.19.5* couldn't really create working
9812 # shared libraries, regardless of the interface used.
9813 case `$LD -v 2>&1` in
9814 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9815 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9816 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9818 lt_use_gnu_ld_interface=yes
9823 lt_use_gnu_ld_interface=yes
9828 if test yes = "$lt_use_gnu_ld_interface"; then
9829 # If archive_cmds runs LD, not CC, wlarc should be empty
9832 # Set some defaults for GNU ld with shared library support. These
9833 # are reset later if shared libraries are not supported. Putting them
9834 # here allows them to be overridden if necessary.
9835 runpath_var=LD_RUN_PATH
9836 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9837 export_dynamic_flag_spec='$wl--export-dynamic'
9838 # ancient GNU ld didn't support --whole-archive et. al.
9839 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9840 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9842 whole_archive_flag_spec=
9844 supports_anon_versioning=no
9845 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9846 *GNU\ gold*) supports_anon_versioning=yes ;;
9847 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9848 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9849 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9850 *\ 2.11.*) ;; # other 2.11 versions
9851 *) supports_anon_versioning=yes ;;
9854 # See if GNU ld supports shared libraries.
9857 # On AIX/PPC, the GNU linker is very broken
9858 if test ia64 != "$host_cpu"; then
9862 *** Warning: the GNU linker, at least up to release 2.19, is reported
9863 *** to be unable to reliably create shared libraries on AIX.
9864 *** Therefore, libtool is disabling shared libraries support. If you
9865 *** really care for shared libraries, you may want to install binutils
9866 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9867 *** You will then need to restart the configuration process.
9876 # see comment about AmigaOS4 .so support
9877 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9878 archive_expsym_cmds=''
9881 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)'
9882 hardcode_libdir_flag_spec
='-L$libdir'
9883 hardcode_minus_L
=yes
9889 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9890 allow_undefined_flag
=unsupported
9891 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9892 # support --undefined. This deserves some investigation. FIXME
9893 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9899 cygwin
* | mingw
* | pw32
* | cegcc
*)
9900 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9901 # as there is no search path for DLLs.
9902 hardcode_libdir_flag_spec
='-L$libdir'
9903 export_dynamic_flag_spec
='$wl--export-all-symbols'
9904 allow_undefined_flag
=unsupported
9905 always_export_symbols
=no
9906 enable_shared_with_static_runtimes
=yes
9907 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'
9908 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9910 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9911 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9912 # If the export-symbols file already is a .def file, use it as
9913 # is; otherwise, prepend EXPORTS...
9914 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9915 cp $export_symbols $output_objdir/$soname.def;
9917 echo EXPORTS > $output_objdir/$soname.def;
9918 cat $export_symbols >> $output_objdir/$soname.def;
9920 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9927 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9928 link_all_deplibs
=yes
9932 hardcode_libdir_flag_spec
='-L$libdir'
9933 hardcode_minus_L
=yes
9934 allow_undefined_flag
=unsupported
9936 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9937 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9938 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9939 $ECHO EXPORTS >> $output_objdir/$libname.def~
9940 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9941 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9942 emximp -o $lib $output_objdir/$libname.def'
9943 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9944 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9945 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9946 $ECHO EXPORTS >> $output_objdir/$libname.def~
9948 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9949 prefix_cmds="$prefix_cmds -e 1d";
9951 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9952 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9953 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9954 emximp -o $lib $output_objdir/$libname.def'
9955 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9956 enable_shared_with_static_runtimes
=yes
9961 hardcode_shlibpath_var
=no
9962 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9963 export_dynamic_flag_spec
='$wl-E'
9964 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9965 # Instead, shared libraries are loaded at an image base (0x10000000 by
9966 # default) and relocated if they conflict, which is a slow very memory
9967 # consuming and fragmenting process. To avoid this, we pick a random,
9968 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9969 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9970 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9971 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'
9974 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9976 if test linux-dietlibc
= "$host_os"; then
9977 case $cc_basename in
9978 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9981 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9982 && test no
= "$tmp_diet"
9984 tmp_addflag
=' $pic_flag'
9985 tmp_sharedflag
='-shared'
9986 case $cc_basename,$host_cpu in
9987 pgcc
*) # Portland Group C compiler
9988 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'
9989 tmp_addflag
=' $pic_flag'
9991 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9992 # Portland Group f77 and f90 compilers
9993 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'
9994 tmp_addflag
=' $pic_flag -Mnomain' ;;
9995 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9996 tmp_addflag
=' -i_dynamic' ;;
9997 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9998 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9999 ifc
* | ifort
*) # Intel Fortran compiler
10000 tmp_addflag
=' -nofor_main' ;;
10001 lf95
*) # Lahey Fortran 8.1
10002 whole_archive_flag_spec
=
10003 tmp_sharedflag
='--shared' ;;
10004 nagfor
*) # NAGFOR 5.3
10005 tmp_sharedflag
='-Wl,-shared' ;;
10006 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10007 tmp_sharedflag
='-qmkshrobj'
10009 nvcc
*) # Cuda Compiler Driver 2.2
10010 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'
10011 compiler_needs_object
=yes
10014 case `$CC -V 2>&1 | sed 5q` in
10015 *Sun\ C
*) # Sun C 5.9
10016 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'
10017 compiler_needs_object
=yes
10018 tmp_sharedflag
='-G' ;;
10019 *Sun\ F
*) # Sun Fortran 8.3
10020 tmp_sharedflag
='-G' ;;
10022 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10024 if test yes = "$supports_anon_versioning"; then
10025 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10026 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10027 echo "local: *; };" >> $output_objdir/$libname.ver~
10028 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10031 case $cc_basename in
10033 export_dynamic_flag_spec
='-rdynamic'
10035 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10036 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10037 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10038 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10039 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10040 if test yes = "$supports_anon_versioning"; then
10041 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10042 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10043 echo "local: *; };" >> $output_objdir/$libname.ver~
10044 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10054 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10055 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10058 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10059 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10064 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10068 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10069 *** create shared libraries on Solaris systems. Therefore, libtool
10070 *** is disabling shared libraries support. We urge you to upgrade GNU
10071 *** binutils to release 2.9.1 or newer. Another option is to modify
10072 *** your PATH or compiler configuration so that the native linker is
10073 *** used, and then restart.
10076 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10077 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10078 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10084 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10085 case `$LD -v 2>&1` in
10086 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10090 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10091 *** reliably create shared libraries on SCO systems. Therefore, libtool
10092 *** is disabling shared libraries support. We urge you to upgrade GNU
10093 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10094 *** your PATH or compiler configuration so that the native linker is
10095 *** used, and then restart.
10100 # For security reasons, it is highly recommended that you always
10101 # use absolute paths for naming shared libraries, and exclude the
10102 # DT_RUNPATH tag from executables and libraries. But doing so
10103 # requires that you compile everything twice, which is a pain.
10104 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10105 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10106 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10107 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10116 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10118 hardcode_direct
=yes
10119 hardcode_shlibpath_var
=no
10123 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10124 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10125 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10132 if test no
= "$ld_shlibs"; then
10134 hardcode_libdir_flag_spec
=
10135 export_dynamic_flag_spec
=
10136 whole_archive_flag_spec
=
10139 # PORTME fill in a description of your system's linker (not GNU ld)
10142 allow_undefined_flag
=unsupported
10143 always_export_symbols
=yes
10144 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'
10145 # Note: this linker hardcodes the directories in LIBPATH if there
10146 # are no directories specified by -L.
10147 hardcode_minus_L
=yes
10148 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10149 # Neither direct hardcoding nor static linking is supported with a
10151 hardcode_direct
=unsupported
10156 if test ia64
= "$host_cpu"; then
10157 # On IA64, the linker does run time linking by default, so we don't
10158 # have to do anything special.
10159 aix_use_runtimelinking
=no
10160 exp_sym_flag
='-Bexport'
10163 # If we're using GNU nm, then we don't want the "-C" option.
10164 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10165 # Without the "-l" option, or with the "-B" option, AIX nm treats
10166 # weak defined symbols like other global defined symbols, whereas
10167 # GNU nm marks them as "W".
10168 # While the 'weak' keyword is ignored in the Export File, we need
10169 # it in the Import File for the 'aix-soname' feature, so we have
10170 # to replace the "-B" option with "-P" for AIX nm.
10171 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10172 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'
10174 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'
10176 aix_use_runtimelinking
=no
10178 # Test if we are trying to use run time linking or normal
10179 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10180 # have runtime linking enabled, and use it for executables.
10181 # For shared libraries, we enable/disable runtime linking
10182 # depending on the kind of the shared library created -
10183 # when "with_aix_soname,aix_use_runtimelinking" is:
10184 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10185 # "aix,yes" lib.so shared, rtl:yes, for executables
10186 # lib.a static archive
10187 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10188 # lib.a(lib.so.V) shared, rtl:no, for executables
10189 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10190 # lib.a(lib.so.V) shared, rtl:no
10191 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10192 # lib.a static archive
10193 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10194 for ld_flag
in $LDFLAGS; do
10195 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10196 aix_use_runtimelinking
=yes
10200 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10201 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10202 # so we don't have lib.a shared libs to link our executables.
10203 # We have to force runtime linking in this case.
10204 aix_use_runtimelinking
=yes
10205 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10210 exp_sym_flag
='-bexport'
10211 no_entry_flag
='-bnoentry'
10214 # When large executables or shared objects are built, AIX ld can
10215 # have problems creating the table of contents. If linking a library
10216 # or program results in "error TOC overflow" add -mminimal-toc to
10217 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10218 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10221 hardcode_direct
=yes
10222 hardcode_direct_absolute
=yes
10223 hardcode_libdir_separator
=':'
10224 link_all_deplibs
=yes
10225 file_list_spec
='$wl-f,'
10226 case $with_aix_soname,$aix_use_runtimelinking in
10227 aix
,*) ;; # traditional, no import file
10228 svr4
,* |
*,yes) # use import file
10229 # The Import File defines what to hardcode.
10231 hardcode_direct_absolute
=no
10235 if test yes = "$GCC"; then
10236 case $host_os in aix4.
[012]|aix4.
[012].
*)
10237 # We only want to do this on AIX 4.2 and lower, the check
10238 # below for broken collect2 doesn't work under 4.3+
10239 collect2name
=`$CC -print-prog-name=collect2`
10240 if test -f "$collect2name" &&
10241 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10243 # We have reworked collect2
10246 # We have old collect2
10247 hardcode_direct
=unsupported
10248 # It fails to find uninstalled libraries when the uninstalled
10249 # path is not listed in the libpath. Setting hardcode_minus_L
10250 # to unsupported forces relinking
10251 hardcode_minus_L
=yes
10252 hardcode_libdir_flag_spec
='-L$libdir'
10253 hardcode_libdir_separator
=
10257 shared_flag
='-shared'
10258 if test yes = "$aix_use_runtimelinking"; then
10259 shared_flag
="$shared_flag "'$wl-G'
10261 # Need to ensure runtime linking is disabled for the traditional
10262 # shared library, or the linker may eventually find shared libraries
10263 # /with/ Import File - we do not want to mix them.
10264 shared_flag_aix
='-shared'
10265 shared_flag_svr4
='-shared $wl-G'
10268 if test ia64
= "$host_cpu"; then
10269 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10270 # chokes on -Wl,-G. The following line is correct:
10273 if test yes = "$aix_use_runtimelinking"; then
10274 shared_flag
='$wl-G'
10276 shared_flag
='$wl-bM:SRE'
10278 shared_flag_aix
='$wl-bM:SRE'
10279 shared_flag_svr4
='$wl-G'
10283 export_dynamic_flag_spec
='$wl-bexpall'
10284 # It seems that -bexpall does not export symbols beginning with
10285 # underscore (_), so it is better to generate a list of symbols to export.
10286 always_export_symbols
=yes
10287 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10288 # Warning - without using the other runtime loading flags (-brtl),
10289 # -berok will link without error, but may produce a broken library.
10290 allow_undefined_flag
='-berok'
10291 # Determine the default libpath from the value encoded in an
10292 # empty executable.
10293 if test set = "${lt_cv_aix_libpath+set}"; then
10294 aix_libpath
=$lt_cv_aix_libpath
10296 if ${lt_cv_aix_libpath_+:} false
; then :
10297 $as_echo_n "(cached) " >&6
10299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10310 if ac_fn_c_try_link
"$LINENO"; then :
10312 lt_aix_libpath_sed
='
10313 /Import File Strings/,/^$/ {
10315 s/^0 *\([^ ]*\) *$/\1/
10319 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10320 # Check for a 64-bit object if we didn't find anything.
10321 if test -z "$lt_cv_aix_libpath_"; then
10322 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10325 rm -f core conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 if test -z "$lt_cv_aix_libpath_"; then
10328 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10333 aix_libpath
=$lt_cv_aix_libpath_
10336 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10337 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
10339 if test ia64
= "$host_cpu"; then
10340 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10341 allow_undefined_flag
="-z nodefs"
10342 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"
10344 # Determine the default libpath from the value encoded in an
10345 # empty executable.
10346 if test set = "${lt_cv_aix_libpath+set}"; then
10347 aix_libpath
=$lt_cv_aix_libpath
10349 if ${lt_cv_aix_libpath_+:} false
; then :
10350 $as_echo_n "(cached) " >&6
10352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10363 if ac_fn_c_try_link
"$LINENO"; then :
10365 lt_aix_libpath_sed
='
10366 /Import File Strings/,/^$/ {
10368 s/^0 *\([^ ]*\) *$/\1/
10372 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10373 # Check for a 64-bit object if we didn't find anything.
10374 if test -z "$lt_cv_aix_libpath_"; then
10375 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10378 rm -f core conftest.err conftest.
$ac_objext \
10379 conftest
$ac_exeext conftest.
$ac_ext
10380 if test -z "$lt_cv_aix_libpath_"; then
10381 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10386 aix_libpath
=$lt_cv_aix_libpath_
10389 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10390 # Warning - without using the other run time loading flags,
10391 # -berok will link without error, but may produce a broken library.
10392 no_undefined_flag
=' $wl-bernotok'
10393 allow_undefined_flag
=' $wl-berok'
10394 if test yes = "$with_gnu_ld"; then
10395 # We only use this code for GNU lds that support --whole-archive.
10396 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10398 # Exported symbols can be pulled into shared objects from archives
10399 whole_archive_flag_spec
='$convenience'
10401 archive_cmds_need_lc
=yes
10402 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10403 # -brtl affects multiple linker settings, -berok does not and is overridden later
10404 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10405 if test svr4
!= "$with_aix_soname"; then
10406 # This is similar to how AIX traditionally builds its shared libraries.
10407 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'
10409 if test aix
!= "$with_aix_soname"; then
10410 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'
10412 # used by -dlpreopen to get the symbols
10413 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10415 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10423 # see comment about AmigaOS4 .so support
10424 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10425 archive_expsym_cmds
=''
10428 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)'
10429 hardcode_libdir_flag_spec
='-L$libdir'
10430 hardcode_minus_L
=yes
10436 export_dynamic_flag_spec
=-rdynamic
10439 cygwin
* | mingw
* | pw32
* | cegcc
*)
10440 # When not using gcc, we currently assume that we are using
10441 # Microsoft Visual C++.
10442 # hardcode_libdir_flag_spec is actually meaningless, as there is
10443 # no search path for DLLs.
10444 case $cc_basename in
10447 hardcode_libdir_flag_spec
=' '
10448 allow_undefined_flag
=unsupported
10449 always_export_symbols
=yes
10451 # Tell ltmain to make .lib files, not .a files.
10453 # Tell ltmain to make .dll files, not .so files.
10455 # FIXME: Setting linknames here is a bad hack.
10456 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10457 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10458 cp "$export_symbols" "$output_objdir/$soname.def";
10459 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10461 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10463 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10465 # The linker will not automatically build a static lib if we build a DLL.
10466 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10467 enable_shared_with_static_runtimes
=yes
10468 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10469 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10471 old_postinstall_cmds
='chmod 644 $oldlib'
10472 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10473 lt_tool_outputfile="@TOOL_OUTPUT@"~
10474 case $lt_outputfile in
10477 lt_outputfile=$lt_outputfile.exe
10478 lt_tool_outputfile=$lt_tool_outputfile.exe
10481 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10482 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10483 $RM "$lt_outputfile.manifest";
10487 # Assume MSVC wrapper
10488 hardcode_libdir_flag_spec
=' '
10489 allow_undefined_flag
=unsupported
10490 # Tell ltmain to make .lib files, not .a files.
10492 # Tell ltmain to make .dll files, not .so files.
10494 # FIXME: Setting linknames here is a bad hack.
10495 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10496 # The linker will automatically build a .lib file if we build a DLL.
10497 old_archive_from_new_cmds
='true'
10498 # FIXME: Should let the user specify the lib program.
10499 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10500 enable_shared_with_static_runtimes
=yes
10505 darwin
* | rhapsody
*)
10508 archive_cmds_need_lc
=no
10510 hardcode_automatic
=yes
10511 hardcode_shlibpath_var
=unsupported
10512 if test yes = "$lt_cv_ld_force_load"; then
10513 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\"`'
10516 whole_archive_flag_spec
=''
10518 link_all_deplibs
=yes
10519 allow_undefined_flag
=$_lt_dar_allow_undefined
10520 case $cc_basename in
10521 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10522 *) _lt_dar_can_shared
=$GCC ;;
10524 if test yes = "$_lt_dar_can_shared"; then
10525 output_verbose_link_cmd
=func_echo_all
10526 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10527 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10528 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"
10529 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"
10538 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10539 hardcode_libdir_flag_spec
='-L$libdir'
10540 hardcode_shlibpath_var
=no
10543 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10544 # support. Future versions do this automatically, but an explicit c++rt0.o
10545 # does not break anything, and helps significantly (at the cost of a little
10548 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10549 hardcode_libdir_flag_spec
='-R$libdir'
10550 hardcode_direct
=yes
10551 hardcode_shlibpath_var
=no
10554 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10556 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10557 hardcode_direct
=yes
10558 hardcode_minus_L
=yes
10559 hardcode_shlibpath_var
=no
10562 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10563 freebsd
* | dragonfly
*)
10564 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10565 hardcode_libdir_flag_spec
='-R$libdir'
10566 hardcode_direct
=yes
10567 hardcode_shlibpath_var
=no
10571 if test yes = "$GCC"; then
10572 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'
10574 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'
10576 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10577 hardcode_libdir_separator
=:
10578 hardcode_direct
=yes
10580 # hardcode_minus_L: Not really in the search PATH,
10581 # but as the default location of the library.
10582 hardcode_minus_L
=yes
10583 export_dynamic_flag_spec
='$wl-E'
10587 if test yes,no
= "$GCC,$with_gnu_ld"; then
10588 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10590 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10592 if test no
= "$with_gnu_ld"; then
10593 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10594 hardcode_libdir_separator
=:
10595 hardcode_direct
=yes
10596 hardcode_direct_absolute
=yes
10597 export_dynamic_flag_spec
='$wl-E'
10598 # hardcode_minus_L: Not really in the search PATH,
10599 # but as the default location of the library.
10600 hardcode_minus_L
=yes
10605 if test yes,no
= "$GCC,$with_gnu_ld"; then
10608 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10611 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10627 # Older versions of the 11.00 compiler do not understand -b yet
10628 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10630 $as_echo_n "checking if $CC understands -b... " >&6; }
10631 if ${lt_cv_prog_compiler__b+:} false
; then :
10632 $as_echo_n "(cached) " >&6
10634 lt_cv_prog_compiler__b
=no
10635 save_LDFLAGS
=$LDFLAGS
10636 LDFLAGS
="$LDFLAGS -b"
10637 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10639 # The linker can only warn and ignore the option if not recognized
10640 # So say no if there are warnings
10641 if test -s conftest.err
; then
10642 # Append any errors to the config.log.
10643 cat conftest.err
1>&5
10644 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10646 if diff conftest.exp conftest.er2
>/dev
/null
; then
10647 lt_cv_prog_compiler__b
=yes
10650 lt_cv_prog_compiler__b
=yes
10654 LDFLAGS
=$save_LDFLAGS
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10658 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10660 if test yes = "$lt_cv_prog_compiler__b"; then
10661 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10663 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10669 if test no
= "$with_gnu_ld"; then
10670 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10671 hardcode_libdir_separator
=:
10676 hardcode_shlibpath_var
=no
10679 hardcode_direct
=yes
10680 hardcode_direct_absolute
=yes
10681 export_dynamic_flag_spec
='$wl-E'
10683 # hardcode_minus_L: Not really in the search PATH,
10684 # but as the default location of the library.
10685 hardcode_minus_L
=yes
10691 irix5
* | irix6
* | nonstopux
*)
10692 if test yes = "$GCC"; then
10693 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'
10694 # Try to use the -exported_symbol ld option, if it does not
10695 # work, assume that -exports_file does not work either and
10696 # implicitly export all symbols.
10697 # This should be the same for all languages, so no per-tag cache variable.
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10699 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10700 if ${lt_cv_irix_exported_symbol+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 save_LDFLAGS
=$LDFLAGS
10704 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int foo (void) { return 0; }
10709 if ac_fn_c_try_link
"$LINENO"; then :
10710 lt_cv_irix_exported_symbol
=yes
10712 lt_cv_irix_exported_symbol
=no
10714 rm -f core conftest.err conftest.
$ac_objext \
10715 conftest
$ac_exeext conftest.
$ac_ext
10716 LDFLAGS
=$save_LDFLAGS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10719 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10720 if test yes = "$lt_cv_irix_exported_symbol"; then
10721 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'
10724 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'
10725 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'
10727 archive_cmds_need_lc
='no'
10728 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10729 hardcode_libdir_separator
=:
10731 link_all_deplibs
=yes
10735 case $cc_basename in
10737 # Fabrice Bellard et al's Tiny C Compiler
10739 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10745 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10746 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10748 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10750 hardcode_libdir_flag_spec
='-R$libdir'
10751 hardcode_direct
=yes
10752 hardcode_shlibpath_var
=no
10756 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_direct
=yes
10758 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10759 hardcode_libdir_separator
=:
10760 hardcode_shlibpath_var
=no
10766 openbsd
* | bitrig
*)
10767 if test -f /usr
/libexec
/ld.so
; then
10768 hardcode_direct
=yes
10769 hardcode_shlibpath_var
=no
10770 hardcode_direct_absolute
=yes
10771 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10772 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10773 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10774 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10775 export_dynamic_flag_spec
='$wl-E'
10777 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10778 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10786 hardcode_libdir_flag_spec
='-L$libdir'
10787 hardcode_minus_L
=yes
10788 allow_undefined_flag
=unsupported
10790 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10791 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10792 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10793 $ECHO EXPORTS >> $output_objdir/$libname.def~
10794 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10795 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10796 emximp -o $lib $output_objdir/$libname.def'
10797 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10798 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10799 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10800 $ECHO EXPORTS >> $output_objdir/$libname.def~
10801 prefix_cmds="$SED"~
10802 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10803 prefix_cmds="$prefix_cmds -e 1d";
10805 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10806 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10807 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10808 emximp -o $lib $output_objdir/$libname.def'
10809 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10810 enable_shared_with_static_runtimes
=yes
10814 if test yes = "$GCC"; then
10815 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10816 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'
10818 allow_undefined_flag
=' -expect_unresolved \*'
10819 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'
10821 archive_cmds_need_lc
='no'
10822 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10823 hardcode_libdir_separator
=:
10826 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10827 if test yes = "$GCC"; then
10828 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10829 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'
10830 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10832 allow_undefined_flag
=' -expect_unresolved \*'
10833 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'
10834 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~
10835 $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'
10837 # Both c and cxx compiler support -rpath directly
10838 hardcode_libdir_flag_spec
='-rpath $libdir'
10840 archive_cmds_need_lc
='no'
10841 hardcode_libdir_separator
=:
10845 no_undefined_flag
=' -z defs'
10846 if test yes = "$GCC"; then
10848 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10849 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10850 $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'
10852 case `$CC -V 2>&1` in
10855 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10856 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10857 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10861 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10862 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10863 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10867 hardcode_libdir_flag_spec
='-R$libdir'
10868 hardcode_shlibpath_var
=no
10870 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10872 # The compiler driver will combine and reorder linker options,
10873 # but understands '-z linker_flag'. GCC discards it without '$wl',
10874 # but is careful enough not to reorder.
10875 # Supported since Solaris 2.6 (maybe 2.5.1?)
10876 if test yes = "$GCC"; then
10877 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10879 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10883 link_all_deplibs
=yes
10887 if test sequent
= "$host_vendor"; then
10888 # Use $CC to link under sequent, because it throws in some extra .o
10889 # files that make .init and .fini sections work.
10890 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10892 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10894 hardcode_libdir_flag_spec
='-L$libdir'
10895 hardcode_direct
=yes
10896 hardcode_minus_L
=yes
10897 hardcode_shlibpath_var
=no
10901 case $host_vendor in
10903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_direct
=yes # is this really true???
10907 ## LD is ld it makes a PLAMLIB
10908 ## CC just makes a GrossModule.
10909 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10910 reload_cmds
='$CC -r -o $output$reload_objs'
10914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10915 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10918 runpath_var
='LD_RUN_PATH'
10919 hardcode_shlibpath_var
=no
10923 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10924 hardcode_shlibpath_var
=no
10925 export_dynamic_flag_spec
='-Bexport'
10929 if test -d /usr
/nec
; then
10930 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10931 hardcode_shlibpath_var
=no
10932 runpath_var
=LD_RUN_PATH
10933 hardcode_runpath_var
=yes
10938 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10939 no_undefined_flag
='$wl-z,text'
10940 archive_cmds_need_lc
=no
10941 hardcode_shlibpath_var
=no
10942 runpath_var
='LD_RUN_PATH'
10944 if test yes = "$GCC"; then
10945 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10946 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 sysv5
* | sco3.2v5
* | sco5v6
*)
10954 # Note: We CANNOT use -z defs as we might desire, because we do not
10955 # link with -lc, and that would cause any symbols used from libc to
10956 # always be unresolved, which means just about no library would
10957 # ever link correctly. If we're not using GNU ld we use -z text
10958 # though, which does catch some bad symbols but isn't as heavy-handed
10960 no_undefined_flag
='$wl-z,text'
10961 allow_undefined_flag
='$wl-z,nodefs'
10962 archive_cmds_need_lc
=no
10963 hardcode_shlibpath_var
=no
10964 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10965 hardcode_libdir_separator
=':'
10966 link_all_deplibs
=yes
10967 export_dynamic_flag_spec
='$wl-Bexport'
10968 runpath_var
='LD_RUN_PATH'
10970 if test yes = "$GCC"; then
10971 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10972 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10975 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10980 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10981 hardcode_libdir_flag_spec
='-L$libdir'
10982 hardcode_shlibpath_var
=no
10990 if test sni
= "$host_vendor"; then
10992 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10993 export_dynamic_flag_spec
='$wl-Blargedynsym'
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11000 $as_echo "$ld_shlibs" >&6; }
11001 test no
= "$ld_shlibs" && can_build_shared
=no
11003 with_gnu_ld
=$with_gnu_ld
11020 # Do we need to explicitly link libc?
11022 case "x$archive_cmds_need_lc" in
11024 # Assume -lc should be added
11025 archive_cmds_need_lc
=yes
11027 if test yes,yes = "$GCC,$enable_shared"; then
11028 case $archive_cmds in
11030 # FIXME: we may have to deal with multi-command sequences.
11033 # Test whether the compiler implicitly links with -lc since on some
11034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11035 # to ld, don't add -lc before -lgcc.
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11038 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11039 $as_echo_n "(cached) " >&6
11042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11045 (eval $ac_compile) 2>&5
11047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11048 test $ac_status = 0; } 2>conftest.err
; then
11051 libobjs
=conftest.
$ac_objext
11053 wl
=$lt_prog_compiler_wl
11054 pic_flag
=$lt_prog_compiler_pic
11060 lt_save_allow_undefined_flag
=$allow_undefined_flag
11061 allow_undefined_flag
=
11062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11063 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11066 test $ac_status = 0; }
11068 lt_cv_archive_cmds_need_lc
=no
11070 lt_cv_archive_cmds_need_lc
=yes
11072 allow_undefined_flag
=$lt_save_allow_undefined_flag
11074 cat conftest.err
1>&5
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11080 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11081 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11240 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11242 if test yes = "$GCC"; then
11244 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11245 *) lt_awk_arg
='/^libraries:/' ;;
11248 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11249 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11251 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11252 case $lt_search_path_spec in
11254 # if the path contains ";" then we assume it to be the separator
11255 # otherwise default to the standard path separator (i.e. ":") - it is
11256 # assumed that no part of a normal pathname contains ";" but that should
11257 # okay in the real world where ";" in dirpaths is itself problematic.
11258 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11261 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11264 # Ok, now we have the path, separated by spaces, we can step through it
11265 # and add multilib dir if necessary...
11266 lt_tmp_lt_search_path_spec
=
11267 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11268 # ...but if some path component already ends with the multilib dir we assume
11269 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11270 case "$lt_multi_os_dir; $lt_search_path_spec " in
11271 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11275 for lt_sys_path
in $lt_search_path_spec; do
11276 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11277 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11278 elif test -n "$lt_multi_os_dir"; then
11279 test -d "$lt_sys_path" && \
11280 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11283 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11284 BEGIN {RS = " "; FS = "/|\n";} {
11287 for (lt_i = NF; lt_i > 0; lt_i--) {
11288 if ($lt_i != "" && $lt_i != ".") {
11289 if ($lt_i == "..") {
11292 if (lt_count == 0) {
11293 lt_foo = "/" $lt_i lt_foo;
11300 if (lt_foo != "") { lt_freq[lt_foo]++; }
11301 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11303 # AWK program above erroneously prepends '/' to C:/dos/paths
11306 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11307 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11309 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11311 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11313 library_names_spec
=
11314 libname_spec
='lib$name'
11318 postuninstall_cmds
=
11322 shlibpath_overrides_runpath
=unknown
11324 dynamic_linker
="$host_os ld.so"
11325 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11326 need_lib_prefix
=unknown
11327 hardcode_into_libs
=no
11329 # when you set need_version to no, make sure it does not cause -set_version
11330 # flags to be left without arguments
11331 need_version
=unknown
11337 version_type
=linux
# correct to gnu/linux during the next big refactor
11338 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11339 shlibpath_var
=LIBPATH
11341 # AIX 3 has no versioning support, so we append a major version to the name.
11342 soname_spec
='$libname$release$shared_ext$major'
11346 version_type
=linux
# correct to gnu/linux during the next big refactor
11349 hardcode_into_libs
=yes
11350 if test ia64
= "$host_cpu"; then
11351 # AIX 5 supports IA64
11352 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11353 shlibpath_var
=LD_LIBRARY_PATH
11355 # With GCC up to 2.95.x, collect2 would create an import file
11356 # for dependence libraries. The import file would start with
11357 # the line '#! .'. This would cause the generated library to
11358 # depend on '.', always an invalid library. This was fixed in
11359 # development snapshots of GCC prior to 3.0.
11361 aix4 | aix4.
[01] | aix4.
[01].
*)
11362 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11364 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11367 can_build_shared
=no
11371 # Using Import Files as archive members, it is possible to support
11372 # filename-based versioning of shared library archives on AIX. While
11373 # this would work for both with and without runtime linking, it will
11374 # prevent static linking of such archives. So we do filename-based
11375 # shared library versioning with .so extension only, which is used
11376 # when both runtime linking and shared linking is enabled.
11377 # Unfortunately, runtime linking may impact performance, so we do
11378 # not want this to be the default eventually. Also, we use the
11379 # versioned .so libs for executables only if there is the -brtl
11380 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11381 # To allow for filename-based versioning support, we need to create
11382 # libNAME.so.V as an archive file, containing:
11383 # *) an Import File, referring to the versioned filename of the
11384 # archive as well as the shared archive member, telling the
11385 # bitwidth (32 or 64) of that shared object, and providing the
11386 # list of exported symbols of that shared object, eventually
11387 # decorated with the 'weak' keyword
11388 # *) the shared object with the F_LOADONLY flag set, to really avoid
11389 # it being seen by the linker.
11390 # At run time we better use the real file rather than another symlink,
11391 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11393 case $with_aix_soname,$aix_use_runtimelinking in
11394 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11395 # soname into executable. Probably we can add versioning support to
11396 # collect2, so additional links can be useful in future.
11397 aix
,yes) # traditional libtool
11398 dynamic_linker
='AIX unversionable lib.so'
11399 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11400 # instead of lib<name>.a to let people know that these are not
11401 # typical AIX shared libraries.
11402 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11404 aix
,no
) # traditional AIX only
11405 dynamic_linker
='AIX lib.a(lib.so.V)'
11406 # We preserve .a as extension for shared libraries through AIX4.2
11407 # and later when we are not doing run time linking.
11408 library_names_spec
='$libname$release.a $libname.a'
11409 soname_spec
='$libname$release$shared_ext$major'
11411 svr4
,*) # full svr4 only
11412 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11413 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11414 # We do not specify a path in Import Files, so LIBPATH fires.
11415 shlibpath_overrides_runpath
=yes
11417 *,yes) # both, prefer svr4
11418 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11419 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11420 # unpreferred sharedlib libNAME.a needs extra handling
11421 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"'
11422 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"'
11423 # We do not specify a path in Import Files, so LIBPATH fires.
11424 shlibpath_overrides_runpath
=yes
11426 *,no
) # both, prefer aix
11427 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11428 library_names_spec
='$libname$release.a $libname.a'
11429 soname_spec
='$libname$release$shared_ext$major'
11430 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11431 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)'
11432 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"'
11435 shlibpath_var
=LIBPATH
11442 # Since July 2007 AmigaOS4 officially supports .so libraries.
11443 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11444 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11447 library_names_spec
='$libname.ixlibrary $libname.a'
11448 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11449 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'
11455 library_names_spec
='$libname$shared_ext'
11456 dynamic_linker
="$host_os ld.so"
11457 shlibpath_var
=LIBRARY_PATH
11461 version_type
=linux
# correct to gnu/linux during the next big refactor
11463 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11464 soname_spec
='$libname$release$shared_ext$major'
11465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11466 shlibpath_var
=LD_LIBRARY_PATH
11467 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11468 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11469 # the default ld.so.conf also contains /usr/contrib/lib and
11470 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11471 # libtool to hard-code these into programs
11474 cygwin
* | mingw
* | pw32
* | cegcc
*)
11475 version_type
=windows
11480 case $GCC,$cc_basename in
11483 library_names_spec
='$libname.dll.a'
11484 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11485 postinstall_cmds
='base_file=`basename \$file`~
11486 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11487 dldir=$destdir/`dirname \$dlpath`~
11488 test -d \$dldir || mkdir -p \$dldir~
11489 $install_prog $dir/$dlname \$dldir/$dlname~
11490 chmod a+x \$dldir/$dlname~
11491 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11492 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11494 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11495 dlpath=$dir/\$dldll~
11497 shlibpath_overrides_runpath
=yes
11501 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11502 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11504 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11507 # MinGW DLLs use traditional 'lib' prefix
11508 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11511 # pw32 DLLs use 'pw' prefix rather than 'lib'
11512 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11515 dynamic_linker
='Win32 ld.exe'
11520 libname_spec
='$name'
11521 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11522 library_names_spec
='$libname.dll.lib'
11526 sys_lib_search_path_spec
=
11529 for lt_path
in $LIB
11532 # Let DOS variable expansion print the short 8.3 style file name.
11533 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11534 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11537 # Convert to MSYS style.
11538 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11541 # Convert to unix form, then to dos form, then back to unix form
11542 # but this time dos style (no spaces!) so that the unix form looks
11543 # like /cygdrive/c/PROGRA~1:/cygdr...
11544 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11545 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11546 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11549 sys_lib_search_path_spec
=$LIB
11550 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11551 # It is most probably a Windows format PATH.
11552 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11554 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11556 # FIXME: find the short name or the path components, as spaces are
11557 # common. (e.g. "Program Files" -> "PROGRA~1")
11561 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11562 postinstall_cmds
='base_file=`basename \$file`~
11563 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11564 dldir=$destdir/`dirname \$dlpath`~
11565 test -d \$dldir || mkdir -p \$dldir~
11566 $install_prog $dir/$dlname \$dldir/$dlname'
11567 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11568 dlpath=$dir/\$dldll~
11570 shlibpath_overrides_runpath
=yes
11571 dynamic_linker
='Win32 link.exe'
11575 # Assume MSVC wrapper
11576 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11577 dynamic_linker
='Win32 ld.exe'
11580 # FIXME: first we should search . and the directory the executable is in
11584 darwin
* | rhapsody
*)
11585 dynamic_linker
="$host_os dyld"
11586 version_type
=darwin
11589 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11590 soname_spec
='$libname$release$major$shared_ext'
11591 shlibpath_overrides_runpath
=yes
11592 shlibpath_var
=DYLD_LIBRARY_PATH
11593 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11595 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11596 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11600 version_type
=linux
# correct to gnu/linux during the next big refactor
11603 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11604 soname_spec
='$libname$release$shared_ext$major'
11605 shlibpath_var
=LD_LIBRARY_PATH
11608 freebsd
* | dragonfly
*)
11609 # DragonFly does not have aout. When/if they implement a new
11610 # versioning mechanism, adjust this.
11611 if test -x /usr
/bin
/objformat
; then
11612 objformat
=`/usr/bin/objformat`
11615 freebsd
[23].
*) objformat
=aout
;;
11616 *) objformat
=elf
;;
11619 version_type
=freebsd-
$objformat
11620 case $version_type in
11622 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11623 soname_spec
='$libname$release$shared_ext$major'
11628 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11632 shlibpath_var
=LD_LIBRARY_PATH
11635 shlibpath_overrides_runpath
=yes
11637 freebsd3.
[01]* | freebsdelf3.
[01]*)
11638 shlibpath_overrides_runpath
=yes
11639 hardcode_into_libs
=yes
11641 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11642 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11643 shlibpath_overrides_runpath
=no
11644 hardcode_into_libs
=yes
11646 *) # from 4.6 on, and DragonFly
11647 shlibpath_overrides_runpath
=yes
11648 hardcode_into_libs
=yes
11654 version_type
=linux
# correct to gnu/linux during the next big refactor
11657 dynamic_linker
="$host_os runtime_loader"
11658 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11659 soname_spec
='$libname$release$shared_ext$major'
11660 shlibpath_var
=LIBRARY_PATH
11661 shlibpath_overrides_runpath
=no
11662 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11663 hardcode_into_libs
=yes
11666 hpux9
* | hpux10
* | hpux11
*)
11667 # Give a soname corresponding to the major version so that dld.sl refuses to
11668 # link against other versions.
11675 hardcode_into_libs
=yes
11676 dynamic_linker
="$host_os dld.so"
11677 shlibpath_var
=LD_LIBRARY_PATH
11678 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11679 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11680 soname_spec
='$libname$release$shared_ext$major'
11681 if test 32 = "$HPUX_IA64_MODE"; then
11682 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11683 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11685 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11686 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11691 hardcode_into_libs
=yes
11692 dynamic_linker
="$host_os dld.sl"
11693 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11694 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11695 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11696 soname_spec
='$libname$release$shared_ext$major'
11697 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11698 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11702 dynamic_linker
="$host_os dld.sl"
11703 shlibpath_var
=SHLIB_PATH
11704 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11705 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11706 soname_spec
='$libname$release$shared_ext$major'
11709 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11710 postinstall_cmds
='chmod 555 $lib'
11711 # or fails outright, so override atomically:
11712 install_override_mode
=555
11716 version_type
=linux
# correct to gnu/linux during the next big refactor
11719 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11720 soname_spec
='$libname$release$shared_ext$major'
11721 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11722 shlibpath_var
=LD_LIBRARY_PATH
11723 shlibpath_overrides_runpath
=no
11724 hardcode_into_libs
=yes
11727 irix5
* | irix6
* | nonstopux
*)
11729 nonstopux
*) version_type
=nonstopux
;;
11731 if test yes = "$lt_cv_prog_gnu_ld"; then
11732 version_type
=linux
# correct to gnu/linux during the next big refactor
11739 soname_spec
='$libname$release$shared_ext$major'
11740 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11742 irix5
* | nonstopux
*)
11743 libsuff
= shlibsuff
=
11746 case $LD in # libtool.m4 will add one of these switches to LD
11747 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11748 libsuff
= shlibsuff
= libmagic
=32-bit;;
11749 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11750 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11751 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11752 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11753 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11757 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11758 shlibpath_overrides_runpath
=no
11759 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11760 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11761 hardcode_into_libs
=yes
11764 # No shared lib support for Linux oldld, aout, or coff.
11765 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11770 version_type
=none
# Android doesn't support versioned libraries.
11773 library_names_spec
='$libname$release$shared_ext'
11774 soname_spec
='$libname$release$shared_ext'
11776 shlibpath_var
=LD_LIBRARY_PATH
11777 shlibpath_overrides_runpath
=yes
11779 # This implies no fast_install, which is unacceptable.
11780 # Some rework will be needed to allow for fast_install
11781 # before this can be enabled.
11782 hardcode_into_libs
=yes
11784 dynamic_linker
='Android linker'
11785 # Don't embed -rpath directories since the linker doesn't support them.
11786 hardcode_libdir_flag_spec
='-L$libdir'
11789 # This must be glibc/ELF.
11790 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11791 version_type
=linux
# correct to gnu/linux during the next big refactor
11794 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11795 soname_spec
='$libname$release$shared_ext$major'
11796 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11797 shlibpath_var
=LD_LIBRARY_PATH
11798 shlibpath_overrides_runpath
=no
11800 # Some binutils ld are patched to set DT_RUNPATH
11801 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11802 $as_echo_n "(cached) " >&6
11804 lt_cv_shlibpath_overrides_runpath
=no
11805 save_LDFLAGS
=$LDFLAGS
11806 save_libdir
=$libdir
11807 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11808 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11820 if ac_fn_c_try_link
"$LINENO"; then :
11821 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11822 lt_cv_shlibpath_overrides_runpath
=yes
11825 rm -f core conftest.err conftest.
$ac_objext \
11826 conftest
$ac_exeext conftest.
$ac_ext
11827 LDFLAGS
=$save_LDFLAGS
11828 libdir
=$save_libdir
11832 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11834 # This implies no fast_install, which is unacceptable.
11835 # Some rework will be needed to allow for fast_install
11836 # before this can be enabled.
11837 hardcode_into_libs
=yes
11839 # Add ABI-specific directories to the system library path.
11840 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11842 # Ideally, we could use ldconfig to report *all* directores which are
11843 # searched for libraries, however this is still not possible. Aside from not
11844 # being certain /sbin/ldconfig is available, command
11845 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11846 # even though it is searched at run-time. Try to do the best guess by
11847 # appending ld.so.conf contents (and includes) to the search path.
11848 if test -f /etc
/ld.so.conf
; then
11849 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' ' '`
11850 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11853 # We used to test for /lib/ld.so.1 and disable shared libraries on
11854 # powerpc, because MkLinux only supported shared libraries with the
11855 # GNU dynamic linker. Since this was broken with cross compilers,
11856 # most powerpc-linux boxes support dynamic linking these days and
11857 # people can always --disable-shared, the test was removed, and we
11858 # assume the GNU/Linux dynamic linker is in use.
11859 dynamic_linker
='GNU/Linux ld.so'
11866 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11867 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11869 dynamic_linker
='NetBSD (a.out) ld.so'
11871 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11872 soname_spec
='$libname$release$shared_ext$major'
11873 dynamic_linker
='NetBSD ld.elf_so'
11875 shlibpath_var
=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath
=yes
11877 hardcode_into_libs
=yes
11881 version_type
=linux
# correct to gnu/linux during the next big refactor
11882 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11883 shlibpath_var
=LD_LIBRARY_PATH
11884 shlibpath_overrides_runpath
=yes
11891 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11892 soname_spec
='$libname$release$shared_ext$major'
11893 shlibpath_var
=LD_LIBRARY_PATH
11894 shlibpath_overrides_runpath
=no
11895 hardcode_into_libs
=yes
11896 dynamic_linker
='ldqnx.so'
11899 openbsd
* | bitrig
*)
11901 sys_lib_dlsearch_path_spec
=/usr
/lib
11903 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11908 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11910 shlibpath_var
=LD_LIBRARY_PATH
11911 shlibpath_overrides_runpath
=yes
11915 libname_spec
='$name'
11916 version_type
=windows
11920 # OS/2 can only load a DLL with a base name of 8 characters or less.
11921 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11922 v=$($ECHO $release$versuffix | tr -d .-);
11923 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11924 $ECHO $n$v`$shared_ext'
11925 library_names_spec
='${libname}_dll.$libext'
11926 dynamic_linker
='OS/2 ld.exe'
11927 shlibpath_var
=BEGINLIBPATH
11928 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11929 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11930 postinstall_cmds
='base_file=`basename \$file`~
11931 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11932 dldir=$destdir/`dirname \$dlpath`~
11933 test -d \$dldir || mkdir -p \$dldir~
11934 $install_prog $dir/$dlname \$dldir/$dlname~
11935 chmod a+x \$dldir/$dlname~
11936 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11937 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11939 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11940 dlpath=$dir/\$dldll~
11944 osf3
* | osf4
* | osf5
*)
11948 soname_spec
='$libname$release$shared_ext$major'
11949 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11950 shlibpath_var
=LD_LIBRARY_PATH
11951 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11952 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11960 version_type
=linux
# correct to gnu/linux during the next big refactor
11963 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11964 soname_spec
='$libname$release$shared_ext$major'
11965 shlibpath_var
=LD_LIBRARY_PATH
11966 shlibpath_overrides_runpath
=yes
11967 hardcode_into_libs
=yes
11968 # ldd complains unless libraries are executable
11969 postinstall_cmds
='chmod +x $lib'
11974 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11975 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11976 shlibpath_var
=LD_LIBRARY_PATH
11977 shlibpath_overrides_runpath
=yes
11978 if test yes = "$with_gnu_ld"; then
11985 version_type
=linux
# correct to gnu/linux during the next big refactor
11986 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11987 soname_spec
='$libname$release$shared_ext$major'
11988 shlibpath_var
=LD_LIBRARY_PATH
11989 case $host_vendor in
11991 shlibpath_overrides_runpath
=no
11993 runpath_var
=LD_RUN_PATH
12001 shlibpath_overrides_runpath
=no
12002 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12008 if test -d /usr
/nec
; then
12009 version_type
=linux
# correct to gnu/linux during the next big refactor
12010 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12011 soname_spec
='$libname$shared_ext.$major'
12012 shlibpath_var
=LD_LIBRARY_PATH
12016 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12020 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12021 soname_spec
='$libname$release$shared_ext$major'
12022 shlibpath_var
=LD_LIBRARY_PATH
12023 shlibpath_overrides_runpath
=yes
12024 hardcode_into_libs
=yes
12025 if test yes = "$with_gnu_ld"; then
12026 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12028 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12031 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12035 sys_lib_dlsearch_path_spec
='/usr/lib'
12039 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12040 version_type
=linux
# correct to gnu/linux during the next big refactor
12043 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12044 shlibpath_var
=LD_LIBRARY_PATH
12045 shlibpath_overrides_runpath
=no
12046 hardcode_into_libs
=yes
12050 version_type
=linux
# correct to gnu/linux during the next big refactor
12051 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12052 soname_spec
='$libname$release$shared_ext$major'
12053 shlibpath_var
=LD_LIBRARY_PATH
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12061 $as_echo "$dynamic_linker" >&6; }
12062 test no
= "$dynamic_linker" && can_build_shared
=no
12064 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12065 if test yes = "$GCC"; then
12066 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12069 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12070 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12073 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12074 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12077 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12078 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12080 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12081 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12083 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12084 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12183 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12185 if test -n "$hardcode_libdir_flag_spec" ||
12186 test -n "$runpath_var" ||
12187 test yes = "$hardcode_automatic"; then
12189 # We can hardcode non-existent directories.
12190 if test no
!= "$hardcode_direct" &&
12191 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12192 # have to relink, otherwise we might link with an installed library
12193 # when we should be linking with a yet-to-be-installed one
12194 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12195 test no
!= "$hardcode_minus_L"; then
12196 # Linking always hardcodes the temporary library directory.
12197 hardcode_action
=relink
12199 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12200 hardcode_action
=immediate
12203 # We cannot hardcode anything, or else we can only hardcode existing
12205 hardcode_action
=unsupported
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12208 $as_echo "$hardcode_action" >&6; }
12210 if test relink
= "$hardcode_action" ||
12211 test yes = "$inherit_rpath"; then
12212 # Fast installation is not supported
12213 enable_fast_install
=no
12214 elif test yes = "$shlibpath_overrides_runpath" ||
12215 test no
= "$enable_shared"; then
12216 # Fast installation is not necessary
12217 enable_fast_install
=needless
12225 if test yes != "$enable_dlopen"; then
12226 enable_dlopen
=unknown
12227 enable_dlopen_self
=unknown
12228 enable_dlopen_self_static
=unknown
12235 lt_cv_dlopen
=load_add_on
12237 lt_cv_dlopen_self
=yes
12240 mingw
* | pw32
* | cegcc
*)
12241 lt_cv_dlopen
=LoadLibrary
12246 lt_cv_dlopen
=dlopen
12251 # if libdl is installed we need to link against it
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12253 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12254 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12255 $as_echo_n "(cached) " >&6
12257 ac_check_lib_save_LIBS
=$LIBS
12259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 /* Override any GCC internal prototype to avoid an error.
12263 Use char because int might match the return type of a GCC
12264 builtin and then its argument prototype would still apply. */
12277 if ac_fn_c_try_link
"$LINENO"; then :
12278 ac_cv_lib_dl_dlopen
=yes
12280 ac_cv_lib_dl_dlopen
=no
12282 rm -f core conftest.err conftest.
$ac_objext \
12283 conftest
$ac_exeext conftest.
$ac_ext
12284 LIBS
=$ac_check_lib_save_LIBS
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12287 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12288 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12289 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12294 lt_cv_dlopen_self
=yes
12301 # Don't try to run any link tests for TPF. We know it's impossible
12302 # because TPF is a cross-compiler, and we know how we open DSOs.
12303 lt_cv_dlopen
=dlopen
12305 lt_cv_dlopen_self
=no
12309 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12310 if test "x$ac_cv_func_shl_load" = xyes
; then :
12311 lt_cv_dlopen
=shl_load
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12314 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12315 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12316 $as_echo_n "(cached) " >&6
12318 ac_check_lib_save_LIBS
=$LIBS
12320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12333 return shl_load ();
12338 if ac_fn_c_try_link
"$LINENO"; then :
12339 ac_cv_lib_dld_shl_load
=yes
12341 ac_cv_lib_dld_shl_load
=no
12343 rm -f core conftest.err conftest.
$ac_objext \
12344 conftest
$ac_exeext conftest.
$ac_ext
12345 LIBS
=$ac_check_lib_save_LIBS
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12349 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12350 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12352 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12353 if test "x$ac_cv_func_dlopen" = xyes
; then :
12354 lt_cv_dlopen
=dlopen
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12358 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12359 $as_echo_n "(cached) " >&6
12361 ac_check_lib_save_LIBS
=$LIBS
12363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12381 if ac_fn_c_try_link
"$LINENO"; then :
12382 ac_cv_lib_dl_dlopen
=yes
12384 ac_cv_lib_dl_dlopen
=no
12386 rm -f core conftest.err conftest.
$ac_objext \
12387 conftest
$ac_exeext conftest.
$ac_ext
12388 LIBS
=$ac_check_lib_save_LIBS
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12391 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12392 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12393 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12396 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12397 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12398 $as_echo_n "(cached) " >&6
12400 ac_check_lib_save_LIBS
=$LIBS
12401 LIBS
="-lsvld $LIBS"
12402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12420 if ac_fn_c_try_link
"$LINENO"; then :
12421 ac_cv_lib_svld_dlopen
=yes
12423 ac_cv_lib_svld_dlopen
=no
12425 rm -f core conftest.err conftest.
$ac_objext \
12426 conftest
$ac_exeext conftest.
$ac_ext
12427 LIBS
=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12430 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12431 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12432 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12435 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12436 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 ac_check_lib_save_LIBS
=$LIBS
12441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 /* Override any GCC internal prototype to avoid an error.
12445 Use char because int might match the return type of a GCC
12446 builtin and then its argument prototype would still apply. */
12454 return dld_link ();
12459 if ac_fn_c_try_link
"$LINENO"; then :
12460 ac_cv_lib_dld_dld_link
=yes
12462 ac_cv_lib_dld_dld_link
=no
12464 rm -f core conftest.err conftest.
$ac_objext \
12465 conftest
$ac_exeext conftest.
$ac_ext
12466 LIBS
=$ac_check_lib_save_LIBS
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12469 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12470 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12471 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12492 if test no
= "$lt_cv_dlopen"; then
12498 case $lt_cv_dlopen in
12500 save_CPPFLAGS
=$CPPFLAGS
12501 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12503 save_LDFLAGS
=$LDFLAGS
12504 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12507 LIBS
="$lt_cv_dlopen_libs $LIBS"
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12510 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12511 if ${lt_cv_dlopen_self+:} false
; then :
12512 $as_echo_n "(cached) " >&6
12514 if test yes = "$cross_compiling"; then :
12515 lt_cv_dlopen_self
=cross
12517 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12518 lt_status
=$lt_dlunknown
12519 cat > conftest.
$ac_ext <<_LT_EOF
12520 #line $LINENO "configure"
12521 #include "confdefs.h"
12530 # define LT_DLGLOBAL RTLD_GLOBAL
12533 # define LT_DLGLOBAL DL_GLOBAL
12535 # define LT_DLGLOBAL 0
12539 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12540 find out it does not work in some platform. */
12541 #ifndef LT_DLLAZY_OR_NOW
12543 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12546 # define LT_DLLAZY_OR_NOW DL_LAZY
12549 # define LT_DLLAZY_OR_NOW RTLD_NOW
12552 # define LT_DLLAZY_OR_NOW DL_NOW
12554 # define LT_DLLAZY_OR_NOW 0
12561 /* When -fvisibility=hidden is used, assume the code has been annotated
12562 correspondingly for the symbols needed. */
12563 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12564 int fnord () __attribute__((visibility("default")));
12567 int fnord () { return 42; }
12570 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12571 int status = $lt_dlunknown;
12575 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12578 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12579 else puts (dlerror ());
12581 /* dlclose (self); */
12589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12590 (eval $ac_link) 2>&5
12592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12593 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12594 (.
/conftest
; exit; ) >&5 2>/dev
/null
12596 case x
$lt_status in
12597 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12598 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12599 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12602 # compilation failed
12603 lt_cv_dlopen_self
=no
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12611 $as_echo "$lt_cv_dlopen_self" >&6; }
12613 if test yes = "$lt_cv_dlopen_self"; then
12614 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12616 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12617 if ${lt_cv_dlopen_self_static+:} false
; then :
12618 $as_echo_n "(cached) " >&6
12620 if test yes = "$cross_compiling"; then :
12621 lt_cv_dlopen_self_static
=cross
12623 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12624 lt_status
=$lt_dlunknown
12625 cat > conftest.
$ac_ext <<_LT_EOF
12626 #line $LINENO "configure"
12627 #include "confdefs.h"
12636 # define LT_DLGLOBAL RTLD_GLOBAL
12639 # define LT_DLGLOBAL DL_GLOBAL
12641 # define LT_DLGLOBAL 0
12645 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12646 find out it does not work in some platform. */
12647 #ifndef LT_DLLAZY_OR_NOW
12649 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12652 # define LT_DLLAZY_OR_NOW DL_LAZY
12655 # define LT_DLLAZY_OR_NOW RTLD_NOW
12658 # define LT_DLLAZY_OR_NOW DL_NOW
12660 # define LT_DLLAZY_OR_NOW 0
12667 /* When -fvisibility=hidden is used, assume the code has been annotated
12668 correspondingly for the symbols needed. */
12669 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12670 int fnord () __attribute__((visibility("default")));
12673 int fnord () { return 42; }
12676 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12677 int status = $lt_dlunknown;
12681 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12684 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12685 else puts (dlerror ());
12687 /* dlclose (self); */
12695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12696 (eval $ac_link) 2>&5
12698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12699 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12700 (.
/conftest
; exit; ) >&5 2>/dev
/null
12702 case x
$lt_status in
12703 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12704 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12705 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12708 # compilation failed
12709 lt_cv_dlopen_self_static
=no
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12717 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12720 CPPFLAGS
=$save_CPPFLAGS
12721 LDFLAGS
=$save_LDFLAGS
12726 case $lt_cv_dlopen_self in
12727 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12728 *) enable_dlopen_self
=unknown
;;
12731 case $lt_cv_dlopen_self_static in
12732 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12733 *) enable_dlopen_self_static
=unknown
;;
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12756 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12757 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12758 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12759 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12761 $as_echo "yes" >&6; }
12763 # FIXME - insert some real tests, host_os isn't really good enough
12766 if test -n "$STRIP"; then
12767 striplib
="$STRIP -x"
12768 old_striplib
="$STRIP -S"
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12770 $as_echo "yes" >&6; }
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12773 $as_echo "no" >&6; }
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12778 $as_echo "no" >&6; }
12794 # Report what library types will actually be built
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12796 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12798 $as_echo "$can_build_shared" >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12801 $as_echo_n "checking whether to build shared libraries... " >&6; }
12802 test no
= "$can_build_shared" && enable_shared
=no
12804 # On AIX, shared libraries and static libraries use the same namespace, and
12805 # are all built from PIC.
12808 test yes = "$enable_shared" && enable_static
=no
12809 if test -n "$RANLIB"; then
12810 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12811 postinstall_cmds
='$RANLIB $lib'
12816 if test ia64
!= "$host_cpu"; then
12817 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12818 yes,aix
,yes) ;; # shared object as lib.so file only
12819 yes,svr4
,*) ;; # shared object as lib.so archive member only
12820 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12826 $as_echo "$enable_shared" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12829 $as_echo_n "checking whether to build static libraries... " >&6; }
12830 # Make sure either enable_shared or enable_static is yes.
12831 test yes = "$enable_shared" || enable_static
=yes
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12833 $as_echo "$enable_static" >&6; }
12840 ac_cpp
='$CPP $CPPFLAGS'
12841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12861 ac_config_commands
="$ac_config_commands libtool"
12866 # Only expand once:
12870 if test "$PS" = "ps"
12872 as_fn_error $?
"Cannot find pathname to ps" "$LINENO" 5
12875 if test x
$GXX = xyes
12877 CFLAGS
="-Wall $CFLAGS"
12880 CFLAGS
="-I.. -I$srcdir/.. $CFLAGS"
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
12884 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12885 if ${ac_cv_header_sys_wait_h+:} false
; then :
12886 $as_echo_n "(cached) " >&6
12888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h. */
12890 #include <sys/types.h>
12891 #include <sys/wait.h>
12892 #ifndef WEXITSTATUS
12893 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12896 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12904 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12909 if ac_fn_c_try_compile
"$LINENO"; then :
12910 ac_cv_header_sys_wait_h
=yes
12912 ac_cv_header_sys_wait_h
=no
12914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
12917 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12918 if test $ac_cv_header_sys_wait_h = yes; then
12920 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12924 for ac_header
in unistd.h fcntl.h
12926 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12927 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12928 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12929 cat >>confdefs.h
<<_ACEOF
12930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12939 if test "x$ac_cv_type_pid_t" = xyes
; then :
12943 cat >>confdefs.h
<<_ACEOF
12949 # Check whether --enable-largefile was given.
12950 if test "${enable_largefile+set}" = set; then :
12951 enableval
=$enable_largefile;
12954 if test "$enable_largefile" != no
; then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12957 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12958 if ${ac_cv_sys_largefile_CC+:} false
; then :
12959 $as_echo_n "(cached) " >&6
12961 ac_cv_sys_largefile_CC
=no
12962 if test "$GCC" != yes; then
12965 # IRIX 6.2 and later do not support large files by default,
12966 # so use the C compiler's -n32 option if that helps.
12967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12969 #include <sys/types.h>
12970 /* Check that off_t can represent 2**63 - 1 correctly.
12971 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12972 since some C++ compilers masquerading as C compilers
12973 incorrectly reject 9223372036854775807. */
12974 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12975 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12976 && LARGE_OFF_T % 2147483647 == 1)
12986 if ac_fn_c_try_compile
"$LINENO"; then :
12989 rm -f core conftest.err conftest.
$ac_objext
12991 if ac_fn_c_try_compile
"$LINENO"; then :
12992 ac_cv_sys_largefile_CC
=' -n32'; break
12994 rm -f core conftest.err conftest.
$ac_objext
12998 rm -f conftest.
$ac_ext
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13002 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13003 if test "$ac_cv_sys_largefile_CC" != no
; then
13004 CC
=$CC$ac_cv_sys_largefile_CC
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13008 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13009 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13010 $as_echo_n "(cached) " >&6
13013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13014 /* end confdefs.h. */
13015 #include <sys/types.h>
13016 /* Check that off_t can represent 2**63 - 1 correctly.
13017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13018 since some C++ compilers masquerading as C compilers
13019 incorrectly reject 9223372036854775807. */
13020 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13022 && LARGE_OFF_T % 2147483647 == 1)
13032 if ac_fn_c_try_compile
"$LINENO"; then :
13033 ac_cv_sys_file_offset_bits
=no
; break
13035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13038 #define _FILE_OFFSET_BITS 64
13039 #include <sys/types.h>
13040 /* Check that off_t can represent 2**63 - 1 correctly.
13041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13042 since some C++ compilers masquerading as C compilers
13043 incorrectly reject 9223372036854775807. */
13044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13046 && LARGE_OFF_T % 2147483647 == 1)
13056 if ac_fn_c_try_compile
"$LINENO"; then :
13057 ac_cv_sys_file_offset_bits
=64; break
13059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13060 ac_cv_sys_file_offset_bits
=unknown
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13065 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13066 case $ac_cv_sys_file_offset_bits in #(
13069 cat >>confdefs.h
<<_ACEOF
13070 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13075 if test $ac_cv_sys_file_offset_bits = unknown
; then
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13077 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13078 if ${ac_cv_sys_large_files+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13084 #include <sys/types.h>
13085 /* Check that off_t can represent 2**63 - 1 correctly.
13086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13087 since some C++ compilers masquerading as C compilers
13088 incorrectly reject 9223372036854775807. */
13089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13091 && LARGE_OFF_T % 2147483647 == 1)
13101 if ac_fn_c_try_compile
"$LINENO"; then :
13102 ac_cv_sys_large_files
=no
; break
13104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13107 #define _LARGE_FILES 1
13108 #include <sys/types.h>
13109 /* Check that off_t can represent 2**63 - 1 correctly.
13110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13111 since some C++ compilers masquerading as C compilers
13112 incorrectly reject 9223372036854775807. */
13113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13115 && LARGE_OFF_T % 2147483647 == 1)
13125 if ac_fn_c_try_compile
"$LINENO"; then :
13126 ac_cv_sys_large_files
=1; break
13128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13129 ac_cv_sys_large_files
=unknown
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13134 $as_echo "$ac_cv_sys_large_files" >&6; }
13135 case $ac_cv_sys_large_files in #(
13138 cat >>confdefs.h
<<_ACEOF
13139 #define _LARGE_FILES $ac_cv_sys_large_files
13151 # Check whether --with-random was given.
13152 if test "${with_random+set}" = set; then :
13153 withval
=$with_random; random
="$withval"
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random source" >&5
13164 $as_echo_n "checking for random source... " >&6; }
13165 if ${random_cv_RANDOM+:} false
; then :
13166 $as_echo_n "(cached) " >&6
13168 if test -c /dev
/urandom
13170 random_cv_RANDOM
=/dev
/urandom
13172 if test -c /dev
/random
13174 random_cv_RANDOM
=/dev
/random
13176 random_cv_RANDOM
="none"
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $random_cv_RANDOM" >&5
13182 $as_echo "$random_cv_RANDOM" >&6; }
13183 random
="$random_cv_RANDOM"
13190 if test "$random" != "none"
13193 cat >>confdefs.h
<<_ACEOF
13194 #define RANDOM "$random"
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some good options for ps" >&5
13200 $as_echo_n "checking for some good options for ps... " >&6; }
13201 if ${random_cv_PS_OPTIONS+:} false
; then :
13202 $as_echo_n "(cached) " >&6
13204 for opts
in -Afl -Afw -Af -Al -afl -afw -af -al Afl Afw Af Al afl afw af al
13206 ps
$opts >/dev
/null
2>/dev
/null ||
continue
13209 random_cv_PS_OPTIONS
="$opts"
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $random_cv_PS_OPTIONS" >&5
13213 $as_echo "$random_cv_PS_OPTIONS" >&6; }
13216 cat >>confdefs.h
<<_ACEOF
13217 #define PS_OPTIONS "$random_cv_PS_OPTIONS"
13221 cat >>confdefs.h
<<_ACEOF
13226 if test "$W" != "w"
13229 cat >>confdefs.h
<<_ACEOF
13235 ac_config_files
="$ac_config_files Makefile"
13237 cat >confcache
<<\_ACEOF
13238 # This file is a shell script that caches the results of configure
13239 # tests run on this system so they can be shared between configure
13240 # scripts and configure runs, see configure's option --config-cache.
13241 # It is not useful on other systems. If it contains results you don't
13242 # want to keep, you may remove or edit it.
13244 # config.status only pays attention to the cache file if you give it
13245 # the --recheck option to rerun configure.
13247 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13248 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13249 # following values.
13253 # The following way of writing the cache mishandles newlines in values,
13254 # but we know of no workaround that is simple, portable, and efficient.
13255 # So, we kill variables containing newlines.
13256 # Ultrix sh set writes to stderr and can't be redirected directly,
13257 # and sets the high bit in the cache file unless we assign to the vars.
13259 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13260 eval ac_val
=\$
$ac_var
13264 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13265 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13268 _ | IFS | as_nl
) ;; #(
13269 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13270 *) { eval $ac_var=; unset $ac_var;} ;;
13276 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13277 *${as_nl}ac_space
=\
*)
13278 # `set' does not quote correctly, so add quotes: double-quote
13279 # substitution turns \\\\ into \\, and sed turns \\ into \.
13282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13285 # `set' quotes correctly as required by POSIX, so do not add quotes.
13286 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13295 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13297 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13299 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13300 if test -w "$cache_file"; then
13301 if test "x$cache_file" != "x/dev/null"; then
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13303 $as_echo "$as_me: updating cache $cache_file" >&6;}
13304 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
13305 cat confcache
>"$cache_file"
13307 case $cache_file in #(
13309 mv -f confcache
"$cache_file"$$
&&
13310 mv -f "$cache_file"$$
"$cache_file" ;; #(
13312 mv -f confcache
"$cache_file" ;;
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13318 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13323 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13324 # Let make expand exec_prefix.
13325 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13327 DEFS
=-DHAVE_CONFIG_H
13332 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13333 # 1. Remove the extension, and $U if already installed.
13334 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13335 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13336 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13337 # will be set to the directory where LIBOBJS objects are built.
13338 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13339 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13341 LIBOBJS
=$ac_libobjs
13343 LTLIBOBJS
=$ac_ltlibobjs
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13347 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13348 if test -n "$am_sleep_pid"; then
13349 # Hide warnings about reused PIDs.
13350 wait $am_sleep_pid 2>/dev
/null
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13353 $as_echo "done" >&6; }
13354 if test -n "$EXEEXT"; then
13356 am__EXEEXT_FALSE
='#'
13358 am__EXEEXT_TRUE
='#'
13362 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13363 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13366 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13367 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13370 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13371 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13375 : "${CONFIG_STATUS=./config.status}"
13377 ac_clean_files_save
=$ac_clean_files
13378 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13380 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13382 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13384 # Generated by $as_me.
13385 # Run this file to recreate the current configuration.
13386 # Compiler output produced by configure, useful for debugging
13387 # configure, is in config.log if it exists.
13390 ac_cs_recheck=false
13393 SHELL=\${CONFIG_SHELL-$SHELL}
13396 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13397 ## -------------------- ##
13398 ## M4sh Initialization. ##
13399 ## -------------------- ##
13401 # Be more Bourne compatible
13402 DUALCASE
=1; export DUALCASE
# for MKS sh
13403 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13406 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13407 # is contrary to our usage. Disable this feature.
13408 alias -g '${1+"$@"}'='"$@"'
13409 setopt NO_GLOB_SUBST
13411 case `(set -o) 2>/dev/null` in #(
13423 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13424 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13425 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13426 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13427 # Prefer a ksh shell builtin over an external printf program on Solaris,
13428 # but without wasting forks for bash or zsh.
13429 if test -z "$BASH_VERSION$ZSH_VERSION" \
13430 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13431 as_echo='print
-r --'
13432 as_echo_n='print
-rn --'
13433 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13434 as_echo='printf %s
\n'
13435 as_echo_n='printf %s
'
13437 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13438 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13439 as_echo_n='/usr
/ucb
/echo -n'
13441 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13442 as_echo_n_body='eval
13446 expr "X$arg" : "X\\(.*\\)$as_nl";
13447 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13449 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13451 export as_echo_n_body
13452 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13454 export as_echo_body
13455 as_echo='sh
-c $as_echo_body as_echo
'
13458 # The user is always right.
13459 if test "${PATH_SEPARATOR+set}" != set; then
13461 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13462 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13469 # We need space, tab and new line, in precisely that order. Quoting is
13470 # there to prevent editors from complaining about space-tab.
13471 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13472 # splitting by setting IFS to empty value.)
13475 # Find who we are. Look in the path if we contain no directory separator.
13478 *[\\/]* ) as_myself=$0 ;;
13479 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13480 for as_dir in $PATH
13483 test -z "$as_dir" && as_dir=.
13484 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13490 # We did not find ourselves, most probably we were run as `sh COMMAND'
13491 # in which case we are not to be found in the path.
13492 if test "x$as_myself" = x
; then
13495 if test ! -f "$as_myself"; then
13496 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13500 # Unset variables that we do not need and which cause bugs (e.g. in
13501 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13502 # suppresses any "Segmentation fault" message there. '((' could
13503 # trigger a bug in pdksh 5.2.14.
13504 for as_var
in BASH_ENV ENV MAIL MAILPATH
13505 do eval test x\
${$as_var+set} = xset \
13506 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13519 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13522 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13523 # ----------------------------------------
13524 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13525 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13526 # script with STATUS, using 1 if that was 0.
13529 as_status
=$1; test $as_status -eq 0 && as_status
=1
13531 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13532 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13534 $as_echo "$as_me: error: $2" >&2
13535 as_fn_exit
$as_status
13539 # as_fn_set_status STATUS
13540 # -----------------------
13541 # Set $? to STATUS, without forking.
13542 as_fn_set_status
()
13545 } # as_fn_set_status
13547 # as_fn_exit STATUS
13548 # -----------------
13549 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13553 as_fn_set_status
$1
13559 # Portably unset VAR.
13562 { eval $1=; unset $1;}
13564 as_unset
=as_fn_unset
13565 # as_fn_append VAR VALUE
13566 # ----------------------
13567 # Append the text in VALUE to the end of the definition contained in VAR. Take
13568 # advantage of any shell optimizations that allow amortized linear growth over
13569 # repeated appends, instead of the typical quadratic growth present in naive
13571 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13572 eval 'as_fn_append ()
13583 # as_fn_arith ARG...
13584 # ------------------
13585 # Perform arithmetic evaluation on the ARGs, and store the result in the
13586 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13587 # must be portable across $(()) and expr.
13588 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13589 eval 'as_fn_arith ()
13596 as_val
=`expr "$@" || test $? -eq 1`
13601 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13602 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13608 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13609 as_basename
=basename
13614 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13620 as_me
=`$as_basename -- "$0" ||
13621 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13622 X"$0" : 'X\(//\)$' \| \
13623 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13625 sed '/^.*\/\([^/][^/]*\)\/*$/{
13639 # Avoid depending upon Character Ranges.
13640 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13641 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13642 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13643 as_cr_digits
='0123456789'
13644 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13646 ECHO_C
= ECHO_N
= ECHO_T
=
13647 case `echo -n x` in #(((((
13649 case `echo 'xy\c'` in
13650 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13652 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13659 rm -f conf$$ conf$$.exe conf$$.
file
13660 if test -d conf$$.dir
; then
13661 rm -f conf$$.dir
/conf$$.
file
13664 mkdir conf$$.dir
2>/dev
/null
13666 if (echo >conf$$.
file) 2>/dev
/null
; then
13667 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13669 # ... but there are two gotchas:
13670 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13671 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13672 # In both cases, we have to default to `cp -pR'.
13673 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13675 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13683 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13684 rmdir conf$$.dir
2>/dev
/null
13689 # Create "$as_dir" as a directory, including parents if necessary.
13694 -*) as_dir
=.
/$as_dir;;
13696 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13700 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13701 *) as_qdir
=$as_dir;;
13703 as_dirs
="'$as_qdir' $as_dirs"
13704 as_dir
=`$as_dirname -- "$as_dir" ||
13705 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13706 X"$as_dir" : 'X\(//\)[^/]' \| \
13707 X"$as_dir" : 'X\(//\)$' \| \
13708 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13709 $as_echo X"$as_dir" |
13710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13714 /^X\(\/\/\)[^/].*/{
13727 test -d "$as_dir" && break
13729 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13730 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13734 if mkdir
-p .
2>/dev
/null
; then
13735 as_mkdir_p
='mkdir -p "$as_dir"'
13737 test -d .
/-p && rmdir .
/-p
13742 # as_fn_executable_p FILE
13743 # -----------------------
13744 # Test if FILE is an executable regular file.
13745 as_fn_executable_p
()
13747 test -f "$1" && test -x "$1"
13748 } # as_fn_executable_p
13749 as_test_x
='test -x'
13750 as_executable_p
=as_fn_executable_p
13752 # Sed expression to map a string onto a valid CPP name.
13753 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13755 # Sed expression to map a string onto a valid variable name.
13756 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13760 ## ----------------------------------- ##
13761 ## Main body of $CONFIG_STATUS script. ##
13762 ## ----------------------------------- ##
13764 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13767 # Save the log message, to keep $0 and so on meaningful, and to
13768 # report actual input values of CONFIG_FILES etc. instead of their
13769 # values after options handling.
13771 This file was extended by random128 $as_me 0.10, which was
13772 generated by GNU Autoconf 2.69. Invocation command line was
13774 CONFIG_FILES = $CONFIG_FILES
13775 CONFIG_HEADERS = $CONFIG_HEADERS
13776 CONFIG_LINKS = $CONFIG_LINKS
13777 CONFIG_COMMANDS = $CONFIG_COMMANDS
13780 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13785 case $ac_config_files in *"
13786 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13789 case $ac_config_headers in *"
13790 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13795 # Files that config.status was made for.
13796 config_files="$ac_config_files"
13797 config_headers="$ac_config_headers"
13798 config_commands="$ac_config_commands"
13802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13804 \`$as_me' instantiates files and other configuration actions
13805 from templates according to the current configuration. Unless the files
13806 and actions are specified as TAGs, all are instantiated by default.
13808 Usage: $0 [OPTION]... [TAG]...
13810 -h, --help print this help, then exit
13811 -V, --version print version number and configuration settings, then exit
13812 --config print configuration, then exit
13813 -q, --quiet, --silent
13814 do not print progress messages
13815 -d, --debug don't remove temporary files
13816 --recheck update $as_me by reconfiguring in the same conditions
13817 --file=FILE[:TEMPLATE]
13818 instantiate the configuration file FILE
13819 --header=FILE[:TEMPLATE]
13820 instantiate the configuration header FILE
13822 Configuration files:
13825 Configuration headers:
13828 Configuration commands:
13831 Report bugs to <courier-users@lists.sourceforge.net>."
13834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13835 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13837 random128 config.status 0.10
13838 configured by $0, generated by GNU Autoconf 2.69,
13839 with options \\"\$ac_cs_config\\"
13841 Copyright (C) 2012 Free Software Foundation, Inc.
13842 This config.status script is free software; the Free Software Foundation
13843 gives unlimited permission to copy, distribute and modify it."
13850 test -n "\$AWK" || AWK=awk
13853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13854 # The default lists apply if the user does not specify any file.
13860 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13861 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13865 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13877 # Handling of the options.
13878 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13880 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13881 $as_echo "$ac_cs_version"; exit ;;
13882 --config |
--confi |
--conf |
--con |
--co |
--c )
13883 $as_echo "$ac_cs_config"; exit ;;
13884 --debug |
--debu |
--deb |
--de |
--d |
-d )
13886 --file |
--fil |
--fi |
--f )
13889 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13890 '') as_fn_error $?
"missing file argument" ;;
13892 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13893 ac_need_defaults
=false
;;
13894 --header |
--heade |
--head |
--hea )
13897 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13899 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13900 ac_need_defaults
=false
;;
13902 # Conflict between --help and --header
13903 as_fn_error $?
"ambiguous option: \`$1'
13904 Try \`$0 --help' for more information.";;
13905 --help |
--hel |
-h )
13906 $as_echo "$ac_cs_usage"; exit ;;
13907 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13908 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13911 # This is an error.
13912 -*) as_fn_error $?
"unrecognized option: \`$1'
13913 Try \`$0 --help' for more information." ;;
13915 *) as_fn_append ac_config_targets
" $1"
13916 ac_need_defaults
=false
;;
13922 ac_configure_extra_args
=
13924 if $ac_cs_silent; then
13926 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13931 if \$ac_cs_recheck; then
13932 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13934 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13935 CONFIG_SHELL='$SHELL'
13936 export CONFIG_SHELL
13941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13945 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13946 ## Running $as_me. ##
13952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13956 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13959 # The HP-UX ksh and POSIX shell print the target directory to stdout
13960 # if CDPATH is set.
13961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13963 sed_quote_subst='$sed_quote_subst'
13964 double_quote_subst='$double_quote_subst'
13965 delay_variable_subst='$delay_variable_subst'
13966 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13967 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13968 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13969 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13970 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13971 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13972 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13973 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13974 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13975 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13976 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13977 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13978 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13979 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13980 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13981 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13982 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13983 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13984 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13985 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13986 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13987 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13988 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13989 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13990 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13991 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13992 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13993 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13994 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13995 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13996 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13997 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13998 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13999 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14000 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14001 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14002 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14003 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14004 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14005 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14006 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14007 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14008 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14009 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14010 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14011 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14012 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14013 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14014 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14015 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14016 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14017 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14018 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14019 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14020 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14021 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14022 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14023 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14024 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"`'
14025 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14026 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14027 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14028 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14029 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14030 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14031 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14032 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14033 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14034 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14035 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14036 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14037 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14038 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14039 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14040 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14041 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14042 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14043 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14044 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14045 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14046 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14047 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14048 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14049 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14050 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14051 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14052 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14053 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14054 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14055 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14056 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14057 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14058 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14059 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14060 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14061 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14062 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14063 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14064 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14065 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14066 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14067 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14068 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14069 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14070 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14071 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14072 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14073 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14074 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14075 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14076 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14077 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14078 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14079 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14080 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14081 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14082 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14083 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14084 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14085 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14086 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14087 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14088 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14089 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14090 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14091 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14092 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14093 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14094 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14095 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14096 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14097 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14098 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14099 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14100 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14103 LTCFLAGS='$LTCFLAGS'
14104 compiler='$compiler_DEFAULT'
14106 # A function that is used when there is no print builtin or printf.
14107 func_fallback_echo ()
14109 eval 'cat <<_LTECHO_EOF
14114 # Quote evaled strings.
14129 deplibs_check_method \
14134 sharedlib_from_linklib_cmd \
14137 archiver_list_spec \
14143 lt_cv_sys_global_symbol_pipe \
14144 lt_cv_sys_global_symbol_to_cdecl \
14145 lt_cv_sys_global_symbol_to_import \
14146 lt_cv_sys_global_symbol_to_c_name_address \
14147 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14148 lt_cv_nm_interface \
14149 nm_file_list_spec \
14150 lt_cv_truncate_bin \
14151 lt_prog_compiler_no_builtin_flag \
14152 lt_prog_compiler_pic \
14153 lt_prog_compiler_wl \
14154 lt_prog_compiler_static \
14155 lt_cv_prog_compiler_c_o \
14164 export_dynamic_flag_spec \
14165 whole_archive_flag_spec \
14166 compiler_needs_object \
14168 allow_undefined_flag \
14169 no_undefined_flag \
14170 hardcode_libdir_flag_spec \
14171 hardcode_libdir_separator \
14175 variables_saved_for_relink \
14177 library_names_spec \
14179 install_override_mode \
14183 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14184 *[\\\\\\\`\\"\\\$]*)
14185 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14188 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14193 # Double-quote double-evaled strings.
14194 for var in reload_cmds \
14195 old_postinstall_cmds \
14196 old_postuninstall_cmds \
14198 extract_expsyms_cmds \
14199 old_archive_from_new_cmds \
14200 old_archive_from_expsyms_cmds \
14202 archive_expsym_cmds \
14204 module_expsym_cmds \
14205 export_symbols_cmds \
14209 postuninstall_cmds \
14211 sys_lib_search_path_spec \
14212 configure_time_dlsearch_path \
14213 configure_time_lt_sys_library_path; do
14214 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14215 *[\\\\\\\`\\"\\\$]*)
14216 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14219 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14224 ac_aux_dir='$ac_aux_dir'
14226 # See if we are running on zsh, and set the options that allow our
14227 # commands through without removal of \ escapes INIT.
14228 if test -n "\${ZSH_VERSION+set}"; then
14229 setopt NO_GLOB_SUBST
14243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14245 # Handling of arguments.
14246 for ac_config_target
in $ac_config_targets
14248 case $ac_config_target in
14249 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14250 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14251 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14252 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14254 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14259 # If the user did not use the arguments to specify the items to instantiate,
14260 # then the envvar interface is used. Set only those that are not.
14261 # We use the long form for the default assignment because of an extremely
14262 # bizarre bug on SunOS 4.1.3.
14263 if $ac_need_defaults; then
14264 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14265 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14266 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14269 # Have a temporary directory for convenience. Make it in the build tree
14270 # simply because there is no reason against having it here, and in addition,
14271 # creating and moving files from /tmp can sometimes cause problems.
14272 # Hook for its removal unless debugging.
14273 # Note that there is a small window in which the directory will not be cleaned:
14274 # after its creation but before its name has been assigned to `$tmp'.
14278 trap 'exit_status=$?
14279 : "${ac_tmp:=$tmp}"
14280 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14282 trap 'as_fn_exit 1' 1 2 13 15
14284 # Create a (secure) tmp directory for tmp files.
14287 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14291 tmp
=.
/conf$$
-$RANDOM
14292 (umask 077 && mkdir
"$tmp")
14293 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14296 # Set up the scripts for CONFIG_FILES section.
14297 # No need to generate them if there are no CONFIG_FILES.
14298 # This happens for instance with `./config.status config.h'.
14299 if test -n "$CONFIG_FILES"; then
14302 ac_cr
=`echo X | tr X '\015'`
14303 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14304 # But we know of no other shell where ac_cr would be empty at this
14305 # point, so we can use a bashism as a fallback.
14306 if test "x$ac_cr" = x
; then
14307 eval ac_cr
=\$
\'\\r
\'
14309 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14310 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14313 ac_cs_awk_cr
=$ac_cr
14316 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14321 echo "cat >conf$$subs.awk <<_ACEOF" &&
14322 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14324 } >conf$$subs.sh ||
14325 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14326 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14328 for ac_last_try in false false false false false :; do
14329 . ./conf$$subs.sh ||
14330 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14332 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14333 if test $ac_delim_n = $ac_delim_num; then
14335 elif $ac_last_try; then
14336 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14338 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14341 rm -f conf$$subs.sh
14343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14344 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14348 s/^/S["/; s
/!.
*/"]=/
14358 s/\(.\{148\}\)..*/\1/
14360 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14365 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14372 s/\(.\{148\}\)..*/\1/
14374 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14378 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14383 ' <conf$$subs.awk | sed '
14388 ' >>$CONFIG_STATUS || ac_write_fail=1
14389 rm -f conf$$subs.awk
14390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14392 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
14393 for (key in S) S_is_set[key] = 1
14399 nfields = split(line, field, "@
")
14401 len = length(field[1])
14402 for (i = 2; i < nfields; i++) {
14404 keylen = length(key)
14405 if (S_is_set[key]) {
14407 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14408 len += length(value) + length(field[++i])
14419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14420 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14421 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14424 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
14425 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14428 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14429 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14430 # trailing colons and then remove the whole line if VPATH becomes empty
14431 # (actually we leave an empty line to preserve line numbers).
14432 if test "x
$srcdir" = x.; then
14433 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14452 fi # test -n "$CONFIG_FILES"
14454 # Set up the scripts for CONFIG_HEADERS section.
14455 # No need to generate them if there are no CONFIG_HEADERS.
14456 # This happens for instance with `./config.status Makefile'.
14457 if test -n "$CONFIG_HEADERS"; then
14458 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
14462 # Transform confdefs.h into an awk script `defines.awk', embedded as
14463 # here-document in config.status, that substitutes the proper values into
14464 # config.h.in to produce config.h.
14466 # Create a delimiter string that does not exist in confdefs.h, to ease
14467 # handling of long lines.
14469 for ac_last_try in false false :; do
14470 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
14471 if test -z "$ac_tt"; then
14473 elif $ac_last_try; then
14474 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14476 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14480 # For the awk script, D is an array of macro values keyed by name,
14481 # likewise P contains macro parameters if any. Preserve backslash
14482 # newline sequences.
14484 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14486 s/.\{148\}/&'"$ac_delim"'/g
14489 s/^[ ]*#[ ]*define[ ][ ]*/ /
14496 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14498 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14502 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14503 D["\
1"]=" \
3\\\\\\n
"\\/p
14505 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14510 s/.\{148\}/&'"$ac_delim"'/g
14515 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14518 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14520 ' <confdefs.h | sed '
14521 s/'"$ac_delim"'/"\\\
14522 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14525 for (key in D) D_is_set[key] = 1
14528 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14530 split(line, arg, " ")
14531 if (arg[1] == "#") {
14535 defundef
= substr
(arg
[1], 2)
14538 split(mac1
, mac2
, "(") #)
14540 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14541 if (D_is_set
[macro
]) {
14542 # Preserve the white space surrounding the "#".
14543 print prefix
"define", macro P
[macro
] D
[macro
]
14546 # Replace #undef with comments. This is necessary, for example,
14547 # in the case of _POSIX_SOURCE, which is predefined and required
14548 # on some systems where configure will not decide to define it.
14549 if (defundef
== "undef") {
14550 print
"/*", prefix defundef
, macro
, "*/"
14558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14559 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14560 fi # test -n "$CONFIG_HEADERS"
14563 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14568 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14570 case $ac_mode$ac_tag in
14572 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14573 :[FH
]-) ac_tag
=-:-;;
14574 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14591 -) ac_f
="$ac_tmp/stdin";;
14592 *) # Look for the file first in the build tree, then in the source tree
14593 # (if the path is not absolute). The absolute path cannot be DOS-style,
14594 # because $ac_f cannot contain `:'.
14598 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14600 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14602 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14603 as_fn_append ac_file_inputs
" '$ac_f'"
14606 # Let's still pretend it is `configure' which instantiates (i.e., don't
14607 # use $as_me), people would be surprised to read:
14608 # /* config.h. Generated by config.status. */
14609 configure_input
='Generated from '`
14610 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14612 if test x
"$ac_file" != x-
; then
14613 configure_input
="$ac_file. $configure_input"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14615 $as_echo "$as_me: creating $ac_file" >&6;}
14617 # Neutralize special characters interpreted by sed in replacement strings.
14618 case $configure_input in #(
14619 *\
&* |
*\|
* |
*\\* )
14620 ac_sed_conf_input
=`$as_echo "$configure_input" |
14621 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14622 *) ac_sed_conf_input
=$configure_input;;
14626 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
14627 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14632 ac_dir
=`$as_dirname -- "$ac_file" ||
14633 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14634 X"$ac_file" : 'X\(//\)[^/]' \| \
14635 X"$ac_file" : 'X\(//\)$' \| \
14636 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14637 $as_echo X"$ac_file" |
14638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14642 /^X\(\/\/\)[^/].*/{
14655 as_dir
="$ac_dir"; as_fn_mkdir_p
14659 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14661 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14662 # A ".." for each directory in $ac_dir_suffix.
14663 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14664 case $ac_top_builddir_sub in
14665 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14666 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14669 ac_abs_top_builddir
=$ac_pwd
14670 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14671 # for backward compatibility:
14672 ac_top_builddir
=$ac_top_build_prefix
14675 .
) # We are building in place.
14677 ac_top_srcdir
=$ac_top_builddir_sub
14678 ac_abs_top_srcdir
=$ac_pwd ;;
14679 [\\/]* | ?
:[\\/]* ) # Absolute name.
14680 ac_srcdir
=$srcdir$ac_dir_suffix;
14681 ac_top_srcdir
=$srcdir
14682 ac_abs_top_srcdir
=$srcdir ;;
14683 *) # Relative name.
14684 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14685 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14686 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14688 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14698 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14699 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14701 ac_MKDIR_P
=$MKDIR_P
14703 [\\/$
]* | ?
:[\\/]* ) ;;
14704 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14709 # If the template does not know about datarootdir, expand it.
14710 # FIXME: This hack should be removed a few years after 2.60.
14711 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14722 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14723 *datarootdir
*) ac_datarootdir_seen
=yes;;
14724 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14726 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14729 ac_datarootdir_hack='
14730 s&@datadir@&$datadir&g
14731 s&@docdir@&$docdir&g
14732 s&@infodir@&$infodir&g
14733 s&@localedir@&$localedir&g
14734 s&@mandir@&$mandir&g
14735 s&\\\${datarootdir}&$datarootdir&g' ;;
14739 # Neutralize VPATH when `$srcdir' = `.'.
14740 # Shell code in configure.ac might set extrasub.
14741 # FIXME: do we really want to maintain this feature?
14742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14743 ac_sed_extra="$ac_vpsub
14746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14748 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14749 s|@configure_input@|
$ac_sed_conf_input|
;t t
14750 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14751 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14752 s
&@srcdir@
&$ac_srcdir&;t t
14753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14756 s
&@builddir@
&$ac_builddir&;t t
14757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14759 s
&@INSTALL@
&$ac_INSTALL&;t t
14760 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14761 $ac_datarootdir_hack
14763 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14764 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14767 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14769 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14771 which seems to be undefined. Please make sure it is defined" >&5
14772 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14773 which seems to be undefined. Please make sure it is defined" >&2;}
14775 rm -f "$ac_tmp/stdin"
14777 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14778 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14786 if test x"$ac_file" != x-; then
14788 $as_echo "/* $configure_input */" \
14789 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14790 } >"$ac_tmp/config.h" \
14791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14792 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14794 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14797 mv "$ac_tmp/config.h" "$ac_file" \
14798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14801 $as_echo "/* $configure_input */" \
14802 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14803 || as_fn_error $? "could not create -" "$LINENO" 5
14805 # Compute "$ac_file"'s index
in $config_headers.
14808 for _am_header
in $config_headers :; do
14809 case $_am_header in
14810 $_am_arg |
$_am_arg:* )
14813 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14816 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14817 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14818 X"$_am_arg" : 'X\(//\)[^/]' \| \
14819 X"$_am_arg" : 'X\(//\)$' \| \
14820 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14821 $as_echo X"$_am_arg" |
14822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14826 /^X\(\/\/\)[^/].*/{
14838 s/.*/./; q'`/stamp-h
$_am_stamp_count
14841 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14842 $as_echo "$as_me: executing $ac_file commands" >&6;}
14847 case $ac_file$ac_mode in
14848 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14849 # Older Autoconf quotes --file arguments for eval, but not when files
14850 # are listed without --file. Let's play safe and only enable the eval
14851 # if we detect the quoting.
14852 case $CONFIG_FILES in
14853 *\'*) eval set x
"$CONFIG_FILES" ;;
14854 *) set x
$CONFIG_FILES ;;
14859 # Strip MF so we end up with the name of the file.
14860 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14861 # Check whether this is an Automake generated Makefile or not.
14862 # We used to match only the files named 'Makefile.in', but
14863 # some people rename them; so instead we look at the file content.
14864 # Grep'ing the first line is not enough: some people post-process
14865 # each Makefile.in and add a new line on top of each file to say so.
14866 # Grep'ing the whole file is not good either: AIX grep has a line
14867 # limit of 2048, but all sed's we know have understand at least 4000.
14868 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14869 dirpart
=`$as_dirname -- "$mf" ||
14870 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14871 X"$mf" : 'X\(//\)[^/]' \| \
14872 X"$mf" : 'X\(//\)$' \| \
14873 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14879 /^X\(\/\/\)[^/].*/{
14895 # Extract the definition of DEPDIR, am__include, and am__quote
14896 # from the Makefile without running 'make'.
14897 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14898 test -z "$DEPDIR" && continue
14899 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14900 test -z "$am__include" && continue
14901 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14902 # Find all dependency output files, they are included files with
14903 # $(DEPDIR) in their names. We invoke sed twice because it is the
14904 # simplest approach to changing $(DEPDIR) to its actual value in the
14906 for file in `sed -n "
14907 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14908 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14909 # Make sure the directory exists.
14910 test -f "$dirpart/$file" && continue
14911 fdir
=`$as_dirname -- "$file" ||
14912 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14913 X"$file" : 'X\(//\)[^/]' \| \
14914 X"$file" : 'X\(//\)$' \| \
14915 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14916 $as_echo X"$file" |
14917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14921 /^X\(\/\/\)[^/].*/{
14934 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14935 # echo "creating $dirpart/$file"
14936 echo '# dummy' > "$dirpart/$file"
14943 # See if we are running on zsh, and set the options that allow our
14944 # commands through without removal of \ escapes.
14945 if test -n "${ZSH_VERSION+set}"; then
14946 setopt NO_GLOB_SUBST
14950 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14953 cat <<_LT_EOF >> "$cfgfile"
14955 # Generated automatically by $as_me ($PACKAGE) $VERSION
14956 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14957 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14959 # Provide generalized library-building support services.
14960 # Written by Gordon Matzigkeit, 1996
14962 # Copyright (C) 2014 Free Software Foundation, Inc.
14963 # This is free software; see the source for copying conditions. There is NO
14964 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14966 # GNU Libtool is free software; you can redistribute it and/or modify
14967 # it under the terms of the GNU General Public License as published by
14968 # the Free Software Foundation; either version 2 of of the License, or
14969 # (at your option) any later version.
14971 # As a special exception to the GNU General Public License, if you
14972 # distribute this file as part of a program or library that is built
14973 # using GNU Libtool, you may include this file under the same
14974 # distribution terms that you use for the rest of that program.
14976 # GNU Libtool is distributed in the hope that it will be useful, but
14977 # WITHOUT ANY WARRANTY; without even the implied warranty of
14978 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14979 # GNU General Public License for more details.
14981 # You should have received a copy of the GNU General Public License
14982 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14985 # The names of the tagged configurations supported by this script.
14988 # Configured defaults for sys_lib_dlsearch_path munging.
14989 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14991 # ### BEGIN LIBTOOL CONFIG
14993 # Which release of libtool.m4 was used?
14994 macro_version=$macro_version
14995 macro_revision=$macro_revision
14997 # Whether or not to build shared libraries.
14998 build_libtool_libs=$enable_shared
15000 # Whether or not to build static libraries.
15001 build_old_libs=$enable_static
15003 # What type of objects to build.
15006 # Whether or not to optimize for fast installation.
15007 fast_install=$enable_fast_install
15009 # Shared archive member basename,for filename based shared library versioning on AIX.
15010 shared_archive_member_spec=$shared_archive_member_spec
15012 # Shell to use when invoking shell scripts.
15015 # An echo program that protects backslashes.
15018 # The PATH separator for the build system.
15019 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15022 host_alias=$host_alias
15026 # The build system.
15027 build_alias=$build_alias
15031 # A sed program that does not truncate output.
15034 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15035 Xsed="\$SED -e 1s/^X//"
15037 # A grep program that handles long lines.
15043 # A literal string matcher.
15046 # A BSD- or MS-compatible name lister.
15049 # Whether we need soft or hard links.
15052 # What is the maximum length of a command?
15053 max_cmd_len=$max_cmd_len
15055 # Object file suffix (normally "o").
15058 # Executable file suffix (normally "").
15061 # whether the shell understands "unset".
15064 # turn spaces into newlines.
15067 # turn newlines into spaces.
15070 # convert \$build file names to \$host format.
15071 to_host_file_cmd=$lt_cv_to_host_file_cmd
15073 # convert \$build files to toolchain format.
15074 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15076 # An object symbol dumper.
15077 OBJDUMP=$lt_OBJDUMP
15079 # Method to check whether dependent libraries are shared objects.
15080 deplibs_check_method=$lt_deplibs_check_method
15082 # Command to use when deplibs_check_method = "file_magic".
15083 file_magic_cmd=$lt_file_magic_cmd
15085 # How to find potential files when deplibs_check_method = "file_magic".
15086 file_magic_glob=$lt_file_magic_glob
15088 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15089 want_nocaseglob=$lt_want_nocaseglob
15091 # DLL creation program.
15092 DLLTOOL=$lt_DLLTOOL
15094 # Command to associate shared and link libraries.
15095 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15100 # Flags to create an archive.
15101 AR_FLAGS=$lt_AR_FLAGS
15103 # How to feed a file listing to the archiver.
15104 archiver_list_spec=$lt_archiver_list_spec
15106 # A symbol stripping program.
15109 # Commands used to install an old-style archive.
15111 old_postinstall_cmds=$lt_old_postinstall_cmds
15112 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15114 # Whether to use a lock for old archive extraction.
15115 lock_old_archive_extraction=$lock_old_archive_extraction
15120 # LTCC compiler flags.
15121 LTCFLAGS=$lt_CFLAGS
15123 # Take the output of nm and produce a listing of raw symbols and C names.
15124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15126 # Transform the output of nm in a proper C declaration.
15127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15129 # Transform the output of nm into a list of symbols to manually relocate.
15130 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15132 # Transform the output of nm in a C name address pair.
15133 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15135 # Transform the output of nm in a C name address pair when lib prefix is needed.
15136 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15138 # The name lister interface.
15139 nm_interface=$lt_lt_cv_nm_interface
15141 # Specify filename containing input files for \$NM.
15142 nm_file_list_spec=$lt_nm_file_list_spec
15144 # The root where to search for dependent libraries,and where our libraries should be installed.
15145 lt_sysroot=$lt_sysroot
15147 # Command to truncate a binary pipe.
15148 lt_truncate_bin=$lt_lt_cv_truncate_bin
15150 # The name of the directory that contains temporary libtool files.
15153 # Used to examine libraries when file_magic_cmd begins with "file".
15154 MAGIC_CMD=$MAGIC_CMD
15156 # Must we lock files when doing compilation?
15157 need_locks=$lt_need_locks
15160 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15162 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15163 DSYMUTIL=$lt_DSYMUTIL
15165 # Tool to change global to local symbols on Mac OS X.
15168 # Tool to manipulate fat objects and archives on Mac OS X.
15171 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15174 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15175 OTOOL64=$lt_OTOOL64
15177 # Old archive suffix (normally "a").
15180 # Shared library suffix (normally ".so").
15181 shrext_cmds=$lt_shrext_cmds
15183 # The commands to extract the exported symbol list from a shared archive.
15184 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15186 # Variables whose values should be saved in libtool wrapper scripts and
15187 # restored at link time.
15188 variables_saved_for_relink=$lt_variables_saved_for_relink
15190 # Do we need the "lib" prefix for modules?
15191 need_lib_prefix=$need_lib_prefix
15193 # Do we need a version for libraries?
15194 need_version=$need_version
15196 # Library versioning type.
15197 version_type=$version_type
15199 # Shared library runtime path variable.
15200 runpath_var=$runpath_var
15202 # Shared library path variable.
15203 shlibpath_var=$shlibpath_var
15205 # Is shlibpath searched before the hard-coded library search path?
15206 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15208 # Format of library name prefix.
15209 libname_spec=$lt_libname_spec
15211 # List of archive names. First name is the real one, the rest are links.
15212 # The last name is the one that the linker finds with -lNAME
15213 library_names_spec=$lt_library_names_spec
15215 # The coded name of the library, if different from the real name.
15216 soname_spec=$lt_soname_spec
15218 # Permission mode override for installation of shared libraries.
15219 install_override_mode=$lt_install_override_mode
15221 # Command to use after installation of a shared archive.
15222 postinstall_cmds=$lt_postinstall_cmds
15224 # Command to use after uninstallation of a shared archive.
15225 postuninstall_cmds=$lt_postuninstall_cmds
15227 # Commands used to finish a libtool library installation in a directory.
15228 finish_cmds=$lt_finish_cmds
15230 # As "finish_cmds", except a single script fragment to be evaled but
15232 finish_eval=$lt_finish_eval
15234 # Whether we should hardcode library paths into libraries.
15235 hardcode_into_libs=$hardcode_into_libs
15237 # Compile-time system search path for libraries.
15238 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15240 # Detected run-time system search path for libraries.
15241 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15243 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15244 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15246 # Whether dlopen is supported.
15247 dlopen_support=$enable_dlopen
15249 # Whether dlopen of programs is supported.
15250 dlopen_self=$enable_dlopen_self
15252 # Whether dlopen of statically linked programs is supported.
15253 dlopen_self_static=$enable_dlopen_self_static
15255 # Commands to strip libraries.
15256 old_striplib=$lt_old_striplib
15257 striplib=$lt_striplib
15260 # The linker used to build libraries.
15263 # How to create reloadable object files.
15264 reload_flag=$lt_reload_flag
15265 reload_cmds=$lt_reload_cmds
15267 # Commands used to build an old-style archive.
15268 old_archive_cmds=$lt_old_archive_cmds
15270 # A language specific compiler.
15273 # Is the compiler the GNU compiler?
15276 # Compiler flag to turn off builtin functions.
15277 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15279 # Additional compiler flags for building library objects.
15280 pic_flag=$lt_lt_prog_compiler_pic
15282 # How to pass a linker flag through the compiler.
15283 wl=$lt_lt_prog_compiler_wl
15285 # Compiler flag to prevent dynamic linking.
15286 link_static_flag=$lt_lt_prog_compiler_static
15288 # Does compiler simultaneously support -c and -o options?
15289 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15291 # Whether or not to add -lc for building shared libraries.
15292 build_libtool_need_lc=$archive_cmds_need_lc
15294 # Whether or not to disallow shared libs when runtime libs are static.
15295 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15297 # Compiler flag to allow reflexive dlopens.
15298 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15300 # Compiler flag to generate shared objects directly from archives.
15301 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15303 # Whether the compiler copes with passing no objects directly.
15304 compiler_needs_object=$lt_compiler_needs_object
15306 # Create an old-style archive from a shared archive.
15307 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15309 # Create a temporary old-style archive to link instead of a shared archive.
15310 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15312 # Commands used to build a shared archive.
15313 archive_cmds=$lt_archive_cmds
15314 archive_expsym_cmds=$lt_archive_expsym_cmds
15316 # Commands used to build a loadable module if different from building
15317 # a shared archive.
15318 module_cmds=$lt_module_cmds
15319 module_expsym_cmds=$lt_module_expsym_cmds
15321 # Whether we are building with GNU ld or not.
15322 with_gnu_ld=$lt_with_gnu_ld
15324 # Flag that allows shared libraries with undefined symbols to be built.
15325 allow_undefined_flag=$lt_allow_undefined_flag
15327 # Flag that enforces no undefined symbols.
15328 no_undefined_flag=$lt_no_undefined_flag
15330 # Flag to hardcode \$libdir into a binary during linking.
15331 # This must work even if \$libdir does not exist
15332 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15334 # Whether we need a single "-rpath" flag with a separated argument.
15335 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15337 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15338 # DIR into the resulting binary.
15339 hardcode_direct=$hardcode_direct
15341 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15342 # DIR into the resulting binary and the resulting library dependency is
15343 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15344 # library is relocated.
15345 hardcode_direct_absolute=$hardcode_direct_absolute
15347 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15348 # into the resulting binary.
15349 hardcode_minus_L=$hardcode_minus_L
15351 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15352 # into the resulting binary.
15353 hardcode_shlibpath_var=$hardcode_shlibpath_var
15355 # Set to "yes" if building a shared library automatically hardcodes DIR
15356 # into the library and all subsequent libraries and executables linked
15358 hardcode_automatic=$hardcode_automatic
15360 # Set to yes if linker adds runtime paths of dependent libraries
15361 # to runtime path list.
15362 inherit_rpath=$inherit_rpath
15364 # Whether libtool must link a program against all its dependency libraries.
15365 link_all_deplibs=$link_all_deplibs
15367 # Set to "yes" if exported symbols are required.
15368 always_export_symbols=$always_export_symbols
15370 # The commands to list exported symbols.
15371 export_symbols_cmds=$lt_export_symbols_cmds
15373 # Symbols that should not be listed in the preloaded symbols.
15374 exclude_expsyms=$lt_exclude_expsyms
15376 # Symbols that must always be exported.
15377 include_expsyms=$lt_include_expsyms
15379 # Commands necessary for linking programs (against libraries) with templates.
15380 prelink_cmds=$lt_prelink_cmds
15382 # Commands necessary for finishing linking programs.
15383 postlink_cmds=$lt_postlink_cmds
15385 # Specify filename containing input files.
15386 file_list_spec=$lt_file_list_spec
15388 # How to hardcode a shared library path into an executable.
15389 hardcode_action=$hardcode_action
15391 # ### END LIBTOOL CONFIG
15395 cat <<'_LT_EOF' >> "$cfgfile"
15397 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15399 # func_munge_path_list VARIABLE PATH
15400 # -----------------------------------
15401 # VARIABLE is name of variable containing _space_ separated list of
15402 # directories to be munged by the contents of PATH, which is string
15405 # string "DIR[ DIR]" will be prepended to VARIABLE
15407 # string "DIR[ DIR]" will be appended to VARIABLE
15408 # "DIRP[:DIRP]::[DIRA:]DIRA"
15409 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15410 # "DIRA[ DIRA]" will be appended to VARIABLE
15412 # VARIABLE will be replaced by "DIR[ DIR]"
15413 func_munge_path_list ()
15419 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15422 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15425 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15426 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15429 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15435 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15436 func_cc_basename ()
15438 for cc_temp in $*""; do
15440 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15441 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15446 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15450 # ### END FUNCTIONS SHARED WITH CONFIGURE
15456 cat <<\_LT_EOF
>> "$cfgfile"
15457 # AIX sometimes has problems with the GCC collect2 program. For some
15458 # reason, if we set the COLLECT_NAMES environment variable, the problems
15459 # vanish in a puff of smoke.
15460 if test set != "${COLLECT_NAMES+set}"; then
15462 export COLLECT_NAMES
15469 ltmain
=$ac_aux_dir/ltmain.sh
15472 # We use sed instead of cat because bash on DJGPP gets confused if
15473 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15474 # text mode, it properly converts lines to CR/LF. This bash problem
15475 # is reportedly fixed, but why not run on old versions too?
15476 sed '$q' "$ltmain" >> "$cfgfile" \
15477 ||
(rm -f "$cfgfile"; exit 1)
15479 mv -f "$cfgfile" "$ofile" ||
15480 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15491 ac_clean_files
=$ac_clean_files_save
15493 test $ac_write_fail = 0 ||
15494 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15497 # configure is writing to config.log, and then calls config.status.
15498 # config.status does its own redirection, appending to config.log.
15499 # Unfortunately, on DOS this fails, as config.log is still kept open
15500 # by configure, so config.status won't be able to write to it; its
15501 # output is simply discarded. So we exec the FD to /dev/null,
15502 # effectively closing config.log, so it can be properly (re)opened and
15503 # appended to by config.status. When coming back to configure, we
15504 # need to make the FD available again.
15505 if test "$no_create" != yes; then
15507 ac_config_status_args
=
15508 test "$silent" = yes &&
15509 ac_config_status_args
="$ac_config_status_args --quiet"
15511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15514 # would make configure fail if this is the last instruction.
15515 $ac_cs_success || as_fn_exit
1
15517 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15519 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}