2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for region-bounded dynamic allocator 0.0.
5 # Report bugs to <Justin Wind <justin.wind@gmail.com>>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and Justin Wind
278 $0: <justin.wind@gmail.com> about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: 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
='region-bounded dynamic allocator'
592 PACKAGE_TARNAME
='liballocwithin'
593 PACKAGE_VERSION
='0.0'
594 PACKAGE_STRING
='region-bounded dynamic allocator 0.0'
595 PACKAGE_BUGREPORT
='Justin Wind <justin.wind@gmail.com>'
598 ac_unique_file
="allocwithin.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
756 enable_dependency_tracking
766 ac_precious_vars
='build_alias
777 # Initialize some variables set by options.
779 ac_init_version
=false
780 ac_unrecognized_opts
=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name
=s
,x
,x
,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir
='${exec_prefix}/bin'
806 sbindir
='${exec_prefix}/sbin'
807 libexecdir
='${exec_prefix}/libexec'
808 datarootdir
='${prefix}/share'
809 datadir
='${datarootdir}'
810 sysconfdir
='${prefix}/etc'
811 sharedstatedir
='${prefix}/com'
812 localstatedir
='${prefix}/var'
813 includedir
='${prefix}/include'
814 oldincludedir
='/usr/include'
815 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir
='${datarootdir}/info'
821 libdir
='${exec_prefix}/lib'
822 localedir
='${datarootdir}/locale'
823 mandir
='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\
$ac_option
837 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 -build | --build | --buil | --bui | --bu)
854 ac_prev
=build_alias
;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev
=cache_file
;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir | --datadir | --datadi | --datad)
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
884 as_fn_error $?
"invalid feature name: $ac_useropt"
885 ac_useropt_orig
=$ac_useropt
886 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep
=', ';;
894 eval enable_
$ac_useropt=no
;;
896 -docdir | --docdir | --docdi | --doc | --do)
898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906 -enable-* | --enable-*)
907 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
910 as_fn_error $?
"invalid feature name: $ac_useropt"
911 ac_useropt_orig
=$ac_useropt
912 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep
=', ';;
920 eval enable_
$ac_useropt=\
$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 -help | --help | --hel | --he | -h)
937 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
940 ac_init_help
=short
;;
942 -host | --host | --hos | --ho)
943 ac_prev
=host_alias
;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev
=includedir
;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
995 # Obsolete; use --without-fp.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site | --site | --sit)
1084 -site=* | --site=* | --sit=*)
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev
=target_alias
;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version
=: ;;
1111 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1114 as_fn_error $?
"invalid package name: $ac_useropt"
1115 ac_useropt_orig
=$ac_useropt
1116 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep
=', ';;
1124 eval with_
$ac_useropt=\
$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=no
;;
1143 # Obsolete; use --with-x.
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev
=x_includes
;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151 x_includes
=$ac_optarg ;;
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev
=x_libraries
;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158 x_libraries
=$ac_optarg ;;
1160 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
1169 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\
$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $?
"missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val
=\$
$ac_var
1205 # Remove trailing slashes.
1208 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\
$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$
]* | ?
:[\\/]* ) continue;;
1214 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1216 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target
=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x
; then
1228 if test "x$build_alias" = x
; then
1229 cross_compiling
=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1238 test "$silent" = yes && exec 6>/dev
/null
1241 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di
=`ls -di .` &&
1243 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $?
"working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $?
"pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted
=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir
=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted
=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1285 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var
in $ac_precious_vars; do
1302 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1303 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1304 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1305 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures region-bounded dynamic allocator 0.0 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/liballocwithin]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1378 --build=BUILD configure
for building on BUILD
[guessed
]
1379 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short
| recursive
) echo "Configuration of region-bounded dynamic allocator 0.0:";;
1390 --disable-option-checking ignore unrecognized
--enable/--with options
1391 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1392 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1393 --enable-dependency-tracking
1394 do not reject slow dependency extractors
1395 --disable-dependency-tracking
1396 speeds up one
-time build
1397 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1398 --enable-static[=PKGS
] build static libraries
[default
=yes]
1399 --enable-fast-install[=PKGS
]
1400 optimize
for fast installation
[default
=yes]
1401 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1402 --enable-debug-output enable extra debugging output
, default
: no
1405 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1406 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1407 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1409 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1410 --with-sysroot=DIR Search
for dependent libraries within DIR
1411 (or the compiler
's sysroot if not specified).
1413 Some influential environment variables:
1414 CC C compiler command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1417 nonstandard directory <lib dir>
1418 LIBS libraries to pass to the linker, e.g. -l<library>
1419 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1420 you have headers in a nonstandard directory <include dir>
1423 Use these variables to override the choices made by `configure' or to
help
1424 it to
find libraries and programs with nonstandard names
/locations.
1426 Report bugs to
<Justin Wind
<justin.wind@gmail.com
>>.
1431 if test "$ac_init_help" = "recursive"; then
1432 # If there are subdirs, report their specific --help.
1433 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1434 test -d "$ac_dir" ||
1435 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1440 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1442 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1443 # A ".." for each directory in $ac_dir_suffix.
1444 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1445 case $ac_top_builddir_sub in
1446 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1447 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1450 ac_abs_top_builddir
=$ac_pwd
1451 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1452 # for backward compatibility:
1453 ac_top_builddir
=$ac_top_build_prefix
1456 .
) # We are building in place.
1458 ac_top_srcdir
=$ac_top_builddir_sub
1459 ac_abs_top_srcdir
=$ac_pwd ;;
1460 [\\/]* | ?
:[\\/]* ) # Absolute name.
1461 ac_srcdir
=$srcdir$ac_dir_suffix;
1462 ac_top_srcdir
=$srcdir
1463 ac_abs_top_srcdir
=$srcdir ;;
1465 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1466 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1467 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1469 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1471 cd "$ac_dir" || { ac_status
=$?
; continue; }
1472 # Check for guested configure.
1473 if test -f "$ac_srcdir/configure.gnu"; then
1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476 elif test -f "$ac_srcdir/configure"; then
1478 $SHELL "$ac_srcdir/configure" --help=recursive
1480 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 cd "$ac_pwd" || { ac_status
=$?
; break; }
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1489 region
-bounded dynamic allocator configure
0.0
1490 generated by GNU Autoconf
2.69
1492 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1493 This configure
script is free software
; the Free Software Foundation
1494 gives unlimited permission to copy
, distribute and modify it.
1499 ## ------------------------ ##
1500 ## Autoconf initialization. ##
1501 ## ------------------------ ##
1503 # ac_fn_c_try_compile LINENO
1504 # --------------------------
1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_compile
()
1508 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1509 rm -f conftest.
$ac_objext
1510 if { { ac_try
="$ac_compile"
1512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 $as_echo "$ac_try_echo"; } >&5
1517 (eval "$ac_compile") 2>conftest.err
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } && {
1526 test -z "$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 } && test -s conftest.$ac_objext; then :
1531 $as_echo "$as_me: failed program was:" >&5
1532 sed 's/^/| /' conftest.$ac_ext >&5
1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1537 as_fn_set_status $ac_retval
1539 } # ac_fn_c_try_compile
1541 # ac_fn_c_try_link LINENO
1542 # -----------------------
1543 # Try to link conftest.$ac_ext, and return whether this succeeded.
1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1547 rm -f conftest.$ac_objext conftest$ac_exeext
1548 if { { ac_try="$ac_link"
1550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1551 *) ac_try_echo
=$ac_try;;
1553 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_link") 2>conftest.err
1557 if test -s conftest.err
; then
1558 grep -v '^ *+' conftest.err
>conftest.er1
1559 cat conftest.er1
>&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } && {
1564 test -z "$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1566 } && test -s conftest
$ac_exeext && {
1567 test "$cross_compiling" = yes ||
1568 test -x conftest
$ac_exeext
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.
$ac_ext >&5
1577 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1578 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1579 # interfere with the next link command; also delete a directory that is
1580 # left behind by Apple's compiler. We do this before executing the actions.
1581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583 as_fn_set_status
$ac_retval
1585 } # ac_fn_c_try_link
1587 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1588 # -------------------------------------------------------
1589 # Tests whether HEADER exists and can be compiled using the include files in
1590 # INCLUDES, setting the cache variable VAR accordingly.
1591 ac_fn_c_check_header_compile
()
1593 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1595 $as_echo_n "checking for $2... " >&6; }
1596 if eval \
${$3+:} false
; then :
1597 $as_echo_n "(cached) " >&6
1599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1600 /* end confdefs.h. */
1604 if ac_fn_c_try_compile
"$LINENO"; then :
1609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1613 $as_echo "$ac_res" >&6; }
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616 } # ac_fn_c_check_header_compile
1618 # ac_fn_c_try_cpp LINENO
1619 # ----------------------
1620 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1633 if test -s conftest.err; then
1634 grep -v '^ *+' conftest.err >conftest.er1
1635 cat conftest.er1 >&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } > conftest.i && {
1640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1641 test ! -s conftest.err
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 as_fn_set_status $ac_retval
1655 # ac_fn_c_try_run LINENO
1656 # ----------------------
1657 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1658 # that executables *can* be run.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if { { ac_try="$ac_link"
1664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_link") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1673 { { case "(($ac_try" in
1674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_try") 2>&5
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; }; }; then :
1685 $as_echo "$as_me: program exited with status $ac_status" >&5
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1689 ac_retval=$ac_status
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 as_fn_set_status $ac_retval
1697 # ac_fn_c_check_func LINENO FUNC VAR
1698 # ----------------------------------
1699 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1700 ac_fn_c_check_func ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706 $as_echo_n "(cached) " >&6
1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1710 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1712 #define $2 innocuous_$2
1714 /* System header to define __stub macros and hopefully few prototypes,
1715 which can conflict with char $2 (); below.
1716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1717 <limits.h> exists even on freestanding compilers. */
1720 # include <limits.h>
1722 # include <assert.h>
1727 /* Override any GCC internal prototype to avoid an error.
1728 Use char because int might match the return type of a GCC
1729 builtin and then its argument prototype would still apply. */
1734 /* The GNU C library defines this for functions which it implements
1735 to always fail with ENOSYS. Some functions are actually named
1736 something starting with __ and the normal name is an alias. */
1737 #if defined __stub_$2 || defined __stub___$2
1749 if ac_fn_c_try_link "$LINENO"; then :
1754 rm -f core conftest.err conftest.$ac_objext \
1755 conftest$ac_exeext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 } # ac_fn_c_check_func
1764 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1765 # -------------------------------------------------------
1766 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1767 # the include files in INCLUDES and setting the cache variable VAR
1769 ac_fn_c_check_header_mongrel ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if eval \${$3+:} false; then :
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1782 # Is the header compilable?
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1784 $as_echo_n "checking $2 usability... " >&6; }
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1790 if ac_fn_c_try_compile "$LINENO"; then :
1791 ac_header_compiler=yes
1793 ac_header_compiler=no
1795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1797 $as_echo "$ac_header_compiler" >&6; }
1799 # Is the header present?
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1801 $as_echo_n "checking $2 presence... " >&6; }
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1806 if ac_fn_c_try_cpp "$LINENO"; then :
1807 ac_header_preproc=yes
1809 ac_header_preproc=no
1811 rm -f conftest.err conftest.i conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1813 $as_echo "$ac_header_preproc" >&6; }
1815 # So? What about this header?
1816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1819 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1825 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1827 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1829 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1831 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1834 ( $as_echo "## -------------------------------------------------- ##
1835 ## Report this to Justin Wind <justin.wind@gmail.com> ##
1836 ## -------------------------------------------------- ##"
1837 ) | sed "s/^/$as_me: WARNING: /" >&2
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if eval \${$3+:} false; then :
1843 $as_echo_n "(cached) " >&6
1845 eval "$3=\$ac_header_compiler"
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 } # ac_fn_c_check_header_mongrel
1855 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1856 # -------------------------------------------
1857 # Tests whether TYPE exists after having included INCLUDES, setting cache
1858 # variable VAR accordingly.
1859 ac_fn_c_check_type ()
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if eval \${$3+:} false; then :
1865 $as_echo_n "(cached) " >&6
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1880 if ac_fn_c_try_compile "$LINENO"; then :
1881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1882 /* end confdefs.h. */
1893 if ac_fn_c_try_compile "$LINENO"; then :
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 } # ac_fn_c_check_type
1908 cat >config.log <<_ACEOF
1909 This file contains any messages produced by compilers while
1910 running configure, to aid debugging if configure makes a mistake.
1912 It was created by region-bounded dynamic allocator $as_me 0.0, which was
1913 generated by GNU Autoconf 2.69. Invocation command line was
1925 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1926 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1927 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1928 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1929 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1931 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1932 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1934 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1935 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1936 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1937 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1938 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1939 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1940 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 $as_echo "PATH: $as_dir"
1965 # Keep a trace of the command line.
1966 # Strip out --no-create and --no-recursion so they do not pile up.
1967 # Strip out --silent because we don't want to record it for future runs.
1968 # Also quote any args containing shell meta-characters.
1969 # Make two passes to allow for proper duplicate-argument suppression.
1973 ac_must_keep_next=false
1979 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1981 | -silent | --silent | --silen | --sile | --sil)
1984 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1987 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1989 as_fn_append ac_configure_args1 " '$ac_arg'"
1990 if test $ac_must_keep_next = true; then
1991 ac_must_keep_next=false # Got value, back to normal.
1994 *=* | --config-cache | -C | -disable-* | --disable-* \
1995 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1996 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1997 | -with-* | --with-* | -without-* | --without-* | --x)
1998 case "$ac_configure_args0 " in
1999 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2002 -* ) ac_must_keep_next=true ;;
2005 as_fn_append ac_configure_args " '$ac_arg'"
2010 { ac_configure_args0=; unset ac_configure_args0;}
2011 { ac_configure_args1=; unset ac_configure_args1;}
2013 # When interrupted or exit'd, cleanup temporary files, and complete
2014 # config.log. We remove comments because anyway the quotes in there
2015 # would cause problems or look ugly.
2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2018 trap 'exit_status=$?
2019 # Save into config.log some information that might help in debugging.
2023 $as_echo "## ---------------- ##
2024 ## Cache variables. ##
2025 ## ---------------- ##"
2027 # The following way of writing the cache mishandles newlines in values,
2029 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2030 eval ac_val=\$$ac_var
2034 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2035 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2038 _ | IFS | as_nl) ;; #(
2039 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2040 *) { eval $ac_var=; unset $ac_var;} ;;
2045 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2046 *${as_nl}ac_space=\ *)
2048 "s/'\''/'\''\\\\'\'''\''/g;
2049 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2059 $as_echo "## ----------------- ##
2060 ## Output variables. ##
2061 ## ----------------- ##"
2063 for ac_var in $ac_subst_vars
2065 eval ac_val=\$$ac_var
2067 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2069 $as_echo "$ac_var='\''$ac_val'\''"
2073 if test -n "$ac_subst_files"; then
2074 $as_echo "## ------------------- ##
2075 ## File substitutions. ##
2076 ## ------------------- ##"
2078 for ac_var in $ac_subst_files
2080 eval ac_val=\$$ac_var
2082 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 $as_echo "$ac_var='\''$ac_val'\''"
2089 if test -s confdefs.h; then
2090 $as_echo "## ----------- ##
2097 test "$ac_signal" != 0 &&
2098 $as_echo "$as_me: caught signal $ac_signal"
2099 $as_echo "$as_me: exit $exit_status"
2101 rm -f core *.core core.conftest.* &&
2102 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2105 for ac_signal in 1 2 13 15; do
2106 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2110 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2111 rm -f -r conftest* confdefs.h
2113 $as_echo "/* confdefs.h */" > confdefs.h
2115 # Predefined preprocessor variables.
2117 cat >>confdefs.h <<_ACEOF
2118 #define PACKAGE_NAME "$PACKAGE_NAME"
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_STRING "$PACKAGE_STRING"
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_URL "$PACKAGE_URL"
2142 # Let the site file select an alternate cache file if it wants to.
2143 # Prefer an explicitly selected file to automatically selected ones.
2146 if test -n "$CONFIG_SITE"; then
2147 # We do not want a PATH search for config.site.
2148 case $CONFIG_SITE in #((
2149 -*) ac_site_file1=./$CONFIG_SITE;;
2150 */*) ac_site_file1=$CONFIG_SITE;;
2151 *) ac_site_file1=./$CONFIG_SITE;;
2153 elif test "x$prefix" != xNONE; then
2154 ac_site_file1=$prefix/share/config.site
2155 ac_site_file2=$prefix/etc/config.site
2157 ac_site_file1=$ac_default_prefix/share/config.site
2158 ac_site_file2=$ac_default_prefix/etc/config.site
2160 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2162 test "x$ac_site_file" = xNONE && continue
2163 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2165 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2166 sed 's/^/| /' "$ac_site_file" >&5
2168 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2170 as_fn_error $? "failed to load site
script $ac_site_file
2171 See \
`config.log' for more details" "$LINENO" 5; }
2175 if test -r "$cache_file"; then
2176 # Some versions of bash will fail to source /dev/null (special files
2177 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2178 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2180 $as_echo "$as_me: loading cache $cache_file" >&6;}
2182 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2183 *) . "./$cache_file";;
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2188 $as_echo "$as_me: creating cache $cache_file" >&6;}
2192 # Check that the precious variables saved in the cache have kept the same
2194 ac_cache_corrupted=false
2195 for ac_var in $ac_precious_vars; do
2196 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2197 eval ac_new_set=\$ac_env_${ac_var}_set
2198 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2199 eval ac_new_val=\$ac_env_${ac_var}_value
2200 case $ac_old_set,$ac_new_set in
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2203 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2204 ac_cache_corrupted=: ;;
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2207 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2208 ac_cache_corrupted=: ;;
2211 if test "x$ac_old_val" != "x$ac_new_val"; then
2212 # differences in whitespace do not lead to failure.
2213 ac_old_val_w=`echo x
$ac_old_val`
2214 ac_new_val_w=`echo x
$ac_new_val`
2215 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2217 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2218 ac_cache_corrupted=:
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2221 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2222 eval $ac_var=\$ac_old_val
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2225 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2227 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2230 # Pass precious variables to config.status.
2231 if test "$ac_new_set" = set; then
2233 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2234 *) ac_arg=$ac_var=$ac_new_val ;;
2236 case " $ac_configure_args " in
2237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2238 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2242 if $ac_cache_corrupted; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2246 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2247 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2249 ## -------------------- ##
2250 ## Main body of script. ##
2251 ## -------------------- ##
2254 ac_cpp='$CPP $CPPFLAGS'
2255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2260 am__api_version='1.12'
2263 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2264 if test -f "$ac_dir/install-sh"; then
2266 ac_install_sh="$ac_aux_dir/install-sh -c"
2268 elif test -f "$ac_dir/install.sh"; then
2270 ac_install_sh="$ac_aux_dir/install.sh -c"
2272 elif test -f "$ac_dir/shtool"; then
2274 ac_install_sh="$ac_aux_dir/shtool install -c"
2278 if test -z "$ac_aux_dir"; then
2279 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2282 # These three variables are undocumented and unsupported,
2283 # and are intended to be withdrawn in a future Autoconf release.
2284 # They can cause serious problems if a builder's source tree is in a directory
2285 # whose full name contains unusual characters.
2286 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2287 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2288 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2291 # Find a good install program. We prefer a C program (faster),
2292 # so one script is as good as another. But avoid the broken or
2293 # incompatible versions:
2294 # SysV /etc/install, /usr/sbin/install
2295 # SunOS /usr/etc/install
2296 # IRIX /sbin/install
2298 # AmigaOS /C/install, which installs bootblocks on floppy discs
2299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2302 # OS/2's system install, which has a completely different semantic
2303 # ./install, which can be erroneously created by make from ./install.sh.
2304 # Reject install programs that cannot install multiple files.
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2306 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2307 if test -z "$INSTALL"; then
2308 if ${ac_cv_path_install+:} false; then :
2309 $as_echo_n "(cached) " >&6
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 # Account for people who put trailing slashes in PATH elements.
2317 case $as_dir/ in #((
2318 ./ | .// | /[cC]/* | \
2319 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2320 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2323 # OSF1 and SCO ODT 3.0 have their own names for install.
2324 # Don't use installbsd from OSF since it installs stuff as root
2326 for ac_prog in ginstall scoinst install; do
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2329 if test $ac_prog = install &&
2330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2331 # AIX install. It has an incompatible calling convention.
2333 elif test $ac_prog = install &&
2334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2335 # program-specific install script used by HP pwplus--don't use.
2338 rm -rf conftest.one conftest.two conftest.dir
2339 echo one > conftest.one
2340 echo two > conftest.two
2342 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2343 test -s conftest.one && test -s conftest.two &&
2344 test -s conftest.dir/conftest.one &&
2345 test -s conftest.dir/conftest.two
2347 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2360 rm -rf conftest.one conftest.two conftest.dir
2363 if test "${ac_cv_path_install+set}" = set; then
2364 INSTALL=$ac_cv_path_install
2366 # As a last resort, use the slow shell script. Don't cache a
2367 # value for INSTALL within a source directory, because that will
2368 # break other packages using the cache if that directory is
2369 # removed, or if the value is a relative name.
2370 INSTALL=$ac_install_sh
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2374 $as_echo "$INSTALL" >&6; }
2376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2377 # It thinks the first close brace ends the variable substitution.
2378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2382 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2385 $as_echo_n "checking whether build environment is sane... " >&6; }
2386 # Reject unsafe characters in $srcdir or the absolute working directory
2387 # name. Accept space and tab only in the latter.
2391 *[\\\"\#\$\&\'\`$am_lf]*)
2392 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2395 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2396 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2399 # Do 'set' in a subshell so we don't clobber the current shell's
2400 # arguments. Must try -L first in case configure is actually a
2401 # symlink; some systems play weird games with the mod time of symlinks
2402 # (eg FreeBSD returns the mod time of the symlink's containing
2406 for am_try in 1 2; do
2407 echo "timestamp, slept: $am_has_slept" > conftest.file
2408 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2409 if test "$*" = "X"; then
2411 set X `ls -t "$srcdir/configure" conftest.
file`
2413 if test "$*" != "X $srcdir/configure conftest.file" \
2414 && test "$*" != "X conftest.file $srcdir/configure"; then
2416 # If neither matched, then we have a broken ls. This can happen
2417 # if, for instance, CONFIG_SHELL is bash and it inherits a
2418 # broken ls alias from the environment. This has actually
2419 # happened. Such a system could not be considered "sane".
2420 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2421 alias in your environment" "$LINENO" 5
2423 if test "$2" = conftest.file || test $am_try -eq 2; then
2430 test "$2" = conftest.file
2436 as_fn_error $? "newly created file is older than distributed files!
2437 Check your system clock" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2440 $as_echo "yes" >&6; }
2441 # If we didn't sleep, we still need to ensure time stamps of config.status and
2442 # generated files are strictly newer.
2444 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2451 test "$program_prefix" != NONE &&
2452 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2453 # Use a double $ so make ignores it.
2454 test "$program_suffix" != NONE &&
2455 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2456 # Double any \ or $.
2457 # By default was `s
,x
,x
', remove it if useless.
2458 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2459 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2461 # expand $ac_aux_dir to an absolute path
2462 am_aux_dir=`cd $ac_aux_dir && pwd`
2464 if test x"${MISSING+set}" != xset; then
2467 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2469 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2472 # Use eval to expand $SHELL
2473 if eval "$MISSING --run true"; then
2474 am_missing_run="$MISSING --run "
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2478 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2481 if test x"${install_sh}" != xset; then
2484 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2486 install_sh="\${SHELL} $am_aux_dir/install-sh"
2490 # Installed binaries are usually stripped using 'strip
' when the user
2491 # run "make install-strip". However 'strip
' might not be the right
2492 # tool to use in cross-compilation environments, therefore Automake
2493 # will honor the 'STRIP
' environment variable to overrule this program.
2494 if test "$cross_compiling" != no; then
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2497 set dummy ${ac_tool_prefix}strip; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_STRIP+:} false; then :
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$STRIP"; then
2504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 STRIP=$ac_cv_prog_STRIP
2524 if test -n "$STRIP"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2526 $as_echo "$STRIP" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2534 if test -z "$ac_cv_prog_STRIP"; then
2536 # Extract the first word of "strip", so it can be a program name with args.
2537 set dummy strip; ac_word=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$ac_ct_STRIP"; then
2544 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553 ac_cv_prog_ac_ct_STRIP="strip"
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2564 if test -n "$ac_ct_STRIP"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2566 $as_echo "$ac_ct_STRIP" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2572 if test "x$ac_ct_STRIP" = x; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2579 ac_tool_warned=yes ;;
2584 STRIP="$ac_cv_prog_STRIP"
2588 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2591 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2592 if test -z "$MKDIR_P"; then
2593 if ${ac_cv_path_mkdir+:} false; then :
2594 $as_echo_n "(cached) " >&6
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2600 test -z "$as_dir" && as_dir=.
2601 for ac_prog in mkdir gmkdir; do
2602 for ac_exec_ext in '' $ac_executable_extensions; do
2603 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2604 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2605 'mkdir (GNU coreutils
) '* | \
2606 'mkdir (coreutils
) '* | \
2607 'mkdir (fileutils
) '4.1*)
2608 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2618 test -d ./--version && rmdir ./--version
2619 if test "${ac_cv_path_mkdir+set}" = set; then
2620 MKDIR_P="$ac_cv_path_mkdir -p"
2622 # As a last resort, use the slow shell script. Don't cache a
2623 # value for MKDIR_P within a source directory, because that will
2624 # break other packages using the cache if that directory is
2625 # removed, or if the value is a relative name.
2626 MKDIR_P
="$ac_install_sh -d"
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2630 $as_echo "$MKDIR_P" >&6; }
2634 [\\/$
]* | ?
:[\\/]*) ;;
2635 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2638 for ac_prog
in gawk mawk nawk
awk
2640 # Extract the first word of "$ac_prog", so it can be a program name with args.
2641 set dummy
$ac_prog; ac_word
=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_AWK+:} false
; then :
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$AWK"; then
2648 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir
=.
2655 for ac_exec_ext
in '' $ac_executable_extensions; do
2656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_AWK
="$ac_prog"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$AWK"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2670 $as_echo "$AWK" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2677 test -n "$AWK" && break
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2681 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2683 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2684 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2685 $as_echo_n "(cached) " >&6
2687 cat >conftest.
make <<\_ACEOF
2690 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2692 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2695 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2697 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2701 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708 SET_MAKE
="MAKE=${MAKE-make}"
2711 rm -rf .tst
2>/dev
/null
2712 mkdir .tst
2>/dev
/null
2713 if test -d .tst
; then
2718 rmdir .tst
2>/dev
/null
2720 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2721 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2722 # is not polluted with repeated "-I."
2723 am__isrc
=' -I$(srcdir)'
2724 # test to see if srcdir already configured
2725 if test -f $srcdir/config.status
; then
2726 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2730 # test whether we have cygpath
2731 if test -z "$CYGPATH_W"; then
2732 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2733 CYGPATH_W
='cygpath -w'
2740 # Define the identity of the package.
2741 PACKAGE
='liballocwithin'
2745 cat >>confdefs.h
<<_ACEOF
2746 #define PACKAGE "$PACKAGE"
2750 cat >>confdefs.h
<<_ACEOF
2751 #define VERSION "$VERSION"
2754 # Some tools Automake needs.
2756 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2759 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2762 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2765 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2768 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2770 # We need awk for the "check" target. The system "awk" is bad on
2772 # Always define AMTAR for backward compatibility. Yes, it's still used
2773 # in the wild :-( We should find a proper way to deprecate it ...
2776 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2782 ac_config_headers
="$ac_config_headers config.h"
2788 ac_cpp
='$CPP $CPPFLAGS'
2789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2792 if test -n "$ac_tool_prefix"; then
2793 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2794 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_CC+:} false
; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$CC"; then
2801 ac_cv_prog_CC
="$CC" # Let the user override the test.
2803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir
=.
2808 for ac_exec_ext
in '' $ac_executable_extensions; do
2809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$CC"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2823 $as_echo "$CC" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2831 if test -z "$ac_cv_prog_CC"; then
2833 # Extract the first word of "gcc", so it can be a program name with args.
2834 set dummy gcc
; ac_word
=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$ac_ct_CC"; then
2841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir
=.
2848 for ac_exec_ext
in '' $ac_executable_extensions; do
2849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2850 ac_cv_prog_ac_ct_CC
="gcc"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2861 if test -n "$ac_ct_CC"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2863 $as_echo "$ac_ct_CC" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2869 if test "x$ac_ct_CC" = x
; then
2872 case $cross_compiling:$ac_tool_warned in
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2876 ac_tool_warned
=yes ;;
2884 if test -z "$CC"; then
2885 if test -n "$ac_tool_prefix"; then
2886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2887 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if ${ac_cv_prog_CC+:} false
; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$CC"; then
2894 ac_cv_prog_CC
="$CC" # Let the user override the test.
2896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir
=.
2901 for ac_exec_ext
in '' $ac_executable_extensions; do
2902 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 if test -n "$CC"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2916 $as_echo "$CC" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2925 if test -z "$CC"; then
2926 # Extract the first word of "cc", so it can be a program name with args.
2927 set dummy cc
; ac_word
=$2
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929 $as_echo_n "checking for $ac_word... " >&6; }
2930 if ${ac_cv_prog_CC+:} false
; then :
2931 $as_echo_n "(cached) " >&6
2933 if test -n "$CC"; then
2934 ac_cv_prog_CC
="$CC" # Let the user override the test.
2937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2941 test -z "$as_dir" && as_dir
=.
2942 for ac_exec_ext
in '' $ac_executable_extensions; do
2943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2945 ac_prog_rejected
=yes
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test $ac_prog_rejected = yes; then
2957 # We found a bogon in the path, so make sure we never use it.
2958 set dummy
$ac_cv_prog_CC
2960 if test $# != 0; then
2961 # We chose a different compiler from the bogus one.
2962 # However, it has the same basename, so the bogon will be chosen
2963 # first if we set CC to just the basename; use the full file name.
2965 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2971 if test -n "$CC"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2973 $as_echo "$CC" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2981 if test -z "$CC"; then
2982 if test -n "$ac_tool_prefix"; then
2983 for ac_prog
in cl.exe
2985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2986 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if ${ac_cv_prog_CC+:} false
; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC
="$CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3015 $as_echo "$CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3022 test -n "$CC" && break
3025 if test -z "$CC"; then
3027 for ac_prog
in cl.exe
3029 # Extract the first word of "$ac_prog", so it can be a program name with args.
3030 set dummy
$ac_prog; ac_word
=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$ac_ct_CC"; then
3037 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir
=.
3044 for ac_exec_ext
in '' $ac_executable_extensions; do
3045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_ac_ct_CC
="$ac_prog"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3057 if test -n "$ac_ct_CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3059 $as_echo "$ac_ct_CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3066 test -n "$ac_ct_CC" && break
3069 if test "x$ac_ct_CC" = x
; then
3072 case $cross_compiling:$ac_tool_warned in
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3076 ac_tool_warned
=yes ;;
3085 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $?
"no acceptable C compiler found in \$PATH
3088 See \`config.log' for more details" "$LINENO" 5; }
3090 # Provide some information about the compiler.
3091 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3094 for ac_option
in --version -v -V -qversion; do
3095 { { ac_try
="$ac_compiler $ac_option >&5"
3097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3104 if test -s conftest.err; then
3106 ... rest of stderr output deleted ...
3107 10q' conftest.err >conftest.er1
3108 cat conftest.er1 >&5
3110 rm -f conftest.er1 conftest.err
3111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3112 test $ac_status = 0; }
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3126 ac_clean_files_save=$ac_clean_files
3127 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3128 # Try to create an executable without -o first, disregard a.out.
3129 # It will help us diagnose broken compilers, and finding out an intuition
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3132 $as_echo_n "checking whether the C compiler works... " >&6; }
3133 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3135 # The possible output files:
3136 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3139 for ac_file in $ac_files
3142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3143 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3148 if { { ac_try="$ac_link_default"
3150 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3151 *) ac_try_echo
=$ac_try;;
3153 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_link_default") 2>&5
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; }; then :
3159 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3160 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3161 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3162 # so that the user can short-circuit this test for compilers unknown to
3164 for ac_file
in $ac_files ''
3166 test -f "$ac_file" || continue
3168 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3171 # We found the default executable, but exeext='' is most
3175 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3177 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3179 # We set ac_cv_exeext here because the later test for it is not
3180 # safe: cross compilers may not add the suffix if given an `-o'
3181 # argument, so we may need to know it at that point already.
3182 # Even if this section looks crufty: it has the advantage of
3189 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3194 if test -z "$ac_file"; then :
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3197 $as_echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3202 as_fn_error
77 "C compiler cannot create executables
3203 See \`config.log' for more details" "$LINENO" 5; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3209 $as_echo_n "checking for C compiler default output file name... " >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3211 $as_echo "$ac_file" >&6; }
3212 ac_exeext
=$ac_cv_exeext
3214 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3215 ac_clean_files
=$ac_clean_files_save
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3217 $as_echo_n "checking for suffix of executables... " >&6; }
3218 if { { ac_try
="$ac_link"
3220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3224 $as_echo "$ac_try_echo"; } >&5
3225 (eval "$ac_link") 2>&5
3227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3228 test $ac_status = 0; }; then :
3229 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3230 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3231 # work properly (i.e., refer to `conftest.exe'), while it won't with
3233 for ac_file
in conftest.exe conftest conftest.
*; do
3234 test -f "$ac_file" || continue
3236 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3237 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3246 See \`config.log' for more details" "$LINENO" 5; }
3248 rm -f conftest conftest
$ac_cv_exeext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3250 $as_echo "$ac_cv_exeext" >&6; }
3252 rm -f conftest.
$ac_ext
3253 EXEEXT
=$ac_cv_exeext
3255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3261 FILE *f = fopen ("conftest.out", "w");
3262 return ferror (f) || fclose (f) != 0;
3268 ac_clean_files
="$ac_clean_files conftest.out"
3269 # Check that the compiler produces executables we can run. If not, either
3270 # the compiler is broken, or we cross compile.
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3272 $as_echo_n "checking whether we are cross compiling... " >&6; }
3273 if test "$cross_compiling" != yes; then
3274 { { ac_try
="$ac_link"
3276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
3281 (eval "$ac_link") 2>&5
3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284 test $ac_status = 0; }
3285 if { ac_try='./conftest$ac_cv_exeext'
3286 { { case "(($ac_try" in
3287 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3288 *) ac_try_echo
=$ac_try;;
3290 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3291 $as_echo "$ac_try_echo"; } >&5
3292 (eval "$ac_try") 2>&5
3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295 test $ac_status = 0; }; }; then
3298 if test "$cross_compiling" = maybe
; then
3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error $?
"cannot run C compiled programs.
3304 If you meant to cross compile, use \`--host'.
3305 See \`config.log' for more details" "$LINENO" 5; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3310 $as_echo "$cross_compiling" >&6; }
3312 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3313 ac_clean_files
=$ac_clean_files_save
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3315 $as_echo_n "checking for suffix of object files... " >&6; }
3316 if ${ac_cv_objext+:} false
; then :
3317 $as_echo_n "(cached) " >&6
3319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 rm -f conftest.o conftest.obj
3331 if { { ac_try
="$ac_compile"
3333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338 (eval "$ac_compile") 2>&5
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }; then :
3342 for ac_file in conftest.o conftest.obj conftest.*; do
3343 test -f "$ac_file" || continue;
3345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3346 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3351 $as_echo "$as_me: failed program was:" >&5
3352 sed 's/^/| /' conftest.$ac_ext >&5
3354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3357 See \
`config.log' for more details" "$LINENO" 5; }
3359 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3362 $as_echo "$ac_cv_objext" >&6; }
3363 OBJEXT=$ac_cv_objext
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3366 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3367 if ${ac_cv_c_compiler_gnu+:} false; then :
3368 $as_echo_n "(cached) " >&6
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3384 if ac_fn_c_try_compile "$LINENO"; then :
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3394 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3395 if test $ac_compiler_gnu = yes; then
3400 ac_test_CFLAGS=${CFLAGS+set}
3401 ac_save_CFLAGS=$CFLAGS
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3403 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3404 if ${ac_cv_prog_cc_g+:} false; then :
3405 $as_echo_n "(cached) " >&6
3407 ac_save_c_werror_flag=$ac_c_werror_flag
3408 ac_c_werror_flag=yes
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h. */
3422 if ac_fn_c_try_compile "$LINENO"; then :
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3437 if ac_fn_c_try_compile "$LINENO"; then :
3440 ac_c_werror_flag=$ac_save_c_werror_flag
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 ac_c_werror_flag=$ac_save_c_werror_flag
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3464 $as_echo "$ac_cv_prog_cc_g" >&6; }
3465 if test "$ac_test_CFLAGS" = set; then
3466 CFLAGS=$ac_save_CFLAGS
3467 elif test $ac_cv_prog_cc_g = yes; then
3468 if test "$GCC" = yes; then
3474 if test "$GCC" = yes; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3481 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3482 if ${ac_cv_prog_cc_c89+:} false; then :
3483 $as_echo_n "(cached) " >&6
3485 ac_cv_prog_cc_c89=no
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3492 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3493 struct buf { int x; };
3494 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3495 static char *e (p, i)
3501 static char *f (char * (*g) (char **, int), char **p, ...)
3506 s = g (p, va_arg (v,int));
3511 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3512 function prototypes and stuff, but not '\xHH' hex character constants.
3513 These don't provoke an error unfortunately, instead are silently treated
3514 as 'x'. The following induces an error, until -std is added to get
3515 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3516 array size at least. It's necessary to write '\x00'==0 to get something
3517 that's true only with -std. */
3518 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3520 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3521 inside strings and character constants. */
3523 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3525 int test (int i, double x);
3526 struct s1 {int (*f) (int a);};
3527 struct s2 {int (*f) (double a);};
3528 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3534 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3539 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3540 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3542 CC="$ac_save_CC $ac_arg"
3543 if ac_fn_c_try_compile "$LINENO"; then :
3544 ac_cv_prog_cc_c89=$ac_arg
3546 rm -f core conftest.err conftest.$ac_objext
3547 test "x$ac_cv_prog_cc_c89" != "xno" && break
3549 rm -f conftest.$ac_ext
3554 case "x$ac_cv_prog_cc_c89" in
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3557 $as_echo "none needed" >&6; } ;;
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3560 $as_echo "unsupported" >&6; } ;;
3562 CC="$CC $ac_cv_prog_cc_c89"
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3564 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3566 if test "x$ac_cv_prog_cc_c89" != xno; then :
3571 ac_cpp='$CPP $CPPFLAGS'
3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575 DEPDIR="${am__leading_dot}deps"
3577 ac_config_commands="$ac_config_commands depfiles"
3580 am_make=${MAKE-make}
3581 cat > confinc << 'END'
3583 @echo this is the am__doit target
3586 # If we don't find an include directive, just comment out the code.
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3588 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3592 # First try GNU make style include.
3593 echo "include confinc" > confmf
3594 # Ignore all kinds of additional output from 'make'.
3595 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3596 *the\ am__doit\ target*)
3602 # Now try BSD make style include.
3603 if test "$am__include" = "#"; then
3604 echo '.include "confinc"' > confmf
3605 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3606 *the\ am__doit\ target*)
3607 am__include=.include
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3616 $as_echo "$_am_result" >&6; }
3617 rm -f confinc confmf
3619 # Check whether --enable-dependency-tracking was given.
3620 if test "${enable_dependency_tracking+set}" = set; then :
3621 enableval=$enable_dependency_tracking;
3624 if test "x$enable_dependency_tracking" != xno; then
3625 am_depcomp="$ac_aux_dir/depcomp"
3629 if test "x$enable_dependency_tracking" != xno; then
3639 depcc="$CC" am_compiler_list=
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3642 $as_echo_n "checking dependency style of $depcc... " >&6; }
3643 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3644 $as_echo_n "(cached) " >&6
3646 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3647 # We make a subdir and do the tests there. Otherwise we can end up
3648 # making bogus files that we don't know about and never remove. For
3649 # instance it was reported that on HP-UX the gcc test will end up
3650 # making a dummy file named 'D' -- because '-MD' means "put the output
3654 # Copy depcomp to subdir because otherwise we won't find it if we're
3655 # using a relative directory.
3656 cp "$am_depcomp" conftest.dir
3658 # We will build objects and dependencies in a subdirectory because
3659 # it helps to detect inapplicable dependency modes. For instance
3660 # both Tru64's cc and ICC support -MD to output dependencies as a
3661 # side effect of compilation, but ICC will put the dependencies in
3662 # the current directory while Tru64 will put them in the object
3666 am_cv_CC_dependencies_compiler_type=none
3667 if test "$am_compiler_list" = ""; then
3668 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3671 case " $depcc " in #(
3672 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3675 for depmode in $am_compiler_list; do
3676 # Setup a source with many dependencies, because some compilers
3677 # like to wrap large dependency lists on column 80 (with \), and
3678 # we should not choose a depcomp mode which is confused by this.
3680 # We need to recreate these files for each test, as the compiler may
3681 # overwrite some of them when testing with obscure command lines.
3682 # This happens at least with the AIX C compiler.
3684 for i in 1 2 3 4 5 6; do
3685 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3686 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3687 # Solaris 10 /bin/sh.
3688 echo '/* dummy */' > sub/conftst$i.h
3690 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3692 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3693 # mode. It turns out that the SunPro C++ compiler does not properly
3694 # handle '-M -o', and we need to detect this. Also, some Intel
3695 # versions had trouble with output in subdirs.
3696 am__obj=sub/conftest.${OBJEXT-o}
3697 am__minus_obj="-o $am__obj"
3700 # This depmode causes a compiler race in universal mode.
3701 test "$am__universal" = false || continue
3704 # After this tag, mechanisms are not by side-effect, so they'll
3705 # only be used when explicitly requested.
3706 if test "x$enable_dependency_tracking" = xyes; then
3712 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3713 # This compiler won't grok '-c -o', but also, the minuso test has
3714 # not run yet. These depmodes are late enough in the game, and
3715 # so weak that their functioning should not be impacted.
3716 am__obj=conftest.${OBJEXT-o}
3721 if depmode=$depmode \
3722 source=sub/conftest.c object=$am__obj \
3723 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3724 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3725 >/dev/null 2>conftest.err &&
3726 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3727 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3728 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3729 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3730 # icc doesn't choke on unknown options, it will just issue warnings
3731 # or remarks (even with -Werror). So we grep stderr for any message
3732 # that says an option was ignored or not supported.
3733 # When given -MP, icc 7.0 and 7.1 complain thusly:
3734 # icc: Command line warning: ignoring option '-M'; no argument required
3735 # The diagnosis changed in icc 8.0:
3736 # icc: Command line remark: option '-MP' not supported
3737 if (grep 'ignoring option' conftest.err ||
3738 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3739 am_cv_CC_dependencies_compiler_type=$depmode
3748 am_cv_CC_dependencies_compiler_type=none
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3753 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3754 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3757 test "x$enable_dependency_tracking" != xno \
3758 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3760 am__fastdepCC_FALSE='#'
3762 am__fastdepCC_TRUE='#'
3763 am__fastdepCC_FALSE=
3767 if test "x$CC" != xcc; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3769 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3772 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3774 set dummy $CC; ac_cc=`$as_echo "$2" |
3775 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3776 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3777 $as_echo_n "(cached) " >&6
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 # Make sure it works both with $CC and with simple cc.
3791 # We do the test twice because some compilers refuse to overwrite an
3792 # existing .o file with -o, though they will create one.
3793 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3795 if { { case "(($ac_try" in
3796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3797 *) ac_try_echo
=$ac_try;;
3799 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3800 $as_echo "$ac_try_echo"; } >&5
3801 (eval "$ac_try") 2>&5
3803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804 test $ac_status = 0; } &&
3805 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
3806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_try") 2>&5
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; };
3816 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3817 if test "x$CC" != xcc; then
3818 # Test first that cc exists at all.
3819 if { ac_try='cc -c conftest.$ac_ext >&5'
3820 { { case "(($ac_try" in
3821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3822 *) ac_try_echo
=$ac_try;;
3824 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_try") 2>&5
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }; }; then
3830 ac_try
='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3832 if { { case "(($ac_try" in
3833 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838 (eval "$ac_try") 2>&5
3840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3841 test $ac_status = 0; } &&
3842 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3844 *) ac_try_echo
=$ac_try;;
3846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_try") 2>&5
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; };
3856 # cc exists but doesn't like -o.
3857 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3862 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
3864 rm -f core conftest
*
3867 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3869 $as_echo "yes" >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3874 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3878 # FIXME: we rely on the cache variable name because
3879 # there is no other way.
3881 am_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3882 eval am_t
=\
$ac_cv_prog_cc_${am_cc}_c_o
3883 if test "$am_t" != yes; then
3884 # Losing compiler, so override with the script.
3885 # FIXME: It is wrong to rewrite CC.
3886 # But if we don't then we get into trouble of one sort or another.
3887 # A longer-term fix would be to have automake use am__CC in this case,
3888 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3889 CC
="$am_aux_dir/compile $CC"
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3895 $as_echo_n "checking whether ln -s works... " >&6; }
3897 if test "$LN_S" = "ln -s"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3899 $as_echo "yes" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3902 $as_echo "no, using $LN_S" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3908 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3914 macro_revision
='1.3293'
3928 ltmain
="$ac_aux_dir/ltmain.sh"
3930 # Make sure we can run config.sub.
3931 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3932 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3935 $as_echo_n "checking build system type... " >&6; }
3936 if ${ac_cv_build+:} false
; then :
3937 $as_echo_n "(cached) " >&6
3939 ac_build_alias
=$build_alias
3940 test "x$ac_build_alias" = x
&&
3941 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3942 test "x$ac_build_alias" = x
&&
3943 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3944 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3945 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3949 $as_echo "$ac_cv_build" >&6; }
3950 case $ac_cv_build in
3952 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3955 ac_save_IFS
=$IFS; IFS
='-'
3961 # Remember, the first character of IFS is used to create $*,
3962 # except with old shells:
3965 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3969 $as_echo_n "checking host system type... " >&6; }
3970 if ${ac_cv_host+:} false
; then :
3971 $as_echo_n "(cached) " >&6
3973 if test "x$host_alias" = x
; then
3974 ac_cv_host
=$ac_cv_build
3976 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3977 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3982 $as_echo "$ac_cv_host" >&6; }
3985 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3988 ac_save_IFS
=$IFS; IFS
='-'
3994 # Remember, the first character of IFS is used to create $*,
3995 # except with old shells:
3998 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4001 # Backslashify metacharacters that are still active within
4002 # double-quoted strings.
4003 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4005 # Same as above, but do not quote variable references.
4006 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4008 # Sed substitution to delay expansion of an escaped shell variable in a
4009 # double_quote_subst'ed string.
4010 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4012 # Sed substitution to delay expansion of an escaped single quote.
4013 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4015 # Sed substitution to avoid accidental globbing in evaled expressions
4016 no_glob_subst
='s/\*/\\\*/g'
4018 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4019 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4020 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4023 $as_echo_n "checking how to print strings... " >&6; }
4024 # Test print first, because it will be a builtin if present.
4025 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4026 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4028 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4031 # Use this function as a fallback that always works.
4032 func_fallback_echo ()
4034 eval 'cat <<_LTECHO_EOF
4038 ECHO='func_fallback_echo
'
4041 # func_echo_all arg...
4042 # Invoke $ECHO with all args, space-separated.
4049 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4050 $as_echo "printf" >&6; } ;;
4051 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4052 $as_echo "print -r" >&6; } ;;
4053 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4054 $as_echo "cat" >&6; } ;;
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4071 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4072 if ${ac_cv_path_SED+:} false; then :
4073 $as_echo_n "(cached) " >&6
4075 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4076 for ac_i in 1 2 3 4 5 6 7; do
4077 ac_script="$ac_script$as_nl$ac_script"
4079 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4080 { ac_script=; unset ac_script;}
4081 if test -z "$SED"; then
4082 ac_path_SED_found=false
4083 # Loop through the user's path and
test for each of PROGNAME
-LIST
4084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4088 test -z "$as_dir" && as_dir
=.
4089 for ac_prog
in sed gsed
; do
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4092 as_fn_executable_p
"$ac_path_SED" || continue
4093 # Check for GNU ac_path_SED and select it if it is found.
4094 # Check for GNU $ac_path_SED
4095 case `"$ac_path_SED" --version 2>&1` in
4097 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4100 $as_echo_n 0123456789 >"conftest.in"
4103 cat "conftest.in" "conftest.in" >"conftest.tmp"
4104 mv "conftest.tmp" "conftest.in"
4105 cp "conftest.in" "conftest.nl"
4106 $as_echo '' >> "conftest.nl"
4107 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4108 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4109 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4110 if test $ac_count -gt ${ac_path_SED_max-0}; then
4111 # Best one so far, save it but keep looking for a better one
4112 ac_cv_path_SED
="$ac_path_SED"
4113 ac_path_SED_max
=$ac_count
4115 # 10*(2^10) chars as input seems more than enough
4116 test $ac_count -gt 10 && break
4118 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4121 $ac_path_SED_found && break 3
4126 if test -z "$ac_cv_path_SED"; then
4127 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4135 $as_echo "$ac_cv_path_SED" >&6; }
4136 SED
="$ac_cv_path_SED"
4139 test -z "$SED" && SED
=sed
4140 Xsed
="$SED -e 1s/^X//"
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4153 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4154 if ${ac_cv_path_GREP+:} false
; then :
4155 $as_echo_n "(cached) " >&6
4157 if test -z "$GREP"; then
4158 ac_path_GREP_found
=false
4159 # Loop through the user's path and test for each of PROGNAME-LIST
4160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4161 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4164 test -z "$as_dir" && as_dir
=.
4165 for ac_prog
in grep ggrep
; do
4166 for ac_exec_ext
in '' $ac_executable_extensions; do
4167 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4168 as_fn_executable_p
"$ac_path_GREP" || continue
4169 # Check for GNU ac_path_GREP and select it if it is found.
4170 # Check for GNU $ac_path_GREP
4171 case `"$ac_path_GREP" --version 2>&1` in
4173 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4176 $as_echo_n 0123456789 >"conftest.in"
4179 cat "conftest.in" "conftest.in" >"conftest.tmp"
4180 mv "conftest.tmp" "conftest.in"
4181 cp "conftest.in" "conftest.nl"
4182 $as_echo 'GREP' >> "conftest.nl"
4183 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4184 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4185 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4186 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4187 # Best one so far, save it but keep looking for a better one
4188 ac_cv_path_GREP
="$ac_path_GREP"
4189 ac_path_GREP_max
=$ac_count
4191 # 10*(2^10) chars as input seems more than enough
4192 test $ac_count -gt 10 && break
4194 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4197 $ac_path_GREP_found && break 3
4202 if test -z "$ac_cv_path_GREP"; then
4203 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4206 ac_cv_path_GREP
=$GREP
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4211 $as_echo "$ac_cv_path_GREP" >&6; }
4212 GREP
="$ac_cv_path_GREP"
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4216 $as_echo_n "checking for egrep... " >&6; }
4217 if ${ac_cv_path_EGREP+:} false
; then :
4218 $as_echo_n "(cached) " >&6
4220 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4221 then ac_cv_path_EGREP
="$GREP -E"
4223 if test -z "$EGREP"; then
4224 ac_path_EGREP_found
=false
4225 # Loop through the user's path and test for each of PROGNAME-LIST
4226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4227 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4230 test -z "$as_dir" && as_dir
=.
4231 for ac_prog
in egrep; do
4232 for ac_exec_ext
in '' $ac_executable_extensions; do
4233 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4234 as_fn_executable_p
"$ac_path_EGREP" || continue
4235 # Check for GNU ac_path_EGREP and select it if it is found.
4236 # Check for GNU $ac_path_EGREP
4237 case `"$ac_path_EGREP" --version 2>&1` in
4239 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4242 $as_echo_n 0123456789 >"conftest.in"
4245 cat "conftest.in" "conftest.in" >"conftest.tmp"
4246 mv "conftest.tmp" "conftest.in"
4247 cp "conftest.in" "conftest.nl"
4248 $as_echo 'EGREP' >> "conftest.nl"
4249 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4250 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4251 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4252 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4253 # Best one so far, save it but keep looking for a better one
4254 ac_cv_path_EGREP
="$ac_path_EGREP"
4255 ac_path_EGREP_max
=$ac_count
4257 # 10*(2^10) chars as input seems more than enough
4258 test $ac_count -gt 10 && break
4260 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4263 $ac_path_EGREP_found && break 3
4268 if test -z "$ac_cv_path_EGREP"; then
4269 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4272 ac_cv_path_EGREP
=$EGREP
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4278 $as_echo "$ac_cv_path_EGREP" >&6; }
4279 EGREP
="$ac_cv_path_EGREP"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4283 $as_echo_n "checking for fgrep... " >&6; }
4284 if ${ac_cv_path_FGREP+:} false
; then :
4285 $as_echo_n "(cached) " >&6
4287 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
4288 then ac_cv_path_FGREP
="$GREP -F"
4290 if test -z "$FGREP"; then
4291 ac_path_FGREP_found
=false
4292 # Loop through the user's path and test for each of PROGNAME-LIST
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_prog
in fgrep
; do
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4301 as_fn_executable_p
"$ac_path_FGREP" || continue
4302 # Check for GNU ac_path_FGREP and select it if it is found.
4303 # Check for GNU $ac_path_FGREP
4304 case `"$ac_path_FGREP" --version 2>&1` in
4306 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4309 $as_echo_n 0123456789 >"conftest.in"
4312 cat "conftest.in" "conftest.in" >"conftest.tmp"
4313 mv "conftest.tmp" "conftest.in"
4314 cp "conftest.in" "conftest.nl"
4315 $as_echo 'FGREP' >> "conftest.nl"
4316 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4318 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4319 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4320 # Best one so far, save it but keep looking for a better one
4321 ac_cv_path_FGREP
="$ac_path_FGREP"
4322 ac_path_FGREP_max
=$ac_count
4324 # 10*(2^10) chars as input seems more than enough
4325 test $ac_count -gt 10 && break
4327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4330 $ac_path_FGREP_found && break 3
4335 if test -z "$ac_cv_path_FGREP"; then
4336 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4339 ac_cv_path_FGREP
=$FGREP
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4345 $as_echo "$ac_cv_path_FGREP" >&6; }
4346 FGREP
="$ac_cv_path_FGREP"
4349 test -z "$GREP" && GREP
=grep
4369 # Check whether --with-gnu-ld was given.
4370 if test "${with_gnu_ld+set}" = set; then :
4371 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
4377 if test "$GCC" = yes; then
4378 # Check if gcc -print-prog-name=ld gives a path.
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4380 $as_echo_n "checking for ld used by $CC... " >&6; }
4383 # gcc leaves a trailing carriage return which upsets mingw
4384 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4386 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4389 # Accept absolute paths.
4391 re_direlt
='/[^/][^/]*/\.\./'
4392 # Canonicalize the pathname of ld
4393 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4394 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
4395 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4397 test -z "$LD" && LD
="$ac_prog"
4400 # If it fails, then pretend we aren't using GCC.
4404 # If it is relative, then search for the first ld in PATH.
4408 elif test "$with_gnu_ld" = yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4410 $as_echo_n "checking for GNU ld... " >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4413 $as_echo_n "checking for non-GNU ld... " >&6; }
4415 if ${lt_cv_path_LD+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -z "$LD"; then
4419 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4420 for ac_dir
in $PATH; do
4422 test -z "$ac_dir" && ac_dir
=.
4423 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4424 lt_cv_path_LD
="$ac_dir/$ac_prog"
4425 # Check to see if the program is GNU ld. I'd rather use --version,
4426 # but apparently some variants of GNU ld only accept -v.
4427 # Break only if it was the GNU/non-GNU ld that we prefer.
4428 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4429 *GNU
* | *'with BFD'*)
4430 test "$with_gnu_ld" != no
&& break
4433 test "$with_gnu_ld" != yes && break
4440 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4445 if test -n "$LD"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4447 $as_echo "$LD" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4452 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4455 if ${lt_cv_prog_gnu_ld+:} false
; then :
4456 $as_echo_n "(cached) " >&6
4458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4459 case `$LD -v 2>&1 </dev/null` in
4460 *GNU
* | *'with BFD'*)
4461 lt_cv_prog_gnu_ld
=yes
4464 lt_cv_prog_gnu_ld
=no
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4470 with_gnu_ld
=$lt_cv_prog_gnu_ld
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4481 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4482 if ${lt_cv_path_NM+:} false
; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$NM"; then
4486 # Let the user override the test.
4489 lt_nm_to_check
="${ac_tool_prefix}nm"
4490 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4491 lt_nm_to_check
="$lt_nm_to_check nm"
4493 for lt_tmp_nm
in $lt_nm_to_check; do
4494 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4495 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4497 test -z "$ac_dir" && ac_dir
=.
4498 tmp_nm
="$ac_dir/$lt_tmp_nm"
4499 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4500 # Check to see if the nm accepts a BSD-compat flag.
4501 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4502 # nm: unknown option "B" ignored
4503 # Tru64's nm complains that /dev/null is an invalid object file
4504 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4505 */dev
/null
* | *'Invalid file or object type'*)
4506 lt_cv_path_NM
="$tmp_nm -B"
4510 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4512 lt_cv_path_NM
="$tmp_nm -p"
4516 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4517 continue # so that we can try to find one that supports BSD flags
4526 : ${lt_cv_path_NM=no}
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4530 $as_echo "$lt_cv_path_NM" >&6; }
4531 if test "$lt_cv_path_NM" != "no"; then
4534 # Didn't find any BSD compatible name lister, look for dumpbin.
4535 if test -n "$DUMPBIN"; then :
4536 # Let the user override the test.
4538 if test -n "$ac_tool_prefix"; then
4539 for ac_prog
in dumpbin
"link -dump"
4541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4542 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4546 $as_echo_n "(cached) " >&6
4548 if test -n "$DUMPBIN"; then
4549 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4555 test -z "$as_dir" && as_dir
=.
4556 for ac_exec_ext
in '' $ac_executable_extensions; do
4557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4558 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 DUMPBIN
=$ac_cv_prog_DUMPBIN
4569 if test -n "$DUMPBIN"; then
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4571 $as_echo "$DUMPBIN" >&6; }
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4574 $as_echo "no" >&6; }
4578 test -n "$DUMPBIN" && break
4581 if test -z "$DUMPBIN"; then
4582 ac_ct_DUMPBIN
=$DUMPBIN
4583 for ac_prog
in dumpbin
"link -dump"
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy
$ac_prog; ac_word
=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4590 $as_echo_n "(cached) " >&6
4592 if test -n "$ac_ct_DUMPBIN"; then
4593 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4599 test -z "$as_dir" && as_dir
=.
4600 for ac_exec_ext
in '' $ac_executable_extensions; do
4601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4613 if test -n "$ac_ct_DUMPBIN"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4615 $as_echo "$ac_ct_DUMPBIN" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4622 test -n "$ac_ct_DUMPBIN" && break
4625 if test "x$ac_ct_DUMPBIN" = x
; then
4628 case $cross_compiling:$ac_tool_warned in
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned
=yes ;;
4634 DUMPBIN
=$ac_ct_DUMPBIN
4638 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4640 DUMPBIN
="$DUMPBIN -symbols"
4648 if test "$DUMPBIN" != ":"; then
4652 test -z "$NM" && NM
=nm
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4660 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4661 if ${lt_cv_nm_interface+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 lt_cv_nm_interface
="BSD nm"
4665 echo "int some_variable = 0;" > conftest.
$ac_ext
4666 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4667 (eval "$ac_compile" 2>conftest.err
)
4668 cat conftest.err
>&5
4669 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4670 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4671 cat conftest.err
>&5
4672 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4673 cat conftest.out
>&5
4674 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4675 lt_cv_nm_interface
="MS dumpbin"
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4680 $as_echo "$lt_cv_nm_interface" >&6; }
4682 # find the maximum length of command line arguments
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4684 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4685 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4686 $as_echo_n "(cached) " >&6
4693 # On DJGPP, this test can blow up pretty badly due to problems in libc
4694 # (any single argument exceeding 2000 bytes causes a buffer overrun
4695 # during glob expansion). Even if it were fixed, the result of this
4696 # check would be larger than it should be.
4697 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4701 # Under GNU Hurd, this test is not required because there is
4702 # no limit to the length of command line arguments.
4703 # Libtool will interpret -1 as no limit whatsoever
4704 lt_cv_sys_max_cmd_len
=-1;
4707 cygwin
* | mingw
* | cegcc
*)
4708 # On Win9x/ME, this test blows up -- it succeeds, but takes
4709 # about 5 minutes as the teststring grows exponentially.
4710 # Worse, since 9x/ME are not pre-emptively multitasking,
4711 # you end up with a "frozen" computer, even though with patience
4712 # the test eventually succeeds (with a max line length of 256k).
4713 # Instead, let's just punt: use the minimum linelength reported by
4714 # all of the supported platforms: 8192 (on NT/2K/XP).
4715 lt_cv_sys_max_cmd_len
=8192;
4719 # On MiNT this can take a long time and run out of memory.
4720 lt_cv_sys_max_cmd_len
=8192;
4724 # On AmigaOS with pdksh, this test takes hours, literally.
4725 # So we just punt and use a minimum line length of 8192.
4726 lt_cv_sys_max_cmd_len
=8192;
4729 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4730 # This has been around since 386BSD, at least. Likely further.
4731 if test -x /sbin
/sysctl
; then
4732 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4733 elif test -x /usr
/sbin
/sysctl
; then
4734 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4736 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4738 # And add a safety zone
4739 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4740 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4744 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4745 lt_cv_sys_max_cmd_len
=196608
4749 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4750 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4751 # nice to cause kernel panics so lets avoid the loop below.
4752 # First set a reasonable default.
4753 lt_cv_sys_max_cmd_len
=16384
4755 if test -x /sbin
/sysconfig
; then
4756 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4757 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4762 lt_cv_sys_max_cmd_len
=102400
4764 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4765 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4766 if test -n "$kargmax"; then
4767 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4769 lt_cv_sys_max_cmd_len
=32768
4773 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4774 if test -n "$lt_cv_sys_max_cmd_len"; then
4775 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4776 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4778 # Make teststring a little bigger before we do anything with it.
4779 # a 1K string should be a reasonable start.
4780 for i
in 1 2 3 4 5 6 7 8 ; do
4781 teststring
=$teststring$teststring
4783 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4784 # If test is not a shell built-in, we'll probably end up computing a
4785 # maximum length that is only half of the actual maximum length, but
4787 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4788 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4789 test $i != 17 # 1/2 MB should be enough
4792 teststring
=$teststring$teststring
4794 # Only check the string length outside the loop.
4795 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4797 # Add a significant safety factor because C++ compilers can tack on
4798 # massive amounts of additional arguments before passing them to the
4799 # linker. It appears as though 1/2 is a usable value.
4800 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4807 if test -n $lt_cv_sys_max_cmd_len ; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4809 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4812 $as_echo "none" >&6; }
4814 max_cmd_len
=$lt_cv_sys_max_cmd_len
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4826 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4827 # Try some XSI features
4830 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4832 && eval 'test $(( 1 + 1 )) -eq 2 \
4833 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4836 $as_echo "$xsi_shell" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4840 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4842 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4844 && lt_shell_append
=yes
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4846 $as_echo "$lt_shell_append" >&6; }
4849 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4859 # test EBCDIC or ASCII
4860 case `echo X|tr X '\101'` in
4861 A
) # ASCII based system
4862 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4863 lt_SP2NL
='tr \040 \012'
4864 lt_NL2SP
='tr \015\012 \040\040'
4866 *) # EBCDIC based system
4867 lt_SP2NL
='tr \100 \n'
4868 lt_NL2SP
='tr \r\n \100\100'
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4881 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4882 if ${lt_cv_to_host_file_cmd+:} false
; then :
4883 $as_echo_n "(cached) " >&6
4888 *-*-mingw* ) # actually msys
4889 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4892 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4894 * ) # otherwise, assume *nix
4895 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4901 *-*-mingw* ) # actually msys
4902 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4905 lt_cv_to_host_file_cmd
=func_convert_file_noop
4907 * ) # otherwise, assume *nix
4908 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4912 * ) # unhandled hosts (and "normal" native builds)
4913 lt_cv_to_host_file_cmd
=func_convert_file_noop
4919 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4921 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4928 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4929 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4932 #assume ordinary cross tools, or native build.
4933 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4937 *-*-mingw* ) # actually msys
4938 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4946 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4948 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4955 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4956 if ${lt_cv_ld_reload_flag+:} false
; then :
4957 $as_echo_n "(cached) " >&6
4959 lt_cv_ld_reload_flag
='-r'
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4962 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4963 reload_flag
=$lt_cv_ld_reload_flag
4964 case $reload_flag in
4966 *) reload_flag
=" $reload_flag" ;;
4968 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4970 cygwin
* | mingw
* | pw32
* | cegcc
*)
4971 if test "$GCC" != yes; then
4976 if test "$GCC" = yes; then
4977 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4979 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4992 if test -n "$ac_tool_prefix"; then
4993 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4994 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4998 $as_echo_n "(cached) " >&6
5000 if test -n "$OBJDUMP"; then
5001 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir
=.
5008 for ac_exec_ext
in '' $ac_executable_extensions; do
5009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5010 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 OBJDUMP
=$ac_cv_prog_OBJDUMP
5021 if test -n "$OBJDUMP"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5023 $as_echo "$OBJDUMP" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5031 if test -z "$ac_cv_prog_OBJDUMP"; then
5032 ac_ct_OBJDUMP
=$OBJDUMP
5033 # Extract the first word of "objdump", so it can be a program name with args.
5034 set dummy objdump
; ac_word
=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5038 $as_echo_n "(cached) " >&6
5040 if test -n "$ac_ct_OBJDUMP"; then
5041 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir
=.
5048 for ac_exec_ext
in '' $ac_executable_extensions; do
5049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5061 if test -n "$ac_ct_OBJDUMP"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5063 $as_echo "$ac_ct_OBJDUMP" >&6; }
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5069 if test "x$ac_ct_OBJDUMP" = x
; then
5072 case $cross_compiling:$ac_tool_warned in
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5076 ac_tool_warned
=yes ;;
5078 OBJDUMP
=$ac_ct_OBJDUMP
5081 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5084 test -z "$OBJDUMP" && OBJDUMP
=objdump
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5095 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5096 if ${lt_cv_deplibs_check_method+:} false
; then :
5097 $as_echo_n "(cached) " >&6
5099 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5100 lt_cv_file_magic_test_file
=
5101 lt_cv_deplibs_check_method
='unknown'
5102 # Need to set the preceding variable on all platforms that support
5103 # interlibrary dependencies.
5104 # 'none' -- dependencies not supported.
5105 # `unknown' -- same as none, but documents that we really don't know.
5106 # 'pass_all' -- all dependencies passed with no checks.
5107 # 'test_compile' -- check by making test program.
5108 # 'file_magic [[regex]]' -- check by looking for files in library path
5109 # which responds to the $file_magic_cmd with a given extended regex.
5110 # If you have `file' or equivalent on your system and you're not sure
5111 # whether `pass_all' will *always* work, you probably want this one.
5115 lt_cv_deplibs_check_method
=pass_all
5119 lt_cv_deplibs_check_method
=pass_all
5123 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5124 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5125 lt_cv_file_magic_test_file
=/shlib
/libc.so
5129 # func_win32_libid is a shell function defined in ltmain.sh
5130 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5131 lt_cv_file_magic_cmd
='func_win32_libid'
5135 # Base MSYS/MinGW do not provide the 'file' command needed by
5136 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5137 # unless we find 'file', for example because we are cross-compiling.
5138 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5139 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5140 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5141 lt_cv_file_magic_cmd
='func_win32_libid'
5143 # Keep this pattern in sync with the one in func_win32_libid.
5144 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5145 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5150 # use the weaker test based on 'objdump'. See mingw*.
5151 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5152 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5155 darwin
* | rhapsody
*)
5156 lt_cv_deplibs_check_method
=pass_all
5159 freebsd
* | dragonfly
*)
5160 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5163 # Not sure whether the presence of OpenBSD here was a mistake.
5164 # Let's accept both of them until this is cleared up.
5165 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5166 lt_cv_file_magic_cmd
=/usr
/bin
/file
5167 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5171 lt_cv_deplibs_check_method
=pass_all
5176 lt_cv_deplibs_check_method
=pass_all
5180 lt_cv_deplibs_check_method
=pass_all
5183 hpux10.20
* | hpux11
*)
5184 lt_cv_file_magic_cmd
=/usr
/bin
/file
5187 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5188 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5191 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]'
5192 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5195 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5196 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5202 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5203 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5206 irix5
* | irix6
* | nonstopux
*)
5208 *-32|*"-32 ") libmagic
=32-bit;;
5209 *-n32|*"-n32 ") libmagic
=N32
;;
5210 *-64|*"-64 ") libmagic
=64-bit;;
5211 *) libmagic
=never
-match;;
5213 lt_cv_deplibs_check_method
=pass_all
5216 # This must be Linux ELF.
5217 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5218 lt_cv_deplibs_check_method
=pass_all
5222 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5223 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5225 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5230 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5231 lt_cv_file_magic_cmd
=/usr
/bin
/file
5232 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5236 lt_cv_deplibs_check_method
=pass_all
5240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5241 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5243 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5247 osf3
* | osf4
* | osf5
*)
5248 lt_cv_deplibs_check_method
=pass_all
5252 lt_cv_deplibs_check_method
=pass_all
5256 lt_cv_deplibs_check_method
=pass_all
5259 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5260 lt_cv_deplibs_check_method
=pass_all
5264 case $host_vendor in
5266 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]'
5267 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5270 lt_cv_deplibs_check_method
=pass_all
5273 lt_cv_file_magic_cmd
='/bin/file'
5274 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5277 lt_cv_file_magic_cmd
='/bin/file'
5278 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5279 lt_cv_file_magic_test_file
=/lib
/libc.so
5282 lt_cv_deplibs_check_method
=pass_all
5285 lt_cv_deplibs_check_method
=pass_all
5291 lt_cv_deplibs_check_method
=pass_all
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5297 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5301 if test "$build" = "$host"; then
5304 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
5307 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5313 file_magic_cmd
=$lt_cv_file_magic_cmd
5314 deplibs_check_method
=$lt_cv_deplibs_check_method
5315 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5338 if test -n "$ac_tool_prefix"; then
5339 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5340 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$DLLTOOL"; then
5347 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 DLLTOOL
=$ac_cv_prog_DLLTOOL
5367 if test -n "$DLLTOOL"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5369 $as_echo "$DLLTOOL" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5377 if test -z "$ac_cv_prog_DLLTOOL"; then
5378 ac_ct_DLLTOOL
=$DLLTOOL
5379 # Extract the first word of "dlltool", so it can be a program name with args.
5380 set dummy dlltool
; ac_word
=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5384 $as_echo_n "(cached) " >&6
5386 if test -n "$ac_ct_DLLTOOL"; then
5387 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir
=.
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5407 if test -n "$ac_ct_DLLTOOL"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5409 $as_echo "$ac_ct_DLLTOOL" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5415 if test "x$ac_ct_DLLTOOL" = x
; then
5418 case $cross_compiling:$ac_tool_warned in
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5422 ac_tool_warned
=yes ;;
5424 DLLTOOL
=$ac_ct_DLLTOOL
5427 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5430 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5442 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5443 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5444 $as_echo_n "(cached) " >&6
5446 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5449 cygwin
* | mingw
* | pw32
* | cegcc
*)
5450 # two different shell functions defined in ltmain.sh
5451 # decide which to use based on capabilities of $DLLTOOL
5452 case `$DLLTOOL --help 2>&1` in
5453 *--identify-strict*)
5454 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5457 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5462 # fallback: assume linklib IS sharedlib
5463 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5469 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5470 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5471 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5480 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5484 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_AR+:} false
; then :
5488 $as_echo_n "(cached) " >&6
5490 if test -n "$AR"; then
5491 ac_cv_prog_AR
="$AR" # Let the user override the test.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 if test -n "$AR"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5513 $as_echo "$AR" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5520 test -n "$AR" && break
5523 if test -z "$AR"; then
5527 # Extract the first word of "$ac_prog", so it can be a program name with args.
5528 set dummy
$ac_prog; ac_word
=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$ac_ct_AR"; then
5535 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir
=.
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_ac_ct_AR
="$ac_prog"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5555 if test -n "$ac_ct_AR"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5557 $as_echo "$ac_ct_AR" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5564 test -n "$ac_ct_AR" && break
5567 if test "x$ac_ct_AR" = x
; then
5570 case $cross_compiling:$ac_tool_warned in
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5574 ac_tool_warned
=yes ;;
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5594 $as_echo_n "checking for archiver @FILE support... " >&6; }
5595 if ${lt_cv_ar_at_file+:} false
; then :
5596 $as_echo_n "(cached) " >&6
5599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5610 if ac_fn_c_try_compile
"$LINENO"; then :
5611 echo conftest.
$ac_objext > conftest.lst
5612 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5614 (eval $lt_ar_try) 2>&5
5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5617 test $ac_status = 0; }
5618 if test "$ac_status" -eq 0; then
5619 # Ensure the archiver fails upon bogus file names.
5620 rm -f conftest.
$ac_objext libconftest.a
5621 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5622 (eval $lt_ar_try) 2>&5
5624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5625 test $ac_status = 0; }
5626 if test "$ac_status" -ne 0; then
5630 rm -f conftest.
* libconftest.a
5633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5637 $as_echo "$lt_cv_ar_at_file" >&6; }
5639 if test "x$lt_cv_ar_at_file" = xno
; then
5642 archiver_list_spec
=$lt_cv_ar_at_file
5651 if test -n "$ac_tool_prefix"; then
5652 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5653 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if ${ac_cv_prog_STRIP+:} false
; then :
5657 $as_echo_n "(cached) " >&6
5659 if test -n "$STRIP"; then
5660 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir
=.
5667 for ac_exec_ext
in '' $ac_executable_extensions; do
5668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 STRIP
=$ac_cv_prog_STRIP
5680 if test -n "$STRIP"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5682 $as_echo "$STRIP" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5690 if test -z "$ac_cv_prog_STRIP"; then
5692 # Extract the first word of "strip", so it can be a program name with args.
5693 set dummy strip
; ac_word
=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$ac_ct_STRIP"; then
5700 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir
=.
5707 for ac_exec_ext
in '' $ac_executable_extensions; do
5708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_ac_ct_STRIP
="strip"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5720 if test -n "$ac_ct_STRIP"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5722 $as_echo "$ac_ct_STRIP" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5728 if test "x$ac_ct_STRIP" = x
; then
5731 case $cross_compiling:$ac_tool_warned in
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5735 ac_tool_warned
=yes ;;
5740 STRIP
="$ac_cv_prog_STRIP"
5743 test -z "$STRIP" && STRIP
=:
5750 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5752 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_RANLIB+:} false
; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$RANLIB"; then
5759 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir
=.
5766 for ac_exec_ext
in '' $ac_executable_extensions; do
5767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 RANLIB
=$ac_cv_prog_RANLIB
5779 if test -n "$RANLIB"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5781 $as_echo "$RANLIB" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5789 if test -z "$ac_cv_prog_RANLIB"; then
5790 ac_ct_RANLIB
=$RANLIB
5791 # Extract the first word of "ranlib", so it can be a program name with args.
5792 set dummy ranlib
; ac_word
=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5796 $as_echo_n "(cached) " >&6
5798 if test -n "$ac_ct_RANLIB"; then
5799 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir
=.
5806 for ac_exec_ext
in '' $ac_executable_extensions; do
5807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5808 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5819 if test -n "$ac_ct_RANLIB"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5821 $as_echo "$ac_ct_RANLIB" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5827 if test "x$ac_ct_RANLIB" = x
; then
5830 case $cross_compiling:$ac_tool_warned in
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5834 ac_tool_warned
=yes ;;
5836 RANLIB
=$ac_ct_RANLIB
5839 RANLIB
="$ac_cv_prog_RANLIB"
5842 test -z "$RANLIB" && RANLIB
=:
5849 # Determine commands to create old-style static archives.
5850 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5851 old_postinstall_cmds
='chmod 644 $oldlib'
5852 old_postuninstall_cmds
=
5854 if test -n "$RANLIB"; then
5857 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5860 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5863 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5868 lock_old_archive_extraction
=yes ;;
5870 lock_old_archive_extraction
=no
;;
5911 # If no C compiler was specified, use CC.
5914 # If no C compiler flags were specified, use CFLAGS.
5915 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5917 # Allow CC to be a program name with arguments.
5921 # Check for command to grab the raw symbol name followed by C symbol from nm.
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5923 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5924 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5925 $as_echo_n "(cached) " >&6
5928 # These are sane defaults that work on at least a few old systems.
5929 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5931 # Character class describing NM global symbol codes.
5932 symcode
='[BCDEGRST]'
5934 # Regexp to match symbols that can be accessed directly from C.
5935 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5937 # Define system-specific variables.
5942 cygwin
* | mingw
* | pw32
* | cegcc
*)
5943 symcode
='[ABCDGISTW]'
5946 if test "$host_cpu" = ia64
; then
5947 symcode
='[ABCDEGRST]'
5951 symcode
='[BCDEGRST]'
5954 symcode
='[BCDEGQRST]'
5965 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5973 # If we're using GNU nm, then use its standard symbol codes.
5974 case `$NM -V 2>&1` in
5975 *GNU
* | *'with BFD'*)
5976 symcode
='[ABCDGIRSTW]' ;;
5979 # Transform an extracted symbol line into a proper C declaration.
5980 # Some systems (esp. on ia64) link data and code symbols differently,
5981 # so use this general approach.
5982 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5984 # Transform an extracted symbol line into symbol name and symbol address
5985 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5986 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'"
5988 # Handle CRLF in mingw tool chain
5992 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5996 # Try without a prefix underscore, then with it.
5997 for ac_symprfx
in "" "_"; do
5999 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6000 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6002 # Write the raw and C identifiers.
6003 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6004 # Fake it for dumpbin and say T for any non-static function
6005 # and D for any global variable.
6006 # Also find C++ and __fastcall symbols from MSVC++,
6007 # which start with @ or ?.
6008 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6009 " {last_section=section; section=\$ 3};"\
6010 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6011 " \$ 0!~/External *\|/{next};"\
6012 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6013 " {if(hide[section]) next};"\
6014 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6015 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6016 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6017 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6018 " ' prfx=^$ac_symprfx"
6020 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6022 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6024 # Check to see that the pipe works correctly.
6028 cat > conftest.
$ac_ext <<_LT_EOF
6033 void nm_test_func(void);
6034 void nm_test_func(void){}
6038 int main(){nm_test_var='a';nm_test_func();return(0);}
6041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6042 (eval $ac_compile) 2>&5
6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6045 test $ac_status = 0; }; then
6046 # Now try to grab the symbols.
6048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6049 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6052 test $ac_status = 0; } && test -s "$nlist"; then
6053 # Try sorting and uniquifying the output.
6054 if sort "$nlist" | uniq > "$nlist"T
; then
6055 mv -f "$nlist"T
"$nlist"
6060 # Make sure that we snagged all the symbols we need.
6061 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6062 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6063 cat <<_LT_EOF > conftest.$ac_ext
6064 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6065 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6066 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6067 relocations are performed -- see ld's documentation on pseudo-relocs. */
6068 # define LT_DLSYM_CONST
6069 #elif defined(__osf__)
6070 /* This system does not cope well with relocations in const data. */
6071 # define LT_DLSYM_CONST
6073 # define LT_DLSYM_CONST const
6081 # Now generate the symbol file.
6082 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6084 cat <<_LT_EOF >> conftest.$ac_ext
6086 /* The mapping between symbol names and symbols. */
6087 LT_DLSYM_CONST struct {
6091 lt__PROGRAM__LTX_preloaded_symbols[] =
6093 { "@PROGRAM@", (void *) 0 },
6095 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
6096 cat <<\_LT_EOF
>> conftest.
$ac_ext
6100 /* This works around a problem
in FreeBSD linker
*/
6101 #ifdef FREEBSD_WORKAROUND
6102 static const void
*lt_preloaded_setup
() {
6103 return lt__PROGRAM__LTX_preloaded_symbols
;
6111 # Now try linking the two files.
6112 mv conftest.
$ac_objext conftstm.
$ac_objext
6113 lt_globsym_save_LIBS
=$LIBS
6114 lt_globsym_save_CFLAGS
=$CFLAGS
6115 LIBS
="conftstm.$ac_objext"
6116 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6118 (eval $ac_link) 2>&5
6120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6121 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6124 LIBS
=$lt_globsym_save_LIBS
6125 CFLAGS
=$lt_globsym_save_CFLAGS
6127 echo "cannot find nm_test_func in $nlist" >&5
6130 echo "cannot find nm_test_var in $nlist" >&5
6133 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6136 echo "$progname: failed program was:" >&5
6137 cat conftest.
$ac_ext >&5
6139 rm -rf conftest
* conftst
*
6141 # Do not use the global_symbol_pipe unless it works.
6142 if test "$pipe_works" = yes; then
6145 lt_cv_sys_global_symbol_pipe
=
6151 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6152 lt_cv_sys_global_symbol_to_cdecl
=
6154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6156 $as_echo "failed" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6159 $as_echo "ok" >&6; }
6162 # Response file support.
6163 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6164 nm_file_list_spec
='@'
6165 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
6166 nm_file_list_spec
='@'
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6196 $as_echo_n "checking for sysroot... " >&6; }
6198 # Check whether --with-sysroot was given.
6199 if test "${with_sysroot+set}" = set; then :
6200 withval
=$with_sysroot;
6207 case ${with_sysroot} in #(
6209 if test "$GCC" = yes; then
6210 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6214 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6220 $as_echo "${with_sysroot}" >&6; }
6221 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6226 $as_echo "${lt_sysroot:-no}" >&6; }
6232 # Check whether --enable-libtool-lock was given.
6233 if test "${enable_libtool_lock+set}" = set; then :
6234 enableval
=$enable_libtool_lock;
6237 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6239 # Some flags need to be propagated to the compiler or linker for good
6243 # Find out which ABI we are using.
6244 echo 'int i;' > conftest.
$ac_ext
6245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6246 (eval $ac_compile) 2>&5
6248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6249 test $ac_status = 0; }; then
6250 case `/usr/bin/file conftest.$ac_objext` in
6262 # Find out which ABI we are using.
6263 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6265 (eval $ac_compile) 2>&5
6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6268 test $ac_status = 0; }; then
6269 if test "$lt_cv_prog_gnu_ld" = yes; then
6270 case `/usr/bin/file conftest.$ac_objext` in
6272 LD
="${LD-ld} -melf32bsmip"
6275 LD
="${LD-ld} -melf32bmipn32"
6278 LD
="${LD-ld} -melf64bmip"
6282 case `/usr/bin/file conftest.$ac_objext` in
6298 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6299 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6300 # Find out which ABI we are using.
6301 echo 'int i;' > conftest.
$ac_ext
6302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6303 (eval $ac_compile) 2>&5
6305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6306 test $ac_status = 0; }; then
6307 case `/usr/bin/file conftest.o` in
6310 x86_64
-*kfreebsd
*-gnu)
6311 LD
="${LD-ld} -m elf_i386_fbsd"
6314 LD
="${LD-ld} -m elf_i386"
6316 ppc64
-*linux
*|powerpc64
-*linux
*)
6317 LD
="${LD-ld} -m elf32ppclinux"
6320 LD
="${LD-ld} -m elf_s390"
6323 LD
="${LD-ld} -m elf32_sparc"
6329 x86_64
-*kfreebsd
*-gnu)
6330 LD
="${LD-ld} -m elf_x86_64_fbsd"
6333 LD
="${LD-ld} -m elf_x86_64"
6335 ppc
*-*linux
*|powerpc
*-*linux
*)
6336 LD
="${LD-ld} -m elf64ppc"
6338 s390
*-*linux
*|s390
*-*tpf
*)
6339 LD
="${LD-ld} -m elf64_s390"
6342 LD
="${LD-ld} -m elf64_sparc"
6352 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6353 SAVE_CFLAGS
="$CFLAGS"
6354 CFLAGS
="$CFLAGS -belf"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6356 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6357 if ${lt_cv_cc_needs_belf+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6361 ac_cpp
='$CPP $CPPFLAGS'
6362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6377 if ac_fn_c_try_link
"$LINENO"; then :
6378 lt_cv_cc_needs_belf
=yes
6380 lt_cv_cc_needs_belf
=no
6382 rm -f core conftest.err conftest.
$ac_objext \
6383 conftest
$ac_exeext conftest.
$ac_ext
6385 ac_cpp
='$CPP $CPPFLAGS'
6386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6392 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6393 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6394 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6395 CFLAGS
="$SAVE_CFLAGS"
6399 # Find out which ABI we are using.
6400 echo 'int i;' > conftest.
$ac_ext
6401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6402 (eval $ac_compile) 2>&5
6404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6405 test $ac_status = 0; }; then
6406 case `/usr/bin/file conftest.o` in
6408 case $lt_cv_prog_gnu_ld in
6409 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6411 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6423 need_locks
="$enable_libtool_lock"
6425 if test -n "$ac_tool_prefix"; then
6426 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6427 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6431 $as_echo_n "(cached) " >&6
6433 if test -n "$MANIFEST_TOOL"; then
6434 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir
=.
6441 for ac_exec_ext
in '' $ac_executable_extensions; do
6442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6454 if test -n "$MANIFEST_TOOL"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6456 $as_echo "$MANIFEST_TOOL" >&6; }
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6464 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6465 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6466 # Extract the first word of "mt", so it can be a program name with args.
6467 set dummy mt
; ac_word
=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6471 $as_echo_n "(cached) " >&6
6473 if test -n "$ac_ct_MANIFEST_TOOL"; then
6474 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6480 test -z "$as_dir" && as_dir
=.
6481 for ac_exec_ext
in '' $ac_executable_extensions; do
6482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6493 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6494 if test -n "$ac_ct_MANIFEST_TOOL"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6496 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6502 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6505 case $cross_compiling:$ac_tool_warned in
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6509 ac_tool_warned
=yes ;;
6511 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6514 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6517 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6519 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6520 if ${lt_cv_path_mainfest_tool+:} false
; then :
6521 $as_echo_n "(cached) " >&6
6523 lt_cv_path_mainfest_tool
=no
6524 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6525 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6526 cat conftest.err
>&5
6527 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6528 lt_cv_path_mainfest_tool
=yes
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6533 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6534 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6544 rhapsody
* | darwin
*)
6545 if test -n "$ac_tool_prefix"; then
6546 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6547 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6551 $as_echo_n "(cached) " >&6
6553 if test -n "$DSYMUTIL"; then
6554 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir
=.
6561 for ac_exec_ext
in '' $ac_executable_extensions; do
6562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6563 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6574 if test -n "$DSYMUTIL"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6576 $as_echo "$DSYMUTIL" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6584 if test -z "$ac_cv_prog_DSYMUTIL"; then
6585 ac_ct_DSYMUTIL
=$DSYMUTIL
6586 # Extract the first word of "dsymutil", so it can be a program name with args.
6587 set dummy dsymutil
; ac_word
=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6591 $as_echo_n "(cached) " >&6
6593 if test -n "$ac_ct_DSYMUTIL"; then
6594 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6600 test -z "$as_dir" && as_dir
=.
6601 for ac_exec_ext
in '' $ac_executable_extensions; do
6602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6614 if test -n "$ac_ct_DSYMUTIL"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6616 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6622 if test "x$ac_ct_DSYMUTIL" = x
; then
6625 case $cross_compiling:$ac_tool_warned in
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned
=yes ;;
6631 DSYMUTIL
=$ac_ct_DSYMUTIL
6634 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6637 if test -n "$ac_tool_prefix"; then
6638 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6639 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_prog_NMEDIT+:} false
; then :
6643 $as_echo_n "(cached) " >&6
6645 if test -n "$NMEDIT"; then
6646 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir
=.
6653 for ac_exec_ext
in '' $ac_executable_extensions; do
6654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6655 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 NMEDIT
=$ac_cv_prog_NMEDIT
6666 if test -n "$NMEDIT"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6668 $as_echo "$NMEDIT" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6676 if test -z "$ac_cv_prog_NMEDIT"; then
6677 ac_ct_NMEDIT
=$NMEDIT
6678 # Extract the first word of "nmedit", so it can be a program name with args.
6679 set dummy nmedit
; ac_word
=$2
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6681 $as_echo_n "checking for $ac_word... " >&6; }
6682 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6683 $as_echo_n "(cached) " >&6
6685 if test -n "$ac_ct_NMEDIT"; then
6686 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir
=.
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6706 if test -n "$ac_ct_NMEDIT"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6708 $as_echo "$ac_ct_NMEDIT" >&6; }
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 $as_echo "no" >&6; }
6714 if test "x$ac_ct_NMEDIT" = x
; then
6717 case $cross_compiling:$ac_tool_warned in
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6721 ac_tool_warned
=yes ;;
6723 NMEDIT
=$ac_ct_NMEDIT
6726 NMEDIT
="$ac_cv_prog_NMEDIT"
6729 if test -n "$ac_tool_prefix"; then
6730 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6731 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 $as_echo_n "checking for $ac_word... " >&6; }
6734 if ${ac_cv_prog_LIPO+:} false
; then :
6735 $as_echo_n "(cached) " >&6
6737 if test -n "$LIPO"; then
6738 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir
=.
6745 for ac_exec_ext
in '' $ac_executable_extensions; do
6746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757 LIPO
=$ac_cv_prog_LIPO
6758 if test -n "$LIPO"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6760 $as_echo "$LIPO" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 $as_echo "no" >&6; }
6768 if test -z "$ac_cv_prog_LIPO"; then
6770 # Extract the first word of "lipo", so it can be a program name with args.
6771 set dummy lipo
; ac_word
=$2
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773 $as_echo_n "checking for $ac_word... " >&6; }
6774 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6775 $as_echo_n "(cached) " >&6
6777 if test -n "$ac_ct_LIPO"; then
6778 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir
=.
6785 for ac_exec_ext
in '' $ac_executable_extensions; do
6786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_ac_ct_LIPO
="lipo"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6798 if test -n "$ac_ct_LIPO"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6800 $as_echo "$ac_ct_LIPO" >&6; }
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 $as_echo "no" >&6; }
6806 if test "x$ac_ct_LIPO" = x
; then
6809 case $cross_compiling:$ac_tool_warned in
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6813 ac_tool_warned
=yes ;;
6818 LIPO
="$ac_cv_prog_LIPO"
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6823 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825 $as_echo_n "checking for $ac_word... " >&6; }
6826 if ${ac_cv_prog_OTOOL+:} false
; then :
6827 $as_echo_n "(cached) " >&6
6829 if test -n "$OTOOL"; then
6830 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir
=.
6837 for ac_exec_ext
in '' $ac_executable_extensions; do
6838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6839 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6849 OTOOL
=$ac_cv_prog_OTOOL
6850 if test -n "$OTOOL"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6852 $as_echo "$OTOOL" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855 $as_echo "no" >&6; }
6860 if test -z "$ac_cv_prog_OTOOL"; then
6862 # Extract the first word of "otool", so it can be a program name with args.
6863 set dummy otool
; ac_word
=$2
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865 $as_echo_n "checking for $ac_word... " >&6; }
6866 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6867 $as_echo_n "(cached) " >&6
6869 if test -n "$ac_ct_OTOOL"; then
6870 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir
=.
6877 for ac_exec_ext
in '' $ac_executable_extensions; do
6878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6879 ac_cv_prog_ac_ct_OTOOL
="otool"
6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6890 if test -n "$ac_ct_OTOOL"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6892 $as_echo "$ac_ct_OTOOL" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895 $as_echo "no" >&6; }
6898 if test "x$ac_ct_OTOOL" = x
; then
6901 case $cross_compiling:$ac_tool_warned in
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6905 ac_tool_warned
=yes ;;
6910 OTOOL
="$ac_cv_prog_OTOOL"
6913 if test -n "$ac_tool_prefix"; then
6914 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6915 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917 $as_echo_n "checking for $ac_word... " >&6; }
6918 if ${ac_cv_prog_OTOOL64+:} false
; then :
6919 $as_echo_n "(cached) " >&6
6921 if test -n "$OTOOL64"; then
6922 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6928 test -z "$as_dir" && as_dir
=.
6929 for ac_exec_ext
in '' $ac_executable_extensions; do
6930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6931 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6941 OTOOL64
=$ac_cv_prog_OTOOL64
6942 if test -n "$OTOOL64"; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6944 $as_echo "$OTOOL64" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6947 $as_echo "no" >&6; }
6952 if test -z "$ac_cv_prog_OTOOL64"; then
6953 ac_ct_OTOOL64
=$OTOOL64
6954 # Extract the first word of "otool64", so it can be a program name with args.
6955 set dummy otool64
; ac_word
=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957 $as_echo_n "checking for $ac_word... " >&6; }
6958 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6959 $as_echo_n "(cached) " >&6
6961 if test -n "$ac_ct_OTOOL64"; then
6962 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6968 test -z "$as_dir" && as_dir
=.
6969 for ac_exec_ext
in '' $ac_executable_extensions; do
6970 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6971 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6982 if test -n "$ac_ct_OTOOL64"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6984 $as_echo "$ac_ct_OTOOL64" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 $as_echo "no" >&6; }
6990 if test "x$ac_ct_OTOOL64" = x
; then
6993 case $cross_compiling:$ac_tool_warned in
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6997 ac_tool_warned
=yes ;;
6999 OTOOL64
=$ac_ct_OTOOL64
7002 OTOOL64
="$ac_cv_prog_OTOOL64"
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7032 $as_echo_n "checking for -single_module linker flag... " >&6; }
7033 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7034 $as_echo_n "(cached) " >&6
7036 lt_cv_apple_cc_single_mod
=no
7037 if test -z "${LT_MULTI_MODULE}"; then
7038 # By default we will add the -single_module flag. You can override
7039 # by either setting the environment variable LT_MULTI_MODULE
7040 # non-empty at configure time, or by adding -multi_module to the
7042 rm -rf libconftest.dylib
*
7043 echo "int foo(void){return 1;}" > conftest.c
7044 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7045 -dynamiclib -Wl,-single_module conftest.c" >&5
7046 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7047 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7049 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7050 lt_cv_apple_cc_single_mod
=yes
7052 cat conftest.err
>&5
7054 rm -rf libconftest.dylib
*
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7059 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7061 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7062 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7063 $as_echo_n "(cached) " >&6
7065 lt_cv_ld_exported_symbols_list
=no
7066 save_LDFLAGS
=$LDFLAGS
7067 echo "_main" > conftest.sym
7068 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7070 /* end confdefs.h. */
7080 if ac_fn_c_try_link
"$LINENO"; then :
7081 lt_cv_ld_exported_symbols_list
=yes
7083 lt_cv_ld_exported_symbols_list
=no
7085 rm -f core conftest.err conftest.
$ac_objext \
7086 conftest
$ac_exeext conftest.
$ac_ext
7087 LDFLAGS
="$save_LDFLAGS"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7091 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7093 $as_echo_n "checking for -force_load linker flag... " >&6; }
7094 if ${lt_cv_ld_force_load+:} false
; then :
7095 $as_echo_n "(cached) " >&6
7097 lt_cv_ld_force_load
=no
7098 cat > conftest.c
<< _LT_EOF
7099 int forced_loaded() { return 2;}
7101 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7102 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7103 echo "$AR cru libconftest.a conftest.o" >&5
7104 $AR cru libconftest.a conftest.o
2>&5
7105 echo "$RANLIB libconftest.a" >&5
7106 $RANLIB libconftest.a
2>&5
7107 cat > conftest.c
<< _LT_EOF
7108 int main() { return 0;}
7110 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7111 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7113 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7114 lt_cv_ld_force_load
=yes
7116 cat conftest.err
>&5
7118 rm -f conftest.err libconftest.a conftest conftest.c
7119 rm -rf conftest.dSYM
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7123 $as_echo "$lt_cv_ld_force_load" >&6; }
7125 rhapsody
* | darwin1.
[012])
7126 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7128 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7129 darwin
*) # darwin 5.x on
7130 # if running on 10.5 or later, the deployment target defaults
7131 # to the OS version, if on x86, and 10.4, the deployment
7132 # target defaults to 10.4. Don't you love it?
7133 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7134 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7135 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7137 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7139 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7143 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7144 _lt_dar_single_mod
='$single_module'
7146 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7147 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7149 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7151 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7152 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7160 ac_cpp
='$CPP $CPPFLAGS'
7161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7166 # On Suns, sometimes $CPP names a directory.
7167 if test -n "$CPP" && test -d "$CPP"; then
7170 if test -z "$CPP"; then
7171 if ${ac_cv_prog_CPP+:} false
; then :
7172 $as_echo_n "(cached) " >&6
7174 # Double quotes because CPP needs to be expanded
7175 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7178 for ac_c_preproc_warn_flag
in '' yes
7180 # Use a header file that comes with gcc, so configuring glibc
7181 # with a fresh cross-compiler works.
7182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7183 # <limits.h> exists even on freestanding compilers.
7184 # On the NeXT, cc -E runs the code through the compiler's parser,
7185 # not just through cpp. "Syntax error" is here to catch this case.
7186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7189 # include <limits.h>
7191 # include <assert.h>
7195 if ac_fn_c_try_cpp
"$LINENO"; then :
7198 # Broken: fails on valid input.
7201 rm -f conftest.err conftest.i conftest.
$ac_ext
7203 # OK, works on sane cases. Now check whether nonexistent headers
7204 # can be detected and how.
7205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7207 #include <ac_nonexistent.h>
7209 if ac_fn_c_try_cpp
"$LINENO"; then :
7210 # Broken: success on invalid input.
7213 # Passes both tests.
7217 rm -f conftest.err conftest.i conftest.
$ac_ext
7220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7221 rm -f conftest.i conftest.err conftest.
$ac_ext
7222 if $ac_preproc_ok; then :
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7235 $as_echo "$CPP" >&6; }
7237 for ac_c_preproc_warn_flag
in '' yes
7239 # Use a header file that comes with gcc, so configuring glibc
7240 # with a fresh cross-compiler works.
7241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7242 # <limits.h> exists even on freestanding compilers.
7243 # On the NeXT, cc -E runs the code through the compiler's parser,
7244 # not just through cpp. "Syntax error" is here to catch this case.
7245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7248 # include <limits.h>
7250 # include <assert.h>
7254 if ac_fn_c_try_cpp
"$LINENO"; then :
7257 # Broken: fails on valid input.
7260 rm -f conftest.err conftest.i conftest.
$ac_ext
7262 # OK, works on sane cases. Now check whether nonexistent headers
7263 # can be detected and how.
7264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <ac_nonexistent.h>
7268 if ac_fn_c_try_cpp
"$LINENO"; then :
7269 # Broken: success on invalid input.
7272 # Passes both tests.
7276 rm -f conftest.err conftest.i conftest.
$ac_ext
7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7280 rm -f conftest.i conftest.err conftest.
$ac_ext
7281 if $ac_preproc_ok; then :
7284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7286 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7287 See \`config.log' for more details" "$LINENO" 5; }
7291 ac_cpp
='$CPP $CPPFLAGS'
7292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7298 $as_echo_n "checking for ANSI C header files... " >&6; }
7299 if ${ac_cv_header_stdc+:} false
; then :
7300 $as_echo_n "(cached) " >&6
7302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7317 if ac_fn_c_try_compile
"$LINENO"; then :
7318 ac_cv_header_stdc
=yes
7320 ac_cv_header_stdc
=no
7322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7324 if test $ac_cv_header_stdc = yes; then
7325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h. */
7331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7332 $EGREP "memchr" >/dev
/null
2>&1; then :
7335 ac_cv_header_stdc
=no
7341 if test $ac_cv_header_stdc = yes; then
7342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7349 $EGREP "free" >/dev
/null
2>&1; then :
7352 ac_cv_header_stdc
=no
7358 if test $ac_cv_header_stdc = yes; then
7359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7360 if test "$cross_compiling" = yes; then :
7363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7367 #if ((' ' & 0x0FF) == 0x020)
7368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7371 # define ISLOWER(c) \
7372 (('a' <= (c) && (c) <= 'i') \
7373 || ('j' <= (c) && (c) <= 'r') \
7374 || ('s' <= (c) && (c) <= 'z'))
7375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7383 for (i = 0; i < 256; i++)
7384 if (XOR (islower (i), ISLOWER (i))
7385 || toupper (i) != TOUPPER (i))
7390 if ac_fn_c_try_run
"$LINENO"; then :
7393 ac_cv_header_stdc
=no
7395 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7396 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7402 $as_echo "$ac_cv_header_stdc" >&6; }
7403 if test $ac_cv_header_stdc = yes; then
7405 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7410 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7411 inttypes.h stdint.h unistd.h
7413 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7414 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7416 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7417 cat >>confdefs.h
<<_ACEOF
7418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 for ac_header
in dlfcn.h
7428 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7430 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7431 cat >>confdefs.h
<<_ACEOF
7432 #define HAVE_DLFCN_H 1
7453 # Check whether --enable-shared was given.
7454 if test "${enable_shared+set}" = set; then :
7455 enableval
=$enable_shared; p
=${PACKAGE-default}
7457 yes) enable_shared
=yes ;;
7458 no
) enable_shared
=no
;;
7461 # Look at the argument we got. We use all the common list separators.
7462 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7463 for pkg
in $enableval; do
7465 if test "X$pkg" = "X$p"; then
7484 # Check whether --enable-static was given.
7485 if test "${enable_static+set}" = set; then :
7486 enableval
=$enable_static; p
=${PACKAGE-default}
7488 yes) enable_static
=yes ;;
7489 no
) enable_static
=no
;;
7492 # Look at the argument we got. We use all the common list separators.
7493 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7494 for pkg
in $enableval; do
7496 if test "X$pkg" = "X$p"; then
7516 # Check whether --with-pic was given.
7517 if test "${with_pic+set}" = set; then :
7518 withval
=$with_pic; pic_mode
="$withval"
7524 test -z "$pic_mode" && pic_mode
=default
7532 # Check whether --enable-fast-install was given.
7533 if test "${enable_fast_install+set}" = set; then :
7534 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7536 yes) enable_fast_install
=yes ;;
7537 no
) enable_fast_install
=no
;;
7539 enable_fast_install
=no
7540 # Look at the argument we got. We use all the common list separators.
7541 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7542 for pkg
in $enableval; do
7544 if test "X$pkg" = "X$p"; then
7545 enable_fast_install
=yes
7552 enable_fast_install
=yes
7565 # This can be used to rebuild libtool when needed
7566 LIBTOOL_DEPS
="$ltmain"
7568 # Always use our own libtool.
7569 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7596 test -z "$LN_S" && LN_S
="ln -s"
7611 if test -n "${ZSH_VERSION+set}" ; then
7612 setopt NO_GLOB_SUBST
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7616 $as_echo_n "checking for objdir... " >&6; }
7617 if ${lt_cv_objdir+:} false
; then :
7618 $as_echo_n "(cached) " >&6
7620 rm -f .libs
2>/dev
/null
7621 mkdir .libs
2>/dev
/null
7622 if test -d .libs
; then
7625 # MS-DOS does not allow filenames that begin with a dot.
7628 rmdir .libs
2>/dev
/null
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7631 $as_echo "$lt_cv_objdir" >&6; }
7632 objdir
=$lt_cv_objdir
7638 cat >>confdefs.h
<<_ACEOF
7639 #define LT_OBJDIR "$lt_cv_objdir/"
7647 # AIX sometimes has problems with the GCC collect2 program. For some
7648 # reason, if we set the COLLECT_NAMES environment variable, the problems
7649 # vanish in a puff of smoke.
7650 if test "X${COLLECT_NAMES+set}" != Xset
; then
7652 export COLLECT_NAMES
7659 can_build_shared
=yes
7661 # All known linkers require a `.a' archive for static linking (except MSVC,
7662 # which needs '.lib').
7665 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7668 old_CFLAGS
="$CFLAGS"
7670 # Set sane defaults for various variables
7671 test -z "$CC" && CC
=cc
7672 test -z "$LTCC" && LTCC
=$CC
7673 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7674 test -z "$LD" && LD
=ld
7675 test -z "$ac_objext" && ac_objext
=o
7677 for cc_temp
in $compiler""; do
7679 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7680 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7685 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7688 # Only perform the check for file, if the check method requires it
7689 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7690 case $deplibs_check_method in
7692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7694 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7695 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7696 $as_echo_n "(cached) " >&6
7700 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7703 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7704 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7705 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7706 for ac_dir
in $ac_dummy; do
7708 test -z "$ac_dir" && ac_dir
=.
7709 if test -f $ac_dir/${ac_tool_prefix}file; then
7710 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7711 if test -n "$file_magic_test_file"; then
7712 case $deplibs_check_method in
7714 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7715 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7716 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7717 $EGREP "$file_magic_regex" > /dev
/null
; then
7722 *** Warning: the command libtool uses to detect shared libraries,
7723 *** $file_magic_cmd, produces output that libtool cannot recognize.
7724 *** The result is that libtool may fail to recognize shared libraries
7725 *** as such. This will affect the creation of libtool libraries that
7726 *** depend on shared libraries, but programs linked with such libtool
7727 *** libraries will work regardless of this problem. Nevertheless, you
7728 *** may want to report the problem to your system manager and/or to
7729 *** bug-libtool@gnu.org
7739 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7744 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7745 if test -n "$MAGIC_CMD"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7747 $as_echo "$MAGIC_CMD" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7757 if test -z "$lt_cv_path_MAGIC_CMD"; then
7758 if test -n "$ac_tool_prefix"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7760 $as_echo_n "checking for file... " >&6; }
7761 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7762 $as_echo_n "(cached) " >&6
7766 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7769 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7770 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7771 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7772 for ac_dir
in $ac_dummy; do
7774 test -z "$ac_dir" && ac_dir
=.
7775 if test -f $ac_dir/file; then
7776 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7777 if test -n "$file_magic_test_file"; then
7778 case $deplibs_check_method in
7780 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7781 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7782 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7783 $EGREP "$file_magic_regex" > /dev
/null
; then
7788 *** Warning: the command libtool uses to detect shared libraries,
7789 *** $file_magic_cmd, produces output that libtool cannot recognize.
7790 *** The result is that libtool may fail to recognize shared libraries
7791 *** as such. This will affect the creation of libtool libraries that
7792 *** depend on shared libraries, but programs linked with such libtool
7793 *** libraries will work regardless of this problem. Nevertheless, you
7794 *** may want to report the problem to your system manager and/or to
7795 *** bug-libtool@gnu.org
7805 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7810 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7811 if test -n "$MAGIC_CMD"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7813 $as_echo "$MAGIC_CMD" >&6; }
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7829 # Use C for the default configuration in the libtool script
7833 ac_cpp
='$CPP $CPPFLAGS'
7834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7839 # Source file extension for C test sources.
7842 # Object file extension for compiled C test sources.
7846 # Code to be used in simple compile tests
7847 lt_simple_compile_test_code
="int some_variable = 0;"
7849 # Code to be used in simple link tests
7850 lt_simple_link_test_code
='int main(){return(0);}'
7858 # If no C compiler was specified, use CC.
7861 # If no C compiler flags were specified, use CFLAGS.
7862 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7864 # Allow CC to be a program name with arguments.
7867 # Save the default compiler, since it gets overwritten when the other
7868 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7869 compiler_DEFAULT
=$CC
7871 # save warnings/boilerplate of simple test code
7872 ac_outfile
=conftest.
$ac_objext
7873 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7874 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7875 _lt_compiler_boilerplate
=`cat conftest.err`
7878 ac_outfile
=conftest.
$ac_objext
7879 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7880 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7881 _lt_linker_boilerplate
=`cat conftest.err`
7886 ## There is no encapsulation within the following macros, do not change
7887 ## the running order or otherwise move them around unless you know exactly
7888 ## what you are doing...
7889 if test -n "$compiler"; then
7891 lt_prog_compiler_no_builtin_flag
=
7893 if test "$GCC" = yes; then
7894 case $cc_basename in
7896 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7898 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7902 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7903 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7904 $as_echo_n "(cached) " >&6
7906 lt_cv_prog_compiler_rtti_exceptions
=no
7907 ac_outfile
=conftest.
$ac_objext
7908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7909 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7910 # Insert the option either (1) after the last *FLAGS variable, or
7911 # (2) before a word containing "conftest.", or (3) at the end.
7912 # Note that $ac_compile itself does not contain backslashes and begins
7913 # with a dollar sign (not a hyphen), so the echo should work correctly.
7914 # The option is referenced via a variable to avoid confusing sed.
7915 lt_compile
=`echo "$ac_compile" | $SED \
7916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7918 -e 's:$: $lt_compiler_flag:'`
7919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7920 (eval "$lt_compile" 2>conftest.err
)
7922 cat conftest.err
>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 if (exit $ac_status) && test -s "$ac_outfile"; then
7925 # The compiler can only warn and ignore the option if not recognized
7926 # So say no if there are warnings other than the usual output.
7927 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7928 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7929 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7930 lt_cv_prog_compiler_rtti_exceptions
=yes
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7937 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7939 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7940 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7952 lt_prog_compiler_wl
=
7953 lt_prog_compiler_pic
=
7954 lt_prog_compiler_static
=
7957 if test "$GCC" = yes; then
7958 lt_prog_compiler_wl
='-Wl,'
7959 lt_prog_compiler_static
='-static'
7963 # All AIX code is PIC.
7964 if test "$host_cpu" = ia64
; then
7965 # AIX 5 now supports IA64 processor
7966 lt_prog_compiler_static
='-Bstatic'
7973 # see comment about AmigaOS4 .so support
7974 lt_prog_compiler_pic
='-fPIC'
7977 # FIXME: we need at least 68020 code to build shared libraries, but
7978 # adding the `-m68020' flag to GCC prevents building anything better,
7980 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7985 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7986 # PIC is the default for these OSes.
7989 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7990 # This hack is so that the source file can tell whether it is being
7991 # built for inclusion in a dll (and should export symbols for example).
7992 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7993 # (--disable-auto-import) libraries
7994 lt_prog_compiler_pic
='-DDLL_EXPORT'
7997 darwin
* | rhapsody
*)
7998 # PIC is the default on this platform
7999 # Common symbols not allowed in MH_DYLIB files
8000 lt_prog_compiler_pic
='-fno-common'
8004 # PIC is the default for Haiku.
8005 # The "-static" flag exists, but is broken.
8006 lt_prog_compiler_static
=
8010 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8011 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8012 # sets the default TLS model and affects inlining.
8018 lt_prog_compiler_pic
='-fPIC'
8024 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8025 # Instead, we relocate shared libraries at runtime.
8029 # Just because we use GCC doesn't mean we suddenly get shared libraries
8030 # on systems that don't support them.
8031 lt_prog_compiler_can_build_shared
=no
8036 # QNX uses GNU C++, but need to define -shared option too, otherwise
8038 lt_prog_compiler_pic
='-fPIC -shared'
8042 if test -d /usr
/nec
; then
8043 lt_prog_compiler_pic
=-Kconform_pic
8048 lt_prog_compiler_pic
='-fPIC'
8052 case $cc_basename in
8053 nvcc
*) # Cuda Compiler Driver 2.2
8054 lt_prog_compiler_wl
='-Xlinker '
8055 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8059 # PORTME Check for flag to pass linker flags through the system compiler.
8062 lt_prog_compiler_wl
='-Wl,'
8063 if test "$host_cpu" = ia64
; then
8064 # AIX 5 now supports IA64 processor
8065 lt_prog_compiler_static
='-Bstatic'
8067 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8071 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8072 # This hack is so that the source file can tell whether it is being
8073 # built for inclusion in a dll (and should export symbols for example).
8074 lt_prog_compiler_pic
='-DDLL_EXPORT'
8077 hpux9
* | hpux10
* | hpux11
*)
8078 lt_prog_compiler_wl
='-Wl,'
8079 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8086 lt_prog_compiler_pic
='+Z'
8089 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8090 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8093 irix5
* | irix6
* | nonstopux
*)
8094 lt_prog_compiler_wl
='-Wl,'
8095 # PIC (with -KPIC) is the default.
8096 lt_prog_compiler_static
='-non_shared'
8099 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8100 case $cc_basename in
8101 # old Intel for x86_64 which still supported -KPIC.
8103 lt_prog_compiler_wl
='-Wl,'
8104 lt_prog_compiler_pic
='-KPIC'
8105 lt_prog_compiler_static
='-static'
8107 # icc used to be incompatible with GCC.
8108 # ICC 10 doesn't accept -KPIC any more.
8110 lt_prog_compiler_wl
='-Wl,'
8111 lt_prog_compiler_pic
='-fPIC'
8112 lt_prog_compiler_static
='-static'
8114 # Lahey Fortran 8.1.
8116 lt_prog_compiler_wl
='-Wl,'
8117 lt_prog_compiler_pic
='--shared'
8118 lt_prog_compiler_static
='--static'
8121 # NAG Fortran compiler
8122 lt_prog_compiler_wl
='-Wl,-Wl,,'
8123 lt_prog_compiler_pic
='-PIC'
8124 lt_prog_compiler_static
='-Bstatic'
8126 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8127 # Portland Group compilers (*not* the Pentium gcc compiler,
8128 # which looks to be a dead project)
8129 lt_prog_compiler_wl
='-Wl,'
8130 lt_prog_compiler_pic
='-fpic'
8131 lt_prog_compiler_static
='-Bstatic'
8134 lt_prog_compiler_wl
='-Wl,'
8135 # All Alpha code is PIC.
8136 lt_prog_compiler_static
='-non_shared'
8138 xl
* | bgxl
* | bgf
* | mpixl
*)
8139 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8140 lt_prog_compiler_wl
='-Wl,'
8141 lt_prog_compiler_pic
='-qpic'
8142 lt_prog_compiler_static
='-qstaticlink'
8145 case `$CC -V 2>&1 | sed 5q` in
8146 *Sun\ F
* | *Sun
*Fortran
*)
8147 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8148 lt_prog_compiler_pic
='-KPIC'
8149 lt_prog_compiler_static
='-Bstatic'
8150 lt_prog_compiler_wl
=''
8154 lt_prog_compiler_pic
='-KPIC'
8155 lt_prog_compiler_static
='-Bstatic'
8156 lt_prog_compiler_wl
='-Wl,'
8164 lt_prog_compiler_pic
='-KPIC'
8165 lt_prog_compiler_static
='-Bstatic'
8169 # QNX uses GNU C++, but need to define -shared option too, otherwise
8171 lt_prog_compiler_pic
='-fPIC -shared'
8174 osf3
* | osf4
* | osf5
*)
8175 lt_prog_compiler_wl
='-Wl,'
8176 # All OSF/1 code is PIC.
8177 lt_prog_compiler_static
='-non_shared'
8181 lt_prog_compiler_static
='-non_shared'
8185 lt_prog_compiler_pic
='-KPIC'
8186 lt_prog_compiler_static
='-Bstatic'
8187 case $cc_basename in
8188 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8189 lt_prog_compiler_wl
='-Qoption ld ';;
8191 lt_prog_compiler_wl
='-Wl,';;
8196 lt_prog_compiler_wl
='-Qoption ld '
8197 lt_prog_compiler_pic
='-PIC'
8198 lt_prog_compiler_static
='-Bstatic'
8201 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8202 lt_prog_compiler_wl
='-Wl,'
8203 lt_prog_compiler_pic
='-KPIC'
8204 lt_prog_compiler_static
='-Bstatic'
8208 if test -d /usr
/nec
;then
8209 lt_prog_compiler_pic
='-Kconform_pic'
8210 lt_prog_compiler_static
='-Bstatic'
8214 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8215 lt_prog_compiler_wl
='-Wl,'
8216 lt_prog_compiler_pic
='-KPIC'
8217 lt_prog_compiler_static
='-Bstatic'
8221 lt_prog_compiler_wl
='-Wl,'
8222 lt_prog_compiler_can_build_shared
=no
8226 lt_prog_compiler_pic
='-pic'
8227 lt_prog_compiler_static
='-Bstatic'
8231 lt_prog_compiler_can_build_shared
=no
8237 # For platforms which do not support PIC, -DPIC is meaningless:
8239 lt_prog_compiler_pic
=
8242 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8247 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8248 if ${lt_cv_prog_compiler_pic+:} false
; then :
8249 $as_echo_n "(cached) " >&6
8251 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8254 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8255 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8258 # Check to make sure the PIC flag actually works.
8260 if test -n "$lt_prog_compiler_pic"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8262 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8263 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8264 $as_echo_n "(cached) " >&6
8266 lt_cv_prog_compiler_pic_works
=no
8267 ac_outfile
=conftest.
$ac_objext
8268 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8269 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8270 # Insert the option either (1) after the last *FLAGS variable, or
8271 # (2) before a word containing "conftest.", or (3) at the end.
8272 # Note that $ac_compile itself does not contain backslashes and begins
8273 # with a dollar sign (not a hyphen), so the echo should work correctly.
8274 # The option is referenced via a variable to avoid confusing sed.
8275 lt_compile
=`echo "$ac_compile" | $SED \
8276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278 -e 's:$: $lt_compiler_flag:'`
8279 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8280 (eval "$lt_compile" 2>conftest.err
)
8282 cat conftest.err
>&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 if (exit $ac_status) && test -s "$ac_outfile"; then
8285 # The compiler can only warn and ignore the option if not recognized
8286 # So say no if there are warnings other than the usual output.
8287 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8288 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8289 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8290 lt_cv_prog_compiler_pic_works
=yes
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8297 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8299 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8300 case $lt_prog_compiler_pic in
8302 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8305 lt_prog_compiler_pic
=
8306 lt_prog_compiler_can_build_shared
=no
8322 # Check to make sure the static flag actually works.
8324 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8326 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8327 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8328 $as_echo_n "(cached) " >&6
8330 lt_cv_prog_compiler_static_works
=no
8331 save_LDFLAGS
="$LDFLAGS"
8332 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8333 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8334 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8335 # The linker can only warn and ignore the option if not recognized
8336 # So say no if there are warnings
8337 if test -s conftest.err
; then
8338 # Append any errors to the config.log.
8339 cat conftest.err
1>&5
8340 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8341 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8342 if diff conftest.exp conftest.er2
>/dev
/null
; then
8343 lt_cv_prog_compiler_static_works
=yes
8346 lt_cv_prog_compiler_static_works
=yes
8350 LDFLAGS
="$save_LDFLAGS"
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8354 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8356 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8359 lt_prog_compiler_static
=
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8369 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8370 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8371 $as_echo_n "(cached) " >&6
8373 lt_cv_prog_compiler_c_o
=no
8374 $RM -r conftest
2>/dev
/null
8378 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8380 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8381 # Insert the option either (1) after the last *FLAGS variable, or
8382 # (2) before a word containing "conftest.", or (3) at the end.
8383 # Note that $ac_compile itself does not contain backslashes and begins
8384 # with a dollar sign (not a hyphen), so the echo should work correctly.
8385 lt_compile
=`echo "$ac_compile" | $SED \
8386 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8388 -e 's:$: $lt_compiler_flag:'`
8389 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8390 (eval "$lt_compile" 2>out
/conftest.err
)
8392 cat out
/conftest.err
>&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8396 # The compiler can only warn and ignore the option if not recognized
8397 # So say no if there are warnings
8398 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
8399 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8400 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8401 lt_cv_prog_compiler_c_o
=yes
8406 # SGI C++ compiler will create directory out/ii_files/ for
8407 # template instantiation
8408 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8409 $RM out
/* && rmdir out
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8416 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8424 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8425 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8426 $as_echo_n "(cached) " >&6
8428 lt_cv_prog_compiler_c_o
=no
8429 $RM -r conftest
2>/dev
/null
8433 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8435 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8436 # Insert the option either (1) after the last *FLAGS variable, or
8437 # (2) before a word containing "conftest.", or (3) at the end.
8438 # Note that $ac_compile itself does not contain backslashes and begins
8439 # with a dollar sign (not a hyphen), so the echo should work correctly.
8440 lt_compile
=`echo "$ac_compile" | $SED \
8441 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8443 -e 's:$: $lt_compiler_flag:'`
8444 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8445 (eval "$lt_compile" 2>out
/conftest.err
)
8447 cat out
/conftest.err
>&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8451 # The compiler can only warn and ignore the option if not recognized
8452 # So say no if there are warnings
8453 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
8454 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8455 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8456 lt_cv_prog_compiler_c_o
=yes
8461 # SGI C++ compiler will create directory out/ii_files/ for
8462 # template instantiation
8463 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8464 $RM out
/* && rmdir out
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8471 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8476 hard_links
="nottested"
8477 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8478 # do not overwrite the value of need_locks provided by the user
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8480 $as_echo_n "checking if we can lock with hard links... " >&6; }
8483 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8485 ln conftest.a conftest.b
2>&5 || hard_links
=no
8486 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8488 $as_echo "$hard_links" >&6; }
8489 if test "$hard_links" = no
; then
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8491 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8504 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8507 allow_undefined_flag
=
8508 always_export_symbols
=no
8510 archive_expsym_cmds
=
8511 compiler_needs_object
=no
8512 enable_shared_with_static_runtimes
=no
8513 export_dynamic_flag_spec
=
8514 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8515 hardcode_automatic
=no
8517 hardcode_direct_absolute
=no
8518 hardcode_libdir_flag_spec
=
8519 hardcode_libdir_flag_spec_ld
=
8520 hardcode_libdir_separator
=
8522 hardcode_shlibpath_var
=unsupported
8524 link_all_deplibs
=unknown
8527 old_archive_from_new_cmds
=
8528 old_archive_from_expsyms_cmds
=
8529 thread_safe_flag_spec
=
8530 whole_archive_flag_spec
=
8531 # include_expsyms should be a list of space-separated symbols to be *always*
8532 # included in the symbol list
8534 # exclude_expsyms can be an extended regexp of symbols to exclude
8535 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8536 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8537 # as well as any symbol that contains `d'.
8538 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8539 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8540 # platforms (ab)use it in PIC code, but their linkers get confused if
8541 # the symbol is explicitly referenced. Since portable code cannot
8542 # rely on this symbol name, it's probably fine to never include it in
8543 # preloaded symbol tables.
8544 # Exclude shared library initialization/finalization symbols.
8545 extract_expsyms_cmds
=
8548 cygwin
* | mingw
* | pw32
* | cegcc
*)
8549 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8550 # When not using gcc, we currently assume that we are using
8551 # Microsoft Visual C++.
8552 if test "$GCC" != yes; then
8557 # we just hope/assume this is gcc and not c89 (= MSVC++)
8567 # On some targets, GNU ld is compatible enough with the native linker
8568 # that we're better off using the native interface for both.
8569 lt_use_gnu_ld_interface
=no
8570 if test "$with_gnu_ld" = yes; then
8573 # The AIX port of GNU ld has always aspired to compatibility
8574 # with the native linker. However, as the warning in the GNU ld
8575 # block says, versions before 2.19.5* couldn't really create working
8576 # shared libraries, regardless of the interface used.
8577 case `$LD -v 2>&1` in
8578 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8579 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8580 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8582 lt_use_gnu_ld_interface
=yes
8587 lt_use_gnu_ld_interface
=yes
8592 if test "$lt_use_gnu_ld_interface" = yes; then
8593 # If archive_cmds runs LD, not CC, wlarc should be empty
8596 # Set some defaults for GNU ld with shared library support. These
8597 # are reset later if shared libraries are not supported. Putting them
8598 # here allows them to be overridden if necessary.
8599 runpath_var
=LD_RUN_PATH
8600 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8601 export_dynamic_flag_spec
='${wl}--export-dynamic'
8602 # ancient GNU ld didn't support --whole-archive et. al.
8603 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
8604 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8606 whole_archive_flag_spec
=
8608 supports_anon_versioning
=no
8609 case `$LD -v 2>&1` in
8610 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8611 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8612 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8613 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8614 *\
2.11.
*) ;; # other 2.11 versions
8615 *) supports_anon_versioning
=yes ;;
8618 # See if GNU ld supports shared libraries.
8621 # On AIX/PPC, the GNU linker is very broken
8622 if test "$host_cpu" != ia64
; then
8626 *** Warning: the GNU linker, at least up to release 2.19, is reported
8627 *** to be unable to reliably create shared libraries on AIX.
8628 *** Therefore, libtool is disabling shared libraries support. If you
8629 *** really care for shared libraries, you may want to install binutils
8630 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8631 *** You will then need to restart the configuration process.
8640 # see comment about AmigaOS4 .so support
8641 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8642 archive_expsym_cmds
=''
8645 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)'
8646 hardcode_libdir_flag_spec
='-L$libdir'
8647 hardcode_minus_L
=yes
8653 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8654 allow_undefined_flag
=unsupported
8655 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8656 # support --undefined. This deserves some investigation. FIXME
8657 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8663 cygwin
* | mingw
* | pw32
* | cegcc
*)
8664 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8665 # as there is no search path for DLLs.
8666 hardcode_libdir_flag_spec
='-L$libdir'
8667 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8668 allow_undefined_flag
=unsupported
8669 always_export_symbols
=no
8670 enable_shared_with_static_runtimes
=yes
8671 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'
8672 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8674 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
8675 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8676 # If the export-symbols file already is a .def file (1st line
8677 # is EXPORTS), use it as is; otherwise, prepend...
8678 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8679 cp $export_symbols $output_objdir/$soname.def;
8681 echo EXPORTS > $output_objdir/$soname.def;
8682 cat $export_symbols >> $output_objdir/$soname.def;
8684 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8691 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8692 link_all_deplibs
=yes
8697 hardcode_shlibpath_var
=no
8698 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8699 export_dynamic_flag_spec
='${wl}-E'
8700 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8701 # Instead, shared libraries are loaded at an image base (0x10000000 by
8702 # default) and relocated if they conflict, which is a slow very memory
8703 # consuming and fragmenting process. To avoid this, we pick a random,
8704 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8705 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8706 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8707 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'
8710 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8712 if test "$host_os" = linux
-dietlibc; then
8713 case $cc_basename in
8714 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8717 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
8718 && test "$tmp_diet" = no
8720 tmp_addflag
=' $pic_flag'
8721 tmp_sharedflag
='-shared'
8722 case $cc_basename,$host_cpu in
8723 pgcc
*) # Portland Group C compiler
8724 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'
8725 tmp_addflag
=' $pic_flag'
8727 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8728 # Portland Group f77 and f90 compilers
8729 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'
8730 tmp_addflag
=' $pic_flag -Mnomain' ;;
8731 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8732 tmp_addflag
=' -i_dynamic' ;;
8733 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8734 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8735 ifc
* | ifort
*) # Intel Fortran compiler
8736 tmp_addflag
=' -nofor_main' ;;
8737 lf95
*) # Lahey Fortran 8.1
8738 whole_archive_flag_spec
=
8739 tmp_sharedflag
='--shared' ;;
8740 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8741 tmp_sharedflag
='-qmkshrobj'
8743 nvcc
*) # Cuda Compiler Driver 2.2
8744 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'
8745 compiler_needs_object
=yes
8748 case `$CC -V 2>&1 | sed 5q` in
8749 *Sun\ C
*) # Sun C 5.9
8750 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'
8751 compiler_needs_object
=yes
8752 tmp_sharedflag
='-G' ;;
8753 *Sun\ F
*) # Sun Fortran 8.3
8754 tmp_sharedflag
='-G' ;;
8756 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8758 if test "x$supports_anon_versioning" = xyes
; then
8759 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8760 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8761 echo "local: *; };" >> $output_objdir/$libname.ver~
8762 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8765 case $cc_basename in
8766 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8767 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8768 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8769 hardcode_libdir_flag_spec
=
8770 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8771 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8772 if test "x$supports_anon_versioning" = xyes
; then
8773 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8774 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8775 echo "local: *; };" >> $output_objdir/$libname.ver~
8776 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8786 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8787 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8790 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8791 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8796 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
8800 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8801 *** create shared libraries on Solaris systems. Therefore, libtool
8802 *** is disabling shared libraries support. We urge you to upgrade GNU
8803 *** binutils to release 2.9.1 or newer. Another option is to modify
8804 *** your PATH or compiler configuration so that the native linker is
8805 *** used, and then restart.
8808 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8809 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8810 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8816 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8817 case `$LD -v 2>&1` in
8818 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8822 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8823 *** reliably create shared libraries on SCO systems. Therefore, libtool
8824 *** is disabling shared libraries support. We urge you to upgrade GNU
8825 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8826 *** your PATH or compiler configuration so that the native linker is
8827 *** used, and then restart.
8832 # For security reasons, it is highly recommended that you always
8833 # use absolute paths for naming shared libraries, and exclude the
8834 # DT_RUNPATH tag from executables and libraries. But doing so
8835 # requires that you compile everything twice, which is a pain.
8836 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8837 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8838 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8839 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8848 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8851 hardcode_shlibpath_var
=no
8855 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8856 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8857 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8864 if test "$ld_shlibs" = no
; then
8866 hardcode_libdir_flag_spec
=
8867 export_dynamic_flag_spec
=
8868 whole_archive_flag_spec
=
8871 # PORTME fill in a description of your system's linker (not GNU ld)
8874 allow_undefined_flag
=unsupported
8875 always_export_symbols
=yes
8876 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'
8877 # Note: this linker hardcodes the directories in LIBPATH if there
8878 # are no directories specified by -L.
8879 hardcode_minus_L
=yes
8880 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8881 # Neither direct hardcoding nor static linking is supported with a
8883 hardcode_direct
=unsupported
8888 if test "$host_cpu" = ia64
; then
8889 # On IA64, the linker does run time linking by default, so we don't
8890 # have to do anything special.
8891 aix_use_runtimelinking
=no
8892 exp_sym_flag
='-Bexport'
8895 # If we're using GNU nm, then we don't want the "-C" option.
8896 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8897 # Also, AIX nm treats weak defined symbols like other global
8898 # defined symbols, whereas GNU nm marks them as "W".
8899 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
8900 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'
8902 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'
8904 aix_use_runtimelinking
=no
8906 # Test if we are trying to use run time linking or normal
8907 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8908 # need to do runtime linking.
8909 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8910 for ld_flag
in $LDFLAGS; do
8911 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8912 aix_use_runtimelinking
=yes
8919 exp_sym_flag
='-bexport'
8920 no_entry_flag
='-bnoentry'
8923 # When large executables or shared objects are built, AIX ld can
8924 # have problems creating the table of contents. If linking a library
8925 # or program results in "error TOC overflow" add -mminimal-toc to
8926 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8927 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8931 hardcode_direct_absolute
=yes
8932 hardcode_libdir_separator
=':'
8933 link_all_deplibs
=yes
8934 file_list_spec
='${wl}-f,'
8936 if test "$GCC" = yes; then
8937 case $host_os in aix4.
[012]|aix4.
[012].
*)
8938 # We only want to do this on AIX 4.2 and lower, the check
8939 # below for broken collect2 doesn't work under 4.3+
8940 collect2name
=`${CC} -print-prog-name=collect2`
8941 if test -f "$collect2name" &&
8942 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
8944 # We have reworked collect2
8947 # We have old collect2
8948 hardcode_direct
=unsupported
8949 # It fails to find uninstalled libraries when the uninstalled
8950 # path is not listed in the libpath. Setting hardcode_minus_L
8951 # to unsupported forces relinking
8952 hardcode_minus_L
=yes
8953 hardcode_libdir_flag_spec
='-L$libdir'
8954 hardcode_libdir_separator
=
8958 shared_flag
='-shared'
8959 if test "$aix_use_runtimelinking" = yes; then
8960 shared_flag
="$shared_flag "'${wl}-G'
8964 if test "$host_cpu" = ia64
; then
8965 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8966 # chokes on -Wl,-G. The following line is correct:
8969 if test "$aix_use_runtimelinking" = yes; then
8970 shared_flag
='${wl}-G'
8972 shared_flag
='${wl}-bM:SRE'
8977 export_dynamic_flag_spec
='${wl}-bexpall'
8978 # It seems that -bexpall does not export symbols beginning with
8979 # underscore (_), so it is better to generate a list of symbols to export.
8980 always_export_symbols
=yes
8981 if test "$aix_use_runtimelinking" = yes; then
8982 # Warning - without using the other runtime loading flags (-brtl),
8983 # -berok will link without error, but may produce a broken library.
8984 allow_undefined_flag
='-berok'
8985 # Determine the default libpath from the value encoded in an
8987 if test "${lt_cv_aix_libpath+set}" = set; then
8988 aix_libpath
=$lt_cv_aix_libpath
8990 if ${lt_cv_aix_libpath_+:} false
; then :
8991 $as_echo_n "(cached) " >&6
8993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
9004 if ac_fn_c_try_link
"$LINENO"; then :
9006 lt_aix_libpath_sed
='
9007 /Import File Strings/,/^$/ {
9009 s/^0 *\([^ ]*\) *$/\1/
9013 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9014 # Check for a 64-bit object if we didn't find anything.
9015 if test -z "$lt_cv_aix_libpath_"; then
9016 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9019 rm -f core conftest.err conftest.
$ac_objext \
9020 conftest
$ac_exeext conftest.
$ac_ext
9021 if test -z "$lt_cv_aix_libpath_"; then
9022 lt_cv_aix_libpath_
="/usr/lib:/lib"
9027 aix_libpath
=$lt_cv_aix_libpath_
9030 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9031 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"
9033 if test "$host_cpu" = ia64
; then
9034 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9035 allow_undefined_flag
="-z nodefs"
9036 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"
9038 # Determine the default libpath from the value encoded in an
9040 if test "${lt_cv_aix_libpath+set}" = set; then
9041 aix_libpath
=$lt_cv_aix_libpath
9043 if ${lt_cv_aix_libpath_+:} false
; then :
9044 $as_echo_n "(cached) " >&6
9046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9057 if ac_fn_c_try_link
"$LINENO"; then :
9059 lt_aix_libpath_sed
='
9060 /Import File Strings/,/^$/ {
9062 s/^0 *\([^ ]*\) *$/\1/
9066 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9067 # Check for a 64-bit object if we didn't find anything.
9068 if test -z "$lt_cv_aix_libpath_"; then
9069 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9072 rm -f core conftest.err conftest.
$ac_objext \
9073 conftest
$ac_exeext conftest.
$ac_ext
9074 if test -z "$lt_cv_aix_libpath_"; then
9075 lt_cv_aix_libpath_
="/usr/lib:/lib"
9080 aix_libpath
=$lt_cv_aix_libpath_
9083 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9084 # Warning - without using the other run time loading flags,
9085 # -berok will link without error, but may produce a broken library.
9086 no_undefined_flag
=' ${wl}-bernotok'
9087 allow_undefined_flag
=' ${wl}-berok'
9088 if test "$with_gnu_ld" = yes; then
9089 # We only use this code for GNU lds that support --whole-archive.
9090 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9092 # Exported symbols can be pulled into shared objects from archives
9093 whole_archive_flag_spec
='$convenience'
9095 archive_cmds_need_lc
=yes
9096 # This is similar to how AIX traditionally builds its shared libraries.
9097 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'
9105 # see comment about AmigaOS4 .so support
9106 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9107 archive_expsym_cmds
=''
9110 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)'
9111 hardcode_libdir_flag_spec
='-L$libdir'
9112 hardcode_minus_L
=yes
9118 export_dynamic_flag_spec
=-rdynamic
9121 cygwin
* | mingw
* | pw32
* | cegcc
*)
9122 # When not using gcc, we currently assume that we are using
9123 # Microsoft Visual C++.
9124 # hardcode_libdir_flag_spec is actually meaningless, as there is
9125 # no search path for DLLs.
9126 case $cc_basename in
9129 hardcode_libdir_flag_spec
=' '
9130 allow_undefined_flag
=unsupported
9131 always_export_symbols
=yes
9133 # Tell ltmain to make .lib files, not .a files.
9135 # Tell ltmain to make .dll files, not .so files.
9137 # FIXME: Setting linknames here is a bad hack.
9138 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9139 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9140 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9142 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9144 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9146 # The linker will not automatically build a static lib if we build a DLL.
9147 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9148 enable_shared_with_static_runtimes
=yes
9149 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9151 old_postinstall_cmds
='chmod 644 $oldlib'
9152 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9153 lt_tool_outputfile="@TOOL_OUTPUT@"~
9154 case $lt_outputfile in
9157 lt_outputfile="$lt_outputfile.exe"
9158 lt_tool_outputfile="$lt_tool_outputfile.exe"
9161 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9162 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9163 $RM "$lt_outputfile.manifest";
9167 # Assume MSVC wrapper
9168 hardcode_libdir_flag_spec
=' '
9169 allow_undefined_flag
=unsupported
9170 # Tell ltmain to make .lib files, not .a files.
9172 # Tell ltmain to make .dll files, not .so files.
9174 # FIXME: Setting linknames here is a bad hack.
9175 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9176 # The linker will automatically build a .lib file if we build a DLL.
9177 old_archive_from_new_cmds
='true'
9178 # FIXME: Should let the user specify the lib program.
9179 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9180 enable_shared_with_static_runtimes
=yes
9185 darwin
* | rhapsody
*)
9188 archive_cmds_need_lc
=no
9190 hardcode_automatic
=yes
9191 hardcode_shlibpath_var
=unsupported
9192 if test "$lt_cv_ld_force_load" = "yes"; then
9193 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\"`'
9195 whole_archive_flag_spec
=''
9197 link_all_deplibs
=yes
9198 allow_undefined_flag
="$_lt_dar_allow_undefined"
9199 case $cc_basename in
9200 ifort
*) _lt_dar_can_shared
=yes ;;
9201 *) _lt_dar_can_shared
=$GCC ;;
9203 if test "$_lt_dar_can_shared" = "yes"; then
9204 output_verbose_link_cmd
=func_echo_all
9205 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9206 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9207 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}"
9208 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}"
9217 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9218 hardcode_libdir_flag_spec
='-L$libdir'
9219 hardcode_shlibpath_var
=no
9226 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9227 # support. Future versions do this automatically, but an explicit c++rt0.o
9228 # does not break anything, and helps significantly (at the cost of a little
9231 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9232 hardcode_libdir_flag_spec
='-R$libdir'
9234 hardcode_shlibpath_var
=no
9237 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9239 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9241 hardcode_minus_L
=yes
9242 hardcode_shlibpath_var
=no
9245 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9246 freebsd
* | dragonfly
*)
9247 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9248 hardcode_libdir_flag_spec
='-R$libdir'
9250 hardcode_shlibpath_var
=no
9254 if test "$GCC" = yes; then
9255 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'
9257 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'
9259 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9260 hardcode_libdir_separator
=:
9263 # hardcode_minus_L: Not really in the search PATH,
9264 # but as the default location of the library.
9265 hardcode_minus_L
=yes
9266 export_dynamic_flag_spec
='${wl}-E'
9270 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9271 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9273 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9275 if test "$with_gnu_ld" = no
; then
9276 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9277 hardcode_libdir_flag_spec_ld
='+b $libdir'
9278 hardcode_libdir_separator
=:
9280 hardcode_direct_absolute
=yes
9281 export_dynamic_flag_spec
='${wl}-E'
9282 # hardcode_minus_L: Not really in the search PATH,
9283 # but as the default location of the library.
9284 hardcode_minus_L
=yes
9289 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9292 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9298 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9304 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9307 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9311 # Older versions of the 11.00 compiler do not understand -b yet
9312 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9314 $as_echo_n "checking if $CC understands -b... " >&6; }
9315 if ${lt_cv_prog_compiler__b+:} false
; then :
9316 $as_echo_n "(cached) " >&6
9318 lt_cv_prog_compiler__b
=no
9319 save_LDFLAGS
="$LDFLAGS"
9320 LDFLAGS
="$LDFLAGS -b"
9321 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9322 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9323 # The linker can only warn and ignore the option if not recognized
9324 # So say no if there are warnings
9325 if test -s conftest.err
; then
9326 # Append any errors to the config.log.
9327 cat conftest.err
1>&5
9328 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9329 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9330 if diff conftest.exp conftest.er2
>/dev
/null
; then
9331 lt_cv_prog_compiler__b
=yes
9334 lt_cv_prog_compiler__b
=yes
9338 LDFLAGS
="$save_LDFLAGS"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9342 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9344 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9345 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9353 if test "$with_gnu_ld" = no
; then
9354 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9355 hardcode_libdir_separator
=:
9360 hardcode_shlibpath_var
=no
9364 hardcode_direct_absolute
=yes
9365 export_dynamic_flag_spec
='${wl}-E'
9367 # hardcode_minus_L: Not really in the search PATH,
9368 # but as the default location of the library.
9369 hardcode_minus_L
=yes
9375 irix5
* | irix6
* | nonstopux
*)
9376 if test "$GCC" = yes; then
9377 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'
9378 # Try to use the -exported_symbol ld option, if it does not
9379 # work, assume that -exports_file does not work either and
9380 # implicitly export all symbols.
9381 # This should be the same for all languages, so no per-tag cache variable.
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9383 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9384 if ${lt_cv_irix_exported_symbol+:} false
; then :
9385 $as_echo_n "(cached) " >&6
9387 save_LDFLAGS
="$LDFLAGS"
9388 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9391 int foo (void) { return 0; }
9393 if ac_fn_c_try_link
"$LINENO"; then :
9394 lt_cv_irix_exported_symbol
=yes
9396 lt_cv_irix_exported_symbol
=no
9398 rm -f core conftest.err conftest.
$ac_objext \
9399 conftest
$ac_exeext conftest.
$ac_ext
9400 LDFLAGS
="$save_LDFLAGS"
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9403 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9404 if test "$lt_cv_irix_exported_symbol" = yes; then
9405 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'
9408 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'
9409 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'
9411 archive_cmds_need_lc
='no'
9412 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9413 hardcode_libdir_separator
=:
9415 link_all_deplibs
=yes
9419 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9420 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9422 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9424 hardcode_libdir_flag_spec
='-R$libdir'
9426 hardcode_shlibpath_var
=no
9430 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9432 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9433 hardcode_libdir_separator
=:
9434 hardcode_shlibpath_var
=no
9441 if test -f /usr
/libexec
/ld.so
; then
9443 hardcode_shlibpath_var
=no
9444 hardcode_direct_absolute
=yes
9445 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9446 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9447 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9448 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9449 export_dynamic_flag_spec
='${wl}-E'
9452 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9453 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9454 hardcode_libdir_flag_spec
='-R$libdir'
9457 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9458 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9468 hardcode_libdir_flag_spec
='-L$libdir'
9469 hardcode_minus_L
=yes
9470 allow_undefined_flag
=unsupported
9471 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'
9472 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9476 if test "$GCC" = yes; then
9477 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9478 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'
9480 allow_undefined_flag
=' -expect_unresolved \*'
9481 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'
9483 archive_cmds_need_lc
='no'
9484 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9485 hardcode_libdir_separator
=:
9488 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9489 if test "$GCC" = yes; then
9490 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9491 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'
9492 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9494 allow_undefined_flag
=' -expect_unresolved \*'
9495 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'
9496 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~
9497 $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'
9499 # Both c and cxx compiler support -rpath directly
9500 hardcode_libdir_flag_spec
='-rpath $libdir'
9502 archive_cmds_need_lc
='no'
9503 hardcode_libdir_separator
=:
9507 no_undefined_flag
=' -z defs'
9508 if test "$GCC" = yes; then
9510 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9511 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9512 $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'
9514 case `$CC -V 2>&1` in
9517 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9518 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9519 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9523 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9524 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9525 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9529 hardcode_libdir_flag_spec
='-R$libdir'
9530 hardcode_shlibpath_var
=no
9532 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9534 # The compiler driver will combine and reorder linker options,
9535 # but understands `-z linker_flag'. GCC discards it without `$wl',
9536 # but is careful enough not to reorder.
9537 # Supported since Solaris 2.6 (maybe 2.5.1?)
9538 if test "$GCC" = yes; then
9539 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9541 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9545 link_all_deplibs
=yes
9549 if test "x$host_vendor" = xsequent
; then
9550 # Use $CC to link under sequent, because it throws in some extra .o
9551 # files that make .init and .fini sections work.
9552 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9556 hardcode_libdir_flag_spec
='-L$libdir'
9558 hardcode_minus_L
=yes
9559 hardcode_shlibpath_var
=no
9563 case $host_vendor in
9565 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9566 hardcode_direct
=yes # is this really true???
9569 ## LD is ld it makes a PLAMLIB
9570 ## CC just makes a GrossModule.
9571 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9572 reload_cmds
='$CC -r -o $output$reload_objs'
9576 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9577 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9580 runpath_var
='LD_RUN_PATH'
9581 hardcode_shlibpath_var
=no
9585 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9586 hardcode_shlibpath_var
=no
9587 export_dynamic_flag_spec
='-Bexport'
9591 if test -d /usr
/nec
; then
9592 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9593 hardcode_shlibpath_var
=no
9594 runpath_var
=LD_RUN_PATH
9595 hardcode_runpath_var
=yes
9600 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9601 no_undefined_flag
='${wl}-z,text'
9602 archive_cmds_need_lc
=no
9603 hardcode_shlibpath_var
=no
9604 runpath_var
='LD_RUN_PATH'
9606 if test "$GCC" = yes; then
9607 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9608 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9610 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9615 sysv5
* | sco3.2v5
* | sco5v6
*)
9616 # Note: We can NOT use -z defs as we might desire, because we do not
9617 # link with -lc, and that would cause any symbols used from libc to
9618 # always be unresolved, which means just about no library would
9619 # ever link correctly. If we're not using GNU ld we use -z text
9620 # though, which does catch some bad symbols but isn't as heavy-handed
9622 no_undefined_flag
='${wl}-z,text'
9623 allow_undefined_flag
='${wl}-z,nodefs'
9624 archive_cmds_need_lc
=no
9625 hardcode_shlibpath_var
=no
9626 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9627 hardcode_libdir_separator
=':'
9628 link_all_deplibs
=yes
9629 export_dynamic_flag_spec
='${wl}-Bexport'
9630 runpath_var
='LD_RUN_PATH'
9632 if test "$GCC" = yes; then
9633 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9634 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9636 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9643 hardcode_libdir_flag_spec
='-L$libdir'
9644 hardcode_shlibpath_var
=no
9652 if test x
$host_vendor = xsni
; then
9654 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9655 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9662 $as_echo "$ld_shlibs" >&6; }
9663 test "$ld_shlibs" = no
&& can_build_shared
=no
9665 with_gnu_ld
=$with_gnu_ld
9682 # Do we need to explicitly link libc?
9684 case "x$archive_cmds_need_lc" in
9686 # Assume -lc should be added
9687 archive_cmds_need_lc
=yes
9689 if test "$enable_shared" = yes && test "$GCC" = yes; then
9690 case $archive_cmds in
9692 # FIXME: we may have to deal with multi-command sequences.
9695 # Test whether the compiler implicitly links with -lc since on some
9696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9697 # to ld, don't add -lc before -lgcc.
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9700 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9701 $as_echo_n "(cached) " >&6
9704 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9707 (eval $ac_compile) 2>&5
9709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9710 test $ac_status = 0; } 2>conftest.err
; then
9713 libobjs
=conftest.
$ac_objext
9715 wl
=$lt_prog_compiler_wl
9716 pic_flag
=$lt_prog_compiler_pic
9722 lt_save_allow_undefined_flag
=$allow_undefined_flag
9723 allow_undefined_flag
=
9724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9725 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9728 test $ac_status = 0; }
9730 lt_cv_archive_cmds_need_lc
=no
9732 lt_cv_archive_cmds_need_lc
=yes
9734 allow_undefined_flag
=$lt_save_allow_undefined_flag
9736 cat conftest.err
1>&5
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9742 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9743 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9907 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9909 if test "$GCC" = yes; then
9911 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9912 *) lt_awk_arg
="/^libraries:/" ;;
9915 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9916 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9918 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9919 case $lt_search_path_spec in
9921 # if the path contains ";" then we assume it to be the separator
9922 # otherwise default to the standard path separator (i.e. ":") - it is
9923 # assumed that no part of a normal pathname contains ";" but that should
9924 # okay in the real world where ";" in dirpaths is itself problematic.
9925 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9928 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9931 # Ok, now we have the path, separated by spaces, we can step through it
9932 # and add multilib dir if necessary.
9933 lt_tmp_lt_search_path_spec
=
9934 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9935 for lt_sys_path
in $lt_search_path_spec; do
9936 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9937 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9939 test -d "$lt_sys_path" && \
9940 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9943 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9944 BEGIN {RS=" "; FS="/|\n";} {
9947 for (lt_i = NF; lt_i > 0; lt_i--) {
9948 if ($lt_i != "" && $lt_i != ".") {
9949 if ($lt_i == "..") {
9952 if (lt_count == 0) {
9953 lt_foo="/" $lt_i lt_foo;
9960 if (lt_foo != "") { lt_freq[lt_foo]++; }
9961 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9963 # AWK program above erroneously prepends '/' to C:/dos/paths
9966 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9967 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9969 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9971 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9974 libname_spec
='lib$name'
9982 shlibpath_overrides_runpath
=unknown
9984 dynamic_linker
="$host_os ld.so"
9985 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9986 need_lib_prefix
=unknown
9987 hardcode_into_libs
=no
9989 # when you set need_version to no, make sure it does not cause -set_version
9990 # flags to be left without arguments
9991 need_version
=unknown
9996 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9997 shlibpath_var
=LIBPATH
9999 # AIX 3 has no versioning support, so we append a major version to the name.
10000 soname_spec
='${libname}${release}${shared_ext}$major'
10007 hardcode_into_libs
=yes
10008 if test "$host_cpu" = ia64
; then
10009 # AIX 5 supports IA64
10010 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10011 shlibpath_var
=LD_LIBRARY_PATH
10013 # With GCC up to 2.95.x, collect2 would create an import file
10014 # for dependence libraries. The import file would start with
10015 # the line `#! .'. This would cause the generated library to
10016 # depend on `.', always an invalid library. This was fixed in
10017 # development snapshots of GCC prior to 3.0.
10019 aix4
| aix4.
[01] | aix4.
[01].
*)
10020 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10022 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10025 can_build_shared
=no
10029 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10030 # soname into executable. Probably we can add versioning support to
10031 # collect2, so additional links can be useful in future.
10032 if test "$aix_use_runtimelinking" = yes; then
10033 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10034 # instead of lib<name>.a to let people know that these are not
10035 # typical AIX shared libraries.
10036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10038 # We preserve .a as extension for shared libraries through AIX4.2
10039 # and later when we are not doing run time linking.
10040 library_names_spec
='${libname}${release}.a $libname.a'
10041 soname_spec
='${libname}${release}${shared_ext}$major'
10043 shlibpath_var
=LIBPATH
10050 # Since July 2007 AmigaOS4 officially supports .so libraries.
10051 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055 library_names_spec
='$libname.ixlibrary $libname.a'
10056 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10057 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'
10063 library_names_spec
='${libname}${shared_ext}'
10064 dynamic_linker
="$host_os ld.so"
10065 shlibpath_var
=LIBRARY_PATH
10071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10072 soname_spec
='${libname}${release}${shared_ext}$major'
10073 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10074 shlibpath_var
=LD_LIBRARY_PATH
10075 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10076 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10077 # the default ld.so.conf also contains /usr/contrib/lib and
10078 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10079 # libtool to hard-code these into programs
10082 cygwin
* | mingw
* | pw32
* | cegcc
*)
10083 version_type
=windows
10088 case $GCC,$cc_basename in
10091 library_names_spec
='$libname.dll.a'
10092 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10093 postinstall_cmds
='base_file=`basename \${file}`~
10094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10095 dldir=$destdir/`dirname \$dlpath`~
10096 test -d \$dldir || mkdir -p \$dldir~
10097 $install_prog $dir/$dlname \$dldir/$dlname~
10098 chmod a+x \$dldir/$dlname~
10099 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10100 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10102 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10103 dlpath=$dir/\$dldll~
10105 shlibpath_overrides_runpath
=yes
10109 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10110 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10112 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10115 # MinGW DLLs use traditional 'lib' prefix
10116 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10119 # pw32 DLLs use 'pw' prefix rather than 'lib'
10120 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10123 dynamic_linker
='Win32 ld.exe'
10128 libname_spec
='$name'
10129 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10130 library_names_spec
='${libname}.dll.lib'
10134 sys_lib_search_path_spec
=
10137 for lt_path
in $LIB
10140 # Let DOS variable expansion print the short 8.3 style file name.
10141 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10142 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10145 # Convert to MSYS style.
10146 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10149 # Convert to unix form, then to dos form, then back to unix form
10150 # but this time dos style (no spaces!) so that the unix form looks
10151 # like /cygdrive/c/PROGRA~1:/cygdr...
10152 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10153 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10154 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10157 sys_lib_search_path_spec
="$LIB"
10158 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
10159 # It is most probably a Windows format PATH.
10160 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10162 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10164 # FIXME: find the short name or the path components, as spaces are
10165 # common. (e.g. "Program Files" -> "PROGRA~1")
10169 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10170 postinstall_cmds
='base_file=`basename \${file}`~
10171 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10172 dldir=$destdir/`dirname \$dlpath`~
10173 test -d \$dldir || mkdir -p \$dldir~
10174 $install_prog $dir/$dlname \$dldir/$dlname'
10175 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10176 dlpath=$dir/\$dldll~
10178 shlibpath_overrides_runpath
=yes
10179 dynamic_linker
='Win32 link.exe'
10183 # Assume MSVC wrapper
10184 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10185 dynamic_linker
='Win32 ld.exe'
10188 # FIXME: first we should search . and the directory the executable is in
10192 darwin
* | rhapsody
*)
10193 dynamic_linker
="$host_os dyld"
10194 version_type
=darwin
10197 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10198 soname_spec
='${libname}${release}${major}$shared_ext'
10199 shlibpath_overrides_runpath
=yes
10200 shlibpath_var
=DYLD_LIBRARY_PATH
10201 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10203 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10204 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10212 soname_spec
='${libname}${release}${shared_ext}$major'
10213 shlibpath_var
=LD_LIBRARY_PATH
10220 freebsd
* | dragonfly
*)
10221 # DragonFly does not have aout. When/if they implement a new
10222 # versioning mechanism, adjust this.
10223 if test -x /usr
/bin
/objformat
; then
10224 objformat
=`/usr/bin/objformat`
10227 freebsd
[123]*) objformat
=aout
;;
10228 *) objformat
=elf
;;
10231 version_type
=freebsd
-$objformat
10232 case $version_type in
10234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10239 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10243 shlibpath_var
=LD_LIBRARY_PATH
10246 shlibpath_overrides_runpath
=yes
10248 freebsd3.
[01]* | freebsdelf3.
[01]*)
10249 shlibpath_overrides_runpath
=yes
10250 hardcode_into_libs
=yes
10252 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10253 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10254 shlibpath_overrides_runpath
=no
10255 hardcode_into_libs
=yes
10257 *) # from 4.6 on, and DragonFly
10258 shlibpath_overrides_runpath
=yes
10259 hardcode_into_libs
=yes
10268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10269 soname_spec
='${libname}${release}${shared_ext}$major'
10270 shlibpath_var
=LD_LIBRARY_PATH
10271 hardcode_into_libs
=yes
10278 dynamic_linker
="$host_os runtime_loader"
10279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10280 soname_spec
='${libname}${release}${shared_ext}$major'
10281 shlibpath_var
=LIBRARY_PATH
10282 shlibpath_overrides_runpath
=yes
10283 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10284 hardcode_into_libs
=yes
10287 hpux9
* | hpux10
* | hpux11
*)
10288 # Give a soname corresponding to the major version so that dld.sl refuses to
10289 # link against other versions.
10296 hardcode_into_libs
=yes
10297 dynamic_linker
="$host_os dld.so"
10298 shlibpath_var
=LD_LIBRARY_PATH
10299 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10301 soname_spec
='${libname}${release}${shared_ext}$major'
10302 if test "X$HPUX_IA64_MODE" = X32
; then
10303 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10305 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10307 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10311 hardcode_into_libs
=yes
10312 dynamic_linker
="$host_os dld.sl"
10313 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10314 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10316 soname_spec
='${libname}${release}${shared_ext}$major'
10317 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10318 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10322 dynamic_linker
="$host_os dld.sl"
10323 shlibpath_var
=SHLIB_PATH
10324 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326 soname_spec
='${libname}${release}${shared_ext}$major'
10329 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10330 postinstall_cmds
='chmod 555 $lib'
10331 # or fails outright, so override atomically:
10332 install_override_mode
=555
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10342 shlibpath_var
=LD_LIBRARY_PATH
10343 shlibpath_overrides_runpath
=no
10344 hardcode_into_libs
=yes
10347 irix5
* | irix6
* | nonstopux
*)
10349 nonstopux
*) version_type
=nonstopux
;;
10351 if test "$lt_cv_prog_gnu_ld" = yes; then
10359 soname_spec
='${libname}${release}${shared_ext}$major'
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10362 irix5
* | nonstopux
*)
10363 libsuff
= shlibsuff
=
10366 case $LD in # libtool.m4 will add one of these switches to LD
10367 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10368 libsuff
= shlibsuff
= libmagic
=32-bit;;
10369 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10370 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10371 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10372 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10373 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10377 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10378 shlibpath_overrides_runpath
=no
10379 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10380 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10381 hardcode_into_libs
=yes
10384 # No shared lib support for Linux oldld, aout, or coff.
10385 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10389 # This must be Linux ELF.
10390 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395 soname_spec
='${libname}${release}${shared_ext}$major'
10396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10397 shlibpath_var
=LD_LIBRARY_PATH
10398 shlibpath_overrides_runpath
=no
10400 # Some binutils ld are patched to set DT_RUNPATH
10401 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10402 $as_echo_n "(cached) " >&6
10404 lt_cv_shlibpath_overrides_runpath
=no
10405 save_LDFLAGS
=$LDFLAGS
10406 save_libdir
=$libdir
10407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10420 if ac_fn_c_try_link
"$LINENO"; then :
10421 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
10422 lt_cv_shlibpath_overrides_runpath
=yes
10425 rm -f core conftest.err conftest.
$ac_objext \
10426 conftest
$ac_exeext conftest.
$ac_ext
10427 LDFLAGS
=$save_LDFLAGS
10428 libdir
=$save_libdir
10432 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10434 # This implies no fast_install, which is unacceptable.
10435 # Some rework will be needed to allow for fast_install
10436 # before this can be enabled.
10437 hardcode_into_libs
=yes
10439 # Append ld.so.conf contents to the search path
10440 if test -f /etc
/ld.so.conf
; then
10441 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' ' '`
10442 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10445 # We used to test for /lib/ld.so.1 and disable shared libraries on
10446 # powerpc, because MkLinux only supported shared libraries with the
10447 # GNU dynamic linker. Since this was broken with cross compilers,
10448 # most powerpc-linux boxes support dynamic linking these days and
10449 # people can always --disable-shared, the test was removed, and we
10450 # assume the GNU/Linux dynamic linker is in use.
10451 dynamic_linker
='GNU/Linux ld.so'
10458 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10460 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10461 dynamic_linker
='NetBSD (a.out) ld.so'
10463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10464 soname_spec
='${libname}${release}${shared_ext}$major'
10465 dynamic_linker
='NetBSD ld.elf_so'
10467 shlibpath_var
=LD_LIBRARY_PATH
10468 shlibpath_overrides_runpath
=yes
10469 hardcode_into_libs
=yes
10474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10475 shlibpath_var
=LD_LIBRARY_PATH
10476 shlibpath_overrides_runpath
=yes
10483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10484 soname_spec
='${libname}${release}${shared_ext}$major'
10485 shlibpath_var
=LD_LIBRARY_PATH
10486 shlibpath_overrides_runpath
=no
10487 hardcode_into_libs
=yes
10488 dynamic_linker
='ldqnx.so'
10493 sys_lib_dlsearch_path_spec
="/usr/lib"
10495 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10497 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10498 *) need_version
=no
;;
10500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10501 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10502 shlibpath_var
=LD_LIBRARY_PATH
10503 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10505 openbsd2.
[89] | openbsd2.
[89].
*)
10506 shlibpath_overrides_runpath
=no
10509 shlibpath_overrides_runpath
=yes
10513 shlibpath_overrides_runpath
=yes
10518 libname_spec
='$name'
10521 library_names_spec
='$libname${shared_ext} $libname.a'
10522 dynamic_linker
='OS/2 ld.exe'
10523 shlibpath_var
=LIBPATH
10526 osf3
* | osf4
* | osf5
*)
10530 soname_spec
='${libname}${release}${shared_ext}$major'
10531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 shlibpath_var
=LD_LIBRARY_PATH
10533 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10534 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10546 soname_spec
='${libname}${release}${shared_ext}$major'
10547 shlibpath_var
=LD_LIBRARY_PATH
10548 shlibpath_overrides_runpath
=yes
10549 hardcode_into_libs
=yes
10550 # ldd complains unless libraries are executable
10551 postinstall_cmds
='chmod +x $lib'
10556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10557 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10558 shlibpath_var
=LD_LIBRARY_PATH
10559 shlibpath_overrides_runpath
=yes
10560 if test "$with_gnu_ld" = yes; then
10568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec
='${libname}${release}${shared_ext}$major'
10570 shlibpath_var
=LD_LIBRARY_PATH
10571 case $host_vendor in
10573 shlibpath_overrides_runpath
=no
10575 runpath_var
=LD_RUN_PATH
10583 shlibpath_overrides_runpath
=no
10584 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10590 if test -d /usr
/nec
;then
10592 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10593 soname_spec
='$libname${shared_ext}.$major'
10594 shlibpath_var
=LD_LIBRARY_PATH
10598 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10599 version_type
=freebsd
-elf
10602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10603 soname_spec
='${libname}${release}${shared_ext}$major'
10604 shlibpath_var
=LD_LIBRARY_PATH
10605 shlibpath_overrides_runpath
=yes
10606 hardcode_into_libs
=yes
10607 if test "$with_gnu_ld" = yes; then
10608 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10610 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10613 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10617 sys_lib_dlsearch_path_spec
='/usr/lib'
10621 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 shlibpath_var
=LD_LIBRARY_PATH
10627 shlibpath_overrides_runpath
=no
10628 hardcode_into_libs
=yes
10633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10634 soname_spec
='${libname}${release}${shared_ext}$major'
10635 shlibpath_var
=LD_LIBRARY_PATH
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10643 $as_echo "$dynamic_linker" >&6; }
10644 test "$dynamic_linker" = no
&& can_build_shared
=no
10646 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10647 if test "$GCC" = yes; then
10648 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10651 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10652 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10654 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10655 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10750 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10752 if test -n "$hardcode_libdir_flag_spec" ||
10753 test -n "$runpath_var" ||
10754 test "X$hardcode_automatic" = "Xyes" ; then
10756 # We can hardcode non-existent directories.
10757 if test "$hardcode_direct" != no
&&
10758 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10759 # have to relink, otherwise we might link with an installed library
10760 # when we should be linking with a yet-to-be-installed one
10761 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10762 test "$hardcode_minus_L" != no
; then
10763 # Linking always hardcodes the temporary library directory.
10764 hardcode_action
=relink
10766 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10767 hardcode_action
=immediate
10770 # We cannot hardcode anything, or else we can only hardcode existing
10772 hardcode_action
=unsupported
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10775 $as_echo "$hardcode_action" >&6; }
10777 if test "$hardcode_action" = relink
||
10778 test "$inherit_rpath" = yes; then
10779 # Fast installation is not supported
10780 enable_fast_install
=no
10781 elif test "$shlibpath_overrides_runpath" = yes ||
10782 test "$enable_shared" = no
; then
10783 # Fast installation is not necessary
10784 enable_fast_install
=needless
10792 if test "x$enable_dlopen" != xyes
; then
10793 enable_dlopen
=unknown
10794 enable_dlopen_self
=unknown
10795 enable_dlopen_self_static
=unknown
10802 lt_cv_dlopen
="load_add_on"
10804 lt_cv_dlopen_self
=yes
10807 mingw
* | pw32
* | cegcc
*)
10808 lt_cv_dlopen
="LoadLibrary"
10813 lt_cv_dlopen
="dlopen"
10818 # if libdl is installed we need to link against it
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10820 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10821 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10822 $as_echo_n "(cached) " >&6
10824 ac_check_lib_save_LIBS
=$LIBS
10826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10844 if ac_fn_c_try_link
"$LINENO"; then :
10845 ac_cv_lib_dl_dlopen
=yes
10847 ac_cv_lib_dl_dlopen
=no
10849 rm -f core conftest.err conftest.
$ac_objext \
10850 conftest
$ac_exeext conftest.
$ac_ext
10851 LIBS
=$ac_check_lib_save_LIBS
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10854 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10855 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10856 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10859 lt_cv_dlopen
="dyld"
10861 lt_cv_dlopen_self
=yes
10868 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10869 if test "x$ac_cv_func_shl_load" = xyes
; then :
10870 lt_cv_dlopen
="shl_load"
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10873 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10874 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10875 $as_echo_n "(cached) " >&6
10877 ac_check_lib_save_LIBS
=$LIBS
10879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10892 return shl_load ();
10897 if ac_fn_c_try_link
"$LINENO"; then :
10898 ac_cv_lib_dld_shl_load
=yes
10900 ac_cv_lib_dld_shl_load
=no
10902 rm -f core conftest.err conftest.
$ac_objext \
10903 conftest
$ac_exeext conftest.
$ac_ext
10904 LIBS
=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10907 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10908 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10909 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10911 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10912 if test "x$ac_cv_func_dlopen" = xyes
; then :
10913 lt_cv_dlopen
="dlopen"
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10916 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10917 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10918 $as_echo_n "(cached) " >&6
10920 ac_check_lib_save_LIBS
=$LIBS
10922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10940 if ac_fn_c_try_link
"$LINENO"; then :
10941 ac_cv_lib_dl_dlopen
=yes
10943 ac_cv_lib_dl_dlopen
=no
10945 rm -f core conftest.err conftest.
$ac_objext \
10946 conftest
$ac_exeext conftest.
$ac_ext
10947 LIBS
=$ac_check_lib_save_LIBS
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10950 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10951 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10952 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10955 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10956 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10957 $as_echo_n "(cached) " >&6
10959 ac_check_lib_save_LIBS
=$LIBS
10960 LIBS
="-lsvld $LIBS"
10961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10979 if ac_fn_c_try_link
"$LINENO"; then :
10980 ac_cv_lib_svld_dlopen
=yes
10982 ac_cv_lib_svld_dlopen
=no
10984 rm -f core conftest.err conftest.
$ac_objext \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_lib_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10989 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10990 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10991 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10994 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10995 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10996 $as_echo_n "(cached) " >&6
10998 ac_check_lib_save_LIBS
=$LIBS
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11013 return dld_link ();
11018 if ac_fn_c_try_link
"$LINENO"; then :
11019 ac_cv_lib_dld_dld_link
=yes
11021 ac_cv_lib_dld_dld_link
=no
11023 rm -f core conftest.err conftest.
$ac_objext \
11024 conftest
$ac_exeext conftest.
$ac_ext
11025 LIBS
=$ac_check_lib_save_LIBS
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11028 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11029 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11030 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11051 if test "x$lt_cv_dlopen" != xno
; then
11057 case $lt_cv_dlopen in
11059 save_CPPFLAGS
="$CPPFLAGS"
11060 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11062 save_LDFLAGS
="$LDFLAGS"
11063 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11066 LIBS
="$lt_cv_dlopen_libs $LIBS"
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11069 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11070 if ${lt_cv_dlopen_self+:} false
; then :
11071 $as_echo_n "(cached) " >&6
11073 if test "$cross_compiling" = yes; then :
11074 lt_cv_dlopen_self
=cross
11076 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11077 lt_status
=$lt_dlunknown
11078 cat > conftest.
$ac_ext <<_LT_EOF
11079 #line $LINENO "configure"
11080 #include "confdefs.h"
11089 # define LT_DLGLOBAL RTLD_GLOBAL
11092 # define LT_DLGLOBAL DL_GLOBAL
11094 # define LT_DLGLOBAL 0
11098 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11099 find out it does not work in some platform. */
11100 #ifndef LT_DLLAZY_OR_NOW
11102 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11105 # define LT_DLLAZY_OR_NOW DL_LAZY
11108 # define LT_DLLAZY_OR_NOW RTLD_NOW
11111 # define LT_DLLAZY_OR_NOW DL_NOW
11113 # define LT_DLLAZY_OR_NOW 0
11120 /* When -fvisbility=hidden is used, assume the code has been annotated
11121 correspondingly for the symbols needed. */
11122 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11123 int fnord () __attribute__((visibility("default")));
11126 int fnord () { return 42; }
11129 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11130 int status = $lt_dlunknown;
11134 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11137 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11138 else puts (dlerror ());
11140 /* dlclose (self); */
11148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11149 (eval $ac_link) 2>&5
11151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11152 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11153 (.
/conftest
; exit; ) >&5 2>/dev
/null
11155 case x
$lt_status in
11156 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11157 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11158 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11161 # compilation failed
11162 lt_cv_dlopen_self
=no
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11170 $as_echo "$lt_cv_dlopen_self" >&6; }
11172 if test "x$lt_cv_dlopen_self" = xyes
; then
11173 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11175 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11176 if ${lt_cv_dlopen_self_static+:} false
; then :
11177 $as_echo_n "(cached) " >&6
11179 if test "$cross_compiling" = yes; then :
11180 lt_cv_dlopen_self_static
=cross
11182 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11183 lt_status
=$lt_dlunknown
11184 cat > conftest.
$ac_ext <<_LT_EOF
11185 #line $LINENO "configure"
11186 #include "confdefs.h"
11195 # define LT_DLGLOBAL RTLD_GLOBAL
11198 # define LT_DLGLOBAL DL_GLOBAL
11200 # define LT_DLGLOBAL 0
11204 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11205 find out it does not work in some platform. */
11206 #ifndef LT_DLLAZY_OR_NOW
11208 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11211 # define LT_DLLAZY_OR_NOW DL_LAZY
11214 # define LT_DLLAZY_OR_NOW RTLD_NOW
11217 # define LT_DLLAZY_OR_NOW DL_NOW
11219 # define LT_DLLAZY_OR_NOW 0
11226 /* When -fvisbility=hidden is used, assume the code has been annotated
11227 correspondingly for the symbols needed. */
11228 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11229 int fnord () __attribute__((visibility("default")));
11232 int fnord () { return 42; }
11235 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11236 int status = $lt_dlunknown;
11240 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11243 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11244 else puts (dlerror ());
11246 /* dlclose (self); */
11254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11255 (eval $ac_link) 2>&5
11257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11258 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11259 (.
/conftest
; exit; ) >&5 2>/dev
/null
11261 case x
$lt_status in
11262 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11263 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11264 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11267 # compilation failed
11268 lt_cv_dlopen_self_static
=no
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11276 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11279 CPPFLAGS
="$save_CPPFLAGS"
11280 LDFLAGS
="$save_LDFLAGS"
11285 case $lt_cv_dlopen_self in
11286 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11287 *) enable_dlopen_self
=unknown
;;
11290 case $lt_cv_dlopen_self_static in
11291 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11292 *) enable_dlopen_self_static
=unknown
;;
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11315 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11316 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
11317 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11318 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11320 $as_echo "yes" >&6; }
11322 # FIXME - insert some real tests, host_os isn't really good enough
11325 if test -n "$STRIP" ; then
11326 striplib
="$STRIP -x"
11327 old_striplib
="$STRIP -S"
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11329 $as_echo "yes" >&6; }
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11332 $as_echo "no" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11353 # Report which library types will actually be built
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11355 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11357 $as_echo "$can_build_shared" >&6; }
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11360 $as_echo_n "checking whether to build shared libraries... " >&6; }
11361 test "$can_build_shared" = "no" && enable_shared
=no
11363 # On AIX, shared libraries and static libraries use the same namespace, and
11364 # are all built from PIC.
11367 test "$enable_shared" = yes && enable_static
=no
11368 if test -n "$RANLIB"; then
11369 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11370 postinstall_cmds
='$RANLIB $lib'
11375 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11376 test "$enable_shared" = yes && enable_static
=no
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11381 $as_echo "$enable_shared" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11384 $as_echo_n "checking whether to build static libraries... " >&6; }
11385 # Make sure either enable_shared or enable_static is yes.
11386 test "$enable_shared" = yes || enable_static
=yes
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11388 $as_echo "$enable_static" >&6; }
11395 ac_cpp
='$CPP $CPPFLAGS'
11396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11414 ac_config_commands
="$ac_config_commands libtool"
11419 # Only expand once:
11423 # Check whether --enable-debug-output was given.
11424 if test "${enable_debug_output+set}" = set; then :
11425 enableval
=$enable_debug_output; if test "x${enableval}" != "xno"; then :
11427 $as_echo "#define PRINT_DEBUG 1" >>confdefs.h
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
11434 $as_echo_n "checking for __attribute__... " >&6; }
11435 if ${ac_cv___attribute__+:} false
; then :
11436 $as_echo_n "(cached) " >&6
11438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440 #include <stdlib.h>
11444 int foo __attribute__ ((unused));
11449 if ac_fn_c_try_compile
"$LINENO"; then :
11450 ac_cv___attribute__
=yes
11452 ac_cv___attribute__
=no
11454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11457 if test "$ac_cv___attribute__" = "yes"; then
11459 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
11463 $as_echo "$ac_cv___attribute__" >&6; }
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __attribute__ format works on function pointers" >&5
11466 $as_echo_n "checking if __attribute__ format works on function pointers... " >&6; }
11467 if ${ac_cv___attribute__fp+:} false
; then :
11468 $as_echo_n "(cached) " >&6
11470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11472 #include <stdlib.h>
11476 static void (*foo)(char *fmt, ...) __attribute__((format(printf, 1, 2)));
11481 if ac_fn_c_try_compile
"$LINENO"; then :
11482 ac_cv___attribute__fp
=yes
11484 ac_cv___attribute__fp
=no
11486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11489 if test "$ac_cv___attribute__fp" = "yes"; then
11491 $as_echo "#define HAVE___ATTRIBUTE__FP 1" >>confdefs.h
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__fp" >&5
11495 $as_echo "$ac_cv___attribute__fp" >&6; }
11497 # ===========================================================================
11498 # http://www.gnu.org/software/autoconf-archive/ax_pthread.html
11499 # ===========================================================================
11503 # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
11507 # This macro figures out how to build C programs using POSIX threads. It
11508 # sets the PTHREAD_LIBS output variable to the threads library and linker
11509 # flags, and the PTHREAD_CFLAGS output variable to any special C compiler
11510 # flags that are needed. (The user can also force certain compiler
11511 # flags/libs to be tested by setting these environment variables.)
11513 # Also sets PTHREAD_CC to any special C compiler that is needed for
11514 # multi-threaded programs (defaults to the value of CC otherwise). (This
11515 # is necessary on AIX to use the special cc_r compiler alias.)
11517 # NOTE: You are assumed to not only compile your program with these flags,
11518 # but also link it with them as well. e.g. you should link with
11519 # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
11521 # If you are only building threads programs, you may wish to use these
11522 # variables in your default LIBS, CFLAGS, and CC:
11524 # LIBS="$PTHREAD_LIBS $LIBS"
11525 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
11528 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
11529 # has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
11530 # (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
11532 # ACTION-IF-FOUND is a list of shell commands to run if a threads library
11533 # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
11534 # is not found. If ACTION-IF-FOUND is not specified, the default action
11535 # will define HAVE_PTHREAD.
11537 # Please let the authors know if this macro fails on any platform, or if
11538 # you have any other suggestions or comments. This macro was based on work
11539 # by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
11540 # from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
11541 # Alejandro Forero Cuervo to the autoconf macro repository. We are also
11542 # grateful for the helpful feedback of numerous users.
11546 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
11548 # This program is free software: you can redistribute it and/or modify it
11549 # under the terms of the GNU General Public License as published by the
11550 # Free Software Foundation, either version 3 of the License, or (at your
11551 # option) any later version.
11553 # This program is distributed in the hope that it will be useful, but
11554 # WITHOUT ANY WARRANTY; without even the implied warranty of
11555 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11556 # Public License for more details.
11558 # You should have received a copy of the GNU General Public License along
11559 # with this program. If not, see <http://www.gnu.org/licenses/>.
11561 # As a special exception, the respective Autoconf Macro's copyright owner
11562 # gives unlimited permission to copy, distribute and modify the configure
11563 # scripts that are the output of Autoconf when processing the Macro. You
11564 # need not follow the terms of the GNU General Public License when using
11565 # or distributing such scripts, even though portions of the text of the
11566 # Macro appear in them. The GNU General Public License (GPL) does govern
11567 # all other use of the material that constitutes the Autoconf Macro.
11569 # This special exception to the GPL applies to versions of the Autoconf
11570 # Macro released by the Autoconf Archive. When you make and distribute a
11571 # modified version of the Autoconf Macro, you may extend this special
11572 # exception to the GPL to apply to your modified version as well.
11576 # This is what autoupdate's m4 run will expand. It fires
11577 # the warning (with _au_warn_XXX), outputs it into the
11578 # updated configure.ac (with AC_DIAGNOSE), and then outputs
11579 # the replacement expansion.
11582 # This is an auxiliary macro that is also run when
11583 # autoupdate runs m4. It simply calls m4_warning, but
11584 # we need a wrapper so that each warning is emitted only
11585 # once. We break the quoting in m4_warning's argument in
11586 # order to expand this macro's arguments, not AU_DEFUN's.
11589 # Finally, this is the expansion that is picked up by
11590 # autoconf. It tells the user to run autoupdate, and
11591 # then outputs the replacement expansion. We do not care
11592 # about autoupdate's warning because that contains
11593 # information on what to do *after* running autoupdate.
11600 ac_cpp
='$CPP $CPPFLAGS'
11601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11607 # We used to check for pthread.h first, but this fails if pthread.h
11608 # requires special compiler flags (e.g. on True64 or Sequent).
11609 # It gets checked for in the link test anyway.
11611 # First of all, check if the user has set any of the PTHREAD_LIBS,
11612 # etcetera environment variables, and if threads linking works using
11614 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
11615 save_CFLAGS
="$CFLAGS"
11616 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
11618 LIBS
="$PTHREAD_LIBS $LIBS"
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
11620 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
11621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11630 char pthread_join ();
11634 return pthread_join ();
11639 if ac_fn_c_try_link
"$LINENO"; then :
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
11645 $as_echo "$ax_pthread_ok" >&6; }
11646 if test x
"$ax_pthread_ok" = xno
; then
11651 CFLAGS
="$save_CFLAGS"
11654 # We must check for the threads library under a number of different
11655 # names; the ordering is very important because some systems
11656 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
11657 # libraries is broken (non-POSIX).
11659 # Create a list of thread flags to try. Items starting with a "-" are
11660 # C compiler flags, and other items are library names, except for "none"
11661 # which indicates that we try without any flags at all, and "pthread-config"
11662 # which is a program returning the flags for the Pth emulation library.
11664 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
11666 # The ordering *is* (sometimes) important. Some notes on the
11667 # individual items follow:
11669 # pthreads: AIX (must check this before -lpthread)
11670 # none: in case threads are in libc; should be tried before -Kthread and
11671 # other compiler flags to prevent continual compiler warnings
11672 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
11673 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
11674 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
11675 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
11676 # -pthreads: Solaris/gcc
11677 # -mthreads: Mingw32/gcc, Lynx/gcc
11678 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
11679 # doesn't hurt to check since this sometimes defines pthreads too;
11680 # also defines -D_REENTRANT)
11681 # ... -mt is also the pthreads flag for HP/aCC
11682 # pthread: Linux, etcetera
11683 # --thread-safe: KAI C++
11684 # pthread-config: use pthread-config program (for GNU Pth library)
11686 case "${host_cpu}-${host_os}" in
11689 # On Solaris (at least, for some versions), libc contains stubbed
11690 # (non-functional) versions of the pthreads routines, so link-based
11691 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
11692 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
11693 # a function called by this macro, so we could check for that, but
11694 # who knows whether they'll stub that too in a future libc.) So,
11695 # we'll just look for -pthreads and -lpthread first:
11697 ax_pthread_flags
="-pthreads pthread -mt -pthread $ax_pthread_flags"
11701 ax_pthread_flags
="-pthread $ax_pthread_flags"
11705 if test x
"$ax_pthread_ok" = xno
; then
11706 for flag
in $ax_pthread_flags; do
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
11711 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
11716 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
11717 PTHREAD_CFLAGS
="$flag"
11721 # Extract the first word of "pthread-config", so it can be a program name with args.
11722 set dummy pthread
-config; ac_word
=$2
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11724 $as_echo_n "checking for $ac_word... " >&6; }
11725 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
11726 $as_echo_n "(cached) " >&6
11728 if test -n "$ax_pthread_config"; then
11729 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
11731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11732 for as_dir
in $PATH
11735 test -z "$as_dir" && as_dir
=.
11736 for ac_exec_ext
in '' $ac_executable_extensions; do
11737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11738 ac_cv_prog_ax_pthread_config
="yes"
11739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11746 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
11749 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
11750 if test -n "$ax_pthread_config"; then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
11752 $as_echo "$ax_pthread_config" >&6; }
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11755 $as_echo "no" >&6; }
11759 if test x
"$ax_pthread_config" = xno
; then continue; fi
11760 PTHREAD_CFLAGS
="`pthread-config --cflags`"
11761 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
11766 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
11767 PTHREAD_LIBS
="-l$flag"
11772 save_CFLAGS
="$CFLAGS"
11773 LIBS
="$PTHREAD_LIBS $LIBS"
11774 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
11776 # Check for various functions. We must include pthread.h,
11777 # since some functions may be macros. (On the Sequent, we
11778 # need a special flag -Kthread to make this header compile.)
11779 # We check for pthread_join because it is in -lpthread on IRIX
11780 # while pthread_create is in libc. We check for pthread_attr_init
11781 # due to DEC craziness with -lpthreads. We check for
11782 # pthread_cleanup_push because it is one of the few pthread
11783 # functions on Solaris that doesn't have a non-functional libc stub.
11784 # We try pthread_create on general principles.
11785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11787 #include <pthread.h>
11788 static void routine(void* a) {a=0;}
11789 static void* start_routine(void* a) {return a;}
11793 pthread_t th; pthread_attr_t attr;
11794 pthread_create(&th,0,start_routine,0);
11795 pthread_join(th, 0);
11796 pthread_attr_init(&attr);
11797 pthread_cleanup_push(routine, 0);
11798 pthread_cleanup_pop(0);
11803 if ac_fn_c_try_link
"$LINENO"; then :
11806 rm -f core conftest.err conftest.
$ac_objext \
11807 conftest
$ac_exeext conftest.
$ac_ext
11810 CFLAGS
="$save_CFLAGS"
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
11813 $as_echo "$ax_pthread_ok" >&6; }
11814 if test "x$ax_pthread_ok" = xyes
; then
11823 # Various other checks:
11824 if test "x$ax_pthread_ok" = xyes
; then
11826 LIBS
="$PTHREAD_LIBS $LIBS"
11827 save_CFLAGS
="$CFLAGS"
11828 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
11830 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
11832 $as_echo_n "checking for joinable pthread attribute... " >&6; }
11834 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
11835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11837 #include <pthread.h>
11841 int attr=$attr; return attr;
11846 if ac_fn_c_try_link
"$LINENO"; then :
11847 attr_name
=$attr; break
11849 rm -f core conftest.err conftest.
$ac_objext \
11850 conftest
$ac_exeext conftest.
$ac_ext
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
11853 $as_echo "$attr_name" >&6; }
11854 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
11856 cat >>confdefs.h
<<_ACEOF
11857 #define PTHREAD_CREATE_JOINABLE $attr_name
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
11863 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
11865 case "${host_cpu}-${host_os}" in
11866 *-aix* | *-freebsd* | *-darwin*) flag
="-D_THREAD_SAFE";;
11867 *solaris
* | *-osf* | *-hpux*) flag
="-D_REENTRANT";;
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
11870 $as_echo "${flag}" >&6; }
11871 if test "x$flag" != xno
; then
11872 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
11876 CFLAGS
="$save_CFLAGS"
11878 # More AIX lossage: must compile with xlc_r or cc_r
11879 if test x
"$GCC" != xyes
; then
11880 for ac_prog
in xlc_r cc_r
11882 # Extract the first word of "$ac_prog", so it can be a program name with args.
11883 set dummy
$ac_prog; ac_word
=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11885 $as_echo_n "checking for $ac_word... " >&6; }
11886 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
11887 $as_echo_n "(cached) " >&6
11889 if test -n "$PTHREAD_CC"; then
11890 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
11892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11893 for as_dir
in $PATH
11896 test -z "$as_dir" && as_dir
=.
11897 for ac_exec_ext
in '' $ac_executable_extensions; do
11898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11899 ac_cv_prog_PTHREAD_CC
="$ac_prog"
11900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11909 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
11910 if test -n "$PTHREAD_CC"; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
11912 $as_echo "$PTHREAD_CC" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11915 $as_echo "no" >&6; }
11919 test -n "$PTHREAD_CC" && break
11921 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
11934 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
11935 if test x
"$ax_pthread_ok" = xyes
; then
11937 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
11945 ac_cpp
='$CPP $CPPFLAGS'
11946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11951 LIBS
="$PTHREAD_LIBS $LIBS"
11952 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
11956 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
11957 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
11958 $as_echo_n "(cached) " >&6
11960 ac_check_lib_save_LIBS
=$LIBS
11961 LIBS
="-lpthread $LIBS"
11962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11971 char pthread_create ();
11975 return pthread_create ();
11980 if ac_fn_c_try_link
"$LINENO"; then :
11981 ac_cv_lib_pthread_pthread_create
=yes
11983 ac_cv_lib_pthread_pthread_create
=no
11985 rm -f core conftest.err conftest.
$ac_objext \
11986 conftest
$ac_exeext conftest.
$ac_ext
11987 LIBS
=$ac_check_lib_save_LIBS
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
11990 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
11991 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
11992 cat >>confdefs.h
<<_ACEOF
11993 #define HAVE_LIBPTHREAD 1
11996 LIBS
="-lpthread $LIBS"
12001 for ac_header
in signal.h
12003 ac_fn_c_check_header_mongrel
"$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
12004 if test "x$ac_cv_header_signal_h" = xyes
; then :
12005 cat >>confdefs.h
<<_ACEOF
12006 #define HAVE_SIGNAL_H 1
12014 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12015 if test "x$ac_cv_type_size_t" = xyes
; then :
12019 cat >>confdefs.h
<<_ACEOF
12020 #define size_t unsigned int
12029 ac_config_files
="$ac_config_files Makefile"
12031 cat >confcache
<<\_ACEOF
12032 # This file is a shell script that caches the results of configure
12033 # tests run on this system so they can be shared between configure
12034 # scripts and configure runs, see configure's option --config-cache.
12035 # It is not useful on other systems. If it contains results you don't
12036 # want to keep, you may remove or edit it.
12038 # config.status only pays attention to the cache file if you give it
12039 # the --recheck option to rerun configure.
12041 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12042 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12043 # following values.
12047 # The following way of writing the cache mishandles newlines in values,
12048 # but we know of no workaround that is simple, portable, and efficient.
12049 # So, we kill variables containing newlines.
12050 # Ultrix sh set writes to stderr and can't be redirected directly,
12051 # and sets the high bit in the cache file unless we assign to the vars.
12053 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12054 eval ac_val
=\$
$ac_var
12058 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12062 _
| IFS
| as_nl
) ;; #(
12063 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
12064 *) { eval $ac_var=; unset $ac_var;} ;;
12070 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12071 *${as_nl}ac_space
=\
*)
12072 # `set' does not quote correctly, so add quotes: double-quote
12073 # substitution turns \\\\ into \\, and sed turns \\ into \.
12076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12079 # `set' quotes correctly as required by POSIX, so do not add quotes.
12080 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12089 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12091 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12093 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12094 if test -w "$cache_file"; then
12095 if test "x$cache_file" != "x/dev/null"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12097 $as_echo "$as_me: updating cache $cache_file" >&6;}
12098 if test ! -f "$cache_file" || test -h "$cache_file"; then
12099 cat confcache
>"$cache_file"
12101 case $cache_file in #(
12103 mv -f confcache
"$cache_file"$$
&&
12104 mv -f "$cache_file"$$
"$cache_file" ;; #(
12106 mv -f confcache
"$cache_file" ;;
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12112 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12117 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12118 # Let make expand exec_prefix.
12119 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12121 DEFS
=-DHAVE_CONFIG_H
12126 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12127 # 1. Remove the extension, and $U if already installed.
12128 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12129 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12130 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12131 # will be set to the directory where LIBOBJS objects are built.
12132 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12133 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12135 LIBOBJS
=$ac_libobjs
12137 LTLIBOBJS
=$ac_ltlibobjs
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12141 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12142 if test -n "$am_sleep_pid"; then
12143 # Hide warnings about reused PIDs.
12144 wait $am_sleep_pid 2>/dev
/null
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12147 $as_echo "done" >&6; }
12148 if test -n "$EXEEXT"; then
12150 am__EXEEXT_FALSE
='#'
12152 am__EXEEXT_TRUE
='#'
12156 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12157 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12160 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12161 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12165 : "${CONFIG_STATUS=./config.status}"
12167 ac_clean_files_save
=$ac_clean_files
12168 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12170 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12172 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12174 # Generated by $as_me.
12175 # Run this file to recreate the current configuration.
12176 # Compiler output produced by configure, useful for debugging
12177 # configure, is in config.log if it exists.
12180 ac_cs_recheck=false
12183 SHELL=\${CONFIG_SHELL-$SHELL}
12186 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
12187 ## -------------------- ##
12188 ## M4sh Initialization. ##
12189 ## -------------------- ##
12191 # Be more Bourne compatible
12192 DUALCASE
=1; export DUALCASE
# for MKS sh
12193 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12196 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12197 # is contrary to our usage. Disable this feature.
12198 alias -g '${1+"$@"}'='"$@"'
12199 setopt NO_GLOB_SUBST
12201 case `(set -o) 2>/dev/null` in #(
12213 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12214 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12215 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12216 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12217 # Prefer a ksh shell builtin over an external printf program on Solaris,
12218 # but without wasting forks for bash or zsh.
12219 if test -z "$BASH_VERSION$ZSH_VERSION" \
12220 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12221 as_echo='print
-r --'
12222 as_echo_n='print
-rn --'
12223 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12224 as_echo='printf %s
\n'
12225 as_echo_n='printf %s
'
12227 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12228 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12229 as_echo_n='/usr
/ucb
/echo -n'
12231 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12232 as_echo_n_body='eval
12236 expr "X$arg" : "X\\(.*\\)$as_nl";
12237 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12239 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12241 export as_echo_n_body
12242 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12244 export as_echo_body
12245 as_echo='sh
-c $as_echo_body as_echo
'
12248 # The user is always right.
12249 if test "${PATH_SEPARATOR+set}" != set; then
12251 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12252 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12259 # We need space, tab and new line, in precisely that order. Quoting is
12260 # there to prevent editors from complaining about space-tab.
12261 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12262 # splitting by setting IFS to empty value.)
12265 # Find who we are. Look in the path if we contain no directory separator.
12268 *[\\/]* ) as_myself=$0 ;;
12269 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12270 for as_dir in $PATH
12273 test -z "$as_dir" && as_dir=.
12274 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12280 # We did not find ourselves, most probably we were run as `sh COMMAND'
12281 # in which case we are not to be found in the path.
12282 if test "x$as_myself" = x
; then
12285 if test ! -f "$as_myself"; then
12286 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12290 # Unset variables that we do not need and which cause bugs (e.g. in
12291 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12292 # suppresses any "Segmentation fault" message there. '((' could
12293 # trigger a bug in pdksh 5.2.14.
12294 for as_var
in BASH_ENV ENV MAIL MAILPATH
12295 do eval test x\
${$as_var+set} = xset \
12296 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
12309 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12312 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12313 # ----------------------------------------
12314 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12315 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12316 # script with STATUS, using 1 if that was 0.
12319 as_status
=$1; test $as_status -eq 0 && as_status
=1
12321 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12322 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12324 $as_echo "$as_me: error: $2" >&2
12325 as_fn_exit
$as_status
12329 # as_fn_set_status STATUS
12330 # -----------------------
12331 # Set $? to STATUS, without forking.
12332 as_fn_set_status
()
12335 } # as_fn_set_status
12337 # as_fn_exit STATUS
12338 # -----------------
12339 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12343 as_fn_set_status
$1
12349 # Portably unset VAR.
12352 { eval $1=; unset $1;}
12354 as_unset
=as_fn_unset
12355 # as_fn_append VAR VALUE
12356 # ----------------------
12357 # Append the text in VALUE to the end of the definition contained in VAR. Take
12358 # advantage of any shell optimizations that allow amortized linear growth over
12359 # repeated appends, instead of the typical quadratic growth present in naive
12361 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12362 eval 'as_fn_append ()
12373 # as_fn_arith ARG...
12374 # ------------------
12375 # Perform arithmetic evaluation on the ARGs, and store the result in the
12376 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12377 # must be portable across $(()) and expr.
12378 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12379 eval 'as_fn_arith ()
12386 as_val
=`expr "$@" || test $? -eq 1`
12391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12399 as_basename
=basename
12404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12410 as_me
=`$as_basename -- "$0" ||
12411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12412 X"$0" : 'X\(//\)$' \| \
12413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12415 sed '/^.*\/\([^/][^/]*\)\/*$/{
12429 # Avoid depending upon Character Ranges.
12430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12433 as_cr_digits
='0123456789'
12434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12436 ECHO_C
= ECHO_N
= ECHO_T
=
12437 case `echo -n x` in #(((((
12439 case `echo 'xy\c'` in
12440 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12442 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12449 rm -f conf$$ conf$$.exe conf$$.
file
12450 if test -d conf$$.dir
; then
12451 rm -f conf$$.dir
/conf$$.
file
12454 mkdir conf$$.dir
2>/dev
/null
12456 if (echo >conf$$.
file) 2>/dev
/null
; then
12457 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12459 # ... but there are two gotchas:
12460 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12461 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12462 # In both cases, we have to default to `cp -pR'.
12463 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
12465 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12473 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12474 rmdir conf$$.dir
2>/dev
/null
12479 # Create "$as_dir" as a directory, including parents if necessary.
12484 -*) as_dir
=.
/$as_dir;;
12486 test -d "$as_dir" || eval $as_mkdir_p || {
12490 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12491 *) as_qdir
=$as_dir;;
12493 as_dirs
="'$as_qdir' $as_dirs"
12494 as_dir
=`$as_dirname -- "$as_dir" ||
12495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12496 X"$as_dir" : 'X\(//\)[^/]' \| \
12497 X"$as_dir" : 'X\(//\)$' \| \
12498 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12499 $as_echo X"$as_dir" |
12500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12504 /^X\(\/\/\)[^/].*/{
12517 test -d "$as_dir" && break
12519 test -z "$as_dirs" || eval "mkdir $as_dirs"
12520 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12524 if mkdir -p .
2>/dev
/null
; then
12525 as_mkdir_p
='mkdir -p "$as_dir"'
12527 test -d .
/-p && rmdir .
/-p
12532 # as_fn_executable_p FILE
12533 # -----------------------
12534 # Test if FILE is an executable regular file.
12535 as_fn_executable_p
()
12537 test -f "$1" && test -x "$1"
12538 } # as_fn_executable_p
12539 as_test_x
='test -x'
12540 as_executable_p
=as_fn_executable_p
12542 # Sed expression to map a string onto a valid CPP name.
12543 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12545 # Sed expression to map a string onto a valid variable name.
12546 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12550 ## ----------------------------------- ##
12551 ## Main body of $CONFIG_STATUS script. ##
12552 ## ----------------------------------- ##
12554 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12556 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12557 # Save the log message, to keep $0 and so on meaningful, and to
12558 # report actual input values of CONFIG_FILES etc. instead of their
12559 # values after options handling.
12561 This file was extended by region-bounded dynamic allocator $as_me 0.0, which was
12562 generated by GNU Autoconf 2.69. Invocation command line was
12564 CONFIG_FILES = $CONFIG_FILES
12565 CONFIG_HEADERS = $CONFIG_HEADERS
12566 CONFIG_LINKS = $CONFIG_LINKS
12567 CONFIG_COMMANDS = $CONFIG_COMMANDS
12570 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12575 case $ac_config_files in *"
12576 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12579 case $ac_config_headers in *"
12580 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12585 # Files that config.status was made for.
12586 config_files="$ac_config_files"
12587 config_headers="$ac_config_headers"
12588 config_commands="$ac_config_commands"
12592 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12594 \`$as_me' instantiates files and other configuration actions
12595 from templates according to the current configuration. Unless the files
12596 and actions are specified as TAGs, all are instantiated by default.
12598 Usage: $0 [OPTION]... [TAG]...
12600 -h, --help print this help, then exit
12601 -V, --version print version number and configuration settings, then exit
12602 --config print configuration, then exit
12603 -q, --quiet, --silent
12604 do not print progress messages
12605 -d, --debug don't remove temporary files
12606 --recheck update $as_me by reconfiguring in the same conditions
12607 --file=FILE[:TEMPLATE]
12608 instantiate the configuration file FILE
12609 --header=FILE[:TEMPLATE]
12610 instantiate the configuration header FILE
12612 Configuration files:
12615 Configuration headers:
12618 Configuration commands:
12621 Report bugs to <Justin Wind <justin.wind@gmail.com>>."
12624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12625 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12627 region-bounded dynamic allocator config.status 0.0
12628 configured by $0, generated by GNU Autoconf 2.69,
12629 with options \\"\$ac_cs_config\\"
12631 Copyright (C) 2012 Free Software Foundation, Inc.
12632 This config.status script is free software; the Free Software Foundation
12633 gives unlimited permission to copy, distribute and modify it."
12640 test -n "\$AWK" || AWK=awk
12643 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12644 # The default lists apply if the user does not specify any file.
12650 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12651 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12655 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12667 # Handling of the options.
12668 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12670 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12671 $as_echo "$ac_cs_version"; exit ;;
12672 --config | --confi | --conf | --con | --co | --c )
12673 $as_echo "$ac_cs_config"; exit ;;
12674 --debug | --debu | --deb | --de | --d | -d )
12676 --file | --fil | --fi | --f )
12679 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12680 '') as_fn_error $?
"missing file argument" ;;
12682 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12683 ac_need_defaults
=false
;;
12684 --header | --heade | --head | --hea )
12687 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12689 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12690 ac_need_defaults
=false
;;
12692 # Conflict between --help and --header
12693 as_fn_error $?
"ambiguous option: \`$1'
12694 Try \`$0 --help' for more information.";;
12695 --help | --hel | -h )
12696 $as_echo "$ac_cs_usage"; exit ;;
12697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12701 # This is an error.
12702 -*) as_fn_error $?
"unrecognized option: \`$1'
12703 Try \`$0 --help' for more information." ;;
12705 *) as_fn_append ac_config_targets
" $1"
12706 ac_need_defaults
=false
;;
12712 ac_configure_extra_args
=
12714 if $ac_cs_silent; then
12716 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12721 if \$ac_cs_recheck; then
12722 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12724 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12725 CONFIG_SHELL='$SHELL'
12726 export CONFIG_SHELL
12731 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
12735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12736 ## Running $as_me. ##
12742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12749 # The HP-UX ksh and POSIX shell print the target directory to stdout
12750 # if CDPATH is set.
12751 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12753 sed_quote_subst='$sed_quote_subst'
12754 double_quote_subst='$double_quote_subst'
12755 delay_variable_subst='$delay_variable_subst'
12756 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12757 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12758 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12759 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12760 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12761 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12762 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12763 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12764 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12765 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12766 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12767 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12768 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12769 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12770 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12771 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12772 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12773 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12774 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12775 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12776 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12777 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12778 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12779 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12780 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12781 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12782 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12783 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12784 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12785 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12786 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12787 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12788 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12789 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12790 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12791 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12792 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12793 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12794 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12795 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12796 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12797 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12798 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12799 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12800 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12801 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12802 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12803 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12804 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12805 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12806 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12807 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12808 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12809 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12810 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12811 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"`'
12812 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12813 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12814 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12815 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12816 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12817 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12818 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12819 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12820 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12821 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12822 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12823 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12824 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12825 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12826 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12827 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12828 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12829 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12830 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12831 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12832 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12833 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12834 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12835 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12836 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12837 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12838 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12839 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12840 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12841 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12842 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12843 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12844 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12845 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12846 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12847 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12848 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12849 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12850 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12851 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12852 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12853 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12854 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12855 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12856 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12857 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12858 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12859 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12860 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12861 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12862 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12863 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12864 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12865 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12866 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12867 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12868 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12869 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12870 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12871 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12872 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12873 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12874 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12875 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12876 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12877 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12878 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12879 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12880 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12881 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12882 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12883 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12884 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12885 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12888 LTCFLAGS='$LTCFLAGS'
12889 compiler='$compiler_DEFAULT'
12891 # A function that is used when there is no print builtin or printf.
12892 func_fallback_echo ()
12894 eval 'cat <<_LTECHO_EOF
12899 # Quote evaled strings.
12913 deplibs_check_method \
12918 sharedlib_from_linklib_cmd \
12921 archiver_list_spec \
12927 lt_cv_sys_global_symbol_pipe \
12928 lt_cv_sys_global_symbol_to_cdecl \
12929 lt_cv_sys_global_symbol_to_c_name_address \
12930 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12931 nm_file_list_spec \
12932 lt_prog_compiler_no_builtin_flag \
12933 lt_prog_compiler_pic \
12934 lt_prog_compiler_wl \
12935 lt_prog_compiler_static \
12936 lt_cv_prog_compiler_c_o \
12945 export_dynamic_flag_spec \
12946 whole_archive_flag_spec \
12947 compiler_needs_object \
12949 allow_undefined_flag \
12950 no_undefined_flag \
12951 hardcode_libdir_flag_spec \
12952 hardcode_libdir_flag_spec_ld \
12953 hardcode_libdir_separator \
12957 variables_saved_for_relink \
12959 library_names_spec \
12961 install_override_mode \
12965 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12966 *[\\\\\\\`\\"\\\$]*)
12967 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12970 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12975 # Double-quote double-evaled strings.
12976 for var in reload_cmds \
12977 old_postinstall_cmds \
12978 old_postuninstall_cmds \
12980 extract_expsyms_cmds \
12981 old_archive_from_new_cmds \
12982 old_archive_from_expsyms_cmds \
12984 archive_expsym_cmds \
12986 module_expsym_cmds \
12987 export_symbols_cmds \
12991 postuninstall_cmds \
12993 sys_lib_search_path_spec \
12994 sys_lib_dlsearch_path_spec; do
12995 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12996 *[\\\\\\\`\\"\\\$]*)
12997 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13000 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13005 ac_aux_dir='$ac_aux_dir'
13006 xsi_shell='$xsi_shell'
13007 lt_shell_append='$lt_shell_append'
13009 # See if we are running on zsh, and set the options which allow our
13010 # commands through without removal of \ escapes INIT.
13011 if test -n "\${ZSH_VERSION+set}" ; then
13012 setopt NO_GLOB_SUBST
13018 TIMESTAMP='$TIMESTAMP'
13027 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13029 # Handling of arguments.
13030 for ac_config_target
in $ac_config_targets
13032 case $ac_config_target in
13033 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13034 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13035 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13036 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13038 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13043 # If the user did not use the arguments to specify the items to instantiate,
13044 # then the envvar interface is used. Set only those that are not.
13045 # We use the long form for the default assignment because of an extremely
13046 # bizarre bug on SunOS 4.1.3.
13047 if $ac_need_defaults; then
13048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13049 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13050 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13053 # Have a temporary directory for convenience. Make it in the build tree
13054 # simply because there is no reason against having it here, and in addition,
13055 # creating and moving files from /tmp can sometimes cause problems.
13056 # Hook for its removal unless debugging.
13057 # Note that there is a small window in which the directory will not be cleaned:
13058 # after its creation but before its name has been assigned to `$tmp'.
13062 trap 'exit_status=$?
13063 : "${ac_tmp:=$tmp}"
13064 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13066 trap 'as_fn_exit 1' 1 2 13 15
13068 # Create a (secure) tmp directory for tmp files.
13071 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13075 tmp
=.
/conf$$
-$RANDOM
13076 (umask 077 && mkdir "$tmp")
13077 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13080 # Set up the scripts for CONFIG_FILES section.
13081 # No need to generate them if there are no CONFIG_FILES.
13082 # This happens for instance with `./config.status config.h'.
13083 if test -n "$CONFIG_FILES"; then
13086 ac_cr
=`echo X | tr X '\015'`
13087 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13088 # But we know of no other shell where ac_cr would be empty at this
13089 # point, so we can use a bashism as a fallback.
13090 if test "x$ac_cr" = x
; then
13091 eval ac_cr
=\$
\'\\r
\'
13093 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13094 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13097 ac_cs_awk_cr
=$ac_cr
13100 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13105 echo "cat >conf$$subs.awk <<_ACEOF" &&
13106 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13108 } >conf$$subs.sh ||
13109 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13110 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13112 for ac_last_try in false false false false false :; do
13113 . ./conf$$subs.sh ||
13114 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13116 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13117 if test $ac_delim_n = $ac_delim_num; then
13119 elif $ac_last_try; then
13120 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13122 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13125 rm -f conf$$subs.sh
13127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13128 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13132 s/^/S["/; s
/!.
*/"]=/
13142 s/\(.\{148\}\)..*/\1/
13144 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13149 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13156 s/\(.\{148\}\)..*/\1/
13158 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13162 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13167 ' <conf$$subs.awk | sed '
13172 ' >>$CONFIG_STATUS || ac_write_fail=1
13173 rm -f conf$$subs.awk
13174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13176 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13177 for (key in S) S_is_set[key] = 1
13183 nfields = split(line, field, "@
")
13185 len = length(field[1])
13186 for (i = 2; i < nfields; i++) {
13188 keylen = length(key)
13189 if (S_is_set[key]) {
13191 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13192 len += length(value) + length(field[++i])
13203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13204 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13205 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13208 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13209 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13212 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13213 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13214 # trailing colons and then remove the whole line if VPATH becomes empty
13215 # (actually we leave an empty line to preserve line numbers).
13216 if test "x
$srcdir" = x.; then
13217 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13236 fi # test -n "$CONFIG_FILES"
13238 # Set up the scripts for CONFIG_HEADERS section.
13239 # No need to generate them if there are no CONFIG_HEADERS.
13240 # This happens for instance with `./config.status Makefile'.
13241 if test -n "$CONFIG_HEADERS"; then
13242 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13246 # Transform confdefs.h into an awk script `defines.awk', embedded as
13247 # here-document in config.status, that substitutes the proper values into
13248 # config.h.in to produce config.h.
13250 # Create a delimiter string that does not exist in confdefs.h, to ease
13251 # handling of long lines.
13253 for ac_last_try in false false :; do
13254 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13255 if test -z "$ac_tt"; then
13257 elif $ac_last_try; then
13258 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13260 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13264 # For the awk script, D is an array of macro values keyed by name,
13265 # likewise P contains macro parameters if any. Preserve backslash
13266 # newline sequences.
13268 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13270 s/.\{148\}/&'"$ac_delim"'/g
13273 s/^[ ]*#[ ]*define[ ][ ]*/ /
13280 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13282 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13286 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13287 D["\
1"]=" \
3\\\\\\n
"\\/p
13289 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13294 s/.\{148\}/&'"$ac_delim"'/g
13299 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13302 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13304 ' <confdefs.h | sed '
13305 s/'"$ac_delim"'/"\\\
13306 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13309 for (key in D) D_is_set[key] = 1
13312 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13314 split(line, arg, " ")
13315 if (arg[1] == "#") {
13319 defundef
= substr
(arg
[1], 2)
13322 split(mac1
, mac2
, "(") #)
13324 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13325 if (D_is_set
[macro
]) {
13326 # Preserve the white space surrounding the "#".
13327 print prefix
"define", macro P
[macro
] D
[macro
]
13330 # Replace #undef with comments. This is necessary, for example,
13331 # in the case of _POSIX_SOURCE, which is predefined and required
13332 # on some systems where configure will not decide to define it.
13333 if (defundef
== "undef") {
13334 print
"/*", prefix defundef
, macro
, "*/"
13342 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13343 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13344 fi # test -n "$CONFIG_HEADERS"
13347 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13352 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13354 case $ac_mode$ac_tag in
13356 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13357 :[FH
]-) ac_tag
=-:-;;
13358 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13375 -) ac_f
="$ac_tmp/stdin";;
13376 *) # Look for the file first in the build tree, then in the source tree
13377 # (if the path is not absolute). The absolute path cannot be DOS-style,
13378 # because $ac_f cannot contain `:'.
13382 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13384 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13386 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13387 as_fn_append ac_file_inputs
" '$ac_f'"
13390 # Let's still pretend it is `configure' which instantiates (i.e., don't
13391 # use $as_me), people would be surprised to read:
13392 # /* config.h. Generated by config.status. */
13393 configure_input
='Generated from '`
13394 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13396 if test x
"$ac_file" != x
-; then
13397 configure_input
="$ac_file. $configure_input"
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13399 $as_echo "$as_me: creating $ac_file" >&6;}
13401 # Neutralize special characters interpreted by sed in replacement strings.
13402 case $configure_input in #(
13403 *\
&* | *\
|* | *\\* )
13404 ac_sed_conf_input
=`$as_echo "$configure_input" |
13405 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13406 *) ac_sed_conf_input
=$configure_input;;
13410 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13411 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13416 ac_dir
=`$as_dirname -- "$ac_file" ||
13417 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13418 X"$ac_file" : 'X\(//\)[^/]' \| \
13419 X"$ac_file" : 'X\(//\)$' \| \
13420 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13421 $as_echo X"$ac_file" |
13422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13426 /^X\(\/\/\)[^/].*/{
13439 as_dir
="$ac_dir"; as_fn_mkdir_p
13443 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13445 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13446 # A ".." for each directory in $ac_dir_suffix.
13447 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13448 case $ac_top_builddir_sub in
13449 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13450 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13453 ac_abs_top_builddir
=$ac_pwd
13454 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13455 # for backward compatibility:
13456 ac_top_builddir
=$ac_top_build_prefix
13459 .
) # We are building in place.
13461 ac_top_srcdir
=$ac_top_builddir_sub
13462 ac_abs_top_srcdir
=$ac_pwd ;;
13463 [\\/]* | ?
:[\\/]* ) # Absolute name.
13464 ac_srcdir
=$srcdir$ac_dir_suffix;
13465 ac_top_srcdir
=$srcdir
13466 ac_abs_top_srcdir
=$srcdir ;;
13467 *) # Relative name.
13468 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13469 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13470 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13472 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13482 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13483 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13485 ac_MKDIR_P
=$MKDIR_P
13487 [\\/$
]* | ?
:[\\/]* ) ;;
13488 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13492 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13493 # If the template does not know about datarootdir, expand it.
13494 # FIXME: This hack should be removed a few years after 2.60.
13495 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13506 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13507 *datarootdir
*) ac_datarootdir_seen
=yes;;
13508 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13510 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13513 ac_datarootdir_hack='
13514 s&@datadir@&$datadir&g
13515 s&@docdir@&$docdir&g
13516 s&@infodir@&$infodir&g
13517 s&@localedir@&$localedir&g
13518 s&@mandir@&$mandir&g
13519 s&\\\${datarootdir}&$datarootdir&g' ;;
13523 # Neutralize VPATH when `$srcdir' = `.'.
13524 # Shell code in configure.ac might set extrasub.
13525 # FIXME: do we really want to maintain this feature?
13526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13527 ac_sed_extra="$ac_vpsub
13530 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
13532 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
13533 s
|@configure_input@
|$ac_sed_conf_input|;t t
13534 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13535 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13536 s
&@srcdir@
&$ac_srcdir&;t t
13537 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13538 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13539 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13540 s
&@builddir@
&$ac_builddir&;t t
13541 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13542 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13543 s
&@INSTALL@
&$ac_INSTALL&;t t
13544 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13545 $ac_datarootdir_hack
13547 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13548 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13550 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13551 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13552 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13553 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13555 which seems to be undefined. Please make sure it is defined" >&5
13556 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13557 which seems to be undefined. Please make sure it is defined" >&2;}
13559 rm -f "$ac_tmp/stdin"
13561 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13562 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13564 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13570 if test x"$ac_file" != x-; then
13572 $as_echo "/* $configure_input */" \
13573 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13574 } >"$ac_tmp/config.h" \
13575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13576 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13578 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13581 mv "$ac_tmp/config.h" "$ac_file" \
13582 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13585 $as_echo "/* $configure_input */" \
13586 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13587 || as_fn_error $? "could not create -" "$LINENO" 5
13589 # Compute "$ac_file"'s index
in $config_headers.
13592 for _am_header
in $config_headers :; do
13593 case $_am_header in
13594 $_am_arg | $_am_arg:* )
13597 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13600 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13601 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13602 X"$_am_arg" : 'X\(//\)[^/]' \| \
13603 X"$_am_arg" : 'X\(//\)$' \| \
13604 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13605 $as_echo X"$_am_arg" |
13606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13610 /^X\(\/\/\)[^/].*/{
13622 s/.*/./; q'`/stamp
-h$_am_stamp_count
13625 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13626 $as_echo "$as_me: executing $ac_file commands" >&6;}
13631 case $ac_file$ac_mode in
13632 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
13633 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13634 # are listed without --file. Let's play safe and only enable the eval
13635 # if we detect the quoting.
13636 case $CONFIG_FILES in
13637 *\'*) eval set x
"$CONFIG_FILES" ;;
13638 *) set x
$CONFIG_FILES ;;
13643 # Strip MF so we end up with the name of the file.
13644 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13645 # Check whether this is an Automake generated Makefile or not.
13646 # We used to match only the files named 'Makefile.in', but
13647 # some people rename them; so instead we look at the file content.
13648 # Grep'ing the first line is not enough: some people post-process
13649 # each Makefile.in and add a new line on top of each file to say so.
13650 # Grep'ing the whole file is not good either: AIX grep has a line
13651 # limit of 2048, but all sed's we know have understand at least 4000.
13652 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
13653 dirpart
=`$as_dirname -- "$mf" ||
13654 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13655 X"$mf" : 'X\(//\)[^/]' \| \
13656 X"$mf" : 'X\(//\)$' \| \
13657 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13663 /^X\(\/\/\)[^/].*/{
13679 # Extract the definition of DEPDIR, am__include, and am__quote
13680 # from the Makefile without running 'make'.
13681 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13682 test -z "$DEPDIR" && continue
13683 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13684 test -z "am__include" && continue
13685 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13686 # Find all dependency output files, they are included files with
13687 # $(DEPDIR) in their names. We invoke sed twice because it is the
13688 # simplest approach to changing $(DEPDIR) to its actual value in the
13690 for file in `sed -n "
13691 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13692 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13693 # Make sure the directory exists.
13694 test -f "$dirpart/$file" && continue
13695 fdir
=`$as_dirname -- "$file" ||
13696 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13697 X"$file" : 'X\(//\)[^/]' \| \
13698 X"$file" : 'X\(//\)$' \| \
13699 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13700 $as_echo X"$file" |
13701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13705 /^X\(\/\/\)[^/].*/{
13718 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13719 # echo "creating $dirpart/$file"
13720 echo '# dummy' > "$dirpart/$file"
13727 # See if we are running on zsh, and set the options which allow our
13728 # commands through without removal of \ escapes.
13729 if test -n "${ZSH_VERSION+set}" ; then
13730 setopt NO_GLOB_SUBST
13733 cfgfile
="${ofile}T"
13734 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13737 cat <<_LT_EOF >> "$cfgfile"
13740 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13741 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13742 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13743 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13745 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13746 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13748 # Written by Gordon Matzigkeit, 1996
13750 # This file is part of GNU Libtool.
13752 # GNU Libtool is free software; you can redistribute it and/or
13753 # modify it under the terms of the GNU General Public License as
13754 # published by the Free Software Foundation; either version 2 of
13755 # the License, or (at your option) any later version.
13757 # As a special exception to the GNU General Public License,
13758 # if you distribute this file as part of a program or library that
13759 # is built using GNU Libtool, you may include this file under the
13760 # same distribution terms that you use for the rest of that program.
13762 # GNU Libtool is distributed in the hope that it will be useful,
13763 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13764 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13765 # GNU General Public License for more details.
13767 # You should have received a copy of the GNU General Public License
13768 # along with GNU Libtool; see the file COPYING. If not, a copy
13769 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13770 # obtained by writing to the Free Software Foundation, Inc.,
13771 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13774 # The names of the tagged configurations supported by this script.
13777 # ### BEGIN LIBTOOL CONFIG
13779 # Which release of libtool.m4 was used?
13780 macro_version=$macro_version
13781 macro_revision=$macro_revision
13783 # Whether or not to build shared libraries.
13784 build_libtool_libs=$enable_shared
13786 # Whether or not to build static libraries.
13787 build_old_libs=$enable_static
13789 # What type of objects to build.
13792 # Whether or not to optimize for fast installation.
13793 fast_install=$enable_fast_install
13795 # Shell to use when invoking shell scripts.
13798 # An echo program that protects backslashes.
13802 host_alias=$host_alias
13806 # The build system.
13807 build_alias=$build_alias
13811 # A sed program that does not truncate output.
13814 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13815 Xsed="\$SED -e 1s/^X//"
13817 # A grep program that handles long lines.
13823 # A literal string matcher.
13826 # A BSD- or MS-compatible name lister.
13829 # Whether we need soft or hard links.
13832 # What is the maximum length of a command?
13833 max_cmd_len=$max_cmd_len
13835 # Object file suffix (normally "o").
13838 # Executable file suffix (normally "").
13841 # whether the shell understands "unset".
13844 # turn spaces into newlines.
13847 # turn newlines into spaces.
13850 # convert \$build file names to \$host format.
13851 to_host_file_cmd=$lt_cv_to_host_file_cmd
13853 # convert \$build files to toolchain format.
13854 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13856 # An object symbol dumper.
13857 OBJDUMP=$lt_OBJDUMP
13859 # Method to check whether dependent libraries are shared objects.
13860 deplibs_check_method=$lt_deplibs_check_method
13862 # Command to use when deplibs_check_method = "file_magic".
13863 file_magic_cmd=$lt_file_magic_cmd
13865 # How to find potential files when deplibs_check_method = "file_magic".
13866 file_magic_glob=$lt_file_magic_glob
13868 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13869 want_nocaseglob=$lt_want_nocaseglob
13871 # DLL creation program.
13872 DLLTOOL=$lt_DLLTOOL
13874 # Command to associate shared and link libraries.
13875 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13880 # Flags to create an archive.
13881 AR_FLAGS=$lt_AR_FLAGS
13883 # How to feed a file listing to the archiver.
13884 archiver_list_spec=$lt_archiver_list_spec
13886 # A symbol stripping program.
13889 # Commands used to install an old-style archive.
13891 old_postinstall_cmds=$lt_old_postinstall_cmds
13892 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13894 # Whether to use a lock for old archive extraction.
13895 lock_old_archive_extraction=$lock_old_archive_extraction
13900 # LTCC compiler flags.
13901 LTCFLAGS=$lt_CFLAGS
13903 # Take the output of nm and produce a listing of raw symbols and C names.
13904 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13906 # Transform the output of nm in a proper C declaration.
13907 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13909 # Transform the output of nm in a C name address pair.
13910 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13912 # Transform the output of nm in a C name address pair when lib prefix is needed.
13913 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13915 # Specify filename containing input files for \$NM.
13916 nm_file_list_spec=$lt_nm_file_list_spec
13918 # The root where to search for dependent libraries,and in which our libraries should be installed.
13919 lt_sysroot=$lt_sysroot
13921 # The name of the directory that contains temporary libtool files.
13924 # Used to examine libraries when file_magic_cmd begins with "file".
13925 MAGIC_CMD=$MAGIC_CMD
13927 # Must we lock files when doing compilation?
13928 need_locks=$lt_need_locks
13931 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13933 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13934 DSYMUTIL=$lt_DSYMUTIL
13936 # Tool to change global to local symbols on Mac OS X.
13939 # Tool to manipulate fat objects and archives on Mac OS X.
13942 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13945 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13946 OTOOL64=$lt_OTOOL64
13948 # Old archive suffix (normally "a").
13951 # Shared library suffix (normally ".so").
13952 shrext_cmds=$lt_shrext_cmds
13954 # The commands to extract the exported symbol list from a shared archive.
13955 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13957 # Variables whose values should be saved in libtool wrapper scripts and
13958 # restored at link time.
13959 variables_saved_for_relink=$lt_variables_saved_for_relink
13961 # Do we need the "lib" prefix for modules?
13962 need_lib_prefix=$need_lib_prefix
13964 # Do we need a version for libraries?
13965 need_version=$need_version
13967 # Library versioning type.
13968 version_type=$version_type
13970 # Shared library runtime path variable.
13971 runpath_var=$runpath_var
13973 # Shared library path variable.
13974 shlibpath_var=$shlibpath_var
13976 # Is shlibpath searched before the hard-coded library search path?
13977 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13979 # Format of library name prefix.
13980 libname_spec=$lt_libname_spec
13982 # List of archive names. First name is the real one, the rest are links.
13983 # The last name is the one that the linker finds with -lNAME
13984 library_names_spec=$lt_library_names_spec
13986 # The coded name of the library, if different from the real name.
13987 soname_spec=$lt_soname_spec
13989 # Permission mode override for installation of shared libraries.
13990 install_override_mode=$lt_install_override_mode
13992 # Command to use after installation of a shared archive.
13993 postinstall_cmds=$lt_postinstall_cmds
13995 # Command to use after uninstallation of a shared archive.
13996 postuninstall_cmds=$lt_postuninstall_cmds
13998 # Commands used to finish a libtool library installation in a directory.
13999 finish_cmds=$lt_finish_cmds
14001 # As "finish_cmds", except a single script fragment to be evaled but
14003 finish_eval=$lt_finish_eval
14005 # Whether we should hardcode library paths into libraries.
14006 hardcode_into_libs=$hardcode_into_libs
14008 # Compile-time system search path for libraries.
14009 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14011 # Run-time system search path for libraries.
14012 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14014 # Whether dlopen is supported.
14015 dlopen_support=$enable_dlopen
14017 # Whether dlopen of programs is supported.
14018 dlopen_self=$enable_dlopen_self
14020 # Whether dlopen of statically linked programs is supported.
14021 dlopen_self_static=$enable_dlopen_self_static
14023 # Commands to strip libraries.
14024 old_striplib=$lt_old_striplib
14025 striplib=$lt_striplib
14028 # The linker used to build libraries.
14031 # How to create reloadable object files.
14032 reload_flag=$lt_reload_flag
14033 reload_cmds=$lt_reload_cmds
14035 # Commands used to build an old-style archive.
14036 old_archive_cmds=$lt_old_archive_cmds
14038 # A language specific compiler.
14041 # Is the compiler the GNU compiler?
14044 # Compiler flag to turn off builtin functions.
14045 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14047 # Additional compiler flags for building library objects.
14048 pic_flag=$lt_lt_prog_compiler_pic
14050 # How to pass a linker flag through the compiler.
14051 wl=$lt_lt_prog_compiler_wl
14053 # Compiler flag to prevent dynamic linking.
14054 link_static_flag=$lt_lt_prog_compiler_static
14056 # Does compiler simultaneously support -c and -o options?
14057 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14059 # Whether or not to add -lc for building shared libraries.
14060 build_libtool_need_lc=$archive_cmds_need_lc
14062 # Whether or not to disallow shared libs when runtime libs are static.
14063 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14065 # Compiler flag to allow reflexive dlopens.
14066 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14068 # Compiler flag to generate shared objects directly from archives.
14069 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14071 # Whether the compiler copes with passing no objects directly.
14072 compiler_needs_object=$lt_compiler_needs_object
14074 # Create an old-style archive from a shared archive.
14075 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14077 # Create a temporary old-style archive to link instead of a shared archive.
14078 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14080 # Commands used to build a shared archive.
14081 archive_cmds=$lt_archive_cmds
14082 archive_expsym_cmds=$lt_archive_expsym_cmds
14084 # Commands used to build a loadable module if different from building
14085 # a shared archive.
14086 module_cmds=$lt_module_cmds
14087 module_expsym_cmds=$lt_module_expsym_cmds
14089 # Whether we are building with GNU ld or not.
14090 with_gnu_ld=$lt_with_gnu_ld
14092 # Flag that allows shared libraries with undefined symbols to be built.
14093 allow_undefined_flag=$lt_allow_undefined_flag
14095 # Flag that enforces no undefined symbols.
14096 no_undefined_flag=$lt_no_undefined_flag
14098 # Flag to hardcode \$libdir into a binary during linking.
14099 # This must work even if \$libdir does not exist
14100 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14102 # If ld is used when linking, flag to hardcode \$libdir into a binary
14103 # during linking. This must work even if \$libdir does not exist.
14104 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14106 # Whether we need a single "-rpath" flag with a separated argument.
14107 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14109 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14110 # DIR into the resulting binary.
14111 hardcode_direct=$hardcode_direct
14113 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14114 # DIR into the resulting binary and the resulting library dependency is
14115 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14116 # library is relocated.
14117 hardcode_direct_absolute=$hardcode_direct_absolute
14119 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14120 # into the resulting binary.
14121 hardcode_minus_L=$hardcode_minus_L
14123 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14124 # into the resulting binary.
14125 hardcode_shlibpath_var=$hardcode_shlibpath_var
14127 # Set to "yes" if building a shared library automatically hardcodes DIR
14128 # into the library and all subsequent libraries and executables linked
14130 hardcode_automatic=$hardcode_automatic
14132 # Set to yes if linker adds runtime paths of dependent libraries
14133 # to runtime path list.
14134 inherit_rpath=$inherit_rpath
14136 # Whether libtool must link a program against all its dependency libraries.
14137 link_all_deplibs=$link_all_deplibs
14139 # Set to "yes" if exported symbols are required.
14140 always_export_symbols=$always_export_symbols
14142 # The commands to list exported symbols.
14143 export_symbols_cmds=$lt_export_symbols_cmds
14145 # Symbols that should not be listed in the preloaded symbols.
14146 exclude_expsyms=$lt_exclude_expsyms
14148 # Symbols that must always be exported.
14149 include_expsyms=$lt_include_expsyms
14151 # Commands necessary for linking programs (against libraries) with templates.
14152 prelink_cmds=$lt_prelink_cmds
14154 # Commands necessary for finishing linking programs.
14155 postlink_cmds=$lt_postlink_cmds
14157 # Specify filename containing input files.
14158 file_list_spec=$lt_file_list_spec
14160 # How to hardcode a shared library path into an executable.
14161 hardcode_action=$hardcode_action
14163 # ### END LIBTOOL CONFIG
14169 cat <<\_LT_EOF
>> "$cfgfile"
14170 # AIX sometimes has problems with the GCC collect2 program. For some
14171 # reason, if we set the COLLECT_NAMES environment variable, the problems
14172 # vanish in a puff of smoke.
14173 if test "X${COLLECT_NAMES+set}" != Xset
; then
14175 export COLLECT_NAMES
14182 ltmain
="$ac_aux_dir/ltmain.sh"
14185 # We use sed instead of cat because bash on DJGPP gets confused if
14186 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14187 # text mode, it properly converts lines to CR/LF. This bash problem
14188 # is reportedly fixed, but why not run on old versions too?
14189 sed '$q' "$ltmain" >> "$cfgfile" \
14190 || (rm -f "$cfgfile"; exit 1)
14192 if test x
"$xsi_shell" = xyes
; then
14193 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14197 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14198 \ * ) func_dirname_result="${3}" ;;\
14200 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14201 && mv -f "$cfgfile.tmp" "$cfgfile" \
14202 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14203 test 0 -eq $?
|| _lt_function_replace_fail
=:
14206 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14209 \ func_basename_result="${1##*/}"\
14210 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14211 && mv -f "$cfgfile.tmp" "$cfgfile" \
14212 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14213 test 0 -eq $?
|| _lt_function_replace_fail
=:
14216 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14217 func_dirname_and_basename ()\
14220 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14221 \ * ) func_dirname_result="${3}" ;;\
14223 \ func_basename_result="${1##*/}"\
14224 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14225 && mv -f "$cfgfile.tmp" "$cfgfile" \
14226 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14227 test 0 -eq $?
|| _lt_function_replace_fail
=:
14230 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14233 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14234 \ # positional parameters, so assign one to ordinary parameter first.\
14235 \ func_stripname_result=${3}\
14236 \ func_stripname_result=${func_stripname_result#"${1}"}\
14237 \ func_stripname_result=${func_stripname_result%"${2}"}\
14238 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14239 && mv -f "$cfgfile.tmp" "$cfgfile" \
14240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14241 test 0 -eq $?
|| _lt_function_replace_fail
=:
14244 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14245 func_split_long_opt ()\
14247 \ func_split_long_opt_name=${1%%=*}\
14248 \ func_split_long_opt_arg=${1#*=}\
14249 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14250 && mv -f "$cfgfile.tmp" "$cfgfile" \
14251 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14252 test 0 -eq $?
|| _lt_function_replace_fail
=:
14255 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14256 func_split_short_opt ()\
14258 \ func_split_short_opt_arg=${1#??}\
14259 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14260 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14261 && mv -f "$cfgfile.tmp" "$cfgfile" \
14262 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14263 test 0 -eq $?
|| _lt_function_replace_fail
=:
14266 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14270 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14271 \ *) func_lo2o_result=${1} ;;\
14273 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14274 && mv -f "$cfgfile.tmp" "$cfgfile" \
14275 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14276 test 0 -eq $?
|| _lt_function_replace_fail
=:
14279 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14282 func_xform_result=${1%.*}.lo\
14283 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14284 && mv -f "$cfgfile.tmp" "$cfgfile" \
14285 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14286 test 0 -eq $?
|| _lt_function_replace_fail
=:
14289 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14292 func_arith_result=$(( $* ))\
14293 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14294 && mv -f "$cfgfile.tmp" "$cfgfile" \
14295 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14296 test 0 -eq $?
|| _lt_function_replace_fail
=:
14299 sed -e '/^func_len ()$/,/^} # func_len /c\
14302 func_len_result=${#1}\
14303 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14304 && mv -f "$cfgfile.tmp" "$cfgfile" \
14305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14306 test 0 -eq $?
|| _lt_function_replace_fail
=:
14310 if test x
"$lt_shell_append" = xyes
; then
14311 sed -e '/^func_append ()$/,/^} # func_append /c\
14314 eval "${1}+=\\${2}"\
14315 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14316 && mv -f "$cfgfile.tmp" "$cfgfile" \
14317 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14318 test 0 -eq $?
|| _lt_function_replace_fail
=:
14321 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14322 func_append_quoted ()\
14324 \ func_quote_for_eval "${2}"\
14325 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14326 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14327 && mv -f "$cfgfile.tmp" "$cfgfile" \
14328 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14329 test 0 -eq $?
|| _lt_function_replace_fail
=:
14332 # Save a `func_append' function call where possible by direct use of '+='
14333 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14334 && mv -f "$cfgfile.tmp" "$cfgfile" \
14335 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14336 test 0 -eq $?
|| _lt_function_replace_fail
=:
14338 # Save a `func_append' function call even when '+=' is not available
14339 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14340 && mv -f "$cfgfile.tmp" "$cfgfile" \
14341 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14342 test 0 -eq $?
|| _lt_function_replace_fail
=:
14345 if test x
"$_lt_function_replace_fail" = x
":"; then
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14347 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14351 mv -f "$cfgfile" "$ofile" ||
14352 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14363 ac_clean_files
=$ac_clean_files_save
14365 test $ac_write_fail = 0 ||
14366 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14369 # configure is writing to config.log, and then calls config.status.
14370 # config.status does its own redirection, appending to config.log.
14371 # Unfortunately, on DOS this fails, as config.log is still kept open
14372 # by configure, so config.status won't be able to write to it; its
14373 # output is simply discarded. So we exec the FD to /dev/null,
14374 # effectively closing config.log, so it can be properly (re)opened and
14375 # appended to by config.status. When coming back to configure, we
14376 # need to make the FD available again.
14377 if test "$no_create" != yes; then
14379 ac_config_status_args
=
14380 test "$silent" = yes &&
14381 ac_config_status_args
="$ac_config_status_args --quiet"
14383 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14385 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14386 # would make configure fail if this is the last instruction.
14387 $ac_cs_success || as_fn_exit
1
14389 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14391 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}