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
700 INSTALL_STRIP_PROGRAM
742 program_transform_name
755 enable_option_checking
757 enable_dependency_tracking
768 ac_precious_vars
='build_alias
779 # Initialize some variables set by options.
781 ac_init_version
=false
782 ac_unrecognized_opts
=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name
=s
,x
,x
,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir
='${exec_prefix}/bin'
808 sbindir
='${exec_prefix}/sbin'
809 libexecdir
='${exec_prefix}/libexec'
810 datarootdir
='${prefix}/share'
811 datadir
='${datarootdir}'
812 sysconfdir
='${prefix}/etc'
813 sharedstatedir
='${prefix}/com'
814 localstatedir
='${prefix}/var'
815 includedir
='${prefix}/include'
816 oldincludedir
='/usr/include'
817 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir
='${datarootdir}/info'
823 libdir
='${exec_prefix}/lib'
824 localedir
='${datarootdir}/locale'
825 mandir
='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\
$ac_option
839 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error $?
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=no
;;
898 -docdir |
--docdir |
--docdi |
--doc |
--do)
900 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
903 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
905 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
908 -enable-* |
--enable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error $?
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error $?
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error $?
"invalid package name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=no
;;
1145 # Obsolete; use --with-x.
1148 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1149 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1150 ac_prev
=x_includes
;;
1151 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1152 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1153 x_includes
=$ac_optarg ;;
1155 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1156 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1157 ac_prev
=x_libraries
;;
1158 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1159 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1160 x_libraries
=$ac_optarg ;;
1162 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information"
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1171 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\
$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187 if test -n "$ac_prev"; then
1188 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error $?
"missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1240 test "$silent" = yes && exec 6>/dev
/null
1243 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di
=`ls -di .` &&
1245 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error $?
"working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error $?
"pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted
=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir
=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted
=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1287 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var
in $ac_precious_vars; do
1304 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1306 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures random128 0.10 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking ...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/random128]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1380 --build=BUILD configure
for building on BUILD
[guessed
]
1381 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1385 if test -n "$ac_init_help"; then
1386 case $ac_init_help in
1387 short | recursive
) echo "Configuration of random128 0.10:";;
1392 --disable-option-checking ignore unrecognized
--enable/--with options
1393 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1394 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1395 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1396 --disable-silent-rules verbose build output
(undo
: "make V=0")
1397 --enable-dependency-tracking
1398 do not reject slow dependency extractors
1399 --disable-dependency-tracking
1400 speeds up one-time build
1401 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1402 --enable-static[=PKGS
] build static libraries
[default
=yes]
1403 --enable-fast-install[=PKGS
]
1404 optimize
for fast installation
[default
=yes]
1405 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1406 --disable-largefile omit support
for large files
1409 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1410 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1411 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1413 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1414 --with-sysroot=DIR Search
for dependent libraries within DIR
1415 (or the compiler
's sysroot if not specified).
1416 --with-random=/dev/urandom - location of the system random file generator
1417 --without-random - there is no system random file generator
1419 Some influential environment variables:
1420 CC C compiler command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1423 nonstandard directory <lib dir>
1424 LIBS libraries to pass to the linker, e.g. -l<library>
1425 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1426 you have headers in a nonstandard directory <include dir>
1429 Use these variables to override the choices made by `configure' or to
help
1430 it to
find libraries and programs with nonstandard names
/locations.
1432 Report bugs to
<courier-users@lists.sourceforge.net
>.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1440 test -d "$ac_dir" ||
1441 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1446 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1448 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1453 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir
=$ac_pwd
1457 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir
=$ac_top_build_prefix
1462 .
) # We are building in place.
1464 ac_top_srcdir
=$ac_top_builddir_sub
1465 ac_abs_top_srcdir
=$ac_pwd ;;
1466 [\\/]* | ?
:[\\/]* ) # Absolute name.
1467 ac_srcdir
=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir
=$srcdir
1469 ac_abs_top_srcdir
=$srcdir ;;
1471 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 random128 configure
0.10
1496 generated by GNU Autoconf
2.69
1498 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1499 This configure
script is free software
; the Free Software Foundation
1500 gives unlimited permission to copy
, distribute and modify it.
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1509 # ac_fn_c_try_compile LINENO
1510 # --------------------------
1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile
()
1514 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1515 rm -f conftest.
$ac_objext
1516 if { { ac_try
="$ac_compile"
1518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_compile") 2>conftest.err
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest.$ac_objext; then :
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status $ac_retval
1545 } # ac_fn_c_try_compile
1547 # ac_fn_c_try_cpp LINENO
1548 # ----------------------
1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 if { { ac_try="$ac_cpp conftest.$ac_ext"
1555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1556 *) ac_try_echo
=$ac_try;;
1558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1562 if test -s conftest.err
; then
1563 grep -v '^ *+' conftest.err
>conftest.er1
1564 cat conftest.er1
>&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } > conftest.i
&& {
1569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.
$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status
$ac_retval
1584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1585 # -------------------------------------------------------
1586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1587 # the include files in INCLUDES and setting the cache variable VAR
1589 ac_fn_c_check_header_mongrel
()
1591 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1592 if eval \
${$3+:} false
; then :
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1594 $as_echo_n "checking for $2... " >&6; }
1595 if eval \
${$3+:} false
; then :
1596 $as_echo_n "(cached) " >&6
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1600 $as_echo "$ac_res" >&6; }
1602 # Is the header compilable?
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1604 $as_echo_n "checking $2 usability... " >&6; }
1605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1610 if ac_fn_c_try_compile
"$LINENO"; then :
1611 ac_header_compiler
=yes
1613 ac_header_compiler
=no
1615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1617 $as_echo "$ac_header_compiler" >&6; }
1619 # Is the header present?
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1621 $as_echo_n "checking $2 presence... " >&6; }
1622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h. */
1626 if ac_fn_c_try_cpp
"$LINENO"; then :
1627 ac_header_preproc
=yes
1629 ac_header_preproc
=no
1631 rm -f conftest.err conftest.i conftest.
$ac_ext
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1633 $as_echo "$ac_header_preproc" >&6; }
1635 # So? What about this header?
1636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1654 ( $as_echo "## -------------------------------------------------- ##
1655 ## Report this to courier-users@lists.sourceforge.net ##
1656 ## -------------------------------------------------- ##"
1657 ) |
sed "s/^/$as_me: WARNING: /" >&2
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1661 $as_echo_n "checking for $2... " >&6; }
1662 if eval \
${$3+:} false
; then :
1663 $as_echo_n "(cached) " >&6
1665 eval "$3=\$ac_header_compiler"
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 } # ac_fn_c_check_header_mongrel
1675 # ac_fn_c_try_run LINENO
1676 # ----------------------
1677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1678 # that executables *can* be run.
1681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1682 if { { ac_try
="$ac_link"
1684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_link") 2>&5
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1693 { { case "(($ac_try" in
1694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1695 *) ac_try_echo
=$ac_try;;
1697 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_try") 2>&5
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; }; }; then :
1705 $as_echo "$as_me: program exited with status $ac_status" >&5
1706 $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.
$ac_ext >&5
1709 ac_retval
=$ac_status
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 as_fn_set_status
$ac_retval
1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1718 # -------------------------------------------------------
1719 # Tests whether HEADER exists and can be compiled using the include files in
1720 # INCLUDES, setting the cache variable VAR accordingly.
1721 ac_fn_c_check_header_compile
()
1723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if eval \
${$3+:} false
; then :
1727 $as_echo_n "(cached) " >&6
1729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h. */
1734 if ac_fn_c_try_compile
"$LINENO"; then :
1739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746 } # ac_fn_c_check_header_compile
1748 # ac_fn_c_try_link LINENO
1749 # -----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1754 rm -f conftest.
$ac_objext conftest
$ac_exeext
1755 if { { ac_try
="$ac_link"
1757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_link") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest$ac_exeext && {
1774 test "$cross_compiling" = yes ||
1775 test -x conftest$ac_exeext
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1784 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1785 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1786 # interfere with the next link command; also delete a directory that is
1787 # left behind by Apple's compiler. We do this before executing the actions.
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1792 } # ac_fn_c_try_link
1794 # ac_fn_c_check_func LINENO FUNC VAR
1795 # ----------------------------------
1796 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1797 ac_fn_c_check_func ()
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \${$3+:} false; then :
1803 $as_echo_n "(cached) " >&6
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1807 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1809 #define $2 innocuous_$2
1811 /* System header to define __stub macros and hopefully few prototypes,
1812 which can conflict with char $2 (); below.
1813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814 <limits.h> exists even on freestanding compilers. */
1817 # include <limits.h>
1819 # include <assert.h>
1824 /* Override any GCC internal prototype to avoid an error.
1825 Use char because int might match the return type of a GCC
1826 builtin and then its argument prototype would still apply. */
1831 /* The GNU C library defines this for functions which it implements
1832 to always fail with ENOSYS. Some functions are actually named
1833 something starting with __ and the normal name is an alias. */
1834 #if defined __stub_$2 || defined __stub___$2
1846 if ac_fn_c_try_link "$LINENO"; then :
1851 rm -f core conftest.err conftest.$ac_objext \
1852 conftest$ac_exeext conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_func
1861 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1862 # -------------------------------------------
1863 # Tests whether TYPE exists after having included INCLUDES, setting cache
1864 # variable VAR accordingly.
1865 ac_fn_c_check_type ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1886 if ac_fn_c_try_compile "$LINENO"; then :
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1899 if ac_fn_c_try_compile "$LINENO"; then :
1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 } # ac_fn_c_check_type
1914 cat >config.log <<_ACEOF
1915 This file contains any messages produced by compilers while
1916 running configure, to aid debugging if configure makes a mistake.
1918 It was created by random128 $as_me 0.10, which was
1919 generated by GNU Autoconf 2.69. Invocation command line was
1931 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1932 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1933 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1934 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1935 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1937 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1938 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1940 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1941 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1942 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1943 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1944 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1945 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1946 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954 test -z "$as_dir" && as_dir=.
1955 $as_echo "PATH: $as_dir"
1971 # Keep a trace of the command line.
1972 # Strip out --no-create and --no-recursion so they do not pile up.
1973 # Strip out --silent because we don't want to record it for future runs.
1974 # Also quote any args containing shell meta-characters.
1975 # Make two passes to allow for proper duplicate-argument suppression.
1979 ac_must_keep_next=false
1985 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1987 | -silent | --silent | --silen | --sile | --sil)
1990 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1993 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1995 as_fn_append ac_configure_args1 " '$ac_arg'"
1996 if test $ac_must_keep_next = true; then
1997 ac_must_keep_next=false # Got value, back to normal.
2000 *=* | --config-cache | -C | -disable-* | --disable-* \
2001 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2002 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2003 | -with-* | --with-* | -without-* | --without-* | --x)
2004 case "$ac_configure_args0 " in
2005 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2008 -* ) ac_must_keep_next=true ;;
2011 as_fn_append ac_configure_args " '$ac_arg'"
2016 { ac_configure_args0=; unset ac_configure_args0;}
2017 { ac_configure_args1=; unset ac_configure_args1;}
2019 # When interrupted or exit'd, cleanup temporary files, and complete
2020 # config.log. We remove comments because anyway the quotes in there
2021 # would cause problems or look ugly.
2022 # WARNING: Use '\'' to represent an apostrophe within the trap.
2023 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2024 trap 'exit_status=$?
2025 # Save into config.log some information that might help in debugging.
2029 $as_echo "## ---------------- ##
2030 ## Cache variables. ##
2031 ## ---------------- ##"
2033 # The following way of writing the cache mishandles newlines in values,
2035 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2036 eval ac_val=\$$ac_var
2040 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2041 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2044 _ | IFS | as_nl) ;; #(
2045 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2046 *) { eval $ac_var=; unset $ac_var;} ;;
2051 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2052 *${as_nl}ac_space=\ *)
2054 "s/'\''/'\''\\\\'\'''\''/g;
2055 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2058 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2065 $as_echo "## ----------------- ##
2066 ## Output variables. ##
2067 ## ----------------- ##"
2069 for ac_var in $ac_subst_vars
2071 eval ac_val=\$$ac_var
2073 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2075 $as_echo "$ac_var='\''$ac_val'\''"
2079 if test -n "$ac_subst_files"; then
2080 $as_echo "## ------------------- ##
2081 ## File substitutions. ##
2082 ## ------------------- ##"
2084 for ac_var in $ac_subst_files
2086 eval ac_val=\$$ac_var
2088 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2090 $as_echo "$ac_var='\''$ac_val'\''"
2095 if test -s confdefs.h; then
2096 $as_echo "## ----------- ##
2103 test "$ac_signal" != 0 &&
2104 $as_echo "$as_me: caught signal $ac_signal"
2105 $as_echo "$as_me: exit $exit_status"
2107 rm -f core *.core core.conftest.* &&
2108 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2111 for ac_signal in 1 2 13 15; do
2112 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2116 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2117 rm -f -r conftest* confdefs.h
2119 $as_echo "/* confdefs.h */" > confdefs.h
2121 # Predefined preprocessor variables.
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_NAME "$PACKAGE_NAME"
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_STRING "$PACKAGE_STRING"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_URL "$PACKAGE_URL"
2148 # Let the site file select an alternate cache file if it wants to.
2149 # Prefer an explicitly selected file to automatically selected ones.
2152 if test -n "$CONFIG_SITE"; then
2153 # We do not want a PATH search for config.site.
2154 case $CONFIG_SITE in #((
2155 -*) ac_site_file1=./$CONFIG_SITE;;
2156 */*) ac_site_file1=$CONFIG_SITE;;
2157 *) ac_site_file1=./$CONFIG_SITE;;
2159 elif test "x$prefix" != xNONE; then
2160 ac_site_file1=$prefix/share/config.site
2161 ac_site_file2=$prefix/etc/config.site
2163 ac_site_file1=$ac_default_prefix/share/config.site
2164 ac_site_file2=$ac_default_prefix/etc/config.site
2166 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2168 test "x$ac_site_file" = xNONE && continue
2169 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2171 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2172 sed 's/^/| /' "$ac_site_file" >&5
2174 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2176 as_fn_error $? "failed to load site
script $ac_site_file
2177 See \
`config.log' for more details" "$LINENO" 5; }
2181 if test -r "$cache_file"; then
2182 # Some versions of bash will fail to source /dev/null (special files
2183 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2184 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2186 $as_echo "$as_me: loading cache $cache_file" >&6;}
2188 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2189 *) . "./$cache_file";;
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2194 $as_echo "$as_me: creating cache $cache_file" >&6;}
2198 # Check that the precious variables saved in the cache have kept the same
2200 ac_cache_corrupted=false
2201 for ac_var in $ac_precious_vars; do
2202 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2203 eval ac_new_set=\$ac_env_${ac_var}_set
2204 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2205 eval ac_new_val=\$ac_env_${ac_var}_value
2206 case $ac_old_set,$ac_new_set in
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2209 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2210 ac_cache_corrupted=: ;;
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2213 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2214 ac_cache_corrupted=: ;;
2217 if test "x$ac_old_val" != "x$ac_new_val"; then
2218 # differences in whitespace do not lead to failure.
2219 ac_old_val_w=`echo x
$ac_old_val`
2220 ac_new_val_w=`echo x
$ac_new_val`
2221 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2223 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2224 ac_cache_corrupted=:
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2227 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2228 eval $ac_var=\$ac_old_val
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2231 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2233 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2236 # Pass precious variables to config.status.
2237 if test "$ac_new_set" = set; then
2239 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2240 *) ac_arg=$ac_var=$ac_new_val ;;
2242 case " $ac_configure_args " in
2243 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2244 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2248 if $ac_cache_corrupted; then
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2252 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2253 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2255 ## -------------------- ##
2256 ## Main body of script. ##
2257 ## -------------------- ##
2260 ac_cpp='$CPP $CPPFLAGS'
2261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2267 >confdefs.h # Kill PACKAGE_ macros
2271 for ac_dir in ../.. "$srcdir"/../..; do
2272 if test -f "$ac_dir/install-sh"; then
2274 ac_install_sh="$ac_aux_dir/install-sh -c"
2276 elif test -f "$ac_dir/install.sh"; then
2278 ac_install_sh="$ac_aux_dir/install.sh -c"
2280 elif test -f "$ac_dir/shtool"; then
2282 ac_install_sh="$ac_aux_dir/shtool install -c"
2286 if test -z "$ac_aux_dir"; then
2287 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2290 # These three variables are undocumented and unsupported,
2291 # and are intended to be withdrawn in a future Autoconf release.
2292 # They can cause serious problems if a builder's source tree is in a directory
2293 # whose full name contains unusual characters.
2294 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2295 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2296 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2299 am__api_version='1.13'
2301 # Find a good install program. We prefer a C program (faster),
2302 # so one script is as good as another. But avoid the broken or
2303 # incompatible versions:
2304 # SysV /etc/install, /usr/sbin/install
2305 # SunOS /usr/etc/install
2306 # IRIX /sbin/install
2308 # AmigaOS /C/install, which installs bootblocks on floppy discs
2309 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2310 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2311 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2312 # OS/2's system install, which has a completely different semantic
2313 # ./install, which can be erroneously created by make from ./install.sh.
2314 # Reject install programs that cannot install multiple files.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2316 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2317 if test -z "$INSTALL"; then
2318 if ${ac_cv_path_install+:} false; then :
2319 $as_echo_n "(cached) " >&6
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 # Account for people who put trailing slashes in PATH elements.
2327 case $as_dir/ in #((
2328 ./ | .// | /[cC]/* | \
2329 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2330 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2333 # OSF1 and SCO ODT 3.0 have their own names for install.
2334 # Don't use installbsd from OSF since it installs stuff as root
2336 for ac_prog in ginstall scoinst install; do
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2339 if test $ac_prog = install &&
2340 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341 # AIX install. It has an incompatible calling convention.
2343 elif test $ac_prog = install &&
2344 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2345 # program-specific install script used by HP pwplus--don't use.
2348 rm -rf conftest.one conftest.two conftest.dir
2349 echo one > conftest.one
2350 echo two > conftest.two
2352 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2353 test -s conftest.one && test -s conftest.two &&
2354 test -s conftest.dir/conftest.one &&
2355 test -s conftest.dir/conftest.two
2357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2370 rm -rf conftest.one conftest.two conftest.dir
2373 if test "${ac_cv_path_install+set}" = set; then
2374 INSTALL=$ac_cv_path_install
2376 # As a last resort, use the slow shell script. Don't cache a
2377 # value for INSTALL within a source directory, because that will
2378 # break other packages using the cache if that directory is
2379 # removed, or if the value is a relative name.
2380 INSTALL=$ac_install_sh
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2384 $as_echo "$INSTALL" >&6; }
2386 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2387 # It thinks the first close brace ends the variable substitution.
2388 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2390 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2392 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2395 $as_echo_n "checking whether build environment is sane... " >&6; }
2396 # Reject unsafe characters in $srcdir or the absolute working directory
2397 # name. Accept space and tab only in the latter.
2401 *[\\\"\#\$\&\'\`$am_lf]*)
2402 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2405 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2406 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2409 # Do 'set' in a subshell so we don't clobber the current shell's
2410 # arguments. Must try -L first in case configure is actually a
2411 # symlink; some systems play weird games with the mod time of symlinks
2412 # (eg FreeBSD returns the mod time of the symlink's containing
2416 for am_try
in 1 2; do
2417 echo "timestamp, slept: $am_has_slept" > conftest.
file
2418 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2419 if test "$*" = "X"; then
2421 set X
`ls -t "$srcdir/configure" conftest.file`
2423 if test "$*" != "X $srcdir/configure conftest.file" \
2424 && test "$*" != "X conftest.file $srcdir/configure"; then
2426 # If neither matched, then we have a broken ls. This can happen
2427 # if, for instance, CONFIG_SHELL is bash and it inherits a
2428 # broken ls alias from the environment. This has actually
2429 # happened. Such a system could not be considered "sane".
2430 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2431 alias in your environment" "$LINENO" 5
2433 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2440 test "$2" = conftest.
file
2446 as_fn_error $?
"newly created file is older than distributed files!
2447 Check your system clock" "$LINENO" 5
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2450 $as_echo "yes" >&6; }
2451 # If we didn't sleep, we still need to ensure time stamps of config.status and
2452 # generated files are strictly newer.
2454 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2461 test "$program_prefix" != NONE
&&
2462 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2463 # Use a double $ so make ignores it.
2464 test "$program_suffix" != NONE
&&
2465 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2466 # Double any \ or $.
2467 # By default was `s,x,x', remove it if useless.
2468 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2469 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2471 # expand $ac_aux_dir to an absolute path
2472 am_aux_dir
=`cd $ac_aux_dir && pwd`
2474 if test x
"${MISSING+set}" != xset
; then
2477 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2479 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2482 # Use eval to expand $SHELL
2483 if eval "$MISSING --is-lightweight"; then
2484 am_missing_run
="$MISSING "
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2488 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2491 if test x
"${install_sh}" != xset
; then
2494 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2496 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2500 # Installed binaries are usually stripped using 'strip' when the user
2501 # run "make install-strip". However 'strip' might not be the right
2502 # tool to use in cross-compilation environments, therefore Automake
2503 # will honor the 'STRIP' environment variable to overrule this program.
2504 if test "$cross_compiling" != no
; then
2505 if test -n "$ac_tool_prefix"; then
2506 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2507 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2509 $as_echo_n "checking for $ac_word... " >&6; }
2510 if ${ac_cv_prog_STRIP+:} false
; then :
2511 $as_echo_n "(cached) " >&6
2513 if test -n "$STRIP"; then
2514 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir
=.
2521 for ac_exec_ext
in '' $ac_executable_extensions; do
2522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2523 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 STRIP
=$ac_cv_prog_STRIP
2534 if test -n "$STRIP"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2536 $as_echo "$STRIP" >&6; }
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2539 $as_echo "no" >&6; }
2544 if test -z "$ac_cv_prog_STRIP"; then
2546 # Extract the first word of "strip", so it can be a program name with args.
2547 set dummy strip
; ac_word
=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$ac_ct_STRIP"; then
2554 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir
=.
2561 for ac_exec_ext
in '' $ac_executable_extensions; do
2562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2563 ac_cv_prog_ac_ct_STRIP
="strip"
2564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2573 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2574 if test -n "$ac_ct_STRIP"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2576 $as_echo "$ac_ct_STRIP" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2582 if test "x$ac_ct_STRIP" = x
; then
2585 case $cross_compiling:$ac_tool_warned in
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2589 ac_tool_warned
=yes ;;
2594 STRIP
="$ac_cv_prog_STRIP"
2598 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2601 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2602 if test -z "$MKDIR_P"; then
2603 if ${ac_cv_path_mkdir+:} false
; then :
2604 $as_echo_n "(cached) " >&6
2606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2607 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2610 test -z "$as_dir" && as_dir
=.
2611 for ac_prog
in mkdir gmkdir
; do
2612 for ac_exec_ext
in '' $ac_executable_extensions; do
2613 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2614 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2615 'mkdir (GNU coreutils) '* | \
2616 'mkdir (coreutils) '* | \
2617 'mkdir (fileutils) '4.1*)
2618 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2628 test -d .
/--version && rmdir .
/--version
2629 if test "${ac_cv_path_mkdir+set}" = set; then
2630 MKDIR_P
="$ac_cv_path_mkdir -p"
2632 # As a last resort, use the slow shell script. Don't cache a
2633 # value for MKDIR_P within a source directory, because that will
2634 # break other packages using the cache if that directory is
2635 # removed, or if the value is a relative name.
2636 MKDIR_P
="$ac_install_sh -d"
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2640 $as_echo "$MKDIR_P" >&6; }
2642 for ac_prog
in gawk mawk nawk
awk
2644 # Extract the first word of "$ac_prog", so it can be a program name with args.
2645 set dummy
$ac_prog; ac_word
=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_AWK+:} false
; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$AWK"; then
2652 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2661 ac_cv_prog_AWK
="$ac_prog"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$AWK"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2674 $as_echo "$AWK" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2681 test -n "$AWK" && break
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2685 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2687 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2688 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2689 $as_echo_n "(cached) " >&6
2691 cat >conftest.
make <<\_ACEOF
2694 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2696 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2697 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2699 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2701 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2705 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707 $as_echo "yes" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 SET_MAKE
="MAKE=${MAKE-make}"
2715 rm -rf .tst
2>/dev
/null
2716 mkdir .tst
2>/dev
/null
2717 if test -d .tst
; then
2722 rmdir .tst
2>/dev
/null
2724 # Check whether --enable-silent-rules was given.
2725 if test "${enable_silent_rules+set}" = set; then :
2726 enableval
=$enable_silent_rules;
2729 case $enable_silent_rules in # (((
2730 yes) AM_DEFAULT_VERBOSITY
=0;;
2731 no
) AM_DEFAULT_VERBOSITY
=1;;
2732 *) AM_DEFAULT_VERBOSITY
=1;;
2734 am_make
=${MAKE-make}
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2736 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2737 if ${am_cv_make_support_nested_variables+:} false
; then :
2738 $as_echo_n "(cached) " >&6
2740 if $as_echo 'TRUE=$(BAR$(V))
2746 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2747 am_cv_make_support_nested_variables
=yes
2749 am_cv_make_support_nested_variables
=no
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2753 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2754 if test $am_cv_make_support_nested_variables = yes; then
2756 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2758 AM_V
=$AM_DEFAULT_VERBOSITY
2759 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2763 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2764 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2765 # is not polluted with repeated "-I."
2766 am__isrc
=' -I$(srcdir)'
2767 # test to see if srcdir already configured
2768 if test -f $srcdir/config.status
; then
2769 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2773 # test whether we have cygpath
2774 if test -z "$CYGPATH_W"; then
2775 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2776 CYGPATH_W
='cygpath -w'
2783 # Define the identity of the package.
2788 # Some tools Automake needs.
2790 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2793 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2796 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2799 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2802 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2804 # For better backward compatibility. To be removed once Automake 1.9.x
2805 # dies out for good. For more background, see:
2806 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2807 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2808 mkdir_p
='$(MKDIR_P)'
2810 # We need awk for the "check" target. The system "awk" is bad on
2812 # Always define AMTAR for backward compatibility. Yes, it's still used
2813 # in the wild :-( We should find a proper way to deprecate it ...
2817 # We'll loop over all known methods to create a tar archive until one works.
2818 _am_tools
='gnutar pax cpio none'
2820 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2827 LPATH
="$PATH:/usr/local/bin"
2830 ac_config_headers
="$ac_config_headers config.h"
2832 DEPDIR
="${am__leading_dot}deps"
2834 ac_config_commands
="$ac_config_commands depfiles"
2837 am_make
=${MAKE-make}
2838 cat > confinc
<< 'END'
2840 @
echo this is the am__doit target
2843 # If we don't find an include directive, just comment out the code.
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2845 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2849 # First try GNU make style include.
2850 echo "include confinc" > confmf
2851 # Ignore all kinds of additional output from 'make'.
2852 case `$am_make -s -f confmf 2> /dev/null` in #(
2853 *the\ am__doit\ target
*)
2859 # Now try BSD make style include.
2860 if test "$am__include" = "#"; then
2861 echo '.include "confinc"' > confmf
2862 case `$am_make -s -f confmf 2> /dev/null` in #(
2863 *the\ am__doit\ target
*)
2864 am__include
=.include
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2873 $as_echo "$_am_result" >&6; }
2874 rm -f confinc confmf
2876 # Check whether --enable-dependency-tracking was given.
2877 if test "${enable_dependency_tracking+set}" = set; then :
2878 enableval
=$enable_dependency_tracking;
2881 if test "x$enable_dependency_tracking" != xno
; then
2882 am_depcomp
="$ac_aux_dir/depcomp"
2886 if test "x$enable_dependency_tracking" != xno; then
2896 ac_cpp
='$CPP $CPPFLAGS'
2897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2900 if test -n "$ac_tool_prefix"; then
2901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2902 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_CC+:} false
; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC
="$CC" # Let the user override the test.
2911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir
=.
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2918 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2939 if test -z "$ac_cv_prog_CC"; then
2941 # Extract the first word of "gcc", so it can be a program name with args.
2942 set dummy gcc
; ac_word
=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$ac_ct_CC"; then
2949 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2958 ac_cv_prog_ac_ct_CC
="gcc"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2969 if test -n "$ac_ct_CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2971 $as_echo "$ac_ct_CC" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2977 if test "x$ac_ct_CC" = x
; then
2980 case $cross_compiling:$ac_tool_warned in
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned
=yes ;;
2992 if test -z "$CC"; then
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2995 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_CC+:} false
; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$CC"; then
3002 ac_cv_prog_CC
="$CC" # Let the user override the test.
3004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir
=.
3009 for ac_exec_ext
in '' $ac_executable_extensions; do
3010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 if test -n "$CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3024 $as_echo "$CC" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3033 if test -z "$CC"; then
3034 # Extract the first word of "cc", so it can be a program name with args.
3035 set dummy cc
; ac_word
=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_CC+:} false
; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$CC"; then
3042 ac_cv_prog_CC
="$CC" # Let the user override the test.
3045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir
=.
3050 for ac_exec_ext
in '' $ac_executable_extensions; do
3051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3052 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3053 ac_prog_rejected
=yes
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 if test $ac_prog_rejected = yes; then
3065 # We found a bogon in the path, so make sure we never use it.
3066 set dummy
$ac_cv_prog_CC
3068 if test $# != 0; then
3069 # We chose a different compiler from the bogus one.
3070 # However, it has the same basename, so the bogon will be chosen
3071 # first if we set CC to just the basename; use the full file name.
3073 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3079 if test -n "$CC"; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3081 $as_echo "$CC" >&6; }
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084 $as_echo "no" >&6; }
3089 if test -z "$CC"; then
3090 if test -n "$ac_tool_prefix"; then
3091 for ac_prog
in cl.exe
3093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3094 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_prog_CC+:} false
; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC
="$CC" # Let the user override the test.
3103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir
=.
3108 for ac_exec_ext
in '' $ac_executable_extensions; do
3109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3110 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3130 test -n "$CC" && break
3133 if test -z "$CC"; then
3135 for ac_prog
in cl.exe
3137 # Extract the first word of "$ac_prog", so it can be a program name with args.
3138 set dummy
$ac_prog; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$ac_ct_CC"; then
3145 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3154 ac_cv_prog_ac_ct_CC
="$ac_prog"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3165 if test -n "$ac_ct_CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3167 $as_echo "$ac_ct_CC" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$ac_ct_CC" && break
3177 if test "x$ac_ct_CC" = x
; then
3180 case $cross_compiling:$ac_tool_warned in
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3184 ac_tool_warned
=yes ;;
3193 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195 as_fn_error $?
"no acceptable C compiler found in \$PATH
3196 See \`config.log' for more details" "$LINENO" 5; }
3198 # Provide some information about the compiler.
3199 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3202 for ac_option
in --version -v -V -qversion; do
3203 { { ac_try
="$ac_compiler $ac_option >&5"
3205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3212 if test -s conftest.err; then
3214 ... rest of stderr output deleted ...
3215 10q' conftest.err >conftest.er1
3216 cat conftest.er1 >&5
3218 rm -f conftest.er1 conftest.err
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3234 ac_clean_files_save=$ac_clean_files
3235 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3236 # Try to create an executable without -o first, disregard a.out.
3237 # It will help us diagnose broken compilers, and finding out an intuition
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3240 $as_echo_n "checking whether the C compiler works... " >&6; }
3241 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3243 # The possible output files:
3244 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3247 for ac_file in $ac_files
3250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3251 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3256 if { { ac_try="$ac_link_default"
3258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3259 *) ac_try_echo
=$ac_try;;
3261 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_link_default") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; then :
3267 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3268 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3269 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3270 # so that the user can short-circuit this test for compilers unknown to
3272 for ac_file
in $ac_files ''
3274 test -f "$ac_file" ||
continue
3276 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3279 # We found the default executable, but exeext='' is most
3283 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3285 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3287 # We set ac_cv_exeext here because the later test for it is not
3288 # safe: cross compilers may not add the suffix if given an `-o'
3289 # argument, so we may need to know it at that point already.
3290 # Even if this section looks crufty: it has the advantage of
3297 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3302 if test -z "$ac_file"; then :
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 $as_echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.
$ac_ext >&5
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error
77 "C compiler cannot create executables
3311 See \`config.log' for more details" "$LINENO" 5; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314 $as_echo "yes" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3317 $as_echo_n "checking for C compiler default output file name... " >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3319 $as_echo "$ac_file" >&6; }
3320 ac_exeext
=$ac_cv_exeext
3322 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3323 ac_clean_files
=$ac_clean_files_save
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3325 $as_echo_n "checking for suffix of executables... " >&6; }
3326 if { { ac_try
="$ac_link"
3328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_link") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3338 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3339 # work properly (i.e., refer to `conftest.exe'), while it won't with
3341 for ac_file
in conftest.exe conftest conftest.
*; do
3342 test -f "$ac_file" ||
continue
3344 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3345 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3354 See \`config.log' for more details" "$LINENO" 5; }
3356 rm -f conftest conftest
$ac_cv_exeext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3358 $as_echo "$ac_cv_exeext" >&6; }
3360 rm -f conftest.
$ac_ext
3361 EXEEXT
=$ac_cv_exeext
3363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3369 FILE *f = fopen ("conftest.out", "w");
3370 return ferror (f) || fclose (f) != 0;
3376 ac_clean_files
="$ac_clean_files conftest.out"
3377 # Check that the compiler produces executables we can run. If not, either
3378 # the compiler is broken, or we cross compile.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3380 $as_echo_n "checking whether we are cross compiling... " >&6; }
3381 if test "$cross_compiling" != yes; then
3382 { { ac_try
="$ac_link"
3384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_link") 2>&5
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }
3393 if { ac_try='./conftest$ac_cv_exeext'
3394 { { case "(($ac_try" in
3395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3396 *) ac_try_echo
=$ac_try;;
3398 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_try") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; }; then
3406 if test "$cross_compiling" = maybe
; then
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $?
"cannot run C compiled programs.
3412 If you meant to cross compile, use \`--host'.
3413 See \`config.log' for more details" "$LINENO" 5; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3418 $as_echo "$cross_compiling" >&6; }
3420 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3421 ac_clean_files
=$ac_clean_files_save
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3423 $as_echo_n "checking for suffix of object files... " >&6; }
3424 if ${ac_cv_objext+:} false
; then :
3425 $as_echo_n "(cached) " >&6
3427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 rm -f conftest.o conftest.obj
3439 if { { ac_try
="$ac_compile"
3441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445 $as_echo "$ac_try_echo"; } >&5
3446 (eval "$ac_compile") 2>&5
3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449 test $ac_status = 0; }; then :
3450 for ac_file in conftest.o conftest.obj conftest.*; do
3451 test -f "$ac_file" || continue;
3453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3454 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3459 $as_echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3465 See \
`config.log' for more details" "$LINENO" 5; }
3467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3470 $as_echo "$ac_cv_objext" >&6; }
3471 OBJEXT=$ac_cv_objext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475 if ${ac_cv_c_compiler_gnu+:} false; then :
3476 $as_echo_n "(cached) " >&6
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3492 if ac_fn_c_try_compile "$LINENO"; then :
3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3503 if test $ac_compiler_gnu = yes; then
3508 ac_test_CFLAGS=${CFLAGS+set}
3509 ac_save_CFLAGS=$CFLAGS
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3512 if ${ac_cv_prog_cc_g+:} false; then :
3513 $as_echo_n "(cached) " >&6
3515 ac_save_c_werror_flag=$ac_c_werror_flag
3516 ac_c_werror_flag=yes
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3545 if ac_fn_c_try_compile "$LINENO"; then :
3548 ac_c_werror_flag=$ac_save_c_werror_flag
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 ac_c_werror_flag=$ac_save_c_werror_flag
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3572 $as_echo "$ac_cv_prog_cc_g" >&6; }
3573 if test "$ac_test_CFLAGS" = set; then
3574 CFLAGS=$ac_save_CFLAGS
3575 elif test $ac_cv_prog_cc_g = yes; then
3576 if test "$GCC" = yes; then
3582 if test "$GCC" = yes; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3590 if ${ac_cv_prog_cc_c89+:} false; then :
3591 $as_echo_n "(cached) " >&6
3593 ac_cv_prog_cc_c89=no
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3600 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3601 struct buf { int x; };
3602 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3603 static char *e (p, i)
3609 static char *f (char * (*g) (char **, int), char **p, ...)
3614 s = g (p, va_arg (v,int));
3619 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3620 function prototypes and stuff, but not '\xHH' hex character constants.
3621 These don't provoke an error unfortunately, instead are silently treated
3622 as 'x'. The following induces an error, until -std is added to get
3623 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3624 array size at least. It's necessary to write '\x00'==0 to get something
3625 that's true only with -std. */
3626 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3628 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3629 inside strings and character constants. */
3631 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3633 int test (int i, double x);
3634 struct s1 {int (*f) (int a);};
3635 struct s2 {int (*f) (double a);};
3636 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3642 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3648 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3650 CC="$ac_save_CC $ac_arg"
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 ac_cv_prog_cc_c89=$ac_arg
3654 rm -f core conftest.err conftest.$ac_objext
3655 test "x$ac_cv_prog_cc_c89" != "xno" && break
3657 rm -f conftest.$ac_ext
3662 case "x$ac_cv_prog_cc_c89" in
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3665 $as_echo "none needed" >&6; } ;;
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3668 $as_echo "unsupported" >&6; } ;;
3670 CC="$CC $ac_cv_prog_cc_c89"
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3672 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3674 if test "x$ac_cv_prog_cc_c89" != xno; then :
3679 ac_cpp='$CPP $CPPFLAGS'
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3684 depcc="$CC" am_compiler_list=
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3687 $as_echo_n "checking dependency style of $depcc... " >&6; }
3688 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3689 $as_echo_n "(cached) " >&6
3691 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3692 # We make a subdir and do the tests there. Otherwise we can end up
3693 # making bogus files that we don't know about and never remove. For
3694 # instance it was reported that on HP-UX the gcc test will end up
3695 # making a dummy file named 'D' -- because '-MD' means "put the output
3699 # Copy depcomp to subdir because otherwise we won't find it if we're
3700 # using a relative directory.
3701 cp "$am_depcomp" conftest.dir
3703 # We will build objects and dependencies in a subdirectory because
3704 # it helps to detect inapplicable dependency modes. For instance
3705 # both Tru64's cc and ICC support -MD to output dependencies as a
3706 # side effect of compilation, but ICC will put the dependencies in
3707 # the current directory while Tru64 will put them in the object
3711 am_cv_CC_dependencies_compiler_type=none
3712 if test "$am_compiler_list" = ""; then
3713 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3716 case " $depcc " in #(
3717 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3720 for depmode in $am_compiler_list; do
3721 # Setup a source with many dependencies, because some compilers
3722 # like to wrap large dependency lists on column 80 (with \), and
3723 # we should not choose a depcomp mode which is confused by this.
3725 # We need to recreate these files for each test, as the compiler may
3726 # overwrite some of them when testing with obscure command lines.
3727 # This happens at least with the AIX C compiler.
3729 for i in 1 2 3 4 5 6; do
3730 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3731 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3732 # Solaris 10 /bin/sh.
3733 echo '/* dummy */' > sub/conftst$i.h
3735 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3737 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3738 # mode. It turns out that the SunPro C++ compiler does not properly
3739 # handle '-M -o', and we need to detect this. Also, some Intel
3740 # versions had trouble with output in subdirs.
3741 am__obj=sub/conftest.${OBJEXT-o}
3742 am__minus_obj="-o $am__obj"
3745 # This depmode causes a compiler race in universal mode.
3746 test "$am__universal" = false || continue
3749 # After this tag, mechanisms are not by side-effect, so they'll
3750 # only be used when explicitly requested.
3751 if test "x$enable_dependency_tracking" = xyes; then
3757 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3758 # This compiler won't grok '-c -o', but also, the minuso test has
3759 # not run yet. These depmodes are late enough in the game, and
3760 # so weak that their functioning should not be impacted.
3761 am__obj=conftest.${OBJEXT-o}
3766 if depmode=$depmode \
3767 source=sub/conftest.c object=$am__obj \
3768 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3769 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3770 >/dev/null 2>conftest.err &&
3771 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3772 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3773 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3774 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3775 # icc doesn't choke on unknown options, it will just issue warnings
3776 # or remarks (even with -Werror). So we grep stderr for any message
3777 # that says an option was ignored or not supported.
3778 # When given -MP, icc 7.0 and 7.1 complain thusly:
3779 # icc: Command line warning: ignoring option '-M'; no argument required
3780 # The diagnosis changed in icc 8.0:
3781 # icc: Command line remark: option '-MP' not supported
3782 if (grep 'ignoring option' conftest.err ||
3783 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3784 am_cv_CC_dependencies_compiler_type=$depmode
3793 am_cv_CC_dependencies_compiler_type=none
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3798 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3799 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3802 test "x$enable_dependency_tracking" != xno \
3803 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3805 am__fastdepCC_FALSE='#'
3807 am__fastdepCC_TRUE='#'
3808 am__fastdepCC_FALSE=
3814 ac_cpp='$CPP $CPPFLAGS'
3815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3819 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3820 # On Suns, sometimes $CPP names a directory.
3821 if test -n "$CPP" && test -d "$CPP"; then
3824 if test -z "$CPP"; then
3825 if ${ac_cv_prog_CPP+:} false; then :
3826 $as_echo_n "(cached) " >&6
3828 # Double quotes because CPP needs to be expanded
3829 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3832 for ac_c_preproc_warn_flag in '' yes
3834 # Use a header file that comes with gcc, so configuring glibc
3835 # with a fresh cross-compiler works.
3836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3837 # <limits.h> exists even on freestanding compilers.
3838 # On the NeXT, cc -E runs the code through the compiler's parser,
3839 # not just through cpp. "Syntax error" is here to catch this case.
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3843 # include <limits.h>
3845 # include <assert.h>
3849 if ac_fn_c_try_cpp "$LINENO"; then :
3852 # Broken: fails on valid input.
3855 rm -f conftest.err conftest.i conftest.$ac_ext
3857 # OK, works on sane cases. Now check whether nonexistent headers
3858 # can be detected and how.
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3861 #include <ac_nonexistent.h>
3863 if ac_fn_c_try_cpp "$LINENO"; then :
3864 # Broken: success on invalid input.
3867 # Passes both tests.
3871 rm -f conftest.err conftest.i conftest.$ac_ext
3874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3875 rm -f conftest.i conftest.err conftest.
$ac_ext
3876 if $ac_preproc_ok; then :
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3889 $as_echo "$CPP" >&6; }
3891 for ac_c_preproc_warn_flag
in '' yes
3893 # Use a header file that comes with gcc, so configuring glibc
3894 # with a fresh cross-compiler works.
3895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3896 # <limits.h> exists even on freestanding compilers.
3897 # On the NeXT, cc -E runs the code through the compiler's parser,
3898 # not just through cpp. "Syntax error" is here to catch this case.
3899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3902 # include <limits.h>
3904 # include <assert.h>
3908 if ac_fn_c_try_cpp
"$LINENO"; then :
3911 # Broken: fails on valid input.
3914 rm -f conftest.err conftest.i conftest.
$ac_ext
3916 # OK, works on sane cases. Now check whether nonexistent headers
3917 # can be detected and how.
3918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3920 #include <ac_nonexistent.h>
3922 if ac_fn_c_try_cpp
"$LINENO"; then :
3923 # Broken: success on invalid input.
3926 # Passes both tests.
3930 rm -f conftest.err conftest.i conftest.
$ac_ext
3933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3934 rm -f conftest.i conftest.err conftest.
$ac_ext
3935 if $ac_preproc_ok; then :
3938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3940 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3941 See \`config.log' for more details" "$LINENO" 5; }
3945 ac_cpp
='$CPP $CPPFLAGS'
3946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3952 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3953 if ${ac_cv_path_GREP+:} false
; then :
3954 $as_echo_n "(cached) " >&6
3956 if test -z "$GREP"; then
3957 ac_path_GREP_found
=false
3958 # Loop through the user's path and test for each of PROGNAME-LIST
3959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3963 test -z "$as_dir" && as_dir
=.
3964 for ac_prog
in grep ggrep
; do
3965 for ac_exec_ext
in '' $ac_executable_extensions; do
3966 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3967 as_fn_executable_p
"$ac_path_GREP" ||
continue
3968 # Check for GNU ac_path_GREP and select it if it is found.
3969 # Check for GNU $ac_path_GREP
3970 case `"$ac_path_GREP" --version 2>&1` in
3972 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3975 $as_echo_n 0123456789 >"conftest.in"
3978 cat "conftest.in" "conftest.in" >"conftest.tmp"
3979 mv "conftest.tmp" "conftest.in"
3980 cp "conftest.in" "conftest.nl"
3981 $as_echo 'GREP' >> "conftest.nl"
3982 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3983 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3984 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3985 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3986 # Best one so far, save it but keep looking for a better one
3987 ac_cv_path_GREP
="$ac_path_GREP"
3988 ac_path_GREP_max
=$ac_count
3990 # 10*(2^10) chars as input seems more than enough
3991 test $ac_count -gt 10 && break
3993 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3996 $ac_path_GREP_found && break 3
4001 if test -z "$ac_cv_path_GREP"; then
4002 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4005 ac_cv_path_GREP
=$GREP
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4010 $as_echo "$ac_cv_path_GREP" >&6; }
4011 GREP
="$ac_cv_path_GREP"
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4015 $as_echo_n "checking for egrep... " >&6; }
4016 if ${ac_cv_path_EGREP+:} false
; then :
4017 $as_echo_n "(cached) " >&6
4019 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4020 then ac_cv_path_EGREP
="$GREP -E"
4022 if test -z "$EGREP"; then
4023 ac_path_EGREP_found
=false
4024 # Loop through the user's path and test for each of PROGNAME-LIST
4025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4026 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4029 test -z "$as_dir" && as_dir
=.
4030 for ac_prog
in egrep; do
4031 for ac_exec_ext
in '' $ac_executable_extensions; do
4032 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4033 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4034 # Check for GNU ac_path_EGREP and select it if it is found.
4035 # Check for GNU $ac_path_EGREP
4036 case `"$ac_path_EGREP" --version 2>&1` in
4038 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4041 $as_echo_n 0123456789 >"conftest.in"
4044 cat "conftest.in" "conftest.in" >"conftest.tmp"
4045 mv "conftest.tmp" "conftest.in"
4046 cp "conftest.in" "conftest.nl"
4047 $as_echo 'EGREP' >> "conftest.nl"
4048 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4049 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4050 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4051 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4052 # Best one so far, save it but keep looking for a better one
4053 ac_cv_path_EGREP
="$ac_path_EGREP"
4054 ac_path_EGREP_max
=$ac_count
4056 # 10*(2^10) chars as input seems more than enough
4057 test $ac_count -gt 10 && break
4059 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4062 $ac_path_EGREP_found && break 3
4067 if test -z "$ac_cv_path_EGREP"; then
4068 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4071 ac_cv_path_EGREP
=$EGREP
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4077 $as_echo "$ac_cv_path_EGREP" >&6; }
4078 EGREP
="$ac_cv_path_EGREP"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4082 $as_echo_n "checking for ANSI C header files... " >&6; }
4083 if ${ac_cv_header_stdc+:} false
; then :
4084 $as_echo_n "(cached) " >&6
4086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4101 if ac_fn_c_try_compile
"$LINENO"; then :
4102 ac_cv_header_stdc
=yes
4104 ac_cv_header_stdc
=no
4106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4108 if test $ac_cv_header_stdc = yes; then
4109 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4116 $EGREP "memchr" >/dev
/null
2>&1; then :
4119 ac_cv_header_stdc
=no
4125 if test $ac_cv_header_stdc = yes; then
4126 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4133 $EGREP "free" >/dev
/null
2>&1; then :
4136 ac_cv_header_stdc
=no
4142 if test $ac_cv_header_stdc = yes; then
4143 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4144 if test "$cross_compiling" = yes; then :
4147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4151 #if ((' ' & 0x0FF) == 0x020)
4152 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4153 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4155 # define ISLOWER(c) \
4156 (('a' <= (c) && (c) <= 'i') \
4157 || ('j' <= (c) && (c) <= 'r') \
4158 || ('s' <= (c) && (c) <= 'z'))
4159 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4162 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4167 for (i = 0; i < 256; i++)
4168 if (XOR (islower (i), ISLOWER (i))
4169 || toupper (i) != TOUPPER (i))
4174 if ac_fn_c_try_run
"$LINENO"; then :
4177 ac_cv_header_stdc
=no
4179 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4180 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4186 $as_echo "$ac_cv_header_stdc" >&6; }
4187 if test $ac_cv_header_stdc = yes; then
4189 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4193 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4194 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4195 inttypes.h stdint.h unistd.h
4197 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4198 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4200 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4201 cat >>confdefs.h
<<_ACEOF
4202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4211 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4212 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4219 if test "$MINIX" = yes; then
4221 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4224 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4227 $as_echo "#define _MINIX 1" >>confdefs.h
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4233 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4234 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4235 $as_echo_n "(cached) " >&6
4237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4240 # define __EXTENSIONS__ 1
4241 $ac_includes_default
4250 if ac_fn_c_try_compile
"$LINENO"; then :
4251 ac_cv_safe_to_define___extensions__
=yes
4253 ac_cv_safe_to_define___extensions__
=no
4255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4258 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4259 test $ac_cv_safe_to_define___extensions__ = yes &&
4260 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4262 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4264 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4266 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4268 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4273 $as_echo_n "checking whether ln -s works... " >&6; }
4275 if test "$LN_S" = "ln -s"; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4277 $as_echo "yes" >&6; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4280 $as_echo "no, using $LN_S" >&6; }
4284 ac_cpp
='$CPP $CPPFLAGS'
4285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4288 if test -n "$ac_tool_prefix"; then
4289 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4290 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4292 $as_echo_n "checking for $ac_word... " >&6; }
4293 if ${ac_cv_prog_CC+:} false
; then :
4294 $as_echo_n "(cached) " >&6
4296 if test -n "$CC"; then
4297 ac_cv_prog_CC
="$CC" # Let the user override the test.
4299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4303 test -z "$as_dir" && as_dir
=.
4304 for ac_exec_ext
in '' $ac_executable_extensions; do
4305 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4306 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 if test -n "$CC"; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4319 $as_echo "$CC" >&6; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322 $as_echo "no" >&6; }
4327 if test -z "$ac_cv_prog_CC"; then
4329 # Extract the first word of "gcc", so it can be a program name with args.
4330 set dummy gcc
; ac_word
=$2
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 $as_echo_n "checking for $ac_word... " >&6; }
4333 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4334 $as_echo_n "(cached) " >&6
4336 if test -n "$ac_ct_CC"; then
4337 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4343 test -z "$as_dir" && as_dir
=.
4344 for ac_exec_ext
in '' $ac_executable_extensions; do
4345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_ac_ct_CC
="gcc"
4347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4357 if test -n "$ac_ct_CC"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4359 $as_echo "$ac_ct_CC" >&6; }
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4365 if test "x$ac_ct_CC" = x
; then
4368 case $cross_compiling:$ac_tool_warned in
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4372 ac_tool_warned
=yes ;;
4380 if test -z "$CC"; then
4381 if test -n "$ac_tool_prefix"; then
4382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4383 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385 $as_echo_n "checking for $ac_word... " >&6; }
4386 if ${ac_cv_prog_CC+:} false
; then :
4387 $as_echo_n "(cached) " >&6
4389 if test -n "$CC"; then
4390 ac_cv_prog_CC
="$CC" # Let the user override the test.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 if test -n "$CC"; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4412 $as_echo "$CC" >&6; }
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4421 if test -z "$CC"; then
4422 # Extract the first word of "cc", so it can be a program name with args.
4423 set dummy cc
; ac_word
=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_prog_CC+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -n "$CC"; then
4430 ac_cv_prog_CC
="$CC" # Let the user override the test.
4433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir
=.
4438 for ac_exec_ext
in '' $ac_executable_extensions; do
4439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4441 ac_prog_rejected
=yes
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 if test $ac_prog_rejected = yes; then
4453 # We found a bogon in the path, so make sure we never use it.
4454 set dummy
$ac_cv_prog_CC
4456 if test $# != 0; then
4457 # We chose a different compiler from the bogus one.
4458 # However, it has the same basename, so the bogon will be chosen
4459 # first if we set CC to just the basename; use the full file name.
4461 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4467 if test -n "$CC"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4469 $as_echo "$CC" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4477 if test -z "$CC"; then
4478 if test -n "$ac_tool_prefix"; then
4479 for ac_prog
in cl.exe
4481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4482 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if ${ac_cv_prog_CC+:} false
; then :
4486 $as_echo_n "(cached) " >&6
4488 if test -n "$CC"; then
4489 ac_cv_prog_CC
="$CC" # Let the user override the test.
4491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir
=.
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4498 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 if test -n "$CC"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4511 $as_echo "$CC" >&6; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4518 test -n "$CC" && break
4521 if test -z "$CC"; then
4523 for ac_prog
in cl.exe
4525 # Extract the first word of "$ac_prog", so it can be a program name with args.
4526 set dummy
$ac_prog; ac_word
=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$ac_ct_CC"; then
4533 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_ac_ct_CC
="$ac_prog"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4553 if test -n "$ac_ct_CC"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4555 $as_echo "$ac_ct_CC" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4562 test -n "$ac_ct_CC" && break
4565 if test "x$ac_ct_CC" = x
; then
4568 case $cross_compiling:$ac_tool_warned in
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4572 ac_tool_warned
=yes ;;
4581 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4583 as_fn_error $?
"no acceptable C compiler found in \$PATH
4584 See \`config.log' for more details" "$LINENO" 5; }
4586 # Provide some information about the compiler.
4587 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4590 for ac_option
in --version -v -V -qversion; do
4591 { { ac_try
="$ac_compiler $ac_option >&5"
4593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4594 *) ac_try_echo=$ac_try;;
4596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4597 $as_echo "$ac_try_echo"; } >&5
4598 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4600 if test -s conftest.err; then
4602 ... rest of stderr output deleted ...
4603 10q' conftest.err >conftest.er1
4604 cat conftest.er1 >&5
4606 rm -f conftest.er1 conftest.err
4607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4608 test $ac_status = 0; }
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4613 if ${ac_cv_c_compiler_gnu+:} false; then :
4614 $as_echo_n "(cached) " >&6
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4630 if ac_fn_c_try_compile "$LINENO"; then :
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4641 if test $ac_compiler_gnu = yes; then
4646 ac_test_CFLAGS=${CFLAGS+set}
4647 ac_save_CFLAGS=$CFLAGS
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4650 if ${ac_cv_prog_cc_g+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 ac_save_c_werror_flag=$ac_c_werror_flag
4654 ac_c_werror_flag=yes
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4668 if ac_fn_c_try_compile "$LINENO"; then :
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4683 if ac_fn_c_try_compile "$LINENO"; then :
4686 ac_c_werror_flag=$ac_save_c_werror_flag
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4699 if ac_fn_c_try_compile "$LINENO"; then :
4702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4707 ac_c_werror_flag=$ac_save_c_werror_flag
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4710 $as_echo "$ac_cv_prog_cc_g" >&6; }
4711 if test "$ac_test_CFLAGS" = set; then
4712 CFLAGS=$ac_save_CFLAGS
4713 elif test $ac_cv_prog_cc_g = yes; then
4714 if test "$GCC" = yes; then
4720 if test "$GCC" = yes; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4728 if ${ac_cv_prog_cc_c89+:} false; then :
4729 $as_echo_n "(cached) " >&6
4731 ac_cv_prog_cc_c89=no
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4739 struct buf { int x; };
4740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4741 static char *e (p, i)
4747 static char *f (char * (*g) (char **, int), char **p, ...)
4752 s = g (p, va_arg (v,int));
4757 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4758 function prototypes and stuff, but not '\xHH' hex character constants.
4759 These don't provoke an error unfortunately, instead are silently treated
4760 as 'x'. The following induces an error, until -std is added to get
4761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4762 array size at least. It's necessary to write '\x00'==0 to get something
4763 that's true only with -std. */
4764 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4766 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4767 inside strings and character constants. */
4769 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4771 int test (int i, double x);
4772 struct s1 {int (*f) (int a);};
4773 struct s2 {int (*f) (double a);};
4774 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4780 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4785 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4788 CC="$ac_save_CC $ac_arg"
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790 ac_cv_prog_cc_c89=$ac_arg
4792 rm -f core conftest.err conftest.$ac_objext
4793 test "x$ac_cv_prog_cc_c89" != "xno" && break
4795 rm -f conftest.$ac_ext
4800 case "x$ac_cv_prog_cc_c89" in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4803 $as_echo "none needed" >&6; } ;;
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4806 $as_echo "unsupported" >&6; } ;;
4808 CC="$CC $ac_cv_prog_cc_c89"
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4810 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4812 if test "x$ac_cv_prog_cc_c89" != xno; then :
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 depcc="$CC" am_compiler_list=
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4825 $as_echo_n "checking dependency style of $depcc... " >&6; }
4826 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4830 # We make a subdir and do the tests there. Otherwise we can end up
4831 # making bogus files that we don't know about and never remove. For
4832 # instance it was reported that on HP-UX the gcc test will end up
4833 # making a dummy file named 'D' -- because '-MD' means "put the output
4837 # Copy depcomp to subdir because otherwise we won't find it if we're
4838 # using a relative directory.
4839 cp "$am_depcomp" conftest.dir
4841 # We will build objects and dependencies in a subdirectory because
4842 # it helps to detect inapplicable dependency modes. For instance
4843 # both Tru64's cc and ICC support -MD to output dependencies as a
4844 # side effect of compilation, but ICC will put the dependencies in
4845 # the current directory while Tru64 will put them in the object
4849 am_cv_CC_dependencies_compiler_type=none
4850 if test "$am_compiler_list" = ""; then
4851 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4854 case " $depcc " in #(
4855 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4858 for depmode in $am_compiler_list; do
4859 # Setup a source with many dependencies, because some compilers
4860 # like to wrap large dependency lists on column 80 (with \), and
4861 # we should not choose a depcomp mode which is confused by this.
4863 # We need to recreate these files for each test, as the compiler may
4864 # overwrite some of them when testing with obscure command lines.
4865 # This happens at least with the AIX C compiler.
4867 for i in 1 2 3 4 5 6; do
4868 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4869 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4870 # Solaris 10 /bin/sh.
4871 echo '/* dummy */' > sub/conftst$i.h
4873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4875 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4876 # mode. It turns out that the SunPro C++ compiler does not properly
4877 # handle '-M -o', and we need to detect this. Also, some Intel
4878 # versions had trouble with output in subdirs.
4879 am__obj=sub/conftest.${OBJEXT-o}
4880 am__minus_obj="-o $am__obj"
4883 # This depmode causes a compiler race in universal mode.
4884 test "$am__universal" = false || continue
4887 # After this tag, mechanisms are not by side-effect, so they'll
4888 # only be used when explicitly requested.
4889 if test "x$enable_dependency_tracking" = xyes; then
4895 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4896 # This compiler won't grok '-c -o', but also, the minuso test has
4897 # not run yet. These depmodes are late enough in the game, and
4898 # so weak that their functioning should not be impacted.
4899 am__obj=conftest.${OBJEXT-o}
4904 if depmode=$depmode \
4905 source=sub/conftest.c object=$am__obj \
4906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4907 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4908 >/dev/null 2>conftest.err &&
4909 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4910 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4911 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4912 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4913 # icc doesn't choke on unknown options, it will just issue warnings
4914 # or remarks (even with -Werror). So we grep stderr for any message
4915 # that says an option was ignored or not supported.
4916 # When given -MP, icc 7.0 and 7.1 complain thusly:
4917 # icc: Command line warning: ignoring option '-M'; no argument required
4918 # The diagnosis changed in icc 8.0:
4919 # icc: Command line remark: option '-MP' not supported
4920 if (grep 'ignoring option' conftest.err ||
4921 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4922 am_cv_CC_dependencies_compiler_type=$depmode
4931 am_cv_CC_dependencies_compiler_type=none
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4936 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4940 test "x$enable_dependency_tracking" != xno \
4941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4943 am__fastdepCC_FALSE='#'
4945 am__fastdepCC_TRUE='#'
4946 am__fastdepCC_FALSE=
4952 # Extract the first word of "$ac_prog", so it can be a program name with args.
4953 set dummy $ac_prog; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_path_PS+:} false; then :
4957 $as_echo_n "(cached) " >&6
4961 ac_cv_path_PS="$PS" # Let the user override the test with a path.
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 for as_dir in $LPATH
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 if test -n "$PS"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS" >&5
4985 $as_echo "$PS" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4992 test -n "$PS" && break
4994 test -n "$PS" || PS="ps"
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy $ac_prog; ac_word=$2
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if ${ac_cv_path_W+:} false; then :
5003 $as_echo_n "(cached) " >&6
5007 ac_cv_path_W="$W" # Let the user override the test with a path.
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 for as_dir in $LPATH
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_path_W="$as_dir/$ac_word$ac_exec_ext"
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 if test -n "$W"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $W" >&5
5031 $as_echo "$W" >&6; }
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 $as_echo "no" >&6; }
5038 test -n "$W" && break
5040 test -n "$W" || W="w"
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5045 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5050 macro_version='2.4.2'
5051 macro_revision='1.3337'
5065 ltmain="$ac_aux_dir/ltmain.sh"
5067 # Make sure we can run config.sub.
5068 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5069 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5072 $as_echo_n "checking build system type... " >&6; }
5073 if ${ac_cv_build+:} false; then :
5074 $as_echo_n "(cached) " >&6
5076 ac_build_alias=$build_alias
5077 test "x$ac_build_alias" = x &&
5078 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5079 test "x$ac_build_alias" = x &&
5080 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5081 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5082 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5086 $as_echo "$ac_cv_build" >&6; }
5087 case $ac_cv_build in
5089 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5092 ac_save_IFS=$IFS; IFS='-'
5098 # Remember, the first character of IFS is used to create $*,
5099 # except with old shells:
5102 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5106 $as_echo_n "checking host system type... " >&6; }
5107 if ${ac_cv_host+:} false; then :
5108 $as_echo_n "(cached) " >&6
5110 if test "x$host_alias" = x; then
5111 ac_cv_host=$ac_cv_build
5113 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5114 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5119 $as_echo "$ac_cv_host" >&6; }
5122 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5125 ac_save_IFS=$IFS; IFS='-'
5131 # Remember, the first character of IFS is used to create $*,
5132 # except with old shells:
5135 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
5138 # Backslashify metacharacters that are still active within
5139 # double-quoted strings.
5140 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5142 # Same as above, but do not quote variable references.
5143 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5145 # Sed substitution to delay expansion of an escaped shell variable in a
5146 # double_quote_subst'ed string.
5147 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5149 # Sed substitution to delay expansion of an escaped single quote.
5150 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5152 # Sed substitution to avoid accidental globbing in evaled expressions
5153 no_glob_subst='s/\*/\\\*/g'
5155 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5156 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5157 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5160 $as_echo_n "checking how to print
strings...
" >&6; }
5161 # Test print first, because it will be a builtin if present.
5162 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5163 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5165 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5168 # Use this function as a fallback that always works.
5169 func_fallback_echo ()
5171 eval 'cat <<_LTECHO_EOF
5175 ECHO='func_fallback_echo'
5178 # func_echo_all arg...
5179 # Invoke $ECHO with all args, space-separated.
5186 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5187 $as_echo "printf" >&6; } ;;
5188 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5189 $as_echo "print
-r" >&6; } ;;
5190 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5191 $as_echo "cat" >&6; } ;;
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5208 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5209 if ${ac_cv_path_SED+:} false; then :
5210 $as_echo_n "(cached
) " >&6
5212 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5213 for ac_i in 1 2 3 4 5 6 7; do
5214 ac_script="$ac_script$as_nl$ac_script"
5216 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5217 { ac_script=; unset ac_script;}
5218 if test -z "$SED"; then
5219 ac_path_SED_found=false
5220 # Loop through the user's path and test for each of PROGNAME-LIST
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir=.
5226 for ac_prog in sed gsed; do
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5229 as_fn_executable_p "$ac_path_SED" || continue
5230 # Check for GNU ac_path_SED and select it if it is found.
5231 # Check for GNU $ac_path_SED
5232 case `"$ac_path_SED" --version 2>&1` in
5234 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5237 $as_echo_n 0123456789 >"conftest.
in"
5240 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5241 mv "conftest.tmp
" "conftest.
in"
5242 cp "conftest.
in" "conftest.
nl"
5243 $as_echo '' >> "conftest.
nl"
5244 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5245 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5246 as_fn_arith $ac_count + 1 && ac_count=$as_val
5247 if test $ac_count -gt ${ac_path_SED_max-0}; then
5248 # Best one so far, save it but keep looking for a better one
5249 ac_cv_path_SED="$ac_path_SED"
5250 ac_path_SED_max=$ac_count
5252 # 10*(2^10) chars as input seems more than enough
5253 test $ac_count -gt 10 && break
5255 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5258 $ac_path_SED_found && break 3
5263 if test -z "$ac_cv_path_SED"; then
5264 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5272 $as_echo "$ac_cv_path_SED" >&6; }
5273 SED="$ac_cv_path_SED"
5276 test -z "$SED" && SED=sed
5277 Xsed="$SED -e 1s
/^X
//"
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5290 $as_echo_n "checking
for fgrep...
" >&6; }
5291 if ${ac_cv_path_FGREP+:} false; then :
5292 $as_echo_n "(cached
) " >&6
5294 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5295 then ac_cv_path_FGREP="$GREP -F"
5297 if test -z "$FGREP"; then
5298 ac_path_FGREP_found=false
5299 # Loop through the user's path and test for each of PROGNAME-LIST
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5304 test -z "$as_dir" && as_dir=.
5305 for ac_prog in fgrep; do
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5308 as_fn_executable_p "$ac_path_FGREP" || continue
5309 # Check for GNU ac_path_FGREP and select it if it is found.
5310 # Check for GNU $ac_path_FGREP
5311 case `"$ac_path_FGREP" --version 2>&1` in
5313 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5316 $as_echo_n 0123456789 >"conftest.
in"
5319 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5320 mv "conftest.tmp
" "conftest.
in"
5321 cp "conftest.
in" "conftest.
nl"
5322 $as_echo 'FGREP' >> "conftest.
nl"
5323 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5324 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5325 as_fn_arith $ac_count + 1 && ac_count=$as_val
5326 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5327 # Best one so far, save it but keep looking for a better one
5328 ac_cv_path_FGREP="$ac_path_FGREP"
5329 ac_path_FGREP_max=$ac_count
5331 # 10*(2^10) chars as input seems more than enough
5332 test $ac_count -gt 10 && break
5334 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5337 $ac_path_FGREP_found && break 3
5342 if test -z "$ac_cv_path_FGREP"; then
5343 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5346 ac_cv_path_FGREP=$FGREP
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5352 $as_echo "$ac_cv_path_FGREP" >&6; }
5353 FGREP="$ac_cv_path_FGREP"
5356 test -z "$GREP" && GREP=grep
5376 # Check whether --with-gnu-ld was given.
5377 if test "${with_gnu_ld+set}" = set; then :
5378 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5384 if test "$GCC" = yes; then
5385 # Check if gcc -print-prog-name=ld gives a path.
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5387 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5390 # gcc leaves a trailing carriage return which upsets mingw
5391 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5393 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5396 # Accept absolute paths.
5398 re_direlt='/[^/][^/]*/\.\./'
5399 # Canonicalize the pathname of ld
5400 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5401 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5402 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5404 test -z "$LD" && LD="$ac_prog"
5407 # If it fails, then pretend we aren't using GCC.
5411 # If it is relative, then search for the first ld in PATH.
5415 elif test "$with_gnu_ld" = yes; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5417 $as_echo_n "checking
for GNU ld...
" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5420 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5422 if ${lt_cv_path_LD+:} false; then :
5423 $as_echo_n "(cached
) " >&6
5425 if test -z "$LD"; then
5426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5427 for ac_dir in $PATH; do
5429 test -z "$ac_dir" && ac_dir=.
5430 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5431 lt_cv_path_LD="$ac_dir/$ac_prog"
5432 # Check to see if the program is GNU ld. I'd rather use --version,
5433 # but apparently some variants of GNU ld only accept -v.
5434 # Break only if it was the GNU/non-GNU ld that we prefer.
5435 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5436 *GNU* | *'with BFD'*)
5437 test "$with_gnu_ld" != no && break
5440 test "$with_gnu_ld" != yes && break
5447 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5452 if test -n "$LD"; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5454 $as_echo "$LD" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5457 $as_echo "no
" >&6; }
5459 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5461 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5462 if ${lt_cv_prog_gnu_ld+:} false; then :
5463 $as_echo_n "(cached
) " >&6
5465 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5466 case `$LD -v 2>&1 </dev/null` in
5467 *GNU* | *'with BFD'*)
5468 lt_cv_prog_gnu_ld=yes
5471 lt_cv_prog_gnu_ld=no
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5476 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5477 with_gnu_ld=$lt_cv_prog_gnu_ld
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5488 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5489 if ${lt_cv_path_NM+:} false; then :
5490 $as_echo_n "(cached
) " >&6
5492 if test -n "$NM"; then
5493 # Let the user override the test.
5496 lt_nm_to_check="${ac_tool_prefix}nm
"
5497 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5498 lt_nm_to_check="$lt_nm_to_check nm
"
5500 for lt_tmp_nm in $lt_nm_to_check; do
5501 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5502 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5504 test -z "$ac_dir" && ac_dir=.
5505 tmp_nm="$ac_dir/$lt_tmp_nm"
5506 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5507 # Check to see if the nm accepts a BSD-compat flag.
5508 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5509 # nm: unknown option "B
" ignored
5510 # Tru64's nm complains that /dev/null is an invalid object file
5511 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5512 */dev/null* | *'Invalid file or object type'*)
5513 lt_cv_path_NM="$tmp_nm -B"
5517 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5519 lt_cv_path_NM="$tmp_nm -p"
5523 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5524 continue # so that we can try to find one that supports BSD flags
5533 : ${lt_cv_path_NM=no}
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5537 $as_echo "$lt_cv_path_NM" >&6; }
5538 if test "$lt_cv_path_NM" != "no
"; then
5541 # Didn't find any BSD compatible name lister, look for dumpbin.
5542 if test -n "$DUMPBIN"; then :
5543 # Let the user override the test.
5545 if test -n "$ac_tool_prefix"; then
5546 for ac_prog in dumpbin "link
-dump"
5548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5551 $as_echo_n "checking
for $ac_word...
" >&6; }
5552 if ${ac_cv_prog_DUMPBIN+:} false; then :
5553 $as_echo_n "(cached
) " >&6
5555 if test -n "$DUMPBIN"; then
5556 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5575 DUMPBIN=$ac_cv_prog_DUMPBIN
5576 if test -n "$DUMPBIN"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5578 $as_echo "$DUMPBIN" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5581 $as_echo "no
" >&6; }
5585 test -n "$DUMPBIN" && break
5588 if test -z "$DUMPBIN"; then
5589 ac_ct_DUMPBIN=$DUMPBIN
5590 for ac_prog in dumpbin "link
-dump"
5592 # Extract the first word of "$ac_prog", so it can be a program name with args.
5593 set dummy $ac_prog; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5595 $as_echo_n "checking
for $ac_word...
" >&6; }
5596 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5597 $as_echo_n "(cached
) " >&6
5599 if test -n "$ac_ct_DUMPBIN"; then
5600 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5619 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5620 if test -n "$ac_ct_DUMPBIN"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5622 $as_echo "$ac_ct_DUMPBIN" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5625 $as_echo "no
" >&6; }
5629 test -n "$ac_ct_DUMPBIN" && break
5632 if test "x
$ac_ct_DUMPBIN" = x; then
5635 case $cross_compiling:$ac_tool_warned in
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5638 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5639 ac_tool_warned=yes ;;
5641 DUMPBIN=$ac_ct_DUMPBIN
5645 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5647 DUMPBIN="$DUMPBIN -symbols"
5655 if test "$DUMPBIN" != ":"; then
5659 test -z "$NM" && NM=nm
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5667 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5668 if ${lt_cv_nm_interface+:} false; then :
5669 $as_echo_n "(cached
) " >&6
5671 lt_cv_nm_interface="BSD nm
"
5672 echo "int some_variable
= 0;" > conftest.$ac_ext
5673 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5674 (eval "$ac_compile" 2>conftest.err)
5675 cat conftest.err >&5
5676 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5677 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5678 cat conftest.err >&5
5679 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5680 cat conftest.out >&5
5681 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5682 lt_cv_nm_interface="MS dumpbin
"
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5687 $as_echo "$lt_cv_nm_interface" >&6; }
5689 # find the maximum length of command line arguments
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5691 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5692 if ${lt_cv_sys_max_cmd_len+:} false; then :
5693 $as_echo_n "(cached
) " >&6
5700 # On DJGPP, this test can blow up pretty badly due to problems in libc
5701 # (any single argument exceeding 2000 bytes causes a buffer overrun
5702 # during glob expansion). Even if it were fixed, the result of this
5703 # check would be larger than it should be.
5704 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5708 # Under GNU Hurd, this test is not required because there is
5709 # no limit to the length of command line arguments.
5710 # Libtool will interpret -1 as no limit whatsoever
5711 lt_cv_sys_max_cmd_len=-1;
5714 cygwin* | mingw* | cegcc*)
5715 # On Win9x/ME, this test blows up -- it succeeds, but takes
5716 # about 5 minutes as the teststring grows exponentially.
5717 # Worse, since 9x/ME are not pre-emptively multitasking,
5718 # you end up with a "frozen
" computer, even though with patience
5719 # the test eventually succeeds (with a max line length of 256k).
5720 # Instead, let's just punt: use the minimum linelength reported by
5721 # all of the supported platforms: 8192 (on NT/2K/XP).
5722 lt_cv_sys_max_cmd_len=8192;
5726 # On MiNT this can take a long time and run out of memory.
5727 lt_cv_sys_max_cmd_len=8192;
5731 # On AmigaOS with pdksh, this test takes hours, literally.
5732 # So we just punt and use a minimum line length of 8192.
5733 lt_cv_sys_max_cmd_len=8192;
5736 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5737 # This has been around since 386BSD, at least. Likely further.
5738 if test -x /sbin/sysctl; then
5739 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5740 elif test -x /usr/sbin/sysctl; then
5741 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5743 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5745 # And add a safety zone
5746 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5747 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5751 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5752 lt_cv_sys_max_cmd_len=196608
5756 # The test takes a long time on OS/2.
5757 lt_cv_sys_max_cmd_len=8192
5761 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5762 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5763 # nice to cause kernel panics so lets avoid the loop below.
5764 # First set a reasonable default.
5765 lt_cv_sys_max_cmd_len=16384
5767 if test -x /sbin/sysconfig; then
5768 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5769 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5774 lt_cv_sys_max_cmd_len=102400
5776 sysv5* | sco5v6* | sysv4.2uw2*)
5777 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5778 if test -n "$kargmax"; then
5779 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5781 lt_cv_sys_max_cmd_len=32768
5785 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5786 if test -n "$lt_cv_sys_max_cmd_len"; then
5787 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5788 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5790 # Make teststring a little bigger before we do anything with it.
5791 # a 1K string should be a reasonable start.
5792 for i in 1 2 3 4 5 6 7 8 ; do
5793 teststring=$teststring$teststring
5795 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5796 # If test is not a shell built-in, we'll probably end up computing a
5797 # maximum length that is only half of the actual maximum length, but
5799 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5800 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5801 test $i != 17 # 1/2 MB should be enough
5804 teststring=$teststring$teststring
5806 # Only check the string length outside the loop.
5807 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5809 # Add a significant safety factor because C++ compilers can tack on
5810 # massive amounts of additional arguments before passing them to the
5811 # linker. It appears as though 1/2 is a usable value.
5812 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5819 if test -n $lt_cv_sys_max_cmd_len ; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5821 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5824 $as_echo "none
" >&6; }
5826 max_cmd_len=$lt_cv_sys_max_cmd_len
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5838 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5839 # Try some XSI features
5842 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5844 && eval 'test $(( 1 + 1 )) -eq 2 \
5845 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5848 $as_echo "$xsi_shell" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5852 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5854 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5856 && lt_shell_append
=yes
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5858 $as_echo "$lt_shell_append" >&6; }
5861 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5871 # test EBCDIC or ASCII
5872 case `echo X|tr X '\101'` in
5873 A
) # ASCII based system
5874 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5875 lt_SP2NL
='tr \040 \012'
5876 lt_NL2SP
='tr \015\012 \040\040'
5878 *) # EBCDIC based system
5879 lt_SP2NL
='tr \100 \n'
5880 lt_NL2SP
='tr \r\n \100\100'
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5893 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5894 if ${lt_cv_to_host_file_cmd+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5900 *-*-mingw* ) # actually msys
5901 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5904 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5906 * ) # otherwise, assume *nix
5907 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5913 *-*-mingw* ) # actually msys
5914 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5917 lt_cv_to_host_file_cmd
=func_convert_file_noop
5919 * ) # otherwise, assume *nix
5920 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5924 * ) # unhandled hosts (and "normal" native builds)
5925 lt_cv_to_host_file_cmd
=func_convert_file_noop
5931 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5933 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5940 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5941 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5942 $as_echo_n "(cached) " >&6
5944 #assume ordinary cross tools, or native build.
5945 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5949 *-*-mingw* ) # actually msys
5950 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5958 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5960 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5967 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5968 if ${lt_cv_ld_reload_flag+:} false
; then :
5969 $as_echo_n "(cached) " >&6
5971 lt_cv_ld_reload_flag
='-r'
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5974 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5975 reload_flag
=$lt_cv_ld_reload_flag
5976 case $reload_flag in
5978 *) reload_flag
=" $reload_flag" ;;
5980 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5982 cygwin
* | mingw
* | pw32
* | cegcc
*)
5983 if test "$GCC" != yes; then
5988 if test "$GCC" = yes; then
5989 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5991 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6004 if test -n "$ac_tool_prefix"; then
6005 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6006 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6010 $as_echo_n "(cached) " >&6
6012 if test -n "$OBJDUMP"; then
6013 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir
=.
6020 for ac_exec_ext
in '' $ac_executable_extensions; do
6021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 OBJDUMP
=$ac_cv_prog_OBJDUMP
6033 if test -n "$OBJDUMP"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6035 $as_echo "$OBJDUMP" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6043 if test -z "$ac_cv_prog_OBJDUMP"; then
6044 ac_ct_OBJDUMP
=$OBJDUMP
6045 # Extract the first word of "objdump", so it can be a program name with args.
6046 set dummy objdump
; ac_word
=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6052 if test -n "$ac_ct_OBJDUMP"; then
6053 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6073 if test -n "$ac_ct_OBJDUMP"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6075 $as_echo "$ac_ct_OBJDUMP" >&6; }
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6081 if test "x$ac_ct_OBJDUMP" = x
; then
6084 case $cross_compiling:$ac_tool_warned in
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6088 ac_tool_warned
=yes ;;
6090 OBJDUMP
=$ac_ct_OBJDUMP
6093 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6096 test -z "$OBJDUMP" && OBJDUMP
=objdump
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6107 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6108 if ${lt_cv_deplibs_check_method+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6112 lt_cv_file_magic_test_file
=
6113 lt_cv_deplibs_check_method
='unknown'
6114 # Need to set the preceding variable on all platforms that support
6115 # interlibrary dependencies.
6116 # 'none' -- dependencies not supported.
6117 # `unknown' -- same as none, but documents that we really don't know.
6118 # 'pass_all' -- all dependencies passed with no checks.
6119 # 'test_compile' -- check by making test program.
6120 # 'file_magic [[regex]]' -- check by looking for files in library path
6121 # which responds to the $file_magic_cmd with a given extended regex.
6122 # If you have `file' or equivalent on your system and you're not sure
6123 # whether `pass_all' will *always* work, you probably want this one.
6127 lt_cv_deplibs_check_method
=pass_all
6131 lt_cv_deplibs_check_method
=pass_all
6135 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6136 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6137 lt_cv_file_magic_test_file
=/shlib
/libc.so
6141 # func_win32_libid is a shell function defined in ltmain.sh
6142 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6143 lt_cv_file_magic_cmd
='func_win32_libid'
6147 # Base MSYS/MinGW do not provide the 'file' command needed by
6148 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6149 # unless we find 'file', for example because we are cross-compiling.
6150 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6151 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6152 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6153 lt_cv_file_magic_cmd
='func_win32_libid'
6155 # Keep this pattern in sync with the one in func_win32_libid.
6156 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6157 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6162 # use the weaker test based on 'objdump'. See mingw*.
6163 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6164 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6167 darwin
* | rhapsody
*)
6168 lt_cv_deplibs_check_method
=pass_all
6171 freebsd
* | dragonfly
*)
6172 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6175 # Not sure whether the presence of OpenBSD here was a mistake.
6176 # Let's accept both of them until this is cleared up.
6177 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6178 lt_cv_file_magic_cmd
=/usr
/bin
/file
6179 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6183 lt_cv_deplibs_check_method
=pass_all
6188 lt_cv_deplibs_check_method
=pass_all
6192 lt_cv_deplibs_check_method
=pass_all
6195 hpux10.20
* | hpux11
*)
6196 lt_cv_file_magic_cmd
=/usr
/bin
/file
6199 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6200 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6203 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]'
6204 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6207 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6208 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6214 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6215 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6218 irix5
* | irix6
* | nonstopux
*)
6220 *-32|
*"-32 ") libmagic
=32-bit;;
6221 *-n32|
*"-n32 ") libmagic
=N32
;;
6222 *-64|
*"-64 ") libmagic
=64-bit;;
6223 *) libmagic
=never-match
;;
6225 lt_cv_deplibs_check_method
=pass_all
6228 # This must be glibc/ELF.
6229 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6230 lt_cv_deplibs_check_method
=pass_all
6234 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6235 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6237 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6242 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6243 lt_cv_file_magic_cmd
=/usr
/bin
/file
6244 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6248 lt_cv_deplibs_check_method
=pass_all
6252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6253 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6255 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6259 osf3
* | osf4
* | osf5
*)
6260 lt_cv_deplibs_check_method
=pass_all
6264 lt_cv_deplibs_check_method
=pass_all
6268 lt_cv_deplibs_check_method
=pass_all
6271 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6272 lt_cv_deplibs_check_method
=pass_all
6276 case $host_vendor in
6278 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]'
6279 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6282 lt_cv_deplibs_check_method
=pass_all
6285 lt_cv_file_magic_cmd
='/bin/file'
6286 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6289 lt_cv_file_magic_cmd
='/bin/file'
6290 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6291 lt_cv_file_magic_test_file
=/lib
/libc.so
6294 lt_cv_deplibs_check_method
=pass_all
6297 lt_cv_deplibs_check_method
=pass_all
6303 lt_cv_deplibs_check_method
=pass_all
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6309 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6313 if test "$build" = "$host"; then
6316 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6319 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6325 file_magic_cmd
=$lt_cv_file_magic_cmd
6326 deplibs_check_method
=$lt_cv_deplibs_check_method
6327 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6350 if test -n "$ac_tool_prefix"; then
6351 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6352 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6356 $as_echo_n "(cached) " >&6
6358 if test -n "$DLLTOOL"; then
6359 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6365 test -z "$as_dir" && as_dir
=.
6366 for ac_exec_ext
in '' $ac_executable_extensions; do
6367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6368 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 DLLTOOL
=$ac_cv_prog_DLLTOOL
6379 if test -n "$DLLTOOL"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6381 $as_echo "$DLLTOOL" >&6; }
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6389 if test -z "$ac_cv_prog_DLLTOOL"; then
6390 ac_ct_DLLTOOL
=$DLLTOOL
6391 # Extract the first word of "dlltool", so it can be a program name with args.
6392 set dummy dlltool
; ac_word
=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6396 $as_echo_n "(cached) " >&6
6398 if test -n "$ac_ct_DLLTOOL"; then
6399 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6405 test -z "$as_dir" && as_dir
=.
6406 for ac_exec_ext
in '' $ac_executable_extensions; do
6407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6418 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6419 if test -n "$ac_ct_DLLTOOL"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6421 $as_echo "$ac_ct_DLLTOOL" >&6; }
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6427 if test "x$ac_ct_DLLTOOL" = x
; then
6430 case $cross_compiling:$ac_tool_warned in
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned
=yes ;;
6436 DLLTOOL
=$ac_ct_DLLTOOL
6439 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6442 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6454 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6455 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6456 $as_echo_n "(cached) " >&6
6458 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6461 cygwin
* | mingw
* | pw32
* | cegcc
*)
6462 # two different shell functions defined in ltmain.sh
6463 # decide which to use based on capabilities of $DLLTOOL
6464 case `$DLLTOOL --help 2>&1` in
6465 *--identify-strict*)
6466 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6469 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6474 # fallback: assume linklib IS sharedlib
6475 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6481 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6482 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6483 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6491 if test -n "$ac_tool_prefix"; then
6494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6495 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if ${ac_cv_prog_AR+:} false
; then :
6499 $as_echo_n "(cached) " >&6
6501 if test -n "$AR"; then
6502 ac_cv_prog_AR
="$AR" # Let the user override the test.
6504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir
=.
6509 for ac_exec_ext
in '' $ac_executable_extensions; do
6510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 if test -n "$AR"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6524 $as_echo "$AR" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6531 test -n "$AR" && break
6534 if test -z "$AR"; then
6538 # Extract the first word of "$ac_prog", so it can be a program name with args.
6539 set dummy
$ac_prog; ac_word
=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6543 $as_echo_n "(cached) " >&6
6545 if test -n "$ac_ct_AR"; then
6546 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir
=.
6553 for ac_exec_ext
in '' $ac_executable_extensions; do
6554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6555 ac_cv_prog_ac_ct_AR
="$ac_prog"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6566 if test -n "$ac_ct_AR"; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6568 $as_echo "$ac_ct_AR" >&6; }
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6575 test -n "$ac_ct_AR" && break
6578 if test "x$ac_ct_AR" = x
; then
6581 case $cross_compiling:$ac_tool_warned in
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned
=yes ;;
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6605 $as_echo_n "checking for archiver @FILE support... " >&6; }
6606 if ${lt_cv_ar_at_file+:} false
; then :
6607 $as_echo_n "(cached) " >&6
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6621 if ac_fn_c_try_compile
"$LINENO"; then :
6622 echo conftest.
$ac_objext > conftest.lst
6623 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6624 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6625 (eval $lt_ar_try) 2>&5
6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628 test $ac_status = 0; }
6629 if test "$ac_status" -eq 0; then
6630 # Ensure the archiver fails upon bogus file names.
6631 rm -f conftest.
$ac_objext libconftest.a
6632 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6633 (eval $lt_ar_try) 2>&5
6635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6636 test $ac_status = 0; }
6637 if test "$ac_status" -ne 0; then
6641 rm -f conftest.
* libconftest.a
6644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6648 $as_echo "$lt_cv_ar_at_file" >&6; }
6650 if test "x$lt_cv_ar_at_file" = xno
; then
6653 archiver_list_spec
=$lt_cv_ar_at_file
6662 if test -n "$ac_tool_prefix"; then
6663 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6664 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if ${ac_cv_prog_STRIP+:} false
; then :
6668 $as_echo_n "(cached) " >&6
6670 if test -n "$STRIP"; then
6671 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir
=.
6678 for ac_exec_ext
in '' $ac_executable_extensions; do
6679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690 STRIP
=$ac_cv_prog_STRIP
6691 if test -n "$STRIP"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6693 $as_echo "$STRIP" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6701 if test -z "$ac_cv_prog_STRIP"; then
6703 # Extract the first word of "strip", so it can be a program name with args.
6704 set dummy strip
; ac_word
=$2
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706 $as_echo_n "checking for $ac_word... " >&6; }
6707 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6708 $as_echo_n "(cached) " >&6
6710 if test -n "$ac_ct_STRIP"; then
6711 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir
=.
6718 for ac_exec_ext
in '' $ac_executable_extensions; do
6719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6720 ac_cv_prog_ac_ct_STRIP
="strip"
6721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6731 if test -n "$ac_ct_STRIP"; then
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6733 $as_echo "$ac_ct_STRIP" >&6; }
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736 $as_echo "no" >&6; }
6739 if test "x$ac_ct_STRIP" = x
; then
6742 case $cross_compiling:$ac_tool_warned in
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746 ac_tool_warned
=yes ;;
6751 STRIP
="$ac_cv_prog_STRIP"
6754 test -z "$STRIP" && STRIP
=:
6761 if test -n "$ac_tool_prefix"; then
6762 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6763 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_prog_RANLIB+:} false
; then :
6767 $as_echo_n "(cached) " >&6
6769 if test -n "$RANLIB"; then
6770 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir
=.
6777 for ac_exec_ext
in '' $ac_executable_extensions; do
6778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 RANLIB
=$ac_cv_prog_RANLIB
6790 if test -n "$RANLIB"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6792 $as_echo "$RANLIB" >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6800 if test -z "$ac_cv_prog_RANLIB"; then
6801 ac_ct_RANLIB
=$RANLIB
6802 # Extract the first word of "ranlib", so it can be a program name with args.
6803 set dummy ranlib
; ac_word
=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6807 $as_echo_n "(cached) " >&6
6809 if test -n "$ac_ct_RANLIB"; then
6810 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir
=.
6817 for ac_exec_ext
in '' $ac_executable_extensions; do
6818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6830 if test -n "$ac_ct_RANLIB"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6832 $as_echo "$ac_ct_RANLIB" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6838 if test "x$ac_ct_RANLIB" = x
; then
6841 case $cross_compiling:$ac_tool_warned in
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6845 ac_tool_warned
=yes ;;
6847 RANLIB
=$ac_ct_RANLIB
6850 RANLIB
="$ac_cv_prog_RANLIB"
6853 test -z "$RANLIB" && RANLIB
=:
6860 # Determine commands to create old-style static archives.
6861 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6862 old_postinstall_cmds
='chmod 644 $oldlib'
6863 old_postuninstall_cmds
=
6865 if test -n "$RANLIB"; then
6868 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6871 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6874 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6879 lock_old_archive_extraction
=yes ;;
6881 lock_old_archive_extraction
=no
;;
6922 # If no C compiler was specified, use CC.
6925 # If no C compiler flags were specified, use CFLAGS.
6926 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6928 # Allow CC to be a program name with arguments.
6932 # Check for command to grab the raw symbol name followed by C symbol from nm.
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6934 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6935 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6936 $as_echo_n "(cached) " >&6
6939 # These are sane defaults that work on at least a few old systems.
6940 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6942 # Character class describing NM global symbol codes.
6943 symcode
='[BCDEGRST]'
6945 # Regexp to match symbols that can be accessed directly from C.
6946 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6948 # Define system-specific variables.
6953 cygwin
* | mingw
* | pw32
* | cegcc
*)
6954 symcode
='[ABCDGISTW]'
6957 if test "$host_cpu" = ia64
; then
6958 symcode
='[ABCDEGRST]'
6962 symcode
='[BCDEGRST]'
6965 symcode
='[BCDEGQRST]'
6976 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6984 # If we're using GNU nm, then use its standard symbol codes.
6985 case `$NM -V 2>&1` in
6986 *GNU
* |
*'with BFD'*)
6987 symcode
='[ABCDGIRSTW]' ;;
6990 # Transform an extracted symbol line into a proper C declaration.
6991 # Some systems (esp. on ia64) link data and code symbols differently,
6992 # so use this general approach.
6993 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6995 # Transform an extracted symbol line into symbol name and symbol address
6996 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6997 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6999 # Handle CRLF in mingw tool chain
7003 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7007 # Try without a prefix underscore, then with it.
7008 for ac_symprfx
in "" "_"; do
7010 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7011 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7013 # Write the raw and C identifiers.
7014 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7015 # Fake it for dumpbin and say T for any non-static function
7016 # and D for any global variable.
7017 # Also find C++ and __fastcall symbols from MSVC++,
7018 # which start with @ or ?.
7019 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7020 " {last_section=section; section=\$ 3};"\
7021 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7022 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7023 " \$ 0!~/External *\|/{next};"\
7024 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7025 " {if(hide[section]) next};"\
7026 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7027 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7028 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7029 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7030 " ' prfx=^$ac_symprfx"
7032 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7034 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7036 # Check to see that the pipe works correctly.
7040 cat > conftest.
$ac_ext <<_LT_EOF
7045 void nm_test_func(void);
7046 void nm_test_func(void){}
7050 int main(){nm_test_var='a';nm_test_func();return(0);}
7053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 # Now try to grab the symbols.
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7061 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; } && test -s "$nlist"; then
7065 # Try sorting and uniquifying the output.
7066 if sort "$nlist" |
uniq > "$nlist"T
; then
7067 mv -f "$nlist"T
"$nlist"
7072 # Make sure that we snagged all the symbols we need.
7073 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7074 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7075 cat <<_LT_EOF > conftest.$ac_ext
7076 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7077 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7078 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7079 relocations are performed -- see ld's documentation on pseudo-relocs. */
7080 # define LT_DLSYM_CONST
7081 #elif defined(__osf__)
7082 /* This system does not cope well with relocations in const data. */
7083 # define LT_DLSYM_CONST
7085 # define LT_DLSYM_CONST const
7093 # Now generate the symbol file.
7094 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7096 cat <<_LT_EOF >> conftest.$ac_ext
7098 /* The mapping between symbol names and symbols. */
7099 LT_DLSYM_CONST struct {
7103 lt__PROGRAM__LTX_preloaded_symbols[] =
7105 { "@PROGRAM@", (void *) 0 },
7107 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7108 cat <<\_LT_EOF
>> conftest.
$ac_ext
7112 /* This works around a problem
in FreeBSD linker
*/
7113 #ifdef FREEBSD_WORKAROUND
7114 static const void
*lt_preloaded_setup
() {
7115 return lt__PROGRAM__LTX_preloaded_symbols
;
7123 # Now try linking the two files.
7124 mv conftest.
$ac_objext conftstm.
$ac_objext
7125 lt_globsym_save_LIBS
=$LIBS
7126 lt_globsym_save_CFLAGS
=$CFLAGS
7127 LIBS
="conftstm.$ac_objext"
7128 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7130 (eval $ac_link) 2>&5
7132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7133 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7136 LIBS
=$lt_globsym_save_LIBS
7137 CFLAGS
=$lt_globsym_save_CFLAGS
7139 echo "cannot find nm_test_func in $nlist" >&5
7142 echo "cannot find nm_test_var in $nlist" >&5
7145 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7148 echo "$progname: failed program was:" >&5
7149 cat conftest.
$ac_ext >&5
7151 rm -rf conftest
* conftst
*
7153 # Do not use the global_symbol_pipe unless it works.
7154 if test "$pipe_works" = yes; then
7157 lt_cv_sys_global_symbol_pipe
=
7163 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7164 lt_cv_sys_global_symbol_to_cdecl
=
7166 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7168 $as_echo "failed" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7171 $as_echo "ok" >&6; }
7174 # Response file support.
7175 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7176 nm_file_list_spec
='@'
7177 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7178 nm_file_list_spec
='@'
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7208 $as_echo_n "checking for sysroot... " >&6; }
7210 # Check whether --with-sysroot was given.
7211 if test "${with_sysroot+set}" = set; then :
7212 withval
=$with_sysroot;
7219 case ${with_sysroot} in #(
7221 if test "$GCC" = yes; then
7222 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7226 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7232 $as_echo "${with_sysroot}" >&6; }
7233 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7238 $as_echo "${lt_sysroot:-no}" >&6; }
7244 # Check whether --enable-libtool-lock was given.
7245 if test "${enable_libtool_lock+set}" = set; then :
7246 enableval
=$enable_libtool_lock;
7249 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7251 # Some flags need to be propagated to the compiler or linker for good
7255 # Find out which ABI we are using.
7256 echo 'int i;' > conftest.
$ac_ext
7257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7258 (eval $ac_compile) 2>&5
7260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7261 test $ac_status = 0; }; then
7262 case `/usr/bin/file conftest.$ac_objext` in
7274 # Find out which ABI we are using.
7275 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7277 (eval $ac_compile) 2>&5
7279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7280 test $ac_status = 0; }; then
7281 if test "$lt_cv_prog_gnu_ld" = yes; then
7282 case `/usr/bin/file conftest.$ac_objext` in
7284 LD
="${LD-ld} -melf32bsmip"
7287 LD
="${LD-ld} -melf32bmipn32"
7290 LD
="${LD-ld} -melf64bmip"
7294 case `/usr/bin/file conftest.$ac_objext` in
7310 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7311 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7312 # Find out which ABI we are using.
7313 echo 'int i;' > conftest.
$ac_ext
7314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7315 (eval $ac_compile) 2>&5
7317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7318 test $ac_status = 0; }; then
7319 case `/usr/bin/file conftest.o` in
7322 x86_64-
*kfreebsd
*-gnu)
7323 LD
="${LD-ld} -m elf_i386_fbsd"
7326 LD
="${LD-ld} -m elf_i386"
7328 ppc64-
*linux
*|powerpc64-
*linux
*)
7329 LD
="${LD-ld} -m elf32ppclinux"
7332 LD
="${LD-ld} -m elf_s390"
7335 LD
="${LD-ld} -m elf32_sparc"
7341 x86_64-
*kfreebsd
*-gnu)
7342 LD
="${LD-ld} -m elf_x86_64_fbsd"
7345 LD
="${LD-ld} -m elf_x86_64"
7347 ppc
*-*linux
*|powerpc
*-*linux
*)
7348 LD
="${LD-ld} -m elf64ppc"
7350 s390
*-*linux
*|s390
*-*tpf
*)
7351 LD
="${LD-ld} -m elf64_s390"
7354 LD
="${LD-ld} -m elf64_sparc"
7364 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7365 SAVE_CFLAGS
="$CFLAGS"
7366 CFLAGS
="$CFLAGS -belf"
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7368 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7369 if ${lt_cv_cc_needs_belf+:} false
; then :
7370 $as_echo_n "(cached) " >&6
7373 ac_cpp
='$CPP $CPPFLAGS'
7374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7379 /* end confdefs.h. */
7389 if ac_fn_c_try_link
"$LINENO"; then :
7390 lt_cv_cc_needs_belf
=yes
7392 lt_cv_cc_needs_belf
=no
7394 rm -f core conftest.err conftest.
$ac_objext \
7395 conftest
$ac_exeext conftest.
$ac_ext
7397 ac_cpp
='$CPP $CPPFLAGS'
7398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7404 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7405 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7406 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7407 CFLAGS
="$SAVE_CFLAGS"
7411 # Find out which ABI we are using.
7412 echo 'int i;' > conftest.
$ac_ext
7413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7414 (eval $ac_compile) 2>&5
7416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7417 test $ac_status = 0; }; then
7418 case `/usr/bin/file conftest.o` in
7420 case $lt_cv_prog_gnu_ld in
7424 LD
="${LD-ld} -m elf_x86_64"
7427 LD
="${LD-ld} -m elf64_sparc"
7430 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7431 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7436 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7448 need_locks
="$enable_libtool_lock"
7450 if test -n "$ac_tool_prefix"; then
7451 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7452 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7454 $as_echo_n "checking for $ac_word... " >&6; }
7455 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7456 $as_echo_n "(cached) " >&6
7458 if test -n "$MANIFEST_TOOL"; then
7459 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7465 test -z "$as_dir" && as_dir
=.
7466 for ac_exec_ext
in '' $ac_executable_extensions; do
7467 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7468 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7479 if test -n "$MANIFEST_TOOL"; then
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7481 $as_echo "$MANIFEST_TOOL" >&6; }
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484 $as_echo "no" >&6; }
7489 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7490 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7491 # Extract the first word of "mt", so it can be a program name with args.
7492 set dummy mt
; ac_word
=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7496 $as_echo_n "(cached) " >&6
7498 if test -n "$ac_ct_MANIFEST_TOOL"; then
7499 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir
=.
7506 for ac_exec_ext
in '' $ac_executable_extensions; do
7507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7519 if test -n "$ac_ct_MANIFEST_TOOL"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7521 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7527 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7530 case $cross_compiling:$ac_tool_warned in
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7534 ac_tool_warned
=yes ;;
7536 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7539 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7542 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7544 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7545 if ${lt_cv_path_mainfest_tool+:} false
; then :
7546 $as_echo_n "(cached) " >&6
7548 lt_cv_path_mainfest_tool
=no
7549 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7550 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7551 cat conftest.err
>&5
7552 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7553 lt_cv_path_mainfest_tool
=yes
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7558 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7559 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
7569 rhapsody
* | darwin
*)
7570 if test -n "$ac_tool_prefix"; then
7571 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7572 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7576 $as_echo_n "(cached) " >&6
7578 if test -n "$DSYMUTIL"; then
7579 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7585 test -z "$as_dir" && as_dir
=.
7586 for ac_exec_ext
in '' $ac_executable_extensions; do
7587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7599 if test -n "$DSYMUTIL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7601 $as_echo "$DSYMUTIL" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7609 if test -z "$ac_cv_prog_DSYMUTIL"; then
7610 ac_ct_DSYMUTIL
=$DSYMUTIL
7611 # Extract the first word of "dsymutil", so it can be a program name with args.
7612 set dummy dsymutil
; ac_word
=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7616 $as_echo_n "(cached) " >&6
7618 if test -n "$ac_ct_DSYMUTIL"; then
7619 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7625 test -z "$as_dir" && as_dir
=.
7626 for ac_exec_ext
in '' $ac_executable_extensions; do
7627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7628 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7639 if test -n "$ac_ct_DSYMUTIL"; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7641 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7647 if test "x$ac_ct_DSYMUTIL" = x
; then
7650 case $cross_compiling:$ac_tool_warned in
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7654 ac_tool_warned
=yes ;;
7656 DSYMUTIL
=$ac_ct_DSYMUTIL
7659 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7662 if test -n "$ac_tool_prefix"; then
7663 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7664 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if ${ac_cv_prog_NMEDIT+:} false
; then :
7668 $as_echo_n "(cached) " >&6
7670 if test -n "$NMEDIT"; then
7671 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir
=.
7678 for ac_exec_ext
in '' $ac_executable_extensions; do
7679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7680 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7690 NMEDIT
=$ac_cv_prog_NMEDIT
7691 if test -n "$NMEDIT"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7693 $as_echo "$NMEDIT" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7701 if test -z "$ac_cv_prog_NMEDIT"; then
7702 ac_ct_NMEDIT
=$NMEDIT
7703 # Extract the first word of "nmedit", so it can be a program name with args.
7704 set dummy nmedit
; ac_word
=$2
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7706 $as_echo_n "checking for $ac_word... " >&6; }
7707 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7708 $as_echo_n "(cached) " >&6
7710 if test -n "$ac_ct_NMEDIT"; then
7711 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7717 test -z "$as_dir" && as_dir
=.
7718 for ac_exec_ext
in '' $ac_executable_extensions; do
7719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7720 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7730 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7731 if test -n "$ac_ct_NMEDIT"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7733 $as_echo "$ac_ct_NMEDIT" >&6; }
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736 $as_echo "no" >&6; }
7739 if test "x$ac_ct_NMEDIT" = x
; then
7742 case $cross_compiling:$ac_tool_warned in
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7746 ac_tool_warned
=yes ;;
7748 NMEDIT
=$ac_ct_NMEDIT
7751 NMEDIT
="$ac_cv_prog_NMEDIT"
7754 if test -n "$ac_tool_prefix"; then
7755 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7756 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if ${ac_cv_prog_LIPO+:} false
; then :
7760 $as_echo_n "(cached) " >&6
7762 if test -n "$LIPO"; then
7763 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir
=.
7770 for ac_exec_ext
in '' $ac_executable_extensions; do
7771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7772 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7782 LIPO
=$ac_cv_prog_LIPO
7783 if test -n "$LIPO"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7785 $as_echo "$LIPO" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7793 if test -z "$ac_cv_prog_LIPO"; then
7795 # Extract the first word of "lipo", so it can be a program name with args.
7796 set dummy lipo
; ac_word
=$2
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798 $as_echo_n "checking for $ac_word... " >&6; }
7799 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7800 $as_echo_n "(cached) " >&6
7802 if test -n "$ac_ct_LIPO"; then
7803 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7809 test -z "$as_dir" && as_dir
=.
7810 for ac_exec_ext
in '' $ac_executable_extensions; do
7811 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7812 ac_cv_prog_ac_ct_LIPO
="lipo"
7813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7822 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7823 if test -n "$ac_ct_LIPO"; then
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7825 $as_echo "$ac_ct_LIPO" >&6; }
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828 $as_echo "no" >&6; }
7831 if test "x$ac_ct_LIPO" = x
; then
7834 case $cross_compiling:$ac_tool_warned in
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7838 ac_tool_warned
=yes ;;
7843 LIPO
="$ac_cv_prog_LIPO"
7846 if test -n "$ac_tool_prefix"; then
7847 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7848 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_OTOOL+:} false
; then :
7852 $as_echo_n "(cached) " >&6
7854 if test -n "$OTOOL"; then
7855 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir
=.
7862 for ac_exec_ext
in '' $ac_executable_extensions; do
7863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 OTOOL
=$ac_cv_prog_OTOOL
7875 if test -n "$OTOOL"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7877 $as_echo "$OTOOL" >&6; }
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7885 if test -z "$ac_cv_prog_OTOOL"; then
7887 # Extract the first word of "otool", so it can be a program name with args.
7888 set dummy otool
; ac_word
=$2
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890 $as_echo_n "checking for $ac_word... " >&6; }
7891 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7892 $as_echo_n "(cached) " >&6
7894 if test -n "$ac_ct_OTOOL"; then
7895 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7901 test -z "$as_dir" && as_dir
=.
7902 for ac_exec_ext
in '' $ac_executable_extensions; do
7903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7904 ac_cv_prog_ac_ct_OTOOL
="otool"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7915 if test -n "$ac_ct_OTOOL"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7917 $as_echo "$ac_ct_OTOOL" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920 $as_echo "no" >&6; }
7923 if test "x$ac_ct_OTOOL" = x
; then
7926 case $cross_compiling:$ac_tool_warned in
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7930 ac_tool_warned
=yes ;;
7935 OTOOL
="$ac_cv_prog_OTOOL"
7938 if test -n "$ac_tool_prefix"; then
7939 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7940 set dummy
${ac_tool_prefix}otool64
; 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_OTOOL64+:} false
; then :
7944 $as_echo_n "(cached) " >&6
7946 if test -n "$OTOOL64"; then
7947 ac_cv_prog_OTOOL64
="$OTOOL64" # 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_OTOOL64
="${ac_tool_prefix}otool64"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966 OTOOL64
=$ac_cv_prog_OTOOL64
7967 if test -n "$OTOOL64"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7969 $as_echo "$OTOOL64" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7977 if test -z "$ac_cv_prog_OTOOL64"; then
7978 ac_ct_OTOOL64
=$OTOOL64
7979 # Extract the first word of "otool64", so it can be a program name with args.
7980 set dummy otool64
; ac_word
=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982 $as_echo_n "checking for $ac_word... " >&6; }
7983 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7984 $as_echo_n "(cached) " >&6
7986 if test -n "$ac_ct_OTOOL64"; then
7987 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7993 test -z "$as_dir" && as_dir
=.
7994 for ac_exec_ext
in '' $ac_executable_extensions; do
7995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8007 if test -n "$ac_ct_OTOOL64"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8009 $as_echo "$ac_ct_OTOOL64" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8015 if test "x$ac_ct_OTOOL64" = x
; then
8018 case $cross_compiling:$ac_tool_warned in
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8022 ac_tool_warned
=yes ;;
8024 OTOOL64
=$ac_ct_OTOOL64
8027 OTOOL64
="$ac_cv_prog_OTOOL64"
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8057 $as_echo_n "checking for -single_module linker flag... " >&6; }
8058 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8059 $as_echo_n "(cached) " >&6
8061 lt_cv_apple_cc_single_mod
=no
8062 if test -z "${LT_MULTI_MODULE}"; then
8063 # By default we will add the -single_module flag. You can override
8064 # by either setting the environment variable LT_MULTI_MODULE
8065 # non-empty at configure time, or by adding -multi_module to the
8067 rm -rf libconftest.dylib
*
8068 echo "int foo(void){return 1;}" > conftest.c
8069 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8070 -dynamiclib -Wl,-single_module conftest.c" >&5
8071 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8072 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8074 # If there is a non-empty error log, and "single_module"
8075 # appears in it, assume the flag caused a linker warning
8076 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8077 cat conftest.err
>&5
8078 # Otherwise, if the output was created with a 0 exit code from
8079 # the compiler, it worked.
8080 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
8081 lt_cv_apple_cc_single_mod
=yes
8083 cat conftest.err
>&5
8085 rm -rf libconftest.dylib
*
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8090 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8093 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8094 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8095 $as_echo_n "(cached) " >&6
8097 lt_cv_ld_exported_symbols_list
=no
8098 save_LDFLAGS
=$LDFLAGS
8099 echo "_main" > conftest.sym
8100 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8112 if ac_fn_c_try_link
"$LINENO"; then :
8113 lt_cv_ld_exported_symbols_list
=yes
8115 lt_cv_ld_exported_symbols_list
=no
8117 rm -f core conftest.err conftest.
$ac_objext \
8118 conftest
$ac_exeext conftest.
$ac_ext
8119 LDFLAGS
="$save_LDFLAGS"
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8123 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8126 $as_echo_n "checking for -force_load linker flag... " >&6; }
8127 if ${lt_cv_ld_force_load+:} false
; then :
8128 $as_echo_n "(cached) " >&6
8130 lt_cv_ld_force_load
=no
8131 cat > conftest.c
<< _LT_EOF
8132 int forced_loaded() { return 2;}
8134 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8135 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8136 echo "$AR cru libconftest.a conftest.o" >&5
8137 $AR cru libconftest.a conftest.o
2>&5
8138 echo "$RANLIB libconftest.a" >&5
8139 $RANLIB libconftest.a
2>&5
8140 cat > conftest.c
<< _LT_EOF
8141 int main() { return 0;}
8143 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8144 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8146 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8147 cat conftest.err
>&5
8148 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
8149 lt_cv_ld_force_load
=yes
8151 cat conftest.err
>&5
8153 rm -f conftest.err libconftest.a conftest conftest.c
8154 rm -rf conftest.dSYM
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8158 $as_echo "$lt_cv_ld_force_load" >&6; }
8160 rhapsody
* | darwin1.
[012])
8161 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8163 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8164 darwin
*) # darwin 5.x on
8165 # if running on 10.5 or later, the deployment target defaults
8166 # to the OS version, if on x86, and 10.4, the deployment
8167 # target defaults to 10.4. Don't you love it?
8168 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8169 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8170 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8172 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8174 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8178 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8179 _lt_dar_single_mod
='$single_module'
8181 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8182 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8184 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8186 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8187 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8194 for ac_header
in dlfcn.h
8196 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8198 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8199 cat >>confdefs.h
<<_ACEOF
8200 #define HAVE_DLFCN_H 1
8221 # Check whether --enable-shared was given.
8222 if test "${enable_shared+set}" = set; then :
8223 enableval
=$enable_shared; p
=${PACKAGE-default}
8225 yes) enable_shared
=yes ;;
8226 no
) enable_shared
=no
;;
8229 # Look at the argument we got. We use all the common list separators.
8230 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8231 for pkg
in $enableval; do
8233 if test "X$pkg" = "X$p"; then
8252 # Check whether --enable-static was given.
8253 if test "${enable_static+set}" = set; then :
8254 enableval
=$enable_static; p
=${PACKAGE-default}
8256 yes) enable_static
=yes ;;
8257 no
) enable_static
=no
;;
8260 # Look at the argument we got. We use all the common list separators.
8261 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8262 for pkg
in $enableval; do
8264 if test "X$pkg" = "X$p"; then
8284 # Check whether --with-pic was given.
8285 if test "${with_pic+set}" = set; then :
8286 withval
=$with_pic; lt_p
=${PACKAGE-default}
8288 yes|no
) pic_mode
=$withval ;;
8291 # Look at the argument we got. We use all the common list separators.
8292 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8293 for lt_pkg
in $withval; do
8295 if test "X$lt_pkg" = "X$lt_p"; then
8307 test -z "$pic_mode" && pic_mode
=default
8315 # Check whether --enable-fast-install was given.
8316 if test "${enable_fast_install+set}" = set; then :
8317 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8319 yes) enable_fast_install
=yes ;;
8320 no
) enable_fast_install
=no
;;
8322 enable_fast_install
=no
8323 # Look at the argument we got. We use all the common list separators.
8324 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8325 for pkg
in $enableval; do
8327 if test "X$pkg" = "X$p"; then
8328 enable_fast_install
=yes
8335 enable_fast_install
=yes
8348 # This can be used to rebuild libtool when needed
8349 LIBTOOL_DEPS
="$ltmain"
8351 # Always use our own libtool.
8352 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8383 test -z "$LN_S" && LN_S
="ln -s"
8398 if test -n "${ZSH_VERSION+set}" ; then
8399 setopt NO_GLOB_SUBST
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8403 $as_echo_n "checking for objdir... " >&6; }
8404 if ${lt_cv_objdir+:} false
; then :
8405 $as_echo_n "(cached) " >&6
8407 rm -f .libs
2>/dev
/null
8408 mkdir .libs
2>/dev
/null
8409 if test -d .libs
; then
8412 # MS-DOS does not allow filenames that begin with a dot.
8415 rmdir .libs
2>/dev
/null
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8418 $as_echo "$lt_cv_objdir" >&6; }
8419 objdir
=$lt_cv_objdir
8425 cat >>confdefs.h
<<_ACEOF
8426 #define LT_OBJDIR "$lt_cv_objdir/"
8434 # AIX sometimes has problems with the GCC collect2 program. For some
8435 # reason, if we set the COLLECT_NAMES environment variable, the problems
8436 # vanish in a puff of smoke.
8437 if test "X${COLLECT_NAMES+set}" != Xset
; then
8439 export COLLECT_NAMES
8446 can_build_shared
=yes
8448 # All known linkers require a `.a' archive for static linking (except MSVC,
8449 # which needs '.lib').
8452 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8455 old_CFLAGS
="$CFLAGS"
8457 # Set sane defaults for various variables
8458 test -z "$CC" && CC
=cc
8459 test -z "$LTCC" && LTCC
=$CC
8460 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8461 test -z "$LD" && LD
=ld
8462 test -z "$ac_objext" && ac_objext
=o
8464 for cc_temp
in $compiler""; do
8466 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8467 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8472 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8475 # Only perform the check for file, if the check method requires it
8476 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8477 case $deplibs_check_method in
8479 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8481 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8482 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8483 $as_echo_n "(cached) " >&6
8487 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8490 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8491 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8492 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8493 for ac_dir
in $ac_dummy; do
8495 test -z "$ac_dir" && ac_dir
=.
8496 if test -f $ac_dir/${ac_tool_prefix}file; then
8497 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8498 if test -n "$file_magic_test_file"; then
8499 case $deplibs_check_method in
8501 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8502 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8503 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8504 $EGREP "$file_magic_regex" > /dev
/null
; then
8509 *** Warning: the command libtool uses to detect shared libraries,
8510 *** $file_magic_cmd, produces output that libtool cannot recognize.
8511 *** The result is that libtool may fail to recognize shared libraries
8512 *** as such. This will affect the creation of libtool libraries that
8513 *** depend on shared libraries, but programs linked with such libtool
8514 *** libraries will work regardless of this problem. Nevertheless, you
8515 *** may want to report the problem to your system manager and/or to
8516 *** bug-libtool@gnu.org
8526 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8531 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8532 if test -n "$MAGIC_CMD"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8534 $as_echo "$MAGIC_CMD" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8537 $as_echo "no" >&6; }
8544 if test -z "$lt_cv_path_MAGIC_CMD"; then
8545 if test -n "$ac_tool_prefix"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8547 $as_echo_n "checking for file... " >&6; }
8548 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8549 $as_echo_n "(cached) " >&6
8553 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8556 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8557 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8558 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8559 for ac_dir
in $ac_dummy; do
8561 test -z "$ac_dir" && ac_dir
=.
8562 if test -f $ac_dir/file; then
8563 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8564 if test -n "$file_magic_test_file"; then
8565 case $deplibs_check_method in
8567 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8568 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8569 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8570 $EGREP "$file_magic_regex" > /dev
/null
; then
8575 *** Warning: the command libtool uses to detect shared libraries,
8576 *** $file_magic_cmd, produces output that libtool cannot recognize.
8577 *** The result is that libtool may fail to recognize shared libraries
8578 *** as such. This will affect the creation of libtool libraries that
8579 *** depend on shared libraries, but programs linked with such libtool
8580 *** libraries will work regardless of this problem. Nevertheless, you
8581 *** may want to report the problem to your system manager and/or to
8582 *** bug-libtool@gnu.org
8592 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8597 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8598 if test -n "$MAGIC_CMD"; then
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8600 $as_echo "$MAGIC_CMD" >&6; }
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8603 $as_echo "no" >&6; }
8616 # Use C for the default configuration in the libtool script
8620 ac_cpp
='$CPP $CPPFLAGS'
8621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8626 # Source file extension for C test sources.
8629 # Object file extension for compiled C test sources.
8633 # Code to be used in simple compile tests
8634 lt_simple_compile_test_code
="int some_variable = 0;"
8636 # Code to be used in simple link tests
8637 lt_simple_link_test_code
='int main(){return(0);}'
8645 # If no C compiler was specified, use CC.
8648 # If no C compiler flags were specified, use CFLAGS.
8649 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8651 # Allow CC to be a program name with arguments.
8654 # Save the default compiler, since it gets overwritten when the other
8655 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8656 compiler_DEFAULT
=$CC
8658 # save warnings/boilerplate of simple test code
8659 ac_outfile
=conftest.
$ac_objext
8660 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8661 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8662 _lt_compiler_boilerplate
=`cat conftest.err`
8665 ac_outfile
=conftest.
$ac_objext
8666 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8667 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8668 _lt_linker_boilerplate
=`cat conftest.err`
8672 if test -n "$compiler"; then
8674 lt_prog_compiler_no_builtin_flag
=
8676 if test "$GCC" = yes; then
8677 case $cc_basename in
8679 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8681 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8685 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8686 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8687 $as_echo_n "(cached) " >&6
8689 lt_cv_prog_compiler_rtti_exceptions
=no
8690 ac_outfile
=conftest.
$ac_objext
8691 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8692 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8693 # Insert the option either (1) after the last *FLAGS variable, or
8694 # (2) before a word containing "conftest.", or (3) at the end.
8695 # Note that $ac_compile itself does not contain backslashes and begins
8696 # with a dollar sign (not a hyphen), so the echo should work correctly.
8697 # The option is referenced via a variable to avoid confusing sed.
8698 lt_compile
=`echo "$ac_compile" | $SED \
8699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8701 -e 's:$: $lt_compiler_flag:'`
8702 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8703 (eval "$lt_compile" 2>conftest.err
)
8705 cat conftest.err
>&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 if (exit $ac_status) && test -s "$ac_outfile"; then
8708 # The compiler can only warn and ignore the option if not recognized
8709 # So say no if there are warnings other than the usual output.
8710 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8711 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8712 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8713 lt_cv_prog_compiler_rtti_exceptions
=yes
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8720 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8722 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8723 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8735 lt_prog_compiler_wl
=
8736 lt_prog_compiler_pic
=
8737 lt_prog_compiler_static
=
8740 if test "$GCC" = yes; then
8741 lt_prog_compiler_wl
='-Wl,'
8742 lt_prog_compiler_static
='-static'
8746 # All AIX code is PIC.
8747 if test "$host_cpu" = ia64
; then
8748 # AIX 5 now supports IA64 processor
8749 lt_prog_compiler_static
='-Bstatic'
8756 # see comment about AmigaOS4 .so support
8757 lt_prog_compiler_pic
='-fPIC'
8760 # FIXME: we need at least 68020 code to build shared libraries, but
8761 # adding the `-m68020' flag to GCC prevents building anything better,
8763 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8768 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8769 # PIC is the default for these OSes.
8772 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8773 # This hack is so that the source file can tell whether it is being
8774 # built for inclusion in a dll (and should export symbols for example).
8775 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8776 # (--disable-auto-import) libraries
8777 lt_prog_compiler_pic
='-DDLL_EXPORT'
8780 darwin
* | rhapsody
*)
8781 # PIC is the default on this platform
8782 # Common symbols not allowed in MH_DYLIB files
8783 lt_prog_compiler_pic
='-fno-common'
8787 # PIC is the default for Haiku.
8788 # The "-static" flag exists, but is broken.
8789 lt_prog_compiler_static
=
8793 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8794 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8795 # sets the default TLS model and affects inlining.
8801 lt_prog_compiler_pic
='-fPIC'
8807 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8808 # Instead, we relocate shared libraries at runtime.
8812 # Just because we use GCC doesn't mean we suddenly get shared libraries
8813 # on systems that don't support them.
8814 lt_prog_compiler_can_build_shared
=no
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8821 lt_prog_compiler_pic
='-fPIC -shared'
8825 if test -d /usr
/nec
; then
8826 lt_prog_compiler_pic
=-Kconform_pic
8831 lt_prog_compiler_pic
='-fPIC'
8835 case $cc_basename in
8836 nvcc
*) # Cuda Compiler Driver 2.2
8837 lt_prog_compiler_wl
='-Xlinker '
8838 if test -n "$lt_prog_compiler_pic"; then
8839 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8844 # PORTME Check for flag to pass linker flags through the system compiler.
8847 lt_prog_compiler_wl
='-Wl,'
8848 if test "$host_cpu" = ia64
; then
8849 # AIX 5 now supports IA64 processor
8850 lt_prog_compiler_static
='-Bstatic'
8852 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8856 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8857 # This hack is so that the source file can tell whether it is being
8858 # built for inclusion in a dll (and should export symbols for example).
8859 lt_prog_compiler_pic
='-DDLL_EXPORT'
8862 hpux9
* | hpux10
* | hpux11
*)
8863 lt_prog_compiler_wl
='-Wl,'
8864 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8871 lt_prog_compiler_pic
='+Z'
8874 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8875 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8878 irix5
* | irix6
* | nonstopux
*)
8879 lt_prog_compiler_wl
='-Wl,'
8880 # PIC (with -KPIC) is the default.
8881 lt_prog_compiler_static
='-non_shared'
8884 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8885 case $cc_basename in
8886 # old Intel for x86_64 which still supported -KPIC.
8888 lt_prog_compiler_wl
='-Wl,'
8889 lt_prog_compiler_pic
='-KPIC'
8890 lt_prog_compiler_static
='-static'
8892 # icc used to be incompatible with GCC.
8893 # ICC 10 doesn't accept -KPIC any more.
8895 lt_prog_compiler_wl
='-Wl,'
8896 lt_prog_compiler_pic
='-fPIC'
8897 lt_prog_compiler_static
='-static'
8899 # Lahey Fortran 8.1.
8901 lt_prog_compiler_wl
='-Wl,'
8902 lt_prog_compiler_pic
='--shared'
8903 lt_prog_compiler_static
='--static'
8906 # NAG Fortran compiler
8907 lt_prog_compiler_wl
='-Wl,-Wl,,'
8908 lt_prog_compiler_pic
='-PIC'
8909 lt_prog_compiler_static
='-Bstatic'
8911 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8912 # Portland Group compilers (*not* the Pentium gcc compiler,
8913 # which looks to be a dead project)
8914 lt_prog_compiler_wl
='-Wl,'
8915 lt_prog_compiler_pic
='-fpic'
8916 lt_prog_compiler_static
='-Bstatic'
8919 lt_prog_compiler_wl
='-Wl,'
8920 # All Alpha code is PIC.
8921 lt_prog_compiler_static
='-non_shared'
8923 xl
* | bgxl
* | bgf
* | mpixl
*)
8924 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8925 lt_prog_compiler_wl
='-Wl,'
8926 lt_prog_compiler_pic
='-qpic'
8927 lt_prog_compiler_static
='-qstaticlink'
8930 case `$CC -V 2>&1 | sed 5q` in
8931 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8932 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8933 lt_prog_compiler_pic
='-KPIC'
8934 lt_prog_compiler_static
='-Bstatic'
8935 lt_prog_compiler_wl
=''
8937 *Sun\ F
* |
*Sun
*Fortran
*)
8938 lt_prog_compiler_pic
='-KPIC'
8939 lt_prog_compiler_static
='-Bstatic'
8940 lt_prog_compiler_wl
='-Qoption ld '
8944 lt_prog_compiler_pic
='-KPIC'
8945 lt_prog_compiler_static
='-Bstatic'
8946 lt_prog_compiler_wl
='-Wl,'
8948 *Intel
*\
[CF
]*Compiler
*)
8949 lt_prog_compiler_wl
='-Wl,'
8950 lt_prog_compiler_pic
='-fPIC'
8951 lt_prog_compiler_static
='-static'
8954 lt_prog_compiler_wl
='-Wl,'
8955 lt_prog_compiler_pic
='-fpic'
8956 lt_prog_compiler_static
='-Bstatic'
8964 lt_prog_compiler_pic
='-KPIC'
8965 lt_prog_compiler_static
='-Bstatic'
8969 # QNX uses GNU C++, but need to define -shared option too, otherwise
8971 lt_prog_compiler_pic
='-fPIC -shared'
8974 osf3
* | osf4
* | osf5
*)
8975 lt_prog_compiler_wl
='-Wl,'
8976 # All OSF/1 code is PIC.
8977 lt_prog_compiler_static
='-non_shared'
8981 lt_prog_compiler_static
='-non_shared'
8985 lt_prog_compiler_pic
='-KPIC'
8986 lt_prog_compiler_static
='-Bstatic'
8987 case $cc_basename in
8988 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8989 lt_prog_compiler_wl
='-Qoption ld ';;
8991 lt_prog_compiler_wl
='-Wl,';;
8996 lt_prog_compiler_wl
='-Qoption ld '
8997 lt_prog_compiler_pic
='-PIC'
8998 lt_prog_compiler_static
='-Bstatic'
9001 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9002 lt_prog_compiler_wl
='-Wl,'
9003 lt_prog_compiler_pic
='-KPIC'
9004 lt_prog_compiler_static
='-Bstatic'
9008 if test -d /usr
/nec
;then
9009 lt_prog_compiler_pic
='-Kconform_pic'
9010 lt_prog_compiler_static
='-Bstatic'
9014 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9015 lt_prog_compiler_wl
='-Wl,'
9016 lt_prog_compiler_pic
='-KPIC'
9017 lt_prog_compiler_static
='-Bstatic'
9021 lt_prog_compiler_wl
='-Wl,'
9022 lt_prog_compiler_can_build_shared
=no
9026 lt_prog_compiler_pic
='-pic'
9027 lt_prog_compiler_static
='-Bstatic'
9031 lt_prog_compiler_can_build_shared
=no
9037 # For platforms which do not support PIC, -DPIC is meaningless:
9039 lt_prog_compiler_pic
=
9042 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9047 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9048 if ${lt_cv_prog_compiler_pic+:} false
; then :
9049 $as_echo_n "(cached) " >&6
9051 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9054 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9055 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9058 # Check to make sure the PIC flag actually works.
9060 if test -n "$lt_prog_compiler_pic"; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9062 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9063 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9066 lt_cv_prog_compiler_pic_works
=no
9067 ac_outfile
=conftest.
$ac_objext
9068 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9069 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9070 # Insert the option either (1) after the last *FLAGS variable, or
9071 # (2) before a word containing "conftest.", or (3) at the end.
9072 # Note that $ac_compile itself does not contain backslashes and begins
9073 # with a dollar sign (not a hyphen), so the echo should work correctly.
9074 # The option is referenced via a variable to avoid confusing sed.
9075 lt_compile
=`echo "$ac_compile" | $SED \
9076 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9077 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9078 -e 's:$: $lt_compiler_flag:'`
9079 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9080 (eval "$lt_compile" 2>conftest.err
)
9082 cat conftest.err
>&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 if (exit $ac_status) && test -s "$ac_outfile"; then
9085 # The compiler can only warn and ignore the option if not recognized
9086 # So say no if there are warnings other than the usual output.
9087 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9088 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9089 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9090 lt_cv_prog_compiler_pic_works
=yes
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9097 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9099 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9100 case $lt_prog_compiler_pic in
9102 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9105 lt_prog_compiler_pic
=
9106 lt_prog_compiler_can_build_shared
=no
9122 # Check to make sure the static flag actually works.
9124 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9126 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9127 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9128 $as_echo_n "(cached) " >&6
9130 lt_cv_prog_compiler_static_works
=no
9131 save_LDFLAGS
="$LDFLAGS"
9132 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9133 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9134 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9135 # The linker can only warn and ignore the option if not recognized
9136 # So say no if there are warnings
9137 if test -s conftest.err
; then
9138 # Append any errors to the config.log.
9139 cat conftest.err
1>&5
9140 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9142 if diff conftest.exp conftest.er2
>/dev
/null
; then
9143 lt_cv_prog_compiler_static_works
=yes
9146 lt_cv_prog_compiler_static_works
=yes
9150 LDFLAGS
="$save_LDFLAGS"
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9154 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9156 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9159 lt_prog_compiler_static
=
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9169 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9170 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9171 $as_echo_n "(cached) " >&6
9173 lt_cv_prog_compiler_c_o
=no
9174 $RM -r conftest
2>/dev
/null
9178 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9180 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9181 # Insert the option either (1) after the last *FLAGS variable, or
9182 # (2) before a word containing "conftest.", or (3) at the end.
9183 # Note that $ac_compile itself does not contain backslashes and begins
9184 # with a dollar sign (not a hyphen), so the echo should work correctly.
9185 lt_compile
=`echo "$ac_compile" | $SED \
9186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9188 -e 's:$: $lt_compiler_flag:'`
9189 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9190 (eval "$lt_compile" 2>out
/conftest.err
)
9192 cat out
/conftest.err
>&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9196 # The compiler can only warn and ignore the option if not recognized
9197 # So say no if there are warnings
9198 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9199 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9200 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9201 lt_cv_prog_compiler_c_o
=yes
9206 # SGI C++ compiler will create directory out/ii_files/ for
9207 # template instantiation
9208 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9209 $RM out
/* && rmdir out
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9216 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9224 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9225 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9226 $as_echo_n "(cached) " >&6
9228 lt_cv_prog_compiler_c_o
=no
9229 $RM -r conftest
2>/dev
/null
9233 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9235 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9236 # Insert the option either (1) after the last *FLAGS variable, or
9237 # (2) before a word containing "conftest.", or (3) at the end.
9238 # Note that $ac_compile itself does not contain backslashes and begins
9239 # with a dollar sign (not a hyphen), so the echo should work correctly.
9240 lt_compile
=`echo "$ac_compile" | $SED \
9241 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9243 -e 's:$: $lt_compiler_flag:'`
9244 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9245 (eval "$lt_compile" 2>out
/conftest.err
)
9247 cat out
/conftest.err
>&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9251 # The compiler can only warn and ignore the option if not recognized
9252 # So say no if there are warnings
9253 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9254 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9255 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9256 lt_cv_prog_compiler_c_o
=yes
9261 # SGI C++ compiler will create directory out/ii_files/ for
9262 # template instantiation
9263 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9264 $RM out
/* && rmdir out
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9271 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9276 hard_links
="nottested"
9277 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9278 # do not overwrite the value of need_locks provided by the user
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9280 $as_echo_n "checking if we can lock with hard links... " >&6; }
9283 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9285 ln conftest.a conftest.b
2>&5 || hard_links
=no
9286 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9288 $as_echo "$hard_links" >&6; }
9289 if test "$hard_links" = no
; then
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9291 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9304 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9307 allow_undefined_flag
=
9308 always_export_symbols
=no
9310 archive_expsym_cmds
=
9311 compiler_needs_object
=no
9312 enable_shared_with_static_runtimes
=no
9313 export_dynamic_flag_spec
=
9314 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9315 hardcode_automatic
=no
9317 hardcode_direct_absolute
=no
9318 hardcode_libdir_flag_spec
=
9319 hardcode_libdir_separator
=
9321 hardcode_shlibpath_var
=unsupported
9323 link_all_deplibs
=unknown
9326 old_archive_from_new_cmds
=
9327 old_archive_from_expsyms_cmds
=
9328 thread_safe_flag_spec
=
9329 whole_archive_flag_spec
=
9330 # include_expsyms should be a list of space-separated symbols to be *always*
9331 # included in the symbol list
9333 # exclude_expsyms can be an extended regexp of symbols to exclude
9334 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9335 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9336 # as well as any symbol that contains `d'.
9337 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9338 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9339 # platforms (ab)use it in PIC code, but their linkers get confused if
9340 # the symbol is explicitly referenced. Since portable code cannot
9341 # rely on this symbol name, it's probably fine to never include it in
9342 # preloaded symbol tables.
9343 # Exclude shared library initialization/finalization symbols.
9344 extract_expsyms_cmds
=
9347 cygwin
* | mingw
* | pw32
* | cegcc
*)
9348 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9349 # When not using gcc, we currently assume that we are using
9350 # Microsoft Visual C++.
9351 if test "$GCC" != yes; then
9356 # we just hope/assume this is gcc and not c89 (= MSVC++)
9366 # On some targets, GNU ld is compatible enough with the native linker
9367 # that we're better off using the native interface for both.
9368 lt_use_gnu_ld_interface
=no
9369 if test "$with_gnu_ld" = yes; then
9372 # The AIX port of GNU ld has always aspired to compatibility
9373 # with the native linker. However, as the warning in the GNU ld
9374 # block says, versions before 2.19.5* couldn't really create working
9375 # shared libraries, regardless of the interface used.
9376 case `$LD -v 2>&1` in
9377 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9378 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9379 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9381 lt_use_gnu_ld_interface
=yes
9386 lt_use_gnu_ld_interface
=yes
9391 if test "$lt_use_gnu_ld_interface" = yes; then
9392 # If archive_cmds runs LD, not CC, wlarc should be empty
9395 # Set some defaults for GNU ld with shared library support. These
9396 # are reset later if shared libraries are not supported. Putting them
9397 # here allows them to be overridden if necessary.
9398 runpath_var
=LD_RUN_PATH
9399 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9400 export_dynamic_flag_spec
='${wl}--export-dynamic'
9401 # ancient GNU ld didn't support --whole-archive et. al.
9402 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9403 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9405 whole_archive_flag_spec
=
9407 supports_anon_versioning
=no
9408 case `$LD -v 2>&1` in
9409 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9410 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9411 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9412 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9413 *\
2.11.
*) ;; # other 2.11 versions
9414 *) supports_anon_versioning
=yes ;;
9417 # See if GNU ld supports shared libraries.
9420 # On AIX/PPC, the GNU linker is very broken
9421 if test "$host_cpu" != ia64
; then
9425 *** Warning: the GNU linker, at least up to release 2.19, is reported
9426 *** to be unable to reliably create shared libraries on AIX.
9427 *** Therefore, libtool is disabling shared libraries support. If you
9428 *** really care for shared libraries, you may want to install binutils
9429 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9430 *** You will then need to restart the configuration process.
9439 # see comment about AmigaOS4 .so support
9440 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9441 archive_expsym_cmds
=''
9444 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)'
9445 hardcode_libdir_flag_spec
='-L$libdir'
9446 hardcode_minus_L
=yes
9452 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9453 allow_undefined_flag
=unsupported
9454 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9455 # support --undefined. This deserves some investigation. FIXME
9456 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9462 cygwin
* | mingw
* | pw32
* | cegcc
*)
9463 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9464 # as there is no search path for DLLs.
9465 hardcode_libdir_flag_spec
='-L$libdir'
9466 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9467 allow_undefined_flag
=unsupported
9468 always_export_symbols
=no
9469 enable_shared_with_static_runtimes
=yes
9470 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'
9471 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9473 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9474 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9475 # If the export-symbols file already is a .def file (1st line
9476 # is EXPORTS), use it as is; otherwise, prepend...
9477 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9478 cp $export_symbols $output_objdir/$soname.def;
9480 echo EXPORTS > $output_objdir/$soname.def;
9481 cat $export_symbols >> $output_objdir/$soname.def;
9483 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9490 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9491 link_all_deplibs
=yes
9496 hardcode_shlibpath_var
=no
9497 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9498 export_dynamic_flag_spec
='${wl}-E'
9499 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9500 # Instead, shared libraries are loaded at an image base (0x10000000 by
9501 # default) and relocated if they conflict, which is a slow very memory
9502 # consuming and fragmenting process. To avoid this, we pick a random,
9503 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9504 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9505 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9506 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'
9509 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9511 if test "$host_os" = linux-dietlibc
; then
9512 case $cc_basename in
9513 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9516 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9517 && test "$tmp_diet" = no
9519 tmp_addflag
=' $pic_flag'
9520 tmp_sharedflag
='-shared'
9521 case $cc_basename,$host_cpu in
9522 pgcc
*) # Portland Group C compiler
9523 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'
9524 tmp_addflag
=' $pic_flag'
9526 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9527 # Portland Group f77 and f90 compilers
9528 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'
9529 tmp_addflag
=' $pic_flag -Mnomain' ;;
9530 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9531 tmp_addflag
=' -i_dynamic' ;;
9532 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9533 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9534 ifc
* | ifort
*) # Intel Fortran compiler
9535 tmp_addflag
=' -nofor_main' ;;
9536 lf95
*) # Lahey Fortran 8.1
9537 whole_archive_flag_spec
=
9538 tmp_sharedflag
='--shared' ;;
9539 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9540 tmp_sharedflag
='-qmkshrobj'
9542 nvcc
*) # Cuda Compiler Driver 2.2
9543 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'
9544 compiler_needs_object
=yes
9547 case `$CC -V 2>&1 | sed 5q` in
9548 *Sun\ C
*) # Sun C 5.9
9549 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'
9550 compiler_needs_object
=yes
9551 tmp_sharedflag
='-G' ;;
9552 *Sun\ F
*) # Sun Fortran 8.3
9553 tmp_sharedflag
='-G' ;;
9555 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9557 if test "x$supports_anon_versioning" = xyes
; then
9558 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9559 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9560 echo "local: *; };" >> $output_objdir/$libname.ver~
9561 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9564 case $cc_basename in
9565 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9566 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9567 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9568 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9569 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9570 if test "x$supports_anon_versioning" = xyes
; then
9571 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9572 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9573 echo "local: *; };" >> $output_objdir/$libname.ver~
9574 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9584 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9585 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9588 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9589 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9594 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9598 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9599 *** create shared libraries on Solaris systems. Therefore, libtool
9600 *** is disabling shared libraries support. We urge you to upgrade GNU
9601 *** binutils to release 2.9.1 or newer. Another option is to modify
9602 *** your PATH or compiler configuration so that the native linker is
9603 *** used, and then restart.
9606 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9607 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9608 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9614 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9615 case `$LD -v 2>&1` in
9616 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9620 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9621 *** reliably create shared libraries on SCO systems. Therefore, libtool
9622 *** is disabling shared libraries support. We urge you to upgrade GNU
9623 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9624 *** your PATH or compiler configuration so that the native linker is
9625 *** used, and then restart.
9630 # For security reasons, it is highly recommended that you always
9631 # use absolute paths for naming shared libraries, and exclude the
9632 # DT_RUNPATH tag from executables and libraries. But doing so
9633 # requires that you compile everything twice, which is a pain.
9634 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9635 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9636 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9637 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9646 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9649 hardcode_shlibpath_var
=no
9653 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9654 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9655 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9662 if test "$ld_shlibs" = no
; then
9664 hardcode_libdir_flag_spec
=
9665 export_dynamic_flag_spec
=
9666 whole_archive_flag_spec
=
9669 # PORTME fill in a description of your system's linker (not GNU ld)
9672 allow_undefined_flag
=unsupported
9673 always_export_symbols
=yes
9674 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'
9675 # Note: this linker hardcodes the directories in LIBPATH if there
9676 # are no directories specified by -L.
9677 hardcode_minus_L
=yes
9678 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9679 # Neither direct hardcoding nor static linking is supported with a
9681 hardcode_direct
=unsupported
9686 if test "$host_cpu" = ia64
; then
9687 # On IA64, the linker does run time linking by default, so we don't
9688 # have to do anything special.
9689 aix_use_runtimelinking
=no
9690 exp_sym_flag
='-Bexport'
9693 # If we're using GNU nm, then we don't want the "-C" option.
9694 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9695 # Also, AIX nm treats weak defined symbols like other global
9696 # defined symbols, whereas GNU nm marks them as "W".
9697 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9698 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9700 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9702 aix_use_runtimelinking
=no
9704 # Test if we are trying to use run time linking or normal
9705 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9706 # need to do runtime linking.
9707 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9708 for ld_flag
in $LDFLAGS; do
9709 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9710 aix_use_runtimelinking
=yes
9717 exp_sym_flag
='-bexport'
9718 no_entry_flag
='-bnoentry'
9721 # When large executables or shared objects are built, AIX ld can
9722 # have problems creating the table of contents. If linking a library
9723 # or program results in "error TOC overflow" add -mminimal-toc to
9724 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9725 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9729 hardcode_direct_absolute
=yes
9730 hardcode_libdir_separator
=':'
9731 link_all_deplibs
=yes
9732 file_list_spec
='${wl}-f,'
9734 if test "$GCC" = yes; then
9735 case $host_os in aix4.
[012]|aix4.
[012].
*)
9736 # We only want to do this on AIX 4.2 and lower, the check
9737 # below for broken collect2 doesn't work under 4.3+
9738 collect2name
=`${CC} -print-prog-name=collect2`
9739 if test -f "$collect2name" &&
9740 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9742 # We have reworked collect2
9745 # We have old collect2
9746 hardcode_direct
=unsupported
9747 # It fails to find uninstalled libraries when the uninstalled
9748 # path is not listed in the libpath. Setting hardcode_minus_L
9749 # to unsupported forces relinking
9750 hardcode_minus_L
=yes
9751 hardcode_libdir_flag_spec
='-L$libdir'
9752 hardcode_libdir_separator
=
9756 shared_flag
='-shared'
9757 if test "$aix_use_runtimelinking" = yes; then
9758 shared_flag
="$shared_flag "'${wl}-G'
9762 if test "$host_cpu" = ia64
; then
9763 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9764 # chokes on -Wl,-G. The following line is correct:
9767 if test "$aix_use_runtimelinking" = yes; then
9768 shared_flag
='${wl}-G'
9770 shared_flag
='${wl}-bM:SRE'
9775 export_dynamic_flag_spec
='${wl}-bexpall'
9776 # It seems that -bexpall does not export symbols beginning with
9777 # underscore (_), so it is better to generate a list of symbols to export.
9778 always_export_symbols
=yes
9779 if test "$aix_use_runtimelinking" = yes; then
9780 # Warning - without using the other runtime loading flags (-brtl),
9781 # -berok will link without error, but may produce a broken library.
9782 allow_undefined_flag
='-berok'
9783 # Determine the default libpath from the value encoded in an
9785 if test "${lt_cv_aix_libpath+set}" = set; then
9786 aix_libpath
=$lt_cv_aix_libpath
9788 if ${lt_cv_aix_libpath_+:} false
; then :
9789 $as_echo_n "(cached) " >&6
9791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9802 if ac_fn_c_try_link
"$LINENO"; then :
9804 lt_aix_libpath_sed
='
9805 /Import File Strings/,/^$/ {
9807 s/^0 *\([^ ]*\) *$/\1/
9811 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9812 # Check for a 64-bit object if we didn't find anything.
9813 if test -z "$lt_cv_aix_libpath_"; then
9814 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9817 rm -f core conftest.err conftest.
$ac_objext \
9818 conftest
$ac_exeext conftest.
$ac_ext
9819 if test -z "$lt_cv_aix_libpath_"; then
9820 lt_cv_aix_libpath_
="/usr/lib:/lib"
9825 aix_libpath
=$lt_cv_aix_libpath_
9828 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9829 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9831 if test "$host_cpu" = ia64
; then
9832 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9833 allow_undefined_flag
="-z nodefs"
9834 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"
9836 # Determine the default libpath from the value encoded in an
9838 if test "${lt_cv_aix_libpath+set}" = set; then
9839 aix_libpath
=$lt_cv_aix_libpath
9841 if ${lt_cv_aix_libpath_+:} false
; then :
9842 $as_echo_n "(cached) " >&6
9844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9855 if ac_fn_c_try_link
"$LINENO"; then :
9857 lt_aix_libpath_sed
='
9858 /Import File Strings/,/^$/ {
9860 s/^0 *\([^ ]*\) *$/\1/
9864 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9865 # Check for a 64-bit object if we didn't find anything.
9866 if test -z "$lt_cv_aix_libpath_"; then
9867 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9870 rm -f core conftest.err conftest.
$ac_objext \
9871 conftest
$ac_exeext conftest.
$ac_ext
9872 if test -z "$lt_cv_aix_libpath_"; then
9873 lt_cv_aix_libpath_
="/usr/lib:/lib"
9878 aix_libpath
=$lt_cv_aix_libpath_
9881 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9882 # Warning - without using the other run time loading flags,
9883 # -berok will link without error, but may produce a broken library.
9884 no_undefined_flag
=' ${wl}-bernotok'
9885 allow_undefined_flag
=' ${wl}-berok'
9886 if test "$with_gnu_ld" = yes; then
9887 # We only use this code for GNU lds that support --whole-archive.
9888 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9890 # Exported symbols can be pulled into shared objects from archives
9891 whole_archive_flag_spec
='$convenience'
9893 archive_cmds_need_lc
=yes
9894 # This is similar to how AIX traditionally builds its shared libraries.
9895 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9903 # see comment about AmigaOS4 .so support
9904 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9905 archive_expsym_cmds
=''
9908 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)'
9909 hardcode_libdir_flag_spec
='-L$libdir'
9910 hardcode_minus_L
=yes
9916 export_dynamic_flag_spec
=-rdynamic
9919 cygwin
* | mingw
* | pw32
* | cegcc
*)
9920 # When not using gcc, we currently assume that we are using
9921 # Microsoft Visual C++.
9922 # hardcode_libdir_flag_spec is actually meaningless, as there is
9923 # no search path for DLLs.
9924 case $cc_basename in
9927 hardcode_libdir_flag_spec
=' '
9928 allow_undefined_flag
=unsupported
9929 always_export_symbols
=yes
9931 # Tell ltmain to make .lib files, not .a files.
9933 # Tell ltmain to make .dll files, not .so files.
9935 # FIXME: Setting linknames here is a bad hack.
9936 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9937 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9938 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9940 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9942 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9944 # The linker will not automatically build a static lib if we build a DLL.
9945 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9946 enable_shared_with_static_runtimes
=yes
9947 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9948 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9950 old_postinstall_cmds
='chmod 644 $oldlib'
9951 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9952 lt_tool_outputfile="@TOOL_OUTPUT@"~
9953 case $lt_outputfile in
9956 lt_outputfile="$lt_outputfile.exe"
9957 lt_tool_outputfile="$lt_tool_outputfile.exe"
9960 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9961 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9962 $RM "$lt_outputfile.manifest";
9966 # Assume MSVC wrapper
9967 hardcode_libdir_flag_spec
=' '
9968 allow_undefined_flag
=unsupported
9969 # Tell ltmain to make .lib files, not .a files.
9971 # Tell ltmain to make .dll files, not .so files.
9973 # FIXME: Setting linknames here is a bad hack.
9974 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9975 # The linker will automatically build a .lib file if we build a DLL.
9976 old_archive_from_new_cmds
='true'
9977 # FIXME: Should let the user specify the lib program.
9978 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9979 enable_shared_with_static_runtimes
=yes
9984 darwin
* | rhapsody
*)
9987 archive_cmds_need_lc
=no
9989 hardcode_automatic
=yes
9990 hardcode_shlibpath_var
=unsupported
9991 if test "$lt_cv_ld_force_load" = "yes"; then
9992 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\"`'
9995 whole_archive_flag_spec
=''
9997 link_all_deplibs
=yes
9998 allow_undefined_flag
="$_lt_dar_allow_undefined"
9999 case $cc_basename in
10000 ifort
*) _lt_dar_can_shared
=yes ;;
10001 *) _lt_dar_can_shared
=$GCC ;;
10003 if test "$_lt_dar_can_shared" = "yes"; then
10004 output_verbose_link_cmd
=func_echo_all
10005 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10006 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10007 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}"
10008 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}"
10017 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 hardcode_libdir_flag_spec
='-L$libdir'
10019 hardcode_shlibpath_var
=no
10022 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10023 # support. Future versions do this automatically, but an explicit c++rt0.o
10024 # does not break anything, and helps significantly (at the cost of a little
10027 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10028 hardcode_libdir_flag_spec
='-R$libdir'
10029 hardcode_direct
=yes
10030 hardcode_shlibpath_var
=no
10033 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10035 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_direct
=yes
10037 hardcode_minus_L
=yes
10038 hardcode_shlibpath_var
=no
10041 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10042 freebsd
* | dragonfly
*)
10043 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10044 hardcode_libdir_flag_spec
='-R$libdir'
10045 hardcode_direct
=yes
10046 hardcode_shlibpath_var
=no
10050 if test "$GCC" = yes; then
10051 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10053 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10055 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10056 hardcode_libdir_separator
=:
10057 hardcode_direct
=yes
10059 # hardcode_minus_L: Not really in the search PATH,
10060 # but as the default location of the library.
10061 hardcode_minus_L
=yes
10062 export_dynamic_flag_spec
='${wl}-E'
10066 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10067 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10071 if test "$with_gnu_ld" = no
; then
10072 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10073 hardcode_libdir_separator
=:
10074 hardcode_direct
=yes
10075 hardcode_direct_absolute
=yes
10076 export_dynamic_flag_spec
='${wl}-E'
10077 # hardcode_minus_L: Not really in the search PATH,
10078 # but as the default location of the library.
10079 hardcode_minus_L
=yes
10084 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10087 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10102 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10106 # Older versions of the 11.00 compiler do not understand -b yet
10107 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10109 $as_echo_n "checking if $CC understands -b... " >&6; }
10110 if ${lt_cv_prog_compiler__b+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10113 lt_cv_prog_compiler__b
=no
10114 save_LDFLAGS
="$LDFLAGS"
10115 LDFLAGS
="$LDFLAGS -b"
10116 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10117 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10118 # The linker can only warn and ignore the option if not recognized
10119 # So say no if there are warnings
10120 if test -s conftest.err
; then
10121 # Append any errors to the config.log.
10122 cat conftest.err
1>&5
10123 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10124 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10125 if diff conftest.exp conftest.er2
>/dev
/null
; then
10126 lt_cv_prog_compiler__b
=yes
10129 lt_cv_prog_compiler__b
=yes
10133 LDFLAGS
="$save_LDFLAGS"
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10137 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10139 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10140 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10148 if test "$with_gnu_ld" = no
; then
10149 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10150 hardcode_libdir_separator
=:
10155 hardcode_shlibpath_var
=no
10158 hardcode_direct
=yes
10159 hardcode_direct_absolute
=yes
10160 export_dynamic_flag_spec
='${wl}-E'
10162 # hardcode_minus_L: Not really in the search PATH,
10163 # but as the default location of the library.
10164 hardcode_minus_L
=yes
10170 irix5
* | irix6
* | nonstopux
*)
10171 if test "$GCC" = yes; then
10172 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'
10173 # Try to use the -exported_symbol ld option, if it does not
10174 # work, assume that -exports_file does not work either and
10175 # implicitly export all symbols.
10176 # This should be the same for all languages, so no per-tag cache variable.
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10178 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10179 if ${lt_cv_irix_exported_symbol+:} false
; then :
10180 $as_echo_n "(cached) " >&6
10182 save_LDFLAGS
="$LDFLAGS"
10183 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int foo (void) { return 0; }
10188 if ac_fn_c_try_link
"$LINENO"; then :
10189 lt_cv_irix_exported_symbol
=yes
10191 lt_cv_irix_exported_symbol
=no
10193 rm -f core conftest.err conftest.
$ac_objext \
10194 conftest
$ac_exeext conftest.
$ac_ext
10195 LDFLAGS
="$save_LDFLAGS"
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10198 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10199 if test "$lt_cv_irix_exported_symbol" = yes; then
10200 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'
10203 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'
10204 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'
10206 archive_cmds_need_lc
='no'
10207 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10208 hardcode_libdir_separator
=:
10210 link_all_deplibs
=yes
10214 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10215 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10217 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10219 hardcode_libdir_flag_spec
='-R$libdir'
10220 hardcode_direct
=yes
10221 hardcode_shlibpath_var
=no
10225 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10226 hardcode_direct
=yes
10227 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10228 hardcode_libdir_separator
=:
10229 hardcode_shlibpath_var
=no
10236 if test -f /usr
/libexec
/ld.so
; then
10237 hardcode_direct
=yes
10238 hardcode_shlibpath_var
=no
10239 hardcode_direct_absolute
=yes
10240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10241 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10243 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10244 export_dynamic_flag_spec
='${wl}-E'
10247 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10248 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10249 hardcode_libdir_flag_spec
='-R$libdir'
10252 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10253 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10263 hardcode_libdir_flag_spec
='-L$libdir'
10264 hardcode_minus_L
=yes
10265 allow_undefined_flag
=unsupported
10266 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10267 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10271 if test "$GCC" = yes; then
10272 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10273 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'
10275 allow_undefined_flag
=' -expect_unresolved \*'
10276 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'
10278 archive_cmds_need_lc
='no'
10279 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10280 hardcode_libdir_separator
=:
10283 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10284 if test "$GCC" = yes; then
10285 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10286 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'
10287 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10289 allow_undefined_flag
=' -expect_unresolved \*'
10290 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'
10291 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~
10292 $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'
10294 # Both c and cxx compiler support -rpath directly
10295 hardcode_libdir_flag_spec
='-rpath $libdir'
10297 archive_cmds_need_lc
='no'
10298 hardcode_libdir_separator
=:
10302 no_undefined_flag
=' -z defs'
10303 if test "$GCC" = yes; then
10305 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10306 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10307 $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'
10309 case `$CC -V 2>&1` in
10312 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10313 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10314 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10318 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10319 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10320 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10324 hardcode_libdir_flag_spec
='-R$libdir'
10325 hardcode_shlibpath_var
=no
10327 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10329 # The compiler driver will combine and reorder linker options,
10330 # but understands `-z linker_flag'. GCC discards it without `$wl',
10331 # but is careful enough not to reorder.
10332 # Supported since Solaris 2.6 (maybe 2.5.1?)
10333 if test "$GCC" = yes; then
10334 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10336 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10340 link_all_deplibs
=yes
10344 if test "x$host_vendor" = xsequent
; then
10345 # Use $CC to link under sequent, because it throws in some extra .o
10346 # files that make .init and .fini sections work.
10347 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10351 hardcode_libdir_flag_spec
='-L$libdir'
10352 hardcode_direct
=yes
10353 hardcode_minus_L
=yes
10354 hardcode_shlibpath_var
=no
10358 case $host_vendor in
10360 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_direct
=yes # is this really true???
10364 ## LD is ld it makes a PLAMLIB
10365 ## CC just makes a GrossModule.
10366 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10367 reload_cmds
='$CC -r -o $output$reload_objs'
10371 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10372 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10375 runpath_var
='LD_RUN_PATH'
10376 hardcode_shlibpath_var
=no
10380 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10381 hardcode_shlibpath_var
=no
10382 export_dynamic_flag_spec
='-Bexport'
10386 if test -d /usr
/nec
; then
10387 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10388 hardcode_shlibpath_var
=no
10389 runpath_var
=LD_RUN_PATH
10390 hardcode_runpath_var
=yes
10395 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10396 no_undefined_flag
='${wl}-z,text'
10397 archive_cmds_need_lc
=no
10398 hardcode_shlibpath_var
=no
10399 runpath_var
='LD_RUN_PATH'
10401 if test "$GCC" = yes; then
10402 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10403 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10405 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10410 sysv5
* | sco3.2v5
* | sco5v6
*)
10411 # Note: We can NOT use -z defs as we might desire, because we do not
10412 # link with -lc, and that would cause any symbols used from libc to
10413 # always be unresolved, which means just about no library would
10414 # ever link correctly. If we're not using GNU ld we use -z text
10415 # though, which does catch some bad symbols but isn't as heavy-handed
10417 no_undefined_flag
='${wl}-z,text'
10418 allow_undefined_flag
='${wl}-z,nodefs'
10419 archive_cmds_need_lc
=no
10420 hardcode_shlibpath_var
=no
10421 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10422 hardcode_libdir_separator
=':'
10423 link_all_deplibs
=yes
10424 export_dynamic_flag_spec
='${wl}-Bexport'
10425 runpath_var
='LD_RUN_PATH'
10427 if test "$GCC" = yes; then
10428 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10432 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10437 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10438 hardcode_libdir_flag_spec
='-L$libdir'
10439 hardcode_shlibpath_var
=no
10447 if test x
$host_vendor = xsni
; then
10449 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10450 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10457 $as_echo "$ld_shlibs" >&6; }
10458 test "$ld_shlibs" = no
&& can_build_shared
=no
10460 with_gnu_ld
=$with_gnu_ld
10477 # Do we need to explicitly link libc?
10479 case "x$archive_cmds_need_lc" in
10481 # Assume -lc should be added
10482 archive_cmds_need_lc
=yes
10484 if test "$enable_shared" = yes && test "$GCC" = yes; then
10485 case $archive_cmds in
10487 # FIXME: we may have to deal with multi-command sequences.
10490 # Test whether the compiler implicitly links with -lc since on some
10491 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10492 # to ld, don't add -lc before -lgcc.
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10494 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10495 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10496 $as_echo_n "(cached) " >&6
10499 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10502 (eval $ac_compile) 2>&5
10504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10505 test $ac_status = 0; } 2>conftest.err
; then
10508 libobjs
=conftest.
$ac_objext
10510 wl
=$lt_prog_compiler_wl
10511 pic_flag
=$lt_prog_compiler_pic
10517 lt_save_allow_undefined_flag
=$allow_undefined_flag
10518 allow_undefined_flag
=
10519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10520 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10523 test $ac_status = 0; }
10525 lt_cv_archive_cmds_need_lc
=no
10527 lt_cv_archive_cmds_need_lc
=yes
10529 allow_undefined_flag
=$lt_save_allow_undefined_flag
10531 cat conftest.err
1>&5
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10537 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10538 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10697 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10699 if test "$GCC" = yes; then
10701 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10702 *) lt_awk_arg
="/^libraries:/" ;;
10705 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10706 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10708 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10709 case $lt_search_path_spec in
10711 # if the path contains ";" then we assume it to be the separator
10712 # otherwise default to the standard path separator (i.e. ":") - it is
10713 # assumed that no part of a normal pathname contains ";" but that should
10714 # okay in the real world where ";" in dirpaths is itself problematic.
10715 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10718 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10721 # Ok, now we have the path, separated by spaces, we can step through it
10722 # and add multilib dir if necessary.
10723 lt_tmp_lt_search_path_spec
=
10724 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10725 for lt_sys_path
in $lt_search_path_spec; do
10726 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10727 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10729 test -d "$lt_sys_path" && \
10730 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10733 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10734 BEGIN {RS=" "; FS="/|\n";} {
10737 for (lt_i = NF; lt_i > 0; lt_i--) {
10738 if ($lt_i != "" && $lt_i != ".") {
10739 if ($lt_i == "..") {
10742 if (lt_count == 0) {
10743 lt_foo="/" $lt_i lt_foo;
10750 if (lt_foo != "") { lt_freq[lt_foo]++; }
10751 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10753 # AWK program above erroneously prepends '/' to C:/dos/paths
10756 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10757 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10759 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10761 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10763 library_names_spec
=
10764 libname_spec
='lib$name'
10768 postuninstall_cmds
=
10772 shlibpath_overrides_runpath
=unknown
10774 dynamic_linker
="$host_os ld.so"
10775 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10776 need_lib_prefix
=unknown
10777 hardcode_into_libs
=no
10779 # when you set need_version to no, make sure it does not cause -set_version
10780 # flags to be left without arguments
10781 need_version
=unknown
10785 version_type
=linux
# correct to gnu/linux during the next big refactor
10786 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10787 shlibpath_var
=LIBPATH
10789 # AIX 3 has no versioning support, so we append a major version to the name.
10790 soname_spec
='${libname}${release}${shared_ext}$major'
10794 version_type
=linux
# correct to gnu/linux during the next big refactor
10797 hardcode_into_libs
=yes
10798 if test "$host_cpu" = ia64
; then
10799 # AIX 5 supports IA64
10800 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10801 shlibpath_var
=LD_LIBRARY_PATH
10803 # With GCC up to 2.95.x, collect2 would create an import file
10804 # for dependence libraries. The import file would start with
10805 # the line `#! .'. This would cause the generated library to
10806 # depend on `.', always an invalid library. This was fixed in
10807 # development snapshots of GCC prior to 3.0.
10809 aix4 | aix4.
[01] | aix4.
[01].
*)
10810 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10812 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10815 can_build_shared
=no
10819 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10820 # soname into executable. Probably we can add versioning support to
10821 # collect2, so additional links can be useful in future.
10822 if test "$aix_use_runtimelinking" = yes; then
10823 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10824 # instead of lib<name>.a to let people know that these are not
10825 # typical AIX shared libraries.
10826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 # We preserve .a as extension for shared libraries through AIX4.2
10829 # and later when we are not doing run time linking.
10830 library_names_spec
='${libname}${release}.a $libname.a'
10831 soname_spec
='${libname}${release}${shared_ext}$major'
10833 shlibpath_var
=LIBPATH
10840 # Since July 2007 AmigaOS4 officially supports .so libraries.
10841 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10845 library_names_spec
='$libname.ixlibrary $libname.a'
10846 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10847 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10853 library_names_spec
='${libname}${shared_ext}'
10854 dynamic_linker
="$host_os ld.so"
10855 shlibpath_var
=LIBRARY_PATH
10859 version_type
=linux
# correct to gnu/linux during the next big refactor
10861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec
='${libname}${release}${shared_ext}$major'
10863 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10864 shlibpath_var
=LD_LIBRARY_PATH
10865 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10866 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10867 # the default ld.so.conf also contains /usr/contrib/lib and
10868 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10869 # libtool to hard-code these into programs
10872 cygwin
* | mingw
* | pw32
* | cegcc
*)
10873 version_type
=windows
10878 case $GCC,$cc_basename in
10881 library_names_spec
='$libname.dll.a'
10882 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10883 postinstall_cmds
='base_file=`basename \${file}`~
10884 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10885 dldir=$destdir/`dirname \$dlpath`~
10886 test -d \$dldir || mkdir -p \$dldir~
10887 $install_prog $dir/$dlname \$dldir/$dlname~
10888 chmod a+x \$dldir/$dlname~
10889 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10890 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10892 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10893 dlpath=$dir/\$dldll~
10895 shlibpath_overrides_runpath
=yes
10899 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10900 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10902 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10905 # MinGW DLLs use traditional 'lib' prefix
10906 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10909 # pw32 DLLs use 'pw' prefix rather than 'lib'
10910 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10913 dynamic_linker
='Win32 ld.exe'
10918 libname_spec
='$name'
10919 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10920 library_names_spec
='${libname}.dll.lib'
10924 sys_lib_search_path_spec
=
10927 for lt_path
in $LIB
10930 # Let DOS variable expansion print the short 8.3 style file name.
10931 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10932 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10935 # Convert to MSYS style.
10936 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10939 # Convert to unix form, then to dos form, then back to unix form
10940 # but this time dos style (no spaces!) so that the unix form looks
10941 # like /cygdrive/c/PROGRA~1:/cygdr...
10942 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10943 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10944 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10947 sys_lib_search_path_spec
="$LIB"
10948 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10949 # It is most probably a Windows format PATH.
10950 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10952 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10954 # FIXME: find the short name or the path components, as spaces are
10955 # common. (e.g. "Program Files" -> "PROGRA~1")
10959 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10960 postinstall_cmds
='base_file=`basename \${file}`~
10961 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10962 dldir=$destdir/`dirname \$dlpath`~
10963 test -d \$dldir || mkdir -p \$dldir~
10964 $install_prog $dir/$dlname \$dldir/$dlname'
10965 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10966 dlpath=$dir/\$dldll~
10968 shlibpath_overrides_runpath
=yes
10969 dynamic_linker
='Win32 link.exe'
10973 # Assume MSVC wrapper
10974 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10975 dynamic_linker
='Win32 ld.exe'
10978 # FIXME: first we should search . and the directory the executable is in
10982 darwin
* | rhapsody
*)
10983 dynamic_linker
="$host_os dyld"
10984 version_type
=darwin
10987 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10988 soname_spec
='${libname}${release}${major}$shared_ext'
10989 shlibpath_overrides_runpath
=yes
10990 shlibpath_var
=DYLD_LIBRARY_PATH
10991 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10993 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10994 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10998 version_type
=linux
# correct to gnu/linux during the next big refactor
11001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11002 soname_spec
='${libname}${release}${shared_ext}$major'
11003 shlibpath_var
=LD_LIBRARY_PATH
11006 freebsd
* | dragonfly
*)
11007 # DragonFly does not have aout. When/if they implement a new
11008 # versioning mechanism, adjust this.
11009 if test -x /usr
/bin
/objformat
; then
11010 objformat
=`/usr/bin/objformat`
11013 freebsd
[23].
*) objformat
=aout
;;
11014 *) objformat
=elf
;;
11017 version_type
=freebsd-
$objformat
11018 case $version_type in
11020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11029 shlibpath_var
=LD_LIBRARY_PATH
11032 shlibpath_overrides_runpath
=yes
11034 freebsd3.
[01]* | freebsdelf3.
[01]*)
11035 shlibpath_overrides_runpath
=yes
11036 hardcode_into_libs
=yes
11038 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11039 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11040 shlibpath_overrides_runpath
=no
11041 hardcode_into_libs
=yes
11043 *) # from 4.6 on, and DragonFly
11044 shlibpath_overrides_runpath
=yes
11045 hardcode_into_libs
=yes
11051 version_type
=linux
# correct to gnu/linux during the next big refactor
11054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11055 soname_spec
='${libname}${release}${shared_ext}$major'
11056 shlibpath_var
=LD_LIBRARY_PATH
11057 shlibpath_overrides_runpath
=no
11058 hardcode_into_libs
=yes
11062 version_type
=linux
# correct to gnu/linux during the next big refactor
11065 dynamic_linker
="$host_os runtime_loader"
11066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11067 soname_spec
='${libname}${release}${shared_ext}$major'
11068 shlibpath_var
=LIBRARY_PATH
11069 shlibpath_overrides_runpath
=yes
11070 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11071 hardcode_into_libs
=yes
11074 hpux9
* | hpux10
* | hpux11
*)
11075 # Give a soname corresponding to the major version so that dld.sl refuses to
11076 # link against other versions.
11083 hardcode_into_libs
=yes
11084 dynamic_linker
="$host_os dld.so"
11085 shlibpath_var
=LD_LIBRARY_PATH
11086 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11088 soname_spec
='${libname}${release}${shared_ext}$major'
11089 if test "X$HPUX_IA64_MODE" = X32
; then
11090 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11092 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11094 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11098 hardcode_into_libs
=yes
11099 dynamic_linker
="$host_os dld.sl"
11100 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11101 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11103 soname_spec
='${libname}${release}${shared_ext}$major'
11104 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11105 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11109 dynamic_linker
="$host_os dld.sl"
11110 shlibpath_var
=SHLIB_PATH
11111 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11113 soname_spec
='${libname}${release}${shared_ext}$major'
11116 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11117 postinstall_cmds
='chmod 555 $lib'
11118 # or fails outright, so override atomically:
11119 install_override_mode
=555
11123 version_type
=linux
# correct to gnu/linux during the next big refactor
11126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11127 soname_spec
='${libname}${release}${shared_ext}$major'
11128 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11129 shlibpath_var
=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath
=no
11131 hardcode_into_libs
=yes
11134 irix5
* | irix6
* | nonstopux
*)
11136 nonstopux
*) version_type
=nonstopux
;;
11138 if test "$lt_cv_prog_gnu_ld" = yes; then
11139 version_type
=linux
# correct to gnu/linux during the next big refactor
11146 soname_spec
='${libname}${release}${shared_ext}$major'
11147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11149 irix5
* | nonstopux
*)
11150 libsuff
= shlibsuff
=
11153 case $LD in # libtool.m4 will add one of these switches to LD
11154 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11155 libsuff
= shlibsuff
= libmagic
=32-bit;;
11156 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11157 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11158 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11159 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11160 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11164 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11165 shlibpath_overrides_runpath
=no
11166 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11167 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11168 hardcode_into_libs
=yes
11171 # No shared lib support for Linux oldld, aout, or coff.
11172 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11176 # This must be glibc/ELF.
11177 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11178 version_type
=linux
# correct to gnu/linux during the next big refactor
11181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11182 soname_spec
='${libname}${release}${shared_ext}$major'
11183 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11184 shlibpath_var
=LD_LIBRARY_PATH
11185 shlibpath_overrides_runpath
=no
11187 # Some binutils ld are patched to set DT_RUNPATH
11188 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11189 $as_echo_n "(cached) " >&6
11191 lt_cv_shlibpath_overrides_runpath
=no
11192 save_LDFLAGS
=$LDFLAGS
11193 save_libdir
=$libdir
11194 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11195 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11207 if ac_fn_c_try_link
"$LINENO"; then :
11208 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11209 lt_cv_shlibpath_overrides_runpath
=yes
11212 rm -f core conftest.err conftest.
$ac_objext \
11213 conftest
$ac_exeext conftest.
$ac_ext
11214 LDFLAGS
=$save_LDFLAGS
11215 libdir
=$save_libdir
11219 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11221 # This implies no fast_install, which is unacceptable.
11222 # Some rework will be needed to allow for fast_install
11223 # before this can be enabled.
11224 hardcode_into_libs
=yes
11226 # Add ABI-specific directories to the system library path.
11227 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11229 # Append ld.so.conf contents to the search path
11230 if test -f /etc
/ld.so.conf
; then
11231 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' ' '`
11232 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11236 # We used to test for /lib/ld.so.1 and disable shared libraries on
11237 # powerpc, because MkLinux only supported shared libraries with the
11238 # GNU dynamic linker. Since this was broken with cross compilers,
11239 # most powerpc-linux boxes support dynamic linking these days and
11240 # people can always --disable-shared, the test was removed, and we
11241 # assume the GNU/Linux dynamic linker is in use.
11242 dynamic_linker
='GNU/Linux ld.so'
11249 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11251 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11252 dynamic_linker
='NetBSD (a.out) ld.so'
11254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11255 soname_spec
='${libname}${release}${shared_ext}$major'
11256 dynamic_linker
='NetBSD ld.elf_so'
11258 shlibpath_var
=LD_LIBRARY_PATH
11259 shlibpath_overrides_runpath
=yes
11260 hardcode_into_libs
=yes
11264 version_type
=linux
# correct to gnu/linux during the next big refactor
11265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266 shlibpath_var
=LD_LIBRARY_PATH
11267 shlibpath_overrides_runpath
=yes
11274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11275 soname_spec
='${libname}${release}${shared_ext}$major'
11276 shlibpath_var
=LD_LIBRARY_PATH
11277 shlibpath_overrides_runpath
=no
11278 hardcode_into_libs
=yes
11279 dynamic_linker
='ldqnx.so'
11284 sys_lib_dlsearch_path_spec
="/usr/lib"
11286 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11288 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11289 *) need_version
=no
;;
11291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11292 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11293 shlibpath_var
=LD_LIBRARY_PATH
11294 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11296 openbsd2.
[89] | openbsd2.
[89].
*)
11297 shlibpath_overrides_runpath
=no
11300 shlibpath_overrides_runpath
=yes
11304 shlibpath_overrides_runpath
=yes
11309 libname_spec
='$name'
11312 library_names_spec
='$libname${shared_ext} $libname.a'
11313 dynamic_linker
='OS/2 ld.exe'
11314 shlibpath_var
=LIBPATH
11317 osf3
* | osf4
* | osf5
*)
11321 soname_spec
='${libname}${release}${shared_ext}$major'
11322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323 shlibpath_var
=LD_LIBRARY_PATH
11324 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11325 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11333 version_type
=linux
# correct to gnu/linux during the next big refactor
11336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11337 soname_spec
='${libname}${release}${shared_ext}$major'
11338 shlibpath_var
=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath
=yes
11340 hardcode_into_libs
=yes
11341 # ldd complains unless libraries are executable
11342 postinstall_cmds
='chmod +x $lib'
11347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11348 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11349 shlibpath_var
=LD_LIBRARY_PATH
11350 shlibpath_overrides_runpath
=yes
11351 if test "$with_gnu_ld" = yes; then
11358 version_type
=linux
# correct to gnu/linux during the next big refactor
11359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 soname_spec
='${libname}${release}${shared_ext}$major'
11361 shlibpath_var
=LD_LIBRARY_PATH
11362 case $host_vendor in
11364 shlibpath_overrides_runpath
=no
11366 runpath_var
=LD_RUN_PATH
11374 shlibpath_overrides_runpath
=no
11375 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11381 if test -d /usr
/nec
;then
11382 version_type
=linux
# correct to gnu/linux during the next big refactor
11383 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11384 soname_spec
='$libname${shared_ext}.$major'
11385 shlibpath_var
=LD_LIBRARY_PATH
11389 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11390 version_type
=freebsd-elf
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11394 soname_spec
='${libname}${release}${shared_ext}$major'
11395 shlibpath_var
=LD_LIBRARY_PATH
11396 shlibpath_overrides_runpath
=yes
11397 hardcode_into_libs
=yes
11398 if test "$with_gnu_ld" = yes; then
11399 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11401 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11404 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11408 sys_lib_dlsearch_path_spec
='/usr/lib'
11412 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11413 version_type
=linux
# correct to gnu/linux during the next big refactor
11416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417 shlibpath_var
=LD_LIBRARY_PATH
11418 shlibpath_overrides_runpath
=no
11419 hardcode_into_libs
=yes
11423 version_type
=linux
# correct to gnu/linux during the next big refactor
11424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11425 soname_spec
='${libname}${release}${shared_ext}$major'
11426 shlibpath_var
=LD_LIBRARY_PATH
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11434 $as_echo "$dynamic_linker" >&6; }
11435 test "$dynamic_linker" = no
&& can_build_shared
=no
11437 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11438 if test "$GCC" = yes; then
11439 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11442 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11443 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11445 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11446 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11541 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11543 if test -n "$hardcode_libdir_flag_spec" ||
11544 test -n "$runpath_var" ||
11545 test "X$hardcode_automatic" = "Xyes" ; then
11547 # We can hardcode non-existent directories.
11548 if test "$hardcode_direct" != no
&&
11549 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11550 # have to relink, otherwise we might link with an installed library
11551 # when we should be linking with a yet-to-be-installed one
11552 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11553 test "$hardcode_minus_L" != no
; then
11554 # Linking always hardcodes the temporary library directory.
11555 hardcode_action
=relink
11557 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11558 hardcode_action
=immediate
11561 # We cannot hardcode anything, or else we can only hardcode existing
11563 hardcode_action
=unsupported
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11566 $as_echo "$hardcode_action" >&6; }
11568 if test "$hardcode_action" = relink ||
11569 test "$inherit_rpath" = yes; then
11570 # Fast installation is not supported
11571 enable_fast_install
=no
11572 elif test "$shlibpath_overrides_runpath" = yes ||
11573 test "$enable_shared" = no
; then
11574 # Fast installation is not necessary
11575 enable_fast_install
=needless
11583 if test "x$enable_dlopen" != xyes
; then
11584 enable_dlopen
=unknown
11585 enable_dlopen_self
=unknown
11586 enable_dlopen_self_static
=unknown
11593 lt_cv_dlopen
="load_add_on"
11595 lt_cv_dlopen_self
=yes
11598 mingw
* | pw32
* | cegcc
*)
11599 lt_cv_dlopen
="LoadLibrary"
11604 lt_cv_dlopen
="dlopen"
11609 # if libdl is installed we need to link against it
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11611 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11612 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_lib_save_LIBS
=$LIBS
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11635 if ac_fn_c_try_link
"$LINENO"; then :
11636 ac_cv_lib_dl_dlopen
=yes
11638 ac_cv_lib_dl_dlopen
=no
11640 rm -f core conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 LIBS
=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11645 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11646 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11647 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11650 lt_cv_dlopen
="dyld"
11652 lt_cv_dlopen_self
=yes
11659 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11660 if test "x$ac_cv_func_shl_load" = xyes
; then :
11661 lt_cv_dlopen
="shl_load"
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11664 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11665 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11666 $as_echo_n "(cached) " >&6
11668 ac_check_lib_save_LIBS
=$LIBS
11670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11683 return shl_load ();
11688 if ac_fn_c_try_link
"$LINENO"; then :
11689 ac_cv_lib_dld_shl_load
=yes
11691 ac_cv_lib_dld_shl_load
=no
11693 rm -f core conftest.err conftest.
$ac_objext \
11694 conftest
$ac_exeext conftest.
$ac_ext
11695 LIBS
=$ac_check_lib_save_LIBS
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11698 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11699 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11700 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11702 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11703 if test "x$ac_cv_func_dlopen" = xyes
; then :
11704 lt_cv_dlopen
="dlopen"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11707 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11708 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11709 $as_echo_n "(cached) " >&6
11711 ac_check_lib_save_LIBS
=$LIBS
11713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11731 if ac_fn_c_try_link
"$LINENO"; then :
11732 ac_cv_lib_dl_dlopen
=yes
11734 ac_cv_lib_dl_dlopen
=no
11736 rm -f core conftest.err conftest.
$ac_objext \
11737 conftest
$ac_exeext conftest.
$ac_ext
11738 LIBS
=$ac_check_lib_save_LIBS
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11741 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11742 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11743 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11746 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11747 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11748 $as_echo_n "(cached) " >&6
11750 ac_check_lib_save_LIBS
=$LIBS
11751 LIBS
="-lsvld $LIBS"
11752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11753 /* end confdefs.h. */
11755 /* Override any GCC internal prototype to avoid an error.
11756 Use char because int might match the return type of a GCC
11757 builtin and then its argument prototype would still apply. */
11770 if ac_fn_c_try_link
"$LINENO"; then :
11771 ac_cv_lib_svld_dlopen
=yes
11773 ac_cv_lib_svld_dlopen
=no
11775 rm -f core conftest.err conftest.
$ac_objext \
11776 conftest
$ac_exeext conftest.
$ac_ext
11777 LIBS
=$ac_check_lib_save_LIBS
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11780 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11781 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11782 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11785 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11786 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11787 $as_echo_n "(cached) " >&6
11789 ac_check_lib_save_LIBS
=$LIBS
11791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11804 return dld_link ();
11809 if ac_fn_c_try_link
"$LINENO"; then :
11810 ac_cv_lib_dld_dld_link
=yes
11812 ac_cv_lib_dld_dld_link
=no
11814 rm -f core conftest.err conftest.
$ac_objext \
11815 conftest
$ac_exeext conftest.
$ac_ext
11816 LIBS
=$ac_check_lib_save_LIBS
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11819 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11820 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11821 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11842 if test "x$lt_cv_dlopen" != xno
; then
11848 case $lt_cv_dlopen in
11850 save_CPPFLAGS
="$CPPFLAGS"
11851 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11853 save_LDFLAGS
="$LDFLAGS"
11854 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11857 LIBS
="$lt_cv_dlopen_libs $LIBS"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11860 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11861 if ${lt_cv_dlopen_self+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 if test "$cross_compiling" = yes; then :
11865 lt_cv_dlopen_self
=cross
11867 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11868 lt_status
=$lt_dlunknown
11869 cat > conftest.
$ac_ext <<_LT_EOF
11870 #line $LINENO "configure"
11871 #include "confdefs.h"
11880 # define LT_DLGLOBAL RTLD_GLOBAL
11883 # define LT_DLGLOBAL DL_GLOBAL
11885 # define LT_DLGLOBAL 0
11889 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11890 find out it does not work in some platform. */
11891 #ifndef LT_DLLAZY_OR_NOW
11893 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11896 # define LT_DLLAZY_OR_NOW DL_LAZY
11899 # define LT_DLLAZY_OR_NOW RTLD_NOW
11902 # define LT_DLLAZY_OR_NOW DL_NOW
11904 # define LT_DLLAZY_OR_NOW 0
11911 /* When -fvisbility=hidden is used, assume the code has been annotated
11912 correspondingly for the symbols needed. */
11913 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11914 int fnord () __attribute__((visibility("default")));
11917 int fnord () { return 42; }
11920 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11921 int status = $lt_dlunknown;
11925 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11928 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11929 else puts (dlerror ());
11931 /* dlclose (self); */
11939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11940 (eval $ac_link) 2>&5
11942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11943 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11944 (.
/conftest
; exit; ) >&5 2>/dev
/null
11946 case x
$lt_status in
11947 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11948 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11949 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11952 # compilation failed
11953 lt_cv_dlopen_self
=no
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11961 $as_echo "$lt_cv_dlopen_self" >&6; }
11963 if test "x$lt_cv_dlopen_self" = xyes
; then
11964 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11966 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11967 if ${lt_cv_dlopen_self_static+:} false
; then :
11968 $as_echo_n "(cached) " >&6
11970 if test "$cross_compiling" = yes; then :
11971 lt_cv_dlopen_self_static
=cross
11973 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11974 lt_status
=$lt_dlunknown
11975 cat > conftest.
$ac_ext <<_LT_EOF
11976 #line $LINENO "configure"
11977 #include "confdefs.h"
11986 # define LT_DLGLOBAL RTLD_GLOBAL
11989 # define LT_DLGLOBAL DL_GLOBAL
11991 # define LT_DLGLOBAL 0
11995 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11996 find out it does not work in some platform. */
11997 #ifndef LT_DLLAZY_OR_NOW
11999 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12002 # define LT_DLLAZY_OR_NOW DL_LAZY
12005 # define LT_DLLAZY_OR_NOW RTLD_NOW
12008 # define LT_DLLAZY_OR_NOW DL_NOW
12010 # define LT_DLLAZY_OR_NOW 0
12017 /* When -fvisbility=hidden is used, assume the code has been annotated
12018 correspondingly for the symbols needed. */
12019 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12020 int fnord () __attribute__((visibility("default")));
12023 int fnord () { return 42; }
12026 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12027 int status = $lt_dlunknown;
12031 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12034 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12035 else puts (dlerror ());
12037 /* dlclose (self); */
12045 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12046 (eval $ac_link) 2>&5
12048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12049 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12050 (.
/conftest
; exit; ) >&5 2>/dev
/null
12052 case x
$lt_status in
12053 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12054 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12055 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12058 # compilation failed
12059 lt_cv_dlopen_self_static
=no
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12067 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12070 CPPFLAGS
="$save_CPPFLAGS"
12071 LDFLAGS
="$save_LDFLAGS"
12076 case $lt_cv_dlopen_self in
12077 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12078 *) enable_dlopen_self
=unknown
;;
12081 case $lt_cv_dlopen_self_static in
12082 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12083 *) enable_dlopen_self_static
=unknown
;;
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12106 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12107 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12108 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12109 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12111 $as_echo "yes" >&6; }
12113 # FIXME - insert some real tests, host_os isn't really good enough
12116 if test -n "$STRIP" ; then
12117 striplib
="$STRIP -x"
12118 old_striplib
="$STRIP -S"
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12120 $as_echo "yes" >&6; }
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123 $as_echo "no" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12128 $as_echo "no" >&6; }
12144 # Report which library types will actually be built
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12146 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12148 $as_echo "$can_build_shared" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12151 $as_echo_n "checking whether to build shared libraries... " >&6; }
12152 test "$can_build_shared" = "no" && enable_shared
=no
12154 # On AIX, shared libraries and static libraries use the same namespace, and
12155 # are all built from PIC.
12158 test "$enable_shared" = yes && enable_static
=no
12159 if test -n "$RANLIB"; then
12160 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12161 postinstall_cmds
='$RANLIB $lib'
12166 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12167 test "$enable_shared" = yes && enable_static
=no
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12172 $as_echo "$enable_shared" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12175 $as_echo_n "checking whether to build static libraries... " >&6; }
12176 # Make sure either enable_shared or enable_static is yes.
12177 test "$enable_shared" = yes || enable_static
=yes
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12179 $as_echo "$enable_static" >&6; }
12186 ac_cpp
='$CPP $CPPFLAGS'
12187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12207 ac_config_commands
="$ac_config_commands libtool"
12212 # Only expand once:
12216 if test "$PS" = "ps"
12218 as_fn_error $?
"Cannot find pathname to ps" "$LINENO" 5
12221 if test x
$GXX = xyes
12223 CFLAGS
="-Wall $CFLAGS"
12226 CFLAGS
="-I.. -I$srcdir/.. $CFLAGS"
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
12230 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
12231 if ${ac_cv_header_sys_wait_h+:} false
; then :
12232 $as_echo_n "(cached) " >&6
12234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12236 #include <sys/types.h>
12237 #include <sys/wait.h>
12238 #ifndef WEXITSTATUS
12239 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
12242 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
12250 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
12255 if ac_fn_c_try_compile
"$LINENO"; then :
12256 ac_cv_header_sys_wait_h
=yes
12258 ac_cv_header_sys_wait_h
=no
12260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
12263 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
12264 if test $ac_cv_header_sys_wait_h = yes; then
12266 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12270 for ac_header
in unistd.h fcntl.h
12272 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12273 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12274 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12275 cat >>confdefs.h
<<_ACEOF
12276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12284 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12285 if test "x$ac_cv_type_pid_t" = xyes
; then :
12289 cat >>confdefs.h
<<_ACEOF
12295 # Check whether --enable-largefile was given.
12296 if test "${enable_largefile+set}" = set; then :
12297 enableval
=$enable_largefile;
12300 if test "$enable_largefile" != no
; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12303 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12304 if ${ac_cv_sys_largefile_CC+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 ac_cv_sys_largefile_CC
=no
12308 if test "$GCC" != yes; then
12311 # IRIX 6.2 and later do not support large files by default,
12312 # so use the C compiler's -n32 option if that helps.
12313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12315 #include <sys/types.h>
12316 /* Check that off_t can represent 2**63 - 1 correctly.
12317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12318 since some C++ compilers masquerading as C compilers
12319 incorrectly reject 9223372036854775807. */
12320 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12322 && LARGE_OFF_T % 2147483647 == 1)
12332 if ac_fn_c_try_compile
"$LINENO"; then :
12335 rm -f core conftest.err conftest.
$ac_objext
12337 if ac_fn_c_try_compile
"$LINENO"; then :
12338 ac_cv_sys_largefile_CC
=' -n32'; break
12340 rm -f core conftest.err conftest.
$ac_objext
12344 rm -f conftest.
$ac_ext
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12348 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12349 if test "$ac_cv_sys_largefile_CC" != no
; then
12350 CC
=$CC$ac_cv_sys_largefile_CC
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12354 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12355 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12356 $as_echo_n "(cached) " >&6
12359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12361 #include <sys/types.h>
12362 /* Check that off_t can represent 2**63 - 1 correctly.
12363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12364 since some C++ compilers masquerading as C compilers
12365 incorrectly reject 9223372036854775807. */
12366 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12368 && LARGE_OFF_T % 2147483647 == 1)
12378 if ac_fn_c_try_compile
"$LINENO"; then :
12379 ac_cv_sys_file_offset_bits
=no
; break
12381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12384 #define _FILE_OFFSET_BITS 64
12385 #include <sys/types.h>
12386 /* Check that off_t can represent 2**63 - 1 correctly.
12387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12388 since some C++ compilers masquerading as C compilers
12389 incorrectly reject 9223372036854775807. */
12390 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12392 && LARGE_OFF_T % 2147483647 == 1)
12402 if ac_fn_c_try_compile
"$LINENO"; then :
12403 ac_cv_sys_file_offset_bits
=64; break
12405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12406 ac_cv_sys_file_offset_bits
=unknown
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12411 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12412 case $ac_cv_sys_file_offset_bits in #(
12415 cat >>confdefs.h
<<_ACEOF
12416 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12421 if test $ac_cv_sys_file_offset_bits = unknown
; then
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12423 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12424 if ${ac_cv_sys_large_files+:} false
; then :
12425 $as_echo_n "(cached) " >&6
12428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h. */
12430 #include <sys/types.h>
12431 /* Check that off_t can represent 2**63 - 1 correctly.
12432 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12433 since some C++ compilers masquerading as C compilers
12434 incorrectly reject 9223372036854775807. */
12435 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12436 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12437 && LARGE_OFF_T % 2147483647 == 1)
12447 if ac_fn_c_try_compile
"$LINENO"; then :
12448 ac_cv_sys_large_files
=no
; break
12450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12452 /* end confdefs.h. */
12453 #define _LARGE_FILES 1
12454 #include <sys/types.h>
12455 /* Check that off_t can represent 2**63 - 1 correctly.
12456 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12457 since some C++ compilers masquerading as C compilers
12458 incorrectly reject 9223372036854775807. */
12459 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12460 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12461 && LARGE_OFF_T % 2147483647 == 1)
12471 if ac_fn_c_try_compile
"$LINENO"; then :
12472 ac_cv_sys_large_files
=1; break
12474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12475 ac_cv_sys_large_files
=unknown
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12480 $as_echo "$ac_cv_sys_large_files" >&6; }
12481 case $ac_cv_sys_large_files in #(
12484 cat >>confdefs.h
<<_ACEOF
12485 #define _LARGE_FILES $ac_cv_sys_large_files
12497 # Check whether --with-random was given.
12498 if test "${with_random+set}" = set; then :
12499 withval
=$with_random; random
="$withval"
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random source" >&5
12510 $as_echo_n "checking for random source... " >&6; }
12511 if ${random_cv_RANDOM+:} false
; then :
12512 $as_echo_n "(cached) " >&6
12514 if test -c /dev
/urandom
12516 random_cv_RANDOM
=/dev
/urandom
12518 if test -c /dev
/random
12520 random_cv_RANDOM
=/dev
/random
12522 random_cv_RANDOM
="none"
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $random_cv_RANDOM" >&5
12528 $as_echo "$random_cv_RANDOM" >&6; }
12529 random
="$random_cv_RANDOM"
12536 if test "$random" != "none"
12539 cat >>confdefs.h
<<_ACEOF
12540 #define RANDOM "$random"
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some good options for ps" >&5
12546 $as_echo_n "checking for some good options for ps... " >&6; }
12547 if ${random_cv_PS_OPTIONS+:} false
; then :
12548 $as_echo_n "(cached) " >&6
12550 for opts
in -Afl -Afw -Af -Al -afl -afw -af -al Afl Afw Af Al afl afw af al
12552 ps
$opts >/dev
/null
2>/dev
/null ||
continue
12555 random_cv_PS_OPTIONS
="$opts"
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $random_cv_PS_OPTIONS" >&5
12559 $as_echo "$random_cv_PS_OPTIONS" >&6; }
12562 cat >>confdefs.h
<<_ACEOF
12563 #define PS_OPTIONS "$random_cv_PS_OPTIONS"
12567 cat >>confdefs.h
<<_ACEOF
12572 if test "$W" != "w"
12575 cat >>confdefs.h
<<_ACEOF
12581 ac_config_files
="$ac_config_files Makefile"
12583 cat >confcache
<<\_ACEOF
12584 # This file is a shell script that caches the results of configure
12585 # tests run on this system so they can be shared between configure
12586 # scripts and configure runs, see configure's option --config-cache.
12587 # It is not useful on other systems. If it contains results you don't
12588 # want to keep, you may remove or edit it.
12590 # config.status only pays attention to the cache file if you give it
12591 # the --recheck option to rerun configure.
12593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12595 # following values.
12599 # The following way of writing the cache mishandles newlines in values,
12600 # but we know of no workaround that is simple, portable, and efficient.
12601 # So, we kill variables containing newlines.
12602 # Ultrix sh set writes to stderr and can't be redirected directly,
12603 # and sets the high bit in the cache file unless we assign to the vars.
12605 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12606 eval ac_val
=\$
$ac_var
12610 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12614 _ | IFS | as_nl
) ;; #(
12615 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12616 *) { eval $ac_var=; unset $ac_var;} ;;
12622 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12623 *${as_nl}ac_space
=\
*)
12624 # `set' does not quote correctly, so add quotes: double-quote
12625 # substitution turns \\\\ into \\, and sed turns \\ into \.
12628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12631 # `set' quotes correctly as required by POSIX, so do not add quotes.
12632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12643 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12645 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12646 if test -w "$cache_file"; then
12647 if test "x$cache_file" != "x/dev/null"; then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12649 $as_echo "$as_me: updating cache $cache_file" >&6;}
12650 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12651 cat confcache
>"$cache_file"
12653 case $cache_file in #(
12655 mv -f confcache
"$cache_file"$$
&&
12656 mv -f "$cache_file"$$
"$cache_file" ;; #(
12658 mv -f confcache
"$cache_file" ;;
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12664 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12669 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12670 # Let make expand exec_prefix.
12671 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12673 DEFS
=-DHAVE_CONFIG_H
12677 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12678 # 1. Remove the extension, and $U if already installed.
12679 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12680 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12681 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12682 # will be set to the directory where LIBOBJS objects are built.
12683 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12684 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12686 LIBOBJS
=$ac_libobjs
12688 LTLIBOBJS
=$ac_ltlibobjs
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12692 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12693 if test -n "$am_sleep_pid"; then
12694 # Hide warnings about reused PIDs.
12695 wait $am_sleep_pid 2>/dev
/null
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12698 $as_echo "done" >&6; }
12699 if test -n "$EXEEXT"; then
12701 am__EXEEXT_FALSE
='#'
12703 am__EXEEXT_TRUE
='#'
12707 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12708 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12711 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12712 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12715 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12716 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12720 : "${CONFIG_STATUS=./config.status}"
12722 ac_clean_files_save
=$ac_clean_files
12723 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12725 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12727 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12729 # Generated by $as_me.
12730 # Run this file to recreate the current configuration.
12731 # Compiler output produced by configure, useful for debugging
12732 # configure, is in config.log if it exists.
12735 ac_cs_recheck=false
12738 SHELL=\${CONFIG_SHELL-$SHELL}
12741 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12742 ## -------------------- ##
12743 ## M4sh Initialization. ##
12744 ## -------------------- ##
12746 # Be more Bourne compatible
12747 DUALCASE
=1; export DUALCASE
# for MKS sh
12748 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12751 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12752 # is contrary to our usage. Disable this feature.
12753 alias -g '${1+"$@"}'='"$@"'
12754 setopt NO_GLOB_SUBST
12756 case `(set -o) 2>/dev/null` in #(
12768 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12769 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12770 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12772 # Prefer a ksh shell builtin over an external printf program on Solaris,
12773 # but without wasting forks for bash or zsh.
12774 if test -z "$BASH_VERSION$ZSH_VERSION" \
12775 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12776 as_echo='print
-r --'
12777 as_echo_n='print
-rn --'
12778 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12779 as_echo='printf %s
\n'
12780 as_echo_n='printf %s
'
12782 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12783 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12784 as_echo_n='/usr
/ucb
/echo -n'
12786 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12787 as_echo_n_body='eval
12791 expr "X$arg" : "X\\(.*\\)$as_nl";
12792 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12794 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12796 export as_echo_n_body
12797 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12799 export as_echo_body
12800 as_echo='sh
-c $as_echo_body as_echo
'
12803 # The user is always right.
12804 if test "${PATH_SEPARATOR+set}" != set; then
12806 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12807 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12814 # We need space, tab and new line, in precisely that order. Quoting is
12815 # there to prevent editors from complaining about space-tab.
12816 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12817 # splitting by setting IFS to empty value.)
12820 # Find who we are. Look in the path if we contain no directory separator.
12823 *[\\/]* ) as_myself=$0 ;;
12824 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12825 for as_dir in $PATH
12828 test -z "$as_dir" && as_dir=.
12829 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12835 # We did not find ourselves, most probably we were run as `sh COMMAND'
12836 # in which case we are not to be found in the path.
12837 if test "x$as_myself" = x
; then
12840 if test ! -f "$as_myself"; then
12841 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12845 # Unset variables that we do not need and which cause bugs (e.g. in
12846 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12847 # suppresses any "Segmentation fault" message there. '((' could
12848 # trigger a bug in pdksh 5.2.14.
12849 for as_var
in BASH_ENV ENV MAIL MAILPATH
12850 do eval test x\
${$as_var+set} = xset \
12851 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12864 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12867 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12868 # ----------------------------------------
12869 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12870 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12871 # script with STATUS, using 1 if that was 0.
12874 as_status
=$1; test $as_status -eq 0 && as_status
=1
12876 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12877 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12879 $as_echo "$as_me: error: $2" >&2
12880 as_fn_exit
$as_status
12884 # as_fn_set_status STATUS
12885 # -----------------------
12886 # Set $? to STATUS, without forking.
12887 as_fn_set_status
()
12890 } # as_fn_set_status
12892 # as_fn_exit STATUS
12893 # -----------------
12894 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12898 as_fn_set_status
$1
12904 # Portably unset VAR.
12907 { eval $1=; unset $1;}
12909 as_unset
=as_fn_unset
12910 # as_fn_append VAR VALUE
12911 # ----------------------
12912 # Append the text in VALUE to the end of the definition contained in VAR. Take
12913 # advantage of any shell optimizations that allow amortized linear growth over
12914 # repeated appends, instead of the typical quadratic growth present in naive
12916 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12917 eval 'as_fn_append ()
12928 # as_fn_arith ARG...
12929 # ------------------
12930 # Perform arithmetic evaluation on the ARGs, and store the result in the
12931 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12932 # must be portable across $(()) and expr.
12933 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12934 eval 'as_fn_arith ()
12941 as_val
=`expr "$@" || test $? -eq 1`
12946 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12947 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12953 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12954 as_basename
=basename
12959 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12965 as_me
=`$as_basename -- "$0" ||
12966 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12967 X"$0" : 'X\(//\)$' \| \
12968 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12970 sed '/^.*\/\([^/][^/]*\)\/*$/{
12984 # Avoid depending upon Character Ranges.
12985 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12986 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12987 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12988 as_cr_digits
='0123456789'
12989 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12991 ECHO_C
= ECHO_N
= ECHO_T
=
12992 case `echo -n x` in #(((((
12994 case `echo 'xy\c'` in
12995 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12997 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13004 rm -f conf$$ conf$$.exe conf$$.
file
13005 if test -d conf$$.dir
; then
13006 rm -f conf$$.dir
/conf$$.
file
13009 mkdir conf$$.dir
2>/dev
/null
13011 if (echo >conf$$.
file) 2>/dev
/null
; then
13012 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13014 # ... but there are two gotchas:
13015 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13016 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13017 # In both cases, we have to default to `cp -pR'.
13018 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13020 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13028 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13029 rmdir conf$$.dir
2>/dev
/null
13034 # Create "$as_dir" as a directory, including parents if necessary.
13039 -*) as_dir
=.
/$as_dir;;
13041 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13045 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13046 *) as_qdir
=$as_dir;;
13048 as_dirs
="'$as_qdir' $as_dirs"
13049 as_dir
=`$as_dirname -- "$as_dir" ||
13050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13051 X"$as_dir" : 'X\(//\)[^/]' \| \
13052 X"$as_dir" : 'X\(//\)$' \| \
13053 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13054 $as_echo X"$as_dir" |
13055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13059 /^X\(\/\/\)[^/].*/{
13072 test -d "$as_dir" && break
13074 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13075 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13079 if mkdir
-p .
2>/dev
/null
; then
13080 as_mkdir_p
='mkdir -p "$as_dir"'
13082 test -d .
/-p && rmdir .
/-p
13087 # as_fn_executable_p FILE
13088 # -----------------------
13089 # Test if FILE is an executable regular file.
13090 as_fn_executable_p
()
13092 test -f "$1" && test -x "$1"
13093 } # as_fn_executable_p
13094 as_test_x
='test -x'
13095 as_executable_p
=as_fn_executable_p
13097 # Sed expression to map a string onto a valid CPP name.
13098 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13100 # Sed expression to map a string onto a valid variable name.
13101 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13105 ## ----------------------------------- ##
13106 ## Main body of $CONFIG_STATUS script. ##
13107 ## ----------------------------------- ##
13109 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13112 # Save the log message, to keep $0 and so on meaningful, and to
13113 # report actual input values of CONFIG_FILES etc. instead of their
13114 # values after options handling.
13116 This file was extended by random128 $as_me 0.10, which was
13117 generated by GNU Autoconf 2.69. Invocation command line was
13119 CONFIG_FILES = $CONFIG_FILES
13120 CONFIG_HEADERS = $CONFIG_HEADERS
13121 CONFIG_LINKS = $CONFIG_LINKS
13122 CONFIG_COMMANDS = $CONFIG_COMMANDS
13125 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13130 case $ac_config_files in *"
13131 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13134 case $ac_config_headers in *"
13135 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13140 # Files that config.status was made for.
13141 config_files="$ac_config_files"
13142 config_headers="$ac_config_headers"
13143 config_commands="$ac_config_commands"
13147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13149 \`$as_me' instantiates files and other configuration actions
13150 from templates according to the current configuration. Unless the files
13151 and actions are specified as TAGs, all are instantiated by default.
13153 Usage: $0 [OPTION]... [TAG]...
13155 -h, --help print this help, then exit
13156 -V, --version print version number and configuration settings, then exit
13157 --config print configuration, then exit
13158 -q, --quiet, --silent
13159 do not print progress messages
13160 -d, --debug don't remove temporary files
13161 --recheck update $as_me by reconfiguring in the same conditions
13162 --file=FILE[:TEMPLATE]
13163 instantiate the configuration file FILE
13164 --header=FILE[:TEMPLATE]
13165 instantiate the configuration header FILE
13167 Configuration files:
13170 Configuration headers:
13173 Configuration commands:
13176 Report bugs to <courier-users@lists.sourceforge.net>."
13179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13180 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13182 random128 config.status 0.10
13183 configured by $0, generated by GNU Autoconf 2.69,
13184 with options \\"\$ac_cs_config\\"
13186 Copyright (C) 2012 Free Software Foundation, Inc.
13187 This config.status script is free software; the Free Software Foundation
13188 gives unlimited permission to copy, distribute and modify it."
13195 test -n "\$AWK" || AWK=awk
13198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13199 # The default lists apply if the user does not specify any file.
13205 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13206 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13210 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13222 # Handling of the options.
13223 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13225 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13226 $as_echo "$ac_cs_version"; exit ;;
13227 --config |
--confi |
--conf |
--con |
--co |
--c )
13228 $as_echo "$ac_cs_config"; exit ;;
13229 --debug |
--debu |
--deb |
--de |
--d |
-d )
13231 --file |
--fil |
--fi |
--f )
13234 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13235 '') as_fn_error $?
"missing file argument" ;;
13237 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13238 ac_need_defaults
=false
;;
13239 --header |
--heade |
--head |
--hea )
13242 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13244 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13245 ac_need_defaults
=false
;;
13247 # Conflict between --help and --header
13248 as_fn_error $?
"ambiguous option: \`$1'
13249 Try \`$0 --help' for more information.";;
13250 --help |
--hel |
-h )
13251 $as_echo "$ac_cs_usage"; exit ;;
13252 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13253 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13256 # This is an error.
13257 -*) as_fn_error $?
"unrecognized option: \`$1'
13258 Try \`$0 --help' for more information." ;;
13260 *) as_fn_append ac_config_targets
" $1"
13261 ac_need_defaults
=false
;;
13267 ac_configure_extra_args
=
13269 if $ac_cs_silent; then
13271 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13276 if \$ac_cs_recheck; then
13277 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13279 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13280 CONFIG_SHELL='$SHELL'
13281 export CONFIG_SHELL
13286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13290 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13291 ## Running $as_me. ##
13297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13301 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13304 # The HP-UX ksh and POSIX shell print the target directory to stdout
13305 # if CDPATH is set.
13306 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13308 sed_quote_subst='$sed_quote_subst'
13309 double_quote_subst='$double_quote_subst'
13310 delay_variable_subst='$delay_variable_subst'
13311 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13312 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13313 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13314 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13315 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13316 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13317 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13318 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13319 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13320 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13321 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13322 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13323 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13324 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13325 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13326 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13327 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13328 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13329 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13330 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13331 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13332 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13333 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13334 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13335 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13336 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13337 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13338 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13339 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13340 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13341 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13342 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13343 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13344 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13345 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13346 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13347 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13348 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13349 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13350 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13351 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13352 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13353 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13354 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13355 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13356 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13357 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13358 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13359 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13360 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13361 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13362 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13363 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13364 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13365 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13366 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13367 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"`'
13368 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13369 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13370 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13371 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13372 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13373 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13374 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13375 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13376 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13377 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13378 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13379 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13380 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13381 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13382 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13383 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13384 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13385 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13386 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13387 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13388 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13389 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13390 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13391 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13392 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13393 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13394 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13395 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13396 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13397 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13398 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13399 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13400 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13401 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13402 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13403 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13404 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13405 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13406 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13407 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13408 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13409 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13410 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13411 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13412 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13413 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13414 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13415 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13416 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13417 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13418 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13419 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13420 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13421 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13422 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13423 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13424 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13425 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13426 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13427 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13428 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13429 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13430 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13431 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13432 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13433 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13434 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13435 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13436 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13437 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13438 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13439 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13440 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13443 LTCFLAGS='$LTCFLAGS'
13444 compiler='$compiler_DEFAULT'
13446 # A function that is used when there is no print builtin or printf.
13447 func_fallback_echo ()
13449 eval 'cat <<_LTECHO_EOF
13454 # Quote evaled strings.
13469 deplibs_check_method \
13474 sharedlib_from_linklib_cmd \
13477 archiver_list_spec \
13483 lt_cv_sys_global_symbol_pipe \
13484 lt_cv_sys_global_symbol_to_cdecl \
13485 lt_cv_sys_global_symbol_to_c_name_address \
13486 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13487 nm_file_list_spec \
13488 lt_prog_compiler_no_builtin_flag \
13489 lt_prog_compiler_pic \
13490 lt_prog_compiler_wl \
13491 lt_prog_compiler_static \
13492 lt_cv_prog_compiler_c_o \
13501 export_dynamic_flag_spec \
13502 whole_archive_flag_spec \
13503 compiler_needs_object \
13505 allow_undefined_flag \
13506 no_undefined_flag \
13507 hardcode_libdir_flag_spec \
13508 hardcode_libdir_separator \
13512 variables_saved_for_relink \
13514 library_names_spec \
13516 install_override_mode \
13520 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13521 *[\\\\\\\`\\"\\\$]*)
13522 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13525 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13530 # Double-quote double-evaled strings.
13531 for var in reload_cmds \
13532 old_postinstall_cmds \
13533 old_postuninstall_cmds \
13535 extract_expsyms_cmds \
13536 old_archive_from_new_cmds \
13537 old_archive_from_expsyms_cmds \
13539 archive_expsym_cmds \
13541 module_expsym_cmds \
13542 export_symbols_cmds \
13546 postuninstall_cmds \
13548 sys_lib_search_path_spec \
13549 sys_lib_dlsearch_path_spec; do
13550 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13551 *[\\\\\\\`\\"\\\$]*)
13552 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13555 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13560 ac_aux_dir='$ac_aux_dir'
13561 xsi_shell='$xsi_shell'
13562 lt_shell_append='$lt_shell_append'
13564 # See if we are running on zsh, and set the options which allow our
13565 # commands through without removal of \ escapes INIT.
13566 if test -n "\${ZSH_VERSION+set}" ; then
13567 setopt NO_GLOB_SUBST
13573 TIMESTAMP='$TIMESTAMP'
13582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13584 # Handling of arguments.
13585 for ac_config_target
in $ac_config_targets
13587 case $ac_config_target in
13588 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13589 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13590 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13591 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13593 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13598 # If the user did not use the arguments to specify the items to instantiate,
13599 # then the envvar interface is used. Set only those that are not.
13600 # We use the long form for the default assignment because of an extremely
13601 # bizarre bug on SunOS 4.1.3.
13602 if $ac_need_defaults; then
13603 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13604 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13605 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13608 # Have a temporary directory for convenience. Make it in the build tree
13609 # simply because there is no reason against having it here, and in addition,
13610 # creating and moving files from /tmp can sometimes cause problems.
13611 # Hook for its removal unless debugging.
13612 # Note that there is a small window in which the directory will not be cleaned:
13613 # after its creation but before its name has been assigned to `$tmp'.
13617 trap 'exit_status=$?
13618 : "${ac_tmp:=$tmp}"
13619 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13621 trap 'as_fn_exit 1' 1 2 13 15
13623 # Create a (secure) tmp directory for tmp files.
13626 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13630 tmp
=.
/conf$$
-$RANDOM
13631 (umask 077 && mkdir
"$tmp")
13632 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13635 # Set up the scripts for CONFIG_FILES section.
13636 # No need to generate them if there are no CONFIG_FILES.
13637 # This happens for instance with `./config.status config.h'.
13638 if test -n "$CONFIG_FILES"; then
13641 ac_cr
=`echo X | tr X '\015'`
13642 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13643 # But we know of no other shell where ac_cr would be empty at this
13644 # point, so we can use a bashism as a fallback.
13645 if test "x$ac_cr" = x
; then
13646 eval ac_cr
=\$
\'\\r
\'
13648 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13649 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13652 ac_cs_awk_cr
=$ac_cr
13655 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13660 echo "cat >conf$$subs.awk <<_ACEOF" &&
13661 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13663 } >conf$$subs.sh ||
13664 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13665 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13667 for ac_last_try in false false false false false :; do
13668 . ./conf$$subs.sh ||
13669 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13671 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13672 if test $ac_delim_n = $ac_delim_num; then
13674 elif $ac_last_try; then
13675 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13677 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13680 rm -f conf$$subs.sh
13682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13683 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13687 s/^/S["/; s
/!.
*/"]=/
13697 s/\(.\{148\}\)..*/\1/
13699 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13704 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13711 s/\(.\{148\}\)..*/\1/
13713 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13717 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13722 ' <conf$$subs.awk | sed '
13727 ' >>$CONFIG_STATUS || ac_write_fail=1
13728 rm -f conf$$subs.awk
13729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13731 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13732 for (key in S) S_is_set[key] = 1
13738 nfields = split(line, field, "@
")
13740 len = length(field[1])
13741 for (i = 2; i < nfields; i++) {
13743 keylen = length(key)
13744 if (S_is_set[key]) {
13746 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13747 len += length(value) + length(field[++i])
13758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13759 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13760 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13763 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13764 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13767 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13768 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13769 # trailing colons and then remove the whole line if VPATH becomes empty
13770 # (actually we leave an empty line to preserve line numbers).
13771 if test "x
$srcdir" = x.; then
13772 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13791 fi # test -n "$CONFIG_FILES"
13793 # Set up the scripts for CONFIG_HEADERS section.
13794 # No need to generate them if there are no CONFIG_HEADERS.
13795 # This happens for instance with `./config.status Makefile'.
13796 if test -n "$CONFIG_HEADERS"; then
13797 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13801 # Transform confdefs.h into an awk script `defines.awk', embedded as
13802 # here-document in config.status, that substitutes the proper values into
13803 # config.h.in to produce config.h.
13805 # Create a delimiter string that does not exist in confdefs.h, to ease
13806 # handling of long lines.
13808 for ac_last_try in false false :; do
13809 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13810 if test -z "$ac_tt"; then
13812 elif $ac_last_try; then
13813 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13815 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13819 # For the awk script, D is an array of macro values keyed by name,
13820 # likewise P contains macro parameters if any. Preserve backslash
13821 # newline sequences.
13823 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13825 s/.\{148\}/&'"$ac_delim"'/g
13828 s/^[ ]*#[ ]*define[ ][ ]*/ /
13835 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13837 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13841 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13842 D["\
1"]=" \
3\\\\\\n
"\\/p
13844 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13849 s/.\{148\}/&'"$ac_delim"'/g
13854 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13857 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13859 ' <confdefs.h | sed '
13860 s/'"$ac_delim"'/"\\\
13861 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13864 for (key in D) D_is_set[key] = 1
13867 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13869 split(line, arg, " ")
13870 if (arg[1] == "#") {
13874 defundef
= substr
(arg
[1], 2)
13877 split(mac1
, mac2
, "(") #)
13879 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13880 if (D_is_set
[macro
]) {
13881 # Preserve the white space surrounding the "#".
13882 print prefix
"define", macro P
[macro
] D
[macro
]
13885 # Replace #undef with comments. This is necessary, for example,
13886 # in the case of _POSIX_SOURCE, which is predefined and required
13887 # on some systems where configure will not decide to define it.
13888 if (defundef
== "undef") {
13889 print
"/*", prefix defundef
, macro
, "*/"
13897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13898 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13899 fi # test -n "$CONFIG_HEADERS"
13902 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13907 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13909 case $ac_mode$ac_tag in
13911 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13912 :[FH
]-) ac_tag
=-:-;;
13913 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13930 -) ac_f
="$ac_tmp/stdin";;
13931 *) # Look for the file first in the build tree, then in the source tree
13932 # (if the path is not absolute). The absolute path cannot be DOS-style,
13933 # because $ac_f cannot contain `:'.
13937 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13939 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13941 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13942 as_fn_append ac_file_inputs
" '$ac_f'"
13945 # Let's still pretend it is `configure' which instantiates (i.e., don't
13946 # use $as_me), people would be surprised to read:
13947 # /* config.h. Generated by config.status. */
13948 configure_input
='Generated from '`
13949 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13951 if test x
"$ac_file" != x-
; then
13952 configure_input
="$ac_file. $configure_input"
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13954 $as_echo "$as_me: creating $ac_file" >&6;}
13956 # Neutralize special characters interpreted by sed in replacement strings.
13957 case $configure_input in #(
13958 *\
&* |
*\|
* |
*\\* )
13959 ac_sed_conf_input
=`$as_echo "$configure_input" |
13960 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13961 *) ac_sed_conf_input
=$configure_input;;
13965 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13966 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13971 ac_dir
=`$as_dirname -- "$ac_file" ||
13972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13973 X"$ac_file" : 'X\(//\)[^/]' \| \
13974 X"$ac_file" : 'X\(//\)$' \| \
13975 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13976 $as_echo X"$ac_file" |
13977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13981 /^X\(\/\/\)[^/].*/{
13994 as_dir
="$ac_dir"; as_fn_mkdir_p
13998 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14000 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14001 # A ".." for each directory in $ac_dir_suffix.
14002 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14003 case $ac_top_builddir_sub in
14004 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14005 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14008 ac_abs_top_builddir
=$ac_pwd
14009 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14010 # for backward compatibility:
14011 ac_top_builddir
=$ac_top_build_prefix
14014 .
) # We are building in place.
14016 ac_top_srcdir
=$ac_top_builddir_sub
14017 ac_abs_top_srcdir
=$ac_pwd ;;
14018 [\\/]* | ?
:[\\/]* ) # Absolute name.
14019 ac_srcdir
=$srcdir$ac_dir_suffix;
14020 ac_top_srcdir
=$srcdir
14021 ac_abs_top_srcdir
=$srcdir ;;
14022 *) # Relative name.
14023 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14024 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14025 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14027 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14037 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14038 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14040 ac_MKDIR_P
=$MKDIR_P
14042 [\\/$
]* | ?
:[\\/]* ) ;;
14043 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14048 # If the template does not know about datarootdir, expand it.
14049 # FIXME: This hack should be removed a few years after 2.60.
14050 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14061 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14062 *datarootdir
*) ac_datarootdir_seen
=yes;;
14063 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14065 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14068 ac_datarootdir_hack='
14069 s&@datadir@&$datadir&g
14070 s&@docdir@&$docdir&g
14071 s&@infodir@&$infodir&g
14072 s&@localedir@&$localedir&g
14073 s&@mandir@&$mandir&g
14074 s&\\\${datarootdir}&$datarootdir&g' ;;
14078 # Neutralize VPATH when `$srcdir' = `.'.
14079 # Shell code in configure.ac might set extrasub.
14080 # FIXME: do we really want to maintain this feature?
14081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14082 ac_sed_extra="$ac_vpsub
14085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14087 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14088 s|@configure_input@|
$ac_sed_conf_input|
;t t
14089 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14090 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14091 s
&@srcdir@
&$ac_srcdir&;t t
14092 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14093 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14094 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14095 s
&@builddir@
&$ac_builddir&;t t
14096 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14097 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14098 s
&@INSTALL@
&$ac_INSTALL&;t t
14099 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14100 $ac_datarootdir_hack
14102 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14103 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14105 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14106 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14107 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14108 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14110 which seems to be undefined. Please make sure it is defined" >&5
14111 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14112 which seems to be undefined. Please make sure it is defined" >&2;}
14114 rm -f "$ac_tmp/stdin"
14116 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14117 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14119 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14125 if test x"$ac_file" != x-; then
14127 $as_echo "/* $configure_input */" \
14128 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14129 } >"$ac_tmp/config.h" \
14130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14131 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14133 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14136 mv "$ac_tmp/config.h" "$ac_file" \
14137 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14140 $as_echo "/* $configure_input */" \
14141 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14142 || as_fn_error $? "could not create -" "$LINENO" 5
14144 # Compute "$ac_file"'s index
in $config_headers.
14147 for _am_header
in $config_headers :; do
14148 case $_am_header in
14149 $_am_arg |
$_am_arg:* )
14152 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14155 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14156 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14157 X"$_am_arg" : 'X\(//\)[^/]' \| \
14158 X"$_am_arg" : 'X\(//\)$' \| \
14159 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14160 $as_echo X"$_am_arg" |
14161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14165 /^X\(\/\/\)[^/].*/{
14177 s/.*/./; q'`/stamp-h
$_am_stamp_count
14180 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14181 $as_echo "$as_me: executing $ac_file commands" >&6;}
14186 case $ac_file$ac_mode in
14187 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14188 # Older Autoconf quotes --file arguments for eval, but not when files
14189 # are listed without --file. Let's play safe and only enable the eval
14190 # if we detect the quoting.
14191 case $CONFIG_FILES in
14192 *\'*) eval set x
"$CONFIG_FILES" ;;
14193 *) set x
$CONFIG_FILES ;;
14198 # Strip MF so we end up with the name of the file.
14199 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14200 # Check whether this is an Automake generated Makefile or not.
14201 # We used to match only the files named 'Makefile.in', but
14202 # some people rename them; so instead we look at the file content.
14203 # Grep'ing the first line is not enough: some people post-process
14204 # each Makefile.in and add a new line on top of each file to say so.
14205 # Grep'ing the whole file is not good either: AIX grep has a line
14206 # limit of 2048, but all sed's we know have understand at least 4000.
14207 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14208 dirpart
=`$as_dirname -- "$mf" ||
14209 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14210 X"$mf" : 'X\(//\)[^/]' \| \
14211 X"$mf" : 'X\(//\)$' \| \
14212 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14218 /^X\(\/\/\)[^/].*/{
14234 # Extract the definition of DEPDIR, am__include, and am__quote
14235 # from the Makefile without running 'make'.
14236 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14237 test -z "$DEPDIR" && continue
14238 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14239 test -z "$am__include" && continue
14240 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14241 # Find all dependency output files, they are included files with
14242 # $(DEPDIR) in their names. We invoke sed twice because it is the
14243 # simplest approach to changing $(DEPDIR) to its actual value in the
14245 for file in `sed -n "
14246 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14247 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14248 # Make sure the directory exists.
14249 test -f "$dirpart/$file" && continue
14250 fdir
=`$as_dirname -- "$file" ||
14251 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14252 X"$file" : 'X\(//\)[^/]' \| \
14253 X"$file" : 'X\(//\)$' \| \
14254 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14255 $as_echo X"$file" |
14256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14260 /^X\(\/\/\)[^/].*/{
14273 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14274 # echo "creating $dirpart/$file"
14275 echo '# dummy' > "$dirpart/$file"
14282 # See if we are running on zsh, and set the options which allow our
14283 # commands through without removal of \ escapes.
14284 if test -n "${ZSH_VERSION+set}" ; then
14285 setopt NO_GLOB_SUBST
14288 cfgfile
="${ofile}T"
14289 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14292 cat <<_LT_EOF >> "$cfgfile"
14295 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14296 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14297 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14298 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14300 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14301 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14303 # Written by Gordon Matzigkeit, 1996
14305 # This file is part of GNU Libtool.
14307 # GNU Libtool is free software; you can redistribute it and/or
14308 # modify it under the terms of the GNU General Public License as
14309 # published by the Free Software Foundation; either version 2 of
14310 # the License, or (at your option) any later version.
14312 # As a special exception to the GNU General Public License,
14313 # if you distribute this file as part of a program or library that
14314 # is built using GNU Libtool, you may include this file under the
14315 # same distribution terms that you use for the rest of that program.
14317 # GNU Libtool is distributed in the hope that it will be useful,
14318 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14319 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14320 # GNU General Public License for more details.
14322 # You should have received a copy of the GNU General Public License
14323 # along with GNU Libtool; see the file COPYING. If not, a copy
14324 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14325 # obtained by writing to the Free Software Foundation, Inc.,
14326 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14329 # The names of the tagged configurations supported by this script.
14332 # ### BEGIN LIBTOOL CONFIG
14334 # Which release of libtool.m4 was used?
14335 macro_version=$macro_version
14336 macro_revision=$macro_revision
14338 # Whether or not to build shared libraries.
14339 build_libtool_libs=$enable_shared
14341 # Whether or not to build static libraries.
14342 build_old_libs=$enable_static
14344 # What type of objects to build.
14347 # Whether or not to optimize for fast installation.
14348 fast_install=$enable_fast_install
14350 # Shell to use when invoking shell scripts.
14353 # An echo program that protects backslashes.
14356 # The PATH separator for the build system.
14357 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14360 host_alias=$host_alias
14364 # The build system.
14365 build_alias=$build_alias
14369 # A sed program that does not truncate output.
14372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14373 Xsed="\$SED -e 1s/^X//"
14375 # A grep program that handles long lines.
14381 # A literal string matcher.
14384 # A BSD- or MS-compatible name lister.
14387 # Whether we need soft or hard links.
14390 # What is the maximum length of a command?
14391 max_cmd_len=$max_cmd_len
14393 # Object file suffix (normally "o").
14396 # Executable file suffix (normally "").
14399 # whether the shell understands "unset".
14402 # turn spaces into newlines.
14405 # turn newlines into spaces.
14408 # convert \$build file names to \$host format.
14409 to_host_file_cmd=$lt_cv_to_host_file_cmd
14411 # convert \$build files to toolchain format.
14412 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14414 # An object symbol dumper.
14415 OBJDUMP=$lt_OBJDUMP
14417 # Method to check whether dependent libraries are shared objects.
14418 deplibs_check_method=$lt_deplibs_check_method
14420 # Command to use when deplibs_check_method = "file_magic".
14421 file_magic_cmd=$lt_file_magic_cmd
14423 # How to find potential files when deplibs_check_method = "file_magic".
14424 file_magic_glob=$lt_file_magic_glob
14426 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14427 want_nocaseglob=$lt_want_nocaseglob
14429 # DLL creation program.
14430 DLLTOOL=$lt_DLLTOOL
14432 # Command to associate shared and link libraries.
14433 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14438 # Flags to create an archive.
14439 AR_FLAGS=$lt_AR_FLAGS
14441 # How to feed a file listing to the archiver.
14442 archiver_list_spec=$lt_archiver_list_spec
14444 # A symbol stripping program.
14447 # Commands used to install an old-style archive.
14449 old_postinstall_cmds=$lt_old_postinstall_cmds
14450 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14452 # Whether to use a lock for old archive extraction.
14453 lock_old_archive_extraction=$lock_old_archive_extraction
14458 # LTCC compiler flags.
14459 LTCFLAGS=$lt_CFLAGS
14461 # Take the output of nm and produce a listing of raw symbols and C names.
14462 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14464 # Transform the output of nm in a proper C declaration.
14465 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14467 # Transform the output of nm in a C name address pair.
14468 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14470 # Transform the output of nm in a C name address pair when lib prefix is needed.
14471 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14473 # Specify filename containing input files for \$NM.
14474 nm_file_list_spec=$lt_nm_file_list_spec
14476 # The root where to search for dependent libraries,and in which our libraries should be installed.
14477 lt_sysroot=$lt_sysroot
14479 # The name of the directory that contains temporary libtool files.
14482 # Used to examine libraries when file_magic_cmd begins with "file".
14483 MAGIC_CMD=$MAGIC_CMD
14485 # Must we lock files when doing compilation?
14486 need_locks=$lt_need_locks
14489 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14491 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14492 DSYMUTIL=$lt_DSYMUTIL
14494 # Tool to change global to local symbols on Mac OS X.
14497 # Tool to manipulate fat objects and archives on Mac OS X.
14500 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14503 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14504 OTOOL64=$lt_OTOOL64
14506 # Old archive suffix (normally "a").
14509 # Shared library suffix (normally ".so").
14510 shrext_cmds=$lt_shrext_cmds
14512 # The commands to extract the exported symbol list from a shared archive.
14513 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14515 # Variables whose values should be saved in libtool wrapper scripts and
14516 # restored at link time.
14517 variables_saved_for_relink=$lt_variables_saved_for_relink
14519 # Do we need the "lib" prefix for modules?
14520 need_lib_prefix=$need_lib_prefix
14522 # Do we need a version for libraries?
14523 need_version=$need_version
14525 # Library versioning type.
14526 version_type=$version_type
14528 # Shared library runtime path variable.
14529 runpath_var=$runpath_var
14531 # Shared library path variable.
14532 shlibpath_var=$shlibpath_var
14534 # Is shlibpath searched before the hard-coded library search path?
14535 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14537 # Format of library name prefix.
14538 libname_spec=$lt_libname_spec
14540 # List of archive names. First name is the real one, the rest are links.
14541 # The last name is the one that the linker finds with -lNAME
14542 library_names_spec=$lt_library_names_spec
14544 # The coded name of the library, if different from the real name.
14545 soname_spec=$lt_soname_spec
14547 # Permission mode override for installation of shared libraries.
14548 install_override_mode=$lt_install_override_mode
14550 # Command to use after installation of a shared archive.
14551 postinstall_cmds=$lt_postinstall_cmds
14553 # Command to use after uninstallation of a shared archive.
14554 postuninstall_cmds=$lt_postuninstall_cmds
14556 # Commands used to finish a libtool library installation in a directory.
14557 finish_cmds=$lt_finish_cmds
14559 # As "finish_cmds", except a single script fragment to be evaled but
14561 finish_eval=$lt_finish_eval
14563 # Whether we should hardcode library paths into libraries.
14564 hardcode_into_libs=$hardcode_into_libs
14566 # Compile-time system search path for libraries.
14567 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14569 # Run-time system search path for libraries.
14570 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14572 # Whether dlopen is supported.
14573 dlopen_support=$enable_dlopen
14575 # Whether dlopen of programs is supported.
14576 dlopen_self=$enable_dlopen_self
14578 # Whether dlopen of statically linked programs is supported.
14579 dlopen_self_static=$enable_dlopen_self_static
14581 # Commands to strip libraries.
14582 old_striplib=$lt_old_striplib
14583 striplib=$lt_striplib
14586 # The linker used to build libraries.
14589 # How to create reloadable object files.
14590 reload_flag=$lt_reload_flag
14591 reload_cmds=$lt_reload_cmds
14593 # Commands used to build an old-style archive.
14594 old_archive_cmds=$lt_old_archive_cmds
14596 # A language specific compiler.
14599 # Is the compiler the GNU compiler?
14602 # Compiler flag to turn off builtin functions.
14603 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14605 # Additional compiler flags for building library objects.
14606 pic_flag=$lt_lt_prog_compiler_pic
14608 # How to pass a linker flag through the compiler.
14609 wl=$lt_lt_prog_compiler_wl
14611 # Compiler flag to prevent dynamic linking.
14612 link_static_flag=$lt_lt_prog_compiler_static
14614 # Does compiler simultaneously support -c and -o options?
14615 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14617 # Whether or not to add -lc for building shared libraries.
14618 build_libtool_need_lc=$archive_cmds_need_lc
14620 # Whether or not to disallow shared libs when runtime libs are static.
14621 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14623 # Compiler flag to allow reflexive dlopens.
14624 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14626 # Compiler flag to generate shared objects directly from archives.
14627 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14629 # Whether the compiler copes with passing no objects directly.
14630 compiler_needs_object=$lt_compiler_needs_object
14632 # Create an old-style archive from a shared archive.
14633 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14635 # Create a temporary old-style archive to link instead of a shared archive.
14636 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14638 # Commands used to build a shared archive.
14639 archive_cmds=$lt_archive_cmds
14640 archive_expsym_cmds=$lt_archive_expsym_cmds
14642 # Commands used to build a loadable module if different from building
14643 # a shared archive.
14644 module_cmds=$lt_module_cmds
14645 module_expsym_cmds=$lt_module_expsym_cmds
14647 # Whether we are building with GNU ld or not.
14648 with_gnu_ld=$lt_with_gnu_ld
14650 # Flag that allows shared libraries with undefined symbols to be built.
14651 allow_undefined_flag=$lt_allow_undefined_flag
14653 # Flag that enforces no undefined symbols.
14654 no_undefined_flag=$lt_no_undefined_flag
14656 # Flag to hardcode \$libdir into a binary during linking.
14657 # This must work even if \$libdir does not exist
14658 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14660 # Whether we need a single "-rpath" flag with a separated argument.
14661 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14663 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14664 # DIR into the resulting binary.
14665 hardcode_direct=$hardcode_direct
14667 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14668 # DIR into the resulting binary and the resulting library dependency is
14669 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14670 # library is relocated.
14671 hardcode_direct_absolute=$hardcode_direct_absolute
14673 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14674 # into the resulting binary.
14675 hardcode_minus_L=$hardcode_minus_L
14677 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14678 # into the resulting binary.
14679 hardcode_shlibpath_var=$hardcode_shlibpath_var
14681 # Set to "yes" if building a shared library automatically hardcodes DIR
14682 # into the library and all subsequent libraries and executables linked
14684 hardcode_automatic=$hardcode_automatic
14686 # Set to yes if linker adds runtime paths of dependent libraries
14687 # to runtime path list.
14688 inherit_rpath=$inherit_rpath
14690 # Whether libtool must link a program against all its dependency libraries.
14691 link_all_deplibs=$link_all_deplibs
14693 # Set to "yes" if exported symbols are required.
14694 always_export_symbols=$always_export_symbols
14696 # The commands to list exported symbols.
14697 export_symbols_cmds=$lt_export_symbols_cmds
14699 # Symbols that should not be listed in the preloaded symbols.
14700 exclude_expsyms=$lt_exclude_expsyms
14702 # Symbols that must always be exported.
14703 include_expsyms=$lt_include_expsyms
14705 # Commands necessary for linking programs (against libraries) with templates.
14706 prelink_cmds=$lt_prelink_cmds
14708 # Commands necessary for finishing linking programs.
14709 postlink_cmds=$lt_postlink_cmds
14711 # Specify filename containing input files.
14712 file_list_spec=$lt_file_list_spec
14714 # How to hardcode a shared library path into an executable.
14715 hardcode_action=$hardcode_action
14717 # ### END LIBTOOL CONFIG
14723 cat <<\_LT_EOF
>> "$cfgfile"
14724 # AIX sometimes has problems with the GCC collect2 program. For some
14725 # reason, if we set the COLLECT_NAMES environment variable, the problems
14726 # vanish in a puff of smoke.
14727 if test "X${COLLECT_NAMES+set}" != Xset
; then
14729 export COLLECT_NAMES
14736 ltmain
="$ac_aux_dir/ltmain.sh"
14739 # We use sed instead of cat because bash on DJGPP gets confused if
14740 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14741 # text mode, it properly converts lines to CR/LF. This bash problem
14742 # is reportedly fixed, but why not run on old versions too?
14743 sed '$q' "$ltmain" >> "$cfgfile" \
14744 ||
(rm -f "$cfgfile"; exit 1)
14746 if test x
"$xsi_shell" = xyes
; then
14747 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14751 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14752 \ * ) func_dirname_result="${3}" ;;\
14754 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14755 && mv -f "$cfgfile.tmp" "$cfgfile" \
14756 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14757 test 0 -eq $? || _lt_function_replace_fail
=:
14760 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14763 \ func_basename_result="${1##*/}"\
14764 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14765 && mv -f "$cfgfile.tmp" "$cfgfile" \
14766 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14767 test 0 -eq $? || _lt_function_replace_fail
=:
14770 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14771 func_dirname_and_basename ()\
14774 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14775 \ * ) func_dirname_result="${3}" ;;\
14777 \ func_basename_result="${1##*/}"\
14778 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14779 && mv -f "$cfgfile.tmp" "$cfgfile" \
14780 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14781 test 0 -eq $? || _lt_function_replace_fail
=:
14784 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14787 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14788 \ # positional parameters, so assign one to ordinary parameter first.\
14789 \ func_stripname_result=${3}\
14790 \ func_stripname_result=${func_stripname_result#"${1}"}\
14791 \ func_stripname_result=${func_stripname_result%"${2}"}\
14792 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14793 && mv -f "$cfgfile.tmp" "$cfgfile" \
14794 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14795 test 0 -eq $? || _lt_function_replace_fail
=:
14798 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14799 func_split_long_opt ()\
14801 \ func_split_long_opt_name=${1%%=*}\
14802 \ func_split_long_opt_arg=${1#*=}\
14803 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14804 && mv -f "$cfgfile.tmp" "$cfgfile" \
14805 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14806 test 0 -eq $? || _lt_function_replace_fail
=:
14809 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14810 func_split_short_opt ()\
14812 \ func_split_short_opt_arg=${1#??}\
14813 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14814 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14815 && mv -f "$cfgfile.tmp" "$cfgfile" \
14816 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14817 test 0 -eq $? || _lt_function_replace_fail
=:
14820 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14824 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14825 \ *) func_lo2o_result=${1} ;;\
14827 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14828 && mv -f "$cfgfile.tmp" "$cfgfile" \
14829 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14830 test 0 -eq $? || _lt_function_replace_fail
=:
14833 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14836 func_xform_result=${1%.*}.lo\
14837 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14838 && mv -f "$cfgfile.tmp" "$cfgfile" \
14839 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14840 test 0 -eq $? || _lt_function_replace_fail
=:
14843 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14846 func_arith_result=$(( $* ))\
14847 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14848 && mv -f "$cfgfile.tmp" "$cfgfile" \
14849 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14850 test 0 -eq $? || _lt_function_replace_fail
=:
14853 sed -e '/^func_len ()$/,/^} # func_len /c\
14856 func_len_result=${#1}\
14857 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14858 && mv -f "$cfgfile.tmp" "$cfgfile" \
14859 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14860 test 0 -eq $? || _lt_function_replace_fail
=:
14864 if test x
"$lt_shell_append" = xyes
; then
14865 sed -e '/^func_append ()$/,/^} # func_append /c\
14868 eval "${1}+=\\${2}"\
14869 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14870 && mv -f "$cfgfile.tmp" "$cfgfile" \
14871 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14872 test 0 -eq $? || _lt_function_replace_fail
=:
14875 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14876 func_append_quoted ()\
14878 \ func_quote_for_eval "${2}"\
14879 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14880 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14881 && mv -f "$cfgfile.tmp" "$cfgfile" \
14882 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14883 test 0 -eq $? || _lt_function_replace_fail
=:
14886 # Save a `func_append' function call where possible by direct use of '+='
14887 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14888 && mv -f "$cfgfile.tmp" "$cfgfile" \
14889 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14890 test 0 -eq $? || _lt_function_replace_fail
=:
14892 # Save a `func_append' function call even when '+=' is not available
14893 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14894 && mv -f "$cfgfile.tmp" "$cfgfile" \
14895 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14896 test 0 -eq $? || _lt_function_replace_fail
=:
14899 if test x
"$_lt_function_replace_fail" = x
":"; then
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14901 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14905 mv -f "$cfgfile" "$ofile" ||
14906 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14917 ac_clean_files
=$ac_clean_files_save
14919 test $ac_write_fail = 0 ||
14920 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14923 # configure is writing to config.log, and then calls config.status.
14924 # config.status does its own redirection, appending to config.log.
14925 # Unfortunately, on DOS this fails, as config.log is still kept open
14926 # by configure, so config.status won't be able to write to it; its
14927 # output is simply discarded. So we exec the FD to /dev/null,
14928 # effectively closing config.log, so it can be properly (re)opened and
14929 # appended to by config.status. When coming back to configure, we
14930 # need to make the FD available again.
14931 if test "$no_create" != yes; then
14933 ac_config_status_args
=
14934 test "$silent" = yes &&
14935 ac_config_status_args
="$ac_config_status_args --quiet"
14937 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14939 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14940 # would make configure fail if this is the last instruction.
14941 $ac_cs_success || as_fn_exit
1
14943 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14945 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}