2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for makedat 0.60.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-users@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='makedat'
592 PACKAGE_TARNAME
='makedat'
593 PACKAGE_VERSION
='0.60'
594 PACKAGE_STRING
='makedat 0.60'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="makedatprog.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
704 INSTALL_STRIP_PROGRAM
746 program_transform_name
759 enable_option_checking
761 enable_dependency_tracking
773 ac_precious_vars
='build_alias
785 # Initialize some variables set by options.
787 ac_init_version
=false
788 ac_unrecognized_opts
=
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
799 program_transform_name
=s
,x
,x
,
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir
='${exec_prefix}/bin'
814 sbindir
='${exec_prefix}/sbin'
815 libexecdir
='${exec_prefix}/libexec'
816 datarootdir
='${prefix}/share'
817 datadir
='${datarootdir}'
818 sysconfdir
='${prefix}/etc'
819 sharedstatedir
='${prefix}/com'
820 localstatedir
='${prefix}/var'
821 includedir
='${prefix}/include'
822 oldincludedir
='/usr/include'
823 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir
='${datarootdir}/info'
829 libdir
='${exec_prefix}/lib'
830 localedir
='${datarootdir}/locale'
831 mandir
='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\
$ac_option
845 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 # Accept the important Cygnus configure options, so we can diagnose typos.
852 case $ac_dashdash$ac_option in
856 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
858 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
861 -build |
--build |
--buil |
--bui |
--bu)
862 ac_prev
=build_alias
;;
863 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
864 build_alias
=$ac_optarg ;;
866 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
867 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
868 ac_prev
=cache_file
;;
869 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
870 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
871 cache_file
=$ac_optarg ;;
874 cache_file
=config.cache
;;
876 -datadir |
--datadir |
--datadi |
--datad)
878 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
879 datadir
=$ac_optarg ;;
881 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
882 |
--dataroo |
--dataro |
--datar)
883 ac_prev
=datarootdir
;;
884 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
885 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
886 datarootdir
=$ac_optarg ;;
888 -disable-* |
--disable-*)
889 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
892 as_fn_error $?
"invalid feature name: $ac_useropt"
893 ac_useropt_orig
=$ac_useropt
894 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900 ac_unrecognized_sep
=', ';;
902 eval enable_
$ac_useropt=no
;;
904 -docdir |
--docdir |
--docdi |
--doc |
--do)
906 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
909 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
911 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
914 -enable-* |
--enable-*)
915 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
918 as_fn_error $?
"invalid feature name: $ac_useropt"
919 ac_useropt_orig
=$ac_useropt
920 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926 ac_unrecognized_sep
=', ';;
928 eval enable_
$ac_useropt=\
$ac_optarg ;;
930 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
931 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
932 |
--exec |
--exe |
--ex)
933 ac_prev
=exec_prefix
;;
934 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
935 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
936 |
--exec=* |
--exe=* |
--ex=*)
937 exec_prefix
=$ac_optarg ;;
939 -gas |
--gas |
--ga |
--g)
940 # Obsolete; use --with-gas.
943 -help |
--help |
--hel |
--he |
-h)
945 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
946 ac_init_help
=recursive
;;
947 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
948 ac_init_help
=short
;;
950 -host |
--host |
--hos |
--ho)
951 ac_prev
=host_alias
;;
952 -host=* |
--host=* |
--hos=* |
--ho=*)
953 host_alias
=$ac_optarg ;;
955 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
957 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
959 htmldir
=$ac_optarg ;;
961 -includedir |
--includedir |
--includedi |
--included |
--include \
962 |
--includ |
--inclu |
--incl |
--inc)
963 ac_prev
=includedir
;;
964 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
965 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
966 includedir
=$ac_optarg ;;
968 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
970 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
971 infodir
=$ac_optarg ;;
973 -libdir |
--libdir |
--libdi |
--libd)
975 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
978 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
979 |
--libexe |
--libex |
--libe)
980 ac_prev
=libexecdir
;;
981 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
982 |
--libexe=* |
--libex=* |
--libe=*)
983 libexecdir
=$ac_optarg ;;
985 -localedir |
--localedir |
--localedi |
--localed |
--locale)
987 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
988 localedir
=$ac_optarg ;;
990 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
991 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
992 ac_prev
=localstatedir
;;
993 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
994 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
995 localstatedir
=$ac_optarg ;;
997 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
999 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1000 mandir
=$ac_optarg ;;
1002 -nfp |
--nfp |
--nf)
1003 # Obsolete; use --without-fp.
1006 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1007 |
--no-cr |
--no-c |
-n)
1010 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1011 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1014 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1015 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1016 |
--oldin |
--oldi |
--old |
--ol |
--o)
1017 ac_prev
=oldincludedir
;;
1018 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1019 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1020 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1021 oldincludedir
=$ac_optarg ;;
1023 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1025 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1026 prefix
=$ac_optarg ;;
1028 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1029 |
--program-pre |
--program-pr |
--program-p)
1030 ac_prev
=program_prefix
;;
1031 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1032 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1033 program_prefix
=$ac_optarg ;;
1035 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1036 |
--program-suf |
--program-su |
--program-s)
1037 ac_prev
=program_suffix
;;
1038 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1039 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1040 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1050 -program-transform-name=* |
--program-transform-name=* \
1051 |
--program-transform-nam=* |
--program-transform-na=* \
1052 |
--program-transform-n=* |
--program-transform-=* \
1053 |
--program-transform=* |
--program-transfor=* \
1054 |
--program-transfo=* |
--program-transf=* \
1055 |
--program-trans=* |
--program-tran=* \
1056 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1057 program_transform_name
=$ac_optarg ;;
1059 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1061 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1062 pdfdir
=$ac_optarg ;;
1064 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1066 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1070 |
-silent |
--silent |
--silen |
--sile |
--sil)
1073 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1075 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1077 sbindir
=$ac_optarg ;;
1079 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1080 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1081 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1083 ac_prev
=sharedstatedir
;;
1084 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1085 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1086 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1088 sharedstatedir
=$ac_optarg ;;
1090 -site |
--site |
--sit)
1092 -site=* |
--site=* |
--sit=*)
1095 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1097 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1098 srcdir
=$ac_optarg ;;
1100 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1101 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1102 ac_prev
=sysconfdir
;;
1103 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1104 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1105 sysconfdir
=$ac_optarg ;;
1107 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1108 ac_prev
=target_alias
;;
1109 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1110 target_alias
=$ac_optarg ;;
1112 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1115 -version |
--version |
--versio |
--versi |
--vers |
-V)
1116 ac_init_version
=: ;;
1119 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 as_fn_error $?
"invalid package name: $ac_useropt"
1123 ac_useropt_orig
=$ac_useropt
1124 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 ac_unrecognized_sep
=', ';;
1132 eval with_
$ac_useropt=\
$ac_optarg ;;
1134 -without-* |
--without-*)
1135 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1138 as_fn_error $?
"invalid package name: $ac_useropt"
1139 ac_useropt_orig
=$ac_useropt
1140 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146 ac_unrecognized_sep
=', ';;
1148 eval with_
$ac_useropt=no
;;
1151 # Obsolete; use --with-x.
1154 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1155 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1156 ac_prev
=x_includes
;;
1157 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1158 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1159 x_includes
=$ac_optarg ;;
1161 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1162 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1163 ac_prev
=x_libraries
;;
1164 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1165 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1166 x_libraries
=$ac_optarg ;;
1168 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1169 Try \`$0 --help' for more information"
1173 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1174 # Reject names that are not valid shell variable names.
1175 case $ac_envvar in #(
1176 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1177 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1179 eval $ac_envvar=\
$ac_optarg
1180 export $ac_envvar ;;
1183 # FIXME: should be removed in autoconf 3.0.
1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 if test -n "$ac_prev"; then
1194 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1195 as_fn_error $?
"missing argument to $ac_option"
1198 if test -n "$ac_unrecognized_opts"; then
1199 case $enable_option_checking in
1201 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 # Check all directory arguments for consistency.
1207 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208 datadir sysconfdir sharedstatedir localstatedir includedir \
1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210 libdir localedir mandir
1212 eval ac_val
=\$
$ac_var
1213 # Remove trailing slashes.
1216 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217 eval $ac_var=\
$ac_val;;
1219 # Be sure to have absolute directory names.
1221 [\\/$
]* | ?
:[\\/]* ) continue;;
1222 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1224 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1227 # There might be people who depend on the old broken behavior: `$host'
1228 # used to hold the argument of --host etc.
1229 # FIXME: To remove some day.
1232 target
=$target_alias
1234 # FIXME: To remove some day.
1235 if test "x$host_alias" != x
; then
1236 if test "x$build_alias" = x
; then
1237 cross_compiling
=maybe
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1246 test "$silent" = yes && exec 6>/dev
/null
1249 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di
=`ls -di .` &&
1251 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $?
"working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $?
"pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted
=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir
=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted
=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1293 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var
in $ac_precious_vars; do
1310 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1312 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures makedat 0.60 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/makedat]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1386 --build=BUILD configure
for building on BUILD
[guessed
]
1387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 if test -n "$ac_init_help"; then
1392 case $ac_init_help in
1393 short | recursive
) echo "Configuration of makedat 0.60:";;
1398 --disable-option-checking ignore unrecognized
--enable/--with options
1399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1401 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1402 --disable-silent-rules verbose build output
(undo
: "make V=0")
1403 --enable-dependency-tracking
1404 do not reject slow dependency extractors
1405 --disable-dependency-tracking
1406 speeds up one-time build
1407 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1408 --enable-static[=PKGS
] build static libraries
[default
=yes]
1409 --enable-fast-install[=PKGS
]
1410 optimize
for fast installation
[default
=yes]
1411 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1412 --disable-largefile omit support
for large files
1415 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1416 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1417 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1419 --with-aix-soname=aix|svr4|both
1420 shared library versioning
(aka
"SONAME") variant to
1421 provide on AIX
, [default
=aix
].
1422 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1423 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1424 compiler
's sysroot if not specified).
1425 --with-makedatprog=filename Installed location and name of makedatprog
1427 Some influential environment variables:
1428 CC C compiler command
1429 CFLAGS C compiler flags
1430 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1431 nonstandard directory <lib dir>
1432 LIBS libraries to pass to the linker, e.g. -l<library>
1433 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1434 you have headers in a nonstandard directory <include dir>
1436 User-defined run-time library search path.
1439 Use these variables to override the choices made by `configure' or to
help
1440 it to
find libraries and programs with nonstandard names
/locations.
1442 Report bugs to
<courier-users@lists.sourceforge.net
>.
1447 if test "$ac_init_help" = "recursive"; then
1448 # If there are subdirs, report their specific --help.
1449 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1450 test -d "$ac_dir" ||
1451 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1456 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1458 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1459 # A ".." for each directory in $ac_dir_suffix.
1460 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1461 case $ac_top_builddir_sub in
1462 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1463 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1466 ac_abs_top_builddir
=$ac_pwd
1467 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1468 # for backward compatibility:
1469 ac_top_builddir
=$ac_top_build_prefix
1472 .
) # We are building in place.
1474 ac_top_srcdir
=$ac_top_builddir_sub
1475 ac_abs_top_srcdir
=$ac_pwd ;;
1476 [\\/]* | ?
:[\\/]* ) # Absolute name.
1477 ac_srcdir
=$srcdir$ac_dir_suffix;
1478 ac_top_srcdir
=$srcdir
1479 ac_abs_top_srcdir
=$srcdir ;;
1481 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1482 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1483 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1485 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1487 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1488 # Check for guested configure.
1489 if test -f "$ac_srcdir/configure.gnu"; then
1491 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1492 elif test -f "$ac_srcdir/configure"; then
1494 $SHELL "$ac_srcdir/configure" --help=recursive
1496 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1502 test -n "$ac_init_help" && exit $ac_status
1503 if $ac_init_version; then
1505 makedat configure
0.60
1506 generated by GNU Autoconf
2.69
1508 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1509 This configure
script is free software
; the Free Software Foundation
1510 gives unlimited permission to copy
, distribute and modify it.
1515 ## ------------------------ ##
1516 ## Autoconf initialization. ##
1517 ## ------------------------ ##
1519 # ac_fn_c_try_compile LINENO
1520 # --------------------------
1521 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1522 ac_fn_c_try_compile
()
1524 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1525 rm -f conftest.
$ac_objext
1526 if { { ac_try
="$ac_compile"
1528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_compile") 2>conftest.err
1535 if test -s conftest.err; then
1536 grep -v '^ *+' conftest.err >conftest.er1
1537 cat conftest.er1 >&5
1538 mv -f conftest.er1 conftest.err
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && {
1542 test -z "$ac_c_werror_flag" ||
1543 test ! -s conftest.err
1544 } && test -s conftest.$ac_objext; then :
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553 as_fn_set_status $ac_retval
1555 } # ac_fn_c_try_compile
1557 # ac_fn_c_try_link LINENO
1558 # -----------------------
1559 # Try to link conftest.$ac_ext, and return whether this succeeded.
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 rm -f conftest.$ac_objext conftest$ac_exeext
1564 if { { ac_try="$ac_link"
1566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1567 *) ac_try_echo
=$ac_try;;
1569 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_link") 2>conftest.err
1573 if test -s conftest.err
; then
1574 grep -v '^ *+' conftest.err
>conftest.er1
1575 cat conftest.er1
>&5
1576 mv -f conftest.er1 conftest.err
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest
$ac_exeext && {
1583 test "$cross_compiling" = yes ||
1584 test -x conftest
$ac_exeext
1588 $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.
$ac_ext >&5
1593 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1594 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1595 # interfere with the next link command; also delete a directory that is
1596 # left behind by Apple's compiler. We do this before executing the actions.
1597 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status
$ac_retval
1601 } # ac_fn_c_try_link
1603 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1604 # -------------------------------------------------------
1605 # Tests whether HEADER exists and can be compiled using the include files in
1606 # INCLUDES, setting the cache variable VAR accordingly.
1607 ac_fn_c_check_header_compile
()
1609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1611 $as_echo_n "checking for $2... " >&6; }
1612 if eval \
${$3+:} false
; then :
1613 $as_echo_n "(cached) " >&6
1615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1616 /* end confdefs.h. */
1620 if ac_fn_c_try_compile
"$LINENO"; then :
1625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629 $as_echo "$ac_res" >&6; }
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 } # ac_fn_c_check_header_compile
1634 # ac_fn_c_try_cpp LINENO
1635 # ----------------------
1636 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1640 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } > conftest.i && {
1656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1671 # ac_fn_c_try_run LINENO
1672 # ----------------------
1673 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1674 # that executables *can* be run.
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 if { { ac_try="$ac_link"
1680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1681 *) ac_try_echo
=$ac_try;;
1683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>&5
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1689 { { case "(($ac_try" in
1690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_try") 2>&5
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; }; }; then :
1701 $as_echo "$as_me: program exited with status $ac_status" >&5
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1705 ac_retval=$ac_status
1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 as_fn_set_status $ac_retval
1713 # ac_fn_c_check_func LINENO FUNC VAR
1714 # ----------------------------------
1715 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1716 ac_fn_c_check_func ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720 $as_echo_n "checking for $2... " >&6; }
1721 if eval \${$3+:} false; then :
1722 $as_echo_n "(cached) " >&6
1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725 /* end confdefs.h. */
1726 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1728 #define $2 innocuous_$2
1730 /* System header to define __stub macros and hopefully few prototypes,
1731 which can conflict with char $2 (); below.
1732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1733 <limits.h> exists even on freestanding compilers. */
1736 # include <limits.h>
1738 # include <assert.h>
1743 /* Override any GCC internal prototype to avoid an error.
1744 Use char because int might match the return type of a GCC
1745 builtin and then its argument prototype would still apply. */
1750 /* The GNU C library defines this for functions which it implements
1751 to always fail with ENOSYS. Some functions are actually named
1752 something starting with __ and the normal name is an alias. */
1753 #if defined __stub_$2 || defined __stub___$2
1765 if ac_fn_c_try_link "$LINENO"; then :
1770 rm -f core conftest.err conftest.$ac_objext \
1771 conftest$ac_exeext conftest.$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 } # ac_fn_c_check_func
1780 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1781 # -------------------------------------------------------
1782 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1783 # the include files in INCLUDES and setting the cache variable VAR
1785 ac_fn_c_check_header_mongrel ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 if eval \${$3+:} false; then :
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if eval \${$3+:} false; then :
1792 $as_echo_n "(cached) " >&6
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1798 # Is the header compilable?
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1800 $as_echo_n "checking $2 usability... " >&6; }
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1806 if ac_fn_c_try_compile "$LINENO"; then :
1807 ac_header_compiler=yes
1809 ac_header_compiler=no
1811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1813 $as_echo "$ac_header_compiler" >&6; }
1815 # Is the header present?
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1817 $as_echo_n "checking $2 presence... " >&6; }
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1822 if ac_fn_c_try_cpp "$LINENO"; then :
1823 ac_header_preproc=yes
1825 ac_header_preproc=no
1827 rm -f conftest.err conftest.i conftest.$ac_ext
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1829 $as_echo "$ac_header_preproc" >&6; }
1831 # So? What about this header?
1832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1835 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1841 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1843 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1845 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1847 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1850 ( $as_echo "## -------------------------------------------------- ##
1851 ## Report this to courier-users@lists.sourceforge.net ##
1852 ## -------------------------------------------------- ##"
1853 ) | sed "s/^/$as_me: WARNING: /" >&2
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if eval \${$3+:} false; then :
1859 $as_echo_n "(cached) " >&6
1861 eval "$3=\$ac_header_compiler"
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865 $as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 } # ac_fn_c_check_header_mongrel
1870 cat >config.log <<_ACEOF
1871 This file contains any messages produced by compilers while
1872 running configure, to aid debugging if configure makes a mistake.
1874 It was created by makedat $as_me 0.60, which was
1875 generated by GNU Autoconf 2.69. Invocation command line was
1887 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1888 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1889 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1890 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1891 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1893 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1894 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1896 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1897 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1898 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1899 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1900 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1901 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1902 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 $as_echo "PATH: $as_dir"
1927 # Keep a trace of the command line.
1928 # Strip out --no-create and --no-recursion so they do not pile up.
1929 # Strip out --silent because we don't want to record it for future runs.
1930 # Also quote any args containing shell meta-characters.
1931 # Make two passes to allow for proper duplicate-argument suppression.
1935 ac_must_keep_next=false
1941 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1943 | -silent | --silent | --silen | --sile | --sil)
1946 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1949 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1951 as_fn_append ac_configure_args1 " '$ac_arg'"
1952 if test $ac_must_keep_next = true; then
1953 ac_must_keep_next=false # Got value, back to normal.
1956 *=* | --config-cache | -C | -disable-* | --disable-* \
1957 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1958 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1959 | -with-* | --with-* | -without-* | --without-* | --x)
1960 case "$ac_configure_args0 " in
1961 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964 -* ) ac_must_keep_next=true ;;
1967 as_fn_append ac_configure_args " '$ac_arg'"
1972 { ac_configure_args0=; unset ac_configure_args0;}
1973 { ac_configure_args1=; unset ac_configure_args1;}
1975 # When interrupted or exit'd, cleanup temporary files, and complete
1976 # config.log. We remove comments because anyway the quotes in there
1977 # would cause problems or look ugly.
1978 # WARNING: Use '\'' to represent an apostrophe within the trap.
1979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1980 trap 'exit_status=$?
1981 # Save into config.log some information that might help in debugging.
1985 $as_echo "## ---------------- ##
1986 ## Cache variables. ##
1987 ## ---------------- ##"
1989 # The following way of writing the cache mishandles newlines in values,
1991 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1992 eval ac_val=\$$ac_var
1996 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2000 _ | IFS | as_nl) ;; #(
2001 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2002 *) { eval $ac_var=; unset $ac_var;} ;;
2007 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2008 *${as_nl}ac_space=\ *)
2010 "s/'\''/'\''\\\\'\'''\''/g;
2011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2014 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021 $as_echo "## ----------------- ##
2022 ## Output variables. ##
2023 ## ----------------- ##"
2025 for ac_var in $ac_subst_vars
2027 eval ac_val=\$$ac_var
2029 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031 $as_echo "$ac_var='\''$ac_val'\''"
2035 if test -n "$ac_subst_files"; then
2036 $as_echo "## ------------------- ##
2037 ## File substitutions. ##
2038 ## ------------------- ##"
2040 for ac_var in $ac_subst_files
2042 eval ac_val=\$$ac_var
2044 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046 $as_echo "$ac_var='\''$ac_val'\''"
2051 if test -s confdefs.h; then
2052 $as_echo "## ----------- ##
2059 test "$ac_signal" != 0 &&
2060 $as_echo "$as_me: caught signal $ac_signal"
2061 $as_echo "$as_me: exit $exit_status"
2063 rm -f core *.core core.conftest.* &&
2064 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2067 for ac_signal in 1 2 13 15; do
2068 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2072 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2073 rm -f -r conftest* confdefs.h
2075 $as_echo "/* confdefs.h */" > confdefs.h
2077 # Predefined preprocessor variables.
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_NAME "$PACKAGE_NAME"
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_STRING "$PACKAGE_STRING"
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2099 cat >>confdefs.h <<_ACEOF
2100 #define PACKAGE_URL "$PACKAGE_URL"
2104 # Let the site file select an alternate cache file if it wants to.
2105 # Prefer an explicitly selected file to automatically selected ones.
2108 if test -n "$CONFIG_SITE"; then
2109 # We do not want a PATH search for config.site.
2110 case $CONFIG_SITE in #((
2111 -*) ac_site_file1=./$CONFIG_SITE;;
2112 */*) ac_site_file1=$CONFIG_SITE;;
2113 *) ac_site_file1=./$CONFIG_SITE;;
2115 elif test "x$prefix" != xNONE; then
2116 ac_site_file1=$prefix/share/config.site
2117 ac_site_file2=$prefix/etc/config.site
2119 ac_site_file1=$ac_default_prefix/share/config.site
2120 ac_site_file2=$ac_default_prefix/etc/config.site
2122 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2124 test "x$ac_site_file" = xNONE && continue
2125 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2127 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2128 sed 's/^/| /' "$ac_site_file" >&5
2130 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2132 as_fn_error $? "failed to load site
script $ac_site_file
2133 See \
`config.log' for more details" "$LINENO" 5; }
2137 if test -r "$cache_file"; then
2138 # Some versions of bash will fail to source /dev/null (special files
2139 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2140 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2142 $as_echo "$as_me: loading cache $cache_file" >&6;}
2144 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2145 *) . "./$cache_file";;
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2150 $as_echo "$as_me: creating cache $cache_file" >&6;}
2154 # Check that the precious variables saved in the cache have kept the same
2156 ac_cache_corrupted=false
2157 for ac_var in $ac_precious_vars; do
2158 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2159 eval ac_new_set=\$ac_env_${ac_var}_set
2160 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2161 eval ac_new_val=\$ac_env_${ac_var}_value
2162 case $ac_old_set,$ac_new_set in
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2165 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2166 ac_cache_corrupted=: ;;
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2169 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2170 ac_cache_corrupted=: ;;
2173 if test "x$ac_old_val" != "x$ac_new_val"; then
2174 # differences in whitespace do not lead to failure.
2175 ac_old_val_w=`echo x
$ac_old_val`
2176 ac_new_val_w=`echo x
$ac_new_val`
2177 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2180 ac_cache_corrupted=:
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2184 eval $ac_var=\$ac_old_val
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2187 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2189 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2192 # Pass precious variables to config.status.
2193 if test "$ac_new_set" = set; then
2195 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2196 *) ac_arg=$ac_var=$ac_new_val ;;
2198 case " $ac_configure_args " in
2199 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2200 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2204 if $ac_cache_corrupted; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2209 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2211 ## -------------------- ##
2212 ## Main body of script. ##
2213 ## -------------------- ##
2216 ac_cpp='$CPP $CPPFLAGS'
2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2223 >confdefs.h # Kill PACKAGE_ macros
2227 for ac_dir in ../.. "$srcdir"/../..; do
2228 if test -f "$ac_dir/install-sh"; then
2230 ac_install_sh="$ac_aux_dir/install-sh -c"
2232 elif test -f "$ac_dir/install.sh"; then
2234 ac_install_sh="$ac_aux_dir/install.sh -c"
2236 elif test -f "$ac_dir/shtool"; then
2238 ac_install_sh="$ac_aux_dir/shtool install -c"
2242 if test -z "$ac_aux_dir"; then
2243 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2246 # These three variables are undocumented and unsupported,
2247 # and are intended to be withdrawn in a future Autoconf release.
2248 # They can cause serious problems if a builder's source tree is in a directory
2249 # whose full name contains unusual characters.
2250 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2251 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2252 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2255 am__api_version='1.15'
2257 # Find a good install program. We prefer a C program (faster),
2258 # so one script is as good as another. But avoid the broken or
2259 # incompatible versions:
2260 # SysV /etc/install, /usr/sbin/install
2261 # SunOS /usr/etc/install
2262 # IRIX /sbin/install
2264 # AmigaOS /C/install, which installs bootblocks on floppy discs
2265 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2266 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2267 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2268 # OS/2's system install, which has a completely different semantic
2269 # ./install, which can be erroneously created by make from ./install.sh.
2270 # Reject install programs that cannot install multiple files.
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2272 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2273 if test -z "$INSTALL"; then
2274 if ${ac_cv_path_install+:} false; then :
2275 $as_echo_n "(cached) " >&6
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir=.
2282 # Account for people who put trailing slashes in PATH elements.
2283 case $as_dir/ in #((
2284 ./ | .// | /[cC]/* | \
2285 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2286 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2289 # OSF1 and SCO ODT 3.0 have their own names for install.
2290 # Don't use installbsd from OSF since it installs stuff as root
2292 for ac_prog in ginstall scoinst install; do
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2295 if test $ac_prog = install &&
2296 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2297 # AIX install. It has an incompatible calling convention.
2299 elif test $ac_prog = install &&
2300 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2301 # program-specific install script used by HP pwplus--don't use.
2304 rm -rf conftest.one conftest.two conftest.dir
2305 echo one > conftest.one
2306 echo two > conftest.two
2308 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2309 test -s conftest.one && test -s conftest.two &&
2310 test -s conftest.dir/conftest.one &&
2311 test -s conftest.dir/conftest.two
2313 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2326 rm -rf conftest.one conftest.two conftest.dir
2329 if test "${ac_cv_path_install+set}" = set; then
2330 INSTALL=$ac_cv_path_install
2332 # As a last resort, use the slow shell script. Don't cache a
2333 # value for INSTALL within a source directory, because that will
2334 # break other packages using the cache if that directory is
2335 # removed, or if the value is a relative name.
2336 INSTALL=$ac_install_sh
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2340 $as_echo "$INSTALL" >&6; }
2342 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2343 # It thinks the first close brace ends the variable substitution.
2344 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2346 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2348 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2351 $as_echo_n "checking whether build environment is sane... " >&6; }
2352 # Reject unsafe characters in $srcdir or the absolute working directory
2353 # name. Accept space and tab only in the latter.
2357 *[\\\"\#\$\&\'\`$am_lf]*)
2358 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2361 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2362 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2365 # Do 'set' in a subshell so we don't clobber the current shell's
2366 # arguments. Must try -L first in case configure is actually a
2367 # symlink; some systems play weird games with the mod time of symlinks
2368 # (eg FreeBSD returns the mod time of the symlink's containing
2372 for am_try
in 1 2; do
2373 echo "timestamp, slept: $am_has_slept" > conftest.
file
2374 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2375 if test "$*" = "X"; then
2377 set X
`ls -t "$srcdir/configure" conftest.file`
2379 if test "$*" != "X $srcdir/configure conftest.file" \
2380 && test "$*" != "X conftest.file $srcdir/configure"; then
2382 # If neither matched, then we have a broken ls. This can happen
2383 # if, for instance, CONFIG_SHELL is bash and it inherits a
2384 # broken ls alias from the environment. This has actually
2385 # happened. Such a system could not be considered "sane".
2386 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2387 alias in your environment" "$LINENO" 5
2389 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2396 test "$2" = conftest.
file
2402 as_fn_error $?
"newly created file is older than distributed files!
2403 Check your system clock" "$LINENO" 5
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2406 $as_echo "yes" >&6; }
2407 # If we didn't sleep, we still need to ensure time stamps of config.status and
2408 # generated files are strictly newer.
2410 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2417 test "$program_prefix" != NONE
&&
2418 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2419 # Use a double $ so make ignores it.
2420 test "$program_suffix" != NONE
&&
2421 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2422 # Double any \ or $.
2423 # By default was `s,x,x', remove it if useless.
2424 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2425 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2427 # Expand $ac_aux_dir to an absolute path.
2428 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2430 if test x
"${MISSING+set}" != xset
; then
2433 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2435 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2438 # Use eval to expand $SHELL
2439 if eval "$MISSING --is-lightweight"; then
2440 am_missing_run
="$MISSING "
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2444 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2447 if test x
"${install_sh+set}" != xset
; then
2450 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2452 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2456 # Installed binaries are usually stripped using 'strip' when the user
2457 # run "make install-strip". However 'strip' might not be the right
2458 # tool to use in cross-compilation environments, therefore Automake
2459 # will honor the 'STRIP' environment variable to overrule this program.
2460 if test "$cross_compiling" != no
; then
2461 if test -n "$ac_tool_prefix"; then
2462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2463 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2465 $as_echo_n "checking for $ac_word... " >&6; }
2466 if ${ac_cv_prog_STRIP+:} false
; then :
2467 $as_echo_n "(cached) " >&6
2469 if test -n "$STRIP"; then
2470 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2479 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 STRIP
=$ac_cv_prog_STRIP
2490 if test -n "$STRIP"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2492 $as_echo "$STRIP" >&6; }
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2495 $as_echo "no" >&6; }
2500 if test -z "$ac_cv_prog_STRIP"; then
2502 # Extract the first word of "strip", so it can be a program name with args.
2503 set dummy strip
; ac_word
=$2
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2507 $as_echo_n "(cached) " >&6
2509 if test -n "$ac_ct_STRIP"; then
2510 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2519 ac_cv_prog_ac_ct_STRIP
="strip"
2520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2530 if test -n "$ac_ct_STRIP"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2532 $as_echo "$ac_ct_STRIP" >&6; }
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2535 $as_echo "no" >&6; }
2538 if test "x$ac_ct_STRIP" = x
; then
2541 case $cross_compiling:$ac_tool_warned in
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2545 ac_tool_warned
=yes ;;
2550 STRIP
="$ac_cv_prog_STRIP"
2554 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2557 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2558 if test -z "$MKDIR_P"; then
2559 if ${ac_cv_path_mkdir+:} false
; then :
2560 $as_echo_n "(cached) " >&6
2562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2563 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2566 test -z "$as_dir" && as_dir
=.
2567 for ac_prog
in mkdir gmkdir
; do
2568 for ac_exec_ext
in '' $ac_executable_extensions; do
2569 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2570 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2571 'mkdir (GNU coreutils) '* | \
2572 'mkdir (coreutils) '* | \
2573 'mkdir (fileutils) '4.1*)
2574 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2584 test -d .
/--version && rmdir .
/--version
2585 if test "${ac_cv_path_mkdir+set}" = set; then
2586 MKDIR_P
="$ac_cv_path_mkdir -p"
2588 # As a last resort, use the slow shell script. Don't cache a
2589 # value for MKDIR_P within a source directory, because that will
2590 # break other packages using the cache if that directory is
2591 # removed, or if the value is a relative name.
2592 MKDIR_P
="$ac_install_sh -d"
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2596 $as_echo "$MKDIR_P" >&6; }
2598 for ac_prog
in gawk mawk nawk
awk
2600 # Extract the first word of "$ac_prog", so it can be a program name with args.
2601 set dummy
$ac_prog; ac_word
=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if ${ac_cv_prog_AWK+:} false
; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$AWK"; then
2608 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2617 ac_cv_prog_AWK
="$ac_prog"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 if test -n "$AWK"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2630 $as_echo "$AWK" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2637 test -n "$AWK" && break
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2641 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2643 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2644 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2645 $as_echo_n "(cached) " >&6
2647 cat >conftest.
make <<\_ACEOF
2650 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2652 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2653 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2655 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2657 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2661 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2663 $as_echo "yes" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2668 SET_MAKE
="MAKE=${MAKE-make}"
2671 rm -rf .tst
2>/dev
/null
2672 mkdir .tst
2>/dev
/null
2673 if test -d .tst
; then
2678 rmdir .tst
2>/dev
/null
2680 # Check whether --enable-silent-rules was given.
2681 if test "${enable_silent_rules+set}" = set; then :
2682 enableval
=$enable_silent_rules;
2685 case $enable_silent_rules in # (((
2686 yes) AM_DEFAULT_VERBOSITY
=0;;
2687 no
) AM_DEFAULT_VERBOSITY
=1;;
2688 *) AM_DEFAULT_VERBOSITY
=1;;
2690 am_make
=${MAKE-make}
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2692 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2693 if ${am_cv_make_support_nested_variables+:} false
; then :
2694 $as_echo_n "(cached) " >&6
2696 if $as_echo 'TRUE=$(BAR$(V))
2702 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2703 am_cv_make_support_nested_variables
=yes
2705 am_cv_make_support_nested_variables
=no
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2709 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2710 if test $am_cv_make_support_nested_variables = yes; then
2712 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2714 AM_V
=$AM_DEFAULT_VERBOSITY
2715 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2719 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2720 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2721 # is not polluted with repeated "-I."
2722 am__isrc
=' -I$(srcdir)'
2723 # test to see if srcdir already configured
2724 if test -f $srcdir/config.status
; then
2725 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2729 # test whether we have cygpath
2730 if test -z "$CYGPATH_W"; then
2731 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2732 CYGPATH_W
='cygpath -w'
2739 # Define the identity of the package.
2744 # Some tools Automake needs.
2746 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2749 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2752 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2755 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2758 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2760 # For better backward compatibility. To be removed once Automake 1.9.x
2761 # dies out for good. For more background, see:
2762 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2763 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2764 mkdir_p
='$(MKDIR_P)'
2766 # We need awk for the "check" target (and possibly the TAP driver). The
2767 # system "awk" is bad on some platforms.
2768 # Always define AMTAR for backward compatibility. Yes, it's still used
2769 # in the wild :-( We should find a proper way to deprecate it ...
2773 # We'll loop over all known methods to create a tar archive until one works.
2774 _am_tools
='gnutar pax cpio none'
2776 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2783 # POSIX will say in a future version that running "rm -f" with no argument
2784 # is OK; and we want to be able to make that assumption in our Makefile
2785 # recipes. So use an aggressive probe to check that the usage we want is
2786 # actually supported "in the wild" to an acceptable degree.
2787 # See automake bug#10828.
2788 # To make any issue more visible, cause the running configure to be aborted
2789 # by default if the 'rm' program in use doesn't match our expectations; the
2790 # user can still override this though.
2791 if rm -f && rm -fr && rm -rf; then : OK
; else
2795 Your 'rm' program seems unable to run without file operands specified
2796 on the command line, even when the '-f' option is present. This is contrary
2797 to the behaviour of most rm programs out there, and not conforming with
2798 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2800 Please tell bug-automake@gnu.org about your system, including the value
2801 of your $PATH and any error possibly output before this message. This
2802 can help us improve future automake versions.
2805 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
2806 echo 'Configuration will proceed anyway, since you have set the' >&2
2807 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2811 Aborting the configuration process, to ensure you take notice of the issue.
2813 You can download and install GNU coreutils to get an 'rm' implementation
2814 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2816 If you want to complete the configuration process using your problematic
2817 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2818 to "yes", and re-run configure.
2821 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
2825 LPATH
="$PATH:/usr/local/bin"
2826 ac_config_headers
="$ac_config_headers config.h"
2830 ac_cpp
='$CPP $CPPFLAGS'
2831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2834 if test -n "$ac_tool_prefix"; then
2835 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2836 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_CC+:} false
; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$CC"; then
2843 ac_cv_prog_CC
="$CC" # Let the user override the test.
2845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir
=.
2850 for ac_exec_ext
in '' $ac_executable_extensions; do
2851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2852 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865 $as_echo "$CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2873 if test -z "$ac_cv_prog_CC"; then
2875 # Extract the first word of "gcc", so it can be a program name with args.
2876 set dummy gcc
; ac_word
=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 if test -n "$ac_ct_CC"; then
2883 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2892 ac_cv_prog_ac_ct_CC
="gcc"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2903 if test -n "$ac_ct_CC"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2905 $as_echo "$ac_ct_CC" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2911 if test "x$ac_ct_CC" = x
; then
2914 case $cross_compiling:$ac_tool_warned in
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2918 ac_tool_warned
=yes ;;
2926 if test -z "$CC"; then
2927 if test -n "$ac_tool_prefix"; then
2928 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2929 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if ${ac_cv_prog_CC+:} false
; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC
="$CC" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test -n "$CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958 $as_echo "$CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2967 if test -z "$CC"; then
2968 # Extract the first word of "cc", so it can be a program name with args.
2969 set dummy cc
; ac_word
=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_CC+:} false
; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC
="$CC" # Let the user override the test.
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_exec_ext
in '' $ac_executable_extensions; do
2985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2986 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2987 ac_prog_rejected
=yes
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test $ac_prog_rejected = yes; then
2999 # We found a bogon in the path, so make sure we never use it.
3000 set dummy
$ac_cv_prog_CC
3002 if test $# != 0; then
3003 # We chose a different compiler from the bogus one.
3004 # However, it has the same basename, so the bogon will be chosen
3005 # first if we set CC to just the basename; use the full file name.
3007 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
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; }
3023 if test -z "$CC"; then
3024 if test -n "$ac_tool_prefix"; then
3025 for ac_prog
in cl.exe
3027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false
; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC
="$CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test -n "$CC"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3064 test -n "$CC" && break
3067 if test -z "$CC"; then
3069 for ac_prog
in cl.exe
3071 # Extract the first word of "$ac_prog", so it can be a program name with args.
3072 set dummy
$ac_prog; ac_word
=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3076 $as_echo_n "(cached) " >&6
3078 if test -n "$ac_ct_CC"; then
3079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_ac_ct_CC
="$ac_prog"
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3099 if test -n "$ac_ct_CC"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3101 $as_echo "$ac_ct_CC" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3108 test -n "$ac_ct_CC" && break
3111 if test "x$ac_ct_CC" = x
; then
3114 case $cross_compiling:$ac_tool_warned in
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3118 ac_tool_warned
=yes ;;
3127 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error $?
"no acceptable C compiler found in \$PATH
3130 See \`config.log' for more details" "$LINENO" 5; }
3132 # Provide some information about the compiler.
3133 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3136 for ac_option
in --version -v -V -qversion; do
3137 { { ac_try
="$ac_compiler $ac_option >&5"
3139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3146 if test -s conftest.err; then
3148 ... rest of stderr output deleted ...
3149 10q' conftest.err >conftest.er1
3150 cat conftest.er1 >&5
3152 rm -f conftest.er1 conftest.err
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 ac_clean_files_save=$ac_clean_files
3169 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3170 # Try to create an executable without -o first, disregard a.out.
3171 # It will help us diagnose broken compilers, and finding out an intuition
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3174 $as_echo_n "checking whether the C compiler works... " >&6; }
3175 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3177 # The possible output files:
3178 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3181 for ac_file in $ac_files
3184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3185 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3190 if { { ac_try="$ac_link_default"
3192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3193 *) ac_try_echo
=$ac_try;;
3195 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_link_default") 2>&5
3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 test $ac_status = 0; }; then :
3201 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3202 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3203 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3204 # so that the user can short-circuit this test for compilers unknown to
3206 for ac_file
in $ac_files ''
3208 test -f "$ac_file" ||
continue
3210 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3213 # We found the default executable, but exeext='' is most
3217 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3219 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221 # We set ac_cv_exeext here because the later test for it is not
3222 # safe: cross compilers may not add the suffix if given an `-o'
3223 # argument, so we may need to know it at that point already.
3224 # Even if this section looks crufty: it has the advantage of
3231 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3236 if test -z "$ac_file"; then :
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3239 $as_echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.
$ac_ext >&5
3242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 as_fn_error
77 "C compiler cannot create executables
3245 See \`config.log' for more details" "$LINENO" 5; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3251 $as_echo_n "checking for C compiler default output file name... " >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3253 $as_echo "$ac_file" >&6; }
3254 ac_exeext
=$ac_cv_exeext
3256 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3257 ac_clean_files
=$ac_clean_files_save
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3259 $as_echo_n "checking for suffix of executables... " >&6; }
3260 if { { ac_try
="$ac_link"
3262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267 (eval "$ac_link") 2>&5
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }; then :
3271 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3272 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3273 # work properly (i.e., refer to `conftest.exe'), while it won't with
3275 for ac_file
in conftest.exe conftest conftest.
*; do
3276 test -f "$ac_file" ||
continue
3278 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3279 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3288 See \`config.log' for more details" "$LINENO" 5; }
3290 rm -f conftest conftest
$ac_cv_exeext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3292 $as_echo "$ac_cv_exeext" >&6; }
3294 rm -f conftest.
$ac_ext
3295 EXEEXT
=$ac_cv_exeext
3297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3303 FILE *f = fopen ("conftest.out", "w");
3304 return ferror (f) || fclose (f) != 0;
3310 ac_clean_files
="$ac_clean_files conftest.out"
3311 # Check that the compiler produces executables we can run. If not, either
3312 # the compiler is broken, or we cross compile.
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3314 $as_echo_n "checking whether we are cross compiling... " >&6; }
3315 if test "$cross_compiling" != yes; then
3316 { { ac_try
="$ac_link"
3318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323 (eval "$ac_link") 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }
3327 if { ac_try='./conftest$ac_cv_exeext'
3328 { { case "(($ac_try" in
3329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3330 *) ac_try_echo
=$ac_try;;
3332 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_try") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }; }; then
3340 if test "$cross_compiling" = maybe
; then
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $?
"cannot run C compiled programs.
3346 If you meant to cross compile, use \`--host'.
3347 See \`config.log' for more details" "$LINENO" 5; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3352 $as_echo "$cross_compiling" >&6; }
3354 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3355 ac_clean_files
=$ac_clean_files_save
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3357 $as_echo_n "checking for suffix of object files... " >&6; }
3358 if ${ac_cv_objext+:} false
; then :
3359 $as_echo_n "(cached) " >&6
3361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3372 rm -f conftest.o conftest.obj
3373 if { { ac_try
="$ac_compile"
3375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380 (eval "$ac_compile") 2>&5
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }; then :
3384 for ac_file in conftest.o conftest.obj conftest.*; do
3385 test -f "$ac_file" || continue;
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3388 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3393 $as_echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3399 See \
`config.log' for more details" "$LINENO" 5; }
3401 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3404 $as_echo "$ac_cv_objext" >&6; }
3405 OBJEXT=$ac_cv_objext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3408 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3409 if ${ac_cv_c_compiler_gnu+:} false; then :
3410 $as_echo_n "(cached) " >&6
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3426 if ac_fn_c_try_compile "$LINENO"; then :
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3436 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3437 if test $ac_compiler_gnu = yes; then
3442 ac_test_CFLAGS=${CFLAGS+set}
3443 ac_save_CFLAGS=$CFLAGS
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3445 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3446 if ${ac_cv_prog_cc_g+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 ac_save_c_werror_flag=$ac_c_werror_flag
3450 ac_c_werror_flag=yes
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3464 if ac_fn_c_try_compile "$LINENO"; then :
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3479 if ac_fn_c_try_compile "$LINENO"; then :
3482 ac_c_werror_flag=$ac_save_c_werror_flag
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3495 if ac_fn_c_try_compile "$LINENO"; then :
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 ac_c_werror_flag=$ac_save_c_werror_flag
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3506 $as_echo "$ac_cv_prog_cc_g" >&6; }
3507 if test "$ac_test_CFLAGS" = set; then
3508 CFLAGS=$ac_save_CFLAGS
3509 elif test $ac_cv_prog_cc_g = yes; then
3510 if test "$GCC" = yes; then
3516 if test "$GCC" = yes; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3523 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3524 if ${ac_cv_prog_cc_c89+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 ac_cv_prog_cc_c89=no
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3534 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3535 struct buf { int x; };
3536 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3537 static char *e (p, i)
3543 static char *f (char * (*g) (char **, int), char **p, ...)
3548 s = g (p, va_arg (v,int));
3553 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3554 function prototypes and stuff, but not '\xHH' hex character constants.
3555 These don't provoke an error unfortunately, instead are silently treated
3556 as 'x'. The following induces an error, until -std is added to get
3557 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3558 array size at least. It's necessary to write '\x00'==0 to get something
3559 that's true only with -std. */
3560 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3562 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3563 inside strings and character constants. */
3565 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3567 int test (int i, double x);
3568 struct s1 {int (*f) (int a);};
3569 struct s2 {int (*f) (double a);};
3570 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3576 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3581 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3582 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3584 CC="$ac_save_CC $ac_arg"
3585 if ac_fn_c_try_compile "$LINENO"; then :
3586 ac_cv_prog_cc_c89=$ac_arg
3588 rm -f core conftest.err conftest.$ac_objext
3589 test "x$ac_cv_prog_cc_c89" != "xno" && break
3591 rm -f conftest.$ac_ext
3596 case "x$ac_cv_prog_cc_c89" in
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3599 $as_echo "none needed" >&6; } ;;
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3602 $as_echo "unsupported" >&6; } ;;
3604 CC="$CC $ac_cv_prog_cc_c89"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3606 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3608 if test "x$ac_cv_prog_cc_c89" != xno; then :
3613 ac_cpp='$CPP $CPPFLAGS'
3614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3619 ac_cpp='$CPP $CPPFLAGS'
3620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3624 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3625 if ${am_cv_prog_cc_c_o+:} false; then :
3626 $as_echo_n "(cached) " >&6
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3639 # Make sure it works both with $CC and with simple cc.
3640 # Following AC_PROG_CC_C_O, we do the test twice because some
3641 # compilers refuse to overwrite an existing .o file with -o,
3642 # though they will create one.
3643 am_cv_prog_cc_c_o=yes
3645 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3646 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } \
3650 && test -f conftest2.$ac_objext; then
3653 am_cv_prog_cc_c_o=no
3657 rm -f core conftest*
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3661 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3662 if test "$am_cv_prog_cc_c_o" != yes; then
3663 # Losing compiler, so override with the script.
3664 # FIXME: It is wrong to rewrite CC.
3665 # But if we don't then we get into trouble of one sort or another.
3666 # A longer-term fix would be to have automake use am__CC in this case,
3667 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3668 CC="$am_aux_dir/compile $CC"
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676 DEPDIR="${am__leading_dot}deps"
3678 ac_config_commands="$ac_config_commands depfiles"
3681 am_make=${MAKE-make}
3682 cat > confinc << 'END'
3684 @echo this is the am__doit target
3687 # If we don't find an include directive, just comment out the code.
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3689 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3693 # First try GNU make style include.
3694 echo "include confinc" > confmf
3695 # Ignore all kinds of additional output from 'make'.
3696 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3697 *the\ am__doit\ target*)
3703 # Now try BSD make style include.
3704 if test "$am__include" = "#"; then
3705 echo '.include "confinc"' > confmf
3706 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3707 *the\ am__doit\ target*)
3708 am__include=.include
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3717 $as_echo "$_am_result" >&6; }
3718 rm -f confinc confmf
3720 # Check whether --enable-dependency-tracking was given.
3721 if test "${enable_dependency_tracking+set}" = set; then :
3722 enableval=$enable_dependency_tracking;
3725 if test "x$enable_dependency_tracking" != xno; then
3726 am_depcomp="$ac_aux_dir/depcomp"
3730 if test "x$enable_dependency_tracking" != xno; then
3740 depcc="$CC" am_compiler_list=
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3743 $as_echo_n "checking dependency style of $depcc... " >&6; }
3744 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3748 # We make a subdir and do the tests there. Otherwise we can end up
3749 # making bogus files that we don't know about and never remove. For
3750 # instance it was reported that on HP-UX the gcc test will end up
3751 # making a dummy file named 'D' -- because '-MD' means "put the output
3755 # Copy depcomp to subdir because otherwise we won't find it if we're
3756 # using a relative directory.
3757 cp "$am_depcomp" conftest.dir
3759 # We will build objects and dependencies in a subdirectory because
3760 # it helps to detect inapplicable dependency modes. For instance
3761 # both Tru64's cc and ICC support -MD to output dependencies as a
3762 # side effect of compilation, but ICC will put the dependencies in
3763 # the current directory while Tru64 will put them in the object
3767 am_cv_CC_dependencies_compiler_type=none
3768 if test "$am_compiler_list" = ""; then
3769 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3772 case " $depcc " in #(
3773 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3776 for depmode in $am_compiler_list; do
3777 # Setup a source with many dependencies, because some compilers
3778 # like to wrap large dependency lists on column 80 (with \), and
3779 # we should not choose a depcomp mode which is confused by this.
3781 # We need to recreate these files for each test, as the compiler may
3782 # overwrite some of them when testing with obscure command lines.
3783 # This happens at least with the AIX C compiler.
3785 for i in 1 2 3 4 5 6; do
3786 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3787 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3788 # Solaris 10 /bin/sh.
3789 echo '/* dummy */' > sub/conftst$i.h
3791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3793 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3794 # mode. It turns out that the SunPro C++ compiler does not properly
3795 # handle '-M -o', and we need to detect this. Also, some Intel
3796 # versions had trouble with output in subdirs.
3797 am__obj=sub/conftest.${OBJEXT-o}
3798 am__minus_obj="-o $am__obj"
3801 # This depmode causes a compiler race in universal mode.
3802 test "$am__universal" = false || continue
3805 # After this tag, mechanisms are not by side-effect, so they'll
3806 # only be used when explicitly requested.
3807 if test "x$enable_dependency_tracking" = xyes; then
3813 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3814 # This compiler won't grok '-c -o', but also, the minuso test has
3815 # not run yet. These depmodes are late enough in the game, and
3816 # so weak that their functioning should not be impacted.
3817 am__obj=conftest.${OBJEXT-o}
3822 if depmode=$depmode \
3823 source=sub/conftest.c object=$am__obj \
3824 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3825 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3826 >/dev/null 2>conftest.err &&
3827 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3828 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3829 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3830 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3831 # icc doesn't choke on unknown options, it will just issue warnings
3832 # or remarks (even with -Werror). So we grep stderr for any message
3833 # that says an option was ignored or not supported.
3834 # When given -MP, icc 7.0 and 7.1 complain thusly:
3835 # icc: Command line warning: ignoring option '-M'; no argument required
3836 # The diagnosis changed in icc 8.0:
3837 # icc: Command line remark: option '-MP' not supported
3838 if (grep 'ignoring option' conftest.err ||
3839 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3840 am_cv_CC_dependencies_compiler_type=$depmode
3849 am_cv_CC_dependencies_compiler_type=none
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3854 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3855 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3858 test "x$enable_dependency_tracking" != xno \
3859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3861 am__fastdepCC_FALSE='#'
3863 am__fastdepCC_TRUE='#'
3864 am__fastdepCC_FALSE=
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3870 $as_echo_n "checking whether ln -s works... " >&6; }
3872 if test "$LN_S" = "ln -s"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3874 $as_echo "yes" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3877 $as_echo "no, using $LN_S" >&6; }
3880 for ac_prog in perl5 perl
3882 # Extract the first word of "$ac_prog", so it can be a program name with args.
3883 set dummy $ac_prog; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if ${ac_cv_path_PERL+:} false; then :
3887 $as_echo_n "(cached) " >&6
3891 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 for as_dir in $LPATH
3898 test -z "$as_dir" && as_dir=.
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3901 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 PERL=$ac_cv_path_PERL
3913 if test -n "$PERL"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
3915 $as_echo "$PERL" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3922 test -n "$PERL" && break
3924 test -n "$PERL" || PERL="perl"
3929 # Extract the first word of "$ac_prog", so it can be a program name with args.
3930 set dummy $ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_path_CAT+:} false; then :
3934 $as_echo_n "(cached) " >&6
3938 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
3941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir=.
3946 for ac_exec_ext in '' $ac_executable_extensions; do
3947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3948 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 if test -n "$CAT"; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
3962 $as_echo "$CAT" >&6; }
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3969 test -n "$CAT" && break
3971 test -n "$CAT" || CAT="cat"
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3980 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3985 macro_version='2.4.6'
3986 macro_revision='2.4.6'
4000 ltmain=$ac_aux_dir/ltmain.sh
4002 # Make sure we can run config.sub.
4003 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4004 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4007 $as_echo_n "checking build system type... " >&6; }
4008 if ${ac_cv_build+:} false; then :
4009 $as_echo_n "(cached) " >&6
4011 ac_build_alias=$build_alias
4012 test "x$ac_build_alias" = x &&
4013 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4014 test "x$ac_build_alias" = x &&
4015 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4016 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4017 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4021 $as_echo "$ac_cv_build" >&6; }
4022 case $ac_cv_build in
4024 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4027 ac_save_IFS=$IFS; IFS='-'
4033 # Remember, the first character of IFS is used to create $*,
4034 # except with old shells:
4037 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4041 $as_echo_n "checking host system type... " >&6; }
4042 if ${ac_cv_host+:} false; then :
4043 $as_echo_n "(cached) " >&6
4045 if test "x$host_alias" = x; then
4046 ac_cv_host=$ac_cv_build
4048 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4049 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4054 $as_echo "$ac_cv_host" >&6; }
4057 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4060 ac_save_IFS=$IFS; IFS='-'
4066 # Remember, the first character of IFS is used to create $*,
4067 # except with old shells:
4070 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4073 # Backslashify metacharacters that are still active within
4074 # double-quoted strings.
4075 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4077 # Same as above, but do not quote variable references.
4078 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4080 # Sed substitution to delay expansion of an escaped shell variable in a
4081 # double_quote_subst'ed string.
4082 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4084 # Sed substitution to delay expansion of an escaped single quote.
4085 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4087 # Sed substitution to avoid accidental globbing in evaled expressions
4088 no_glob_subst='s/\*/\\\*/g'
4090 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4091 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4092 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4095 $as_echo_n "checking how to print
strings...
" >&6; }
4096 # Test print first, because it will be a builtin if present.
4097 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4098 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4100 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4103 # Use this function as a fallback that always works.
4104 func_fallback_echo ()
4106 eval 'cat <<_LTECHO_EOF
4110 ECHO='func_fallback_echo'
4113 # func_echo_all arg...
4114 # Invoke $ECHO with all args, space-separated.
4121 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4122 $as_echo "printf" >&6; } ;;
4123 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4124 $as_echo "print
-r" >&6; } ;;
4125 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4126 $as_echo "cat" >&6; } ;;
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4143 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4144 if ${ac_cv_path_SED+:} false; then :
4145 $as_echo_n "(cached
) " >&6
4147 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4148 for ac_i in 1 2 3 4 5 6 7; do
4149 ac_script="$ac_script$as_nl$ac_script"
4151 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4152 { ac_script=; unset ac_script;}
4153 if test -z "$SED"; then
4154 ac_path_SED_found=false
4155 # Loop through the user's path and test for each of PROGNAME-LIST
4156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 test -z "$as_dir" && as_dir=.
4161 for ac_prog in sed gsed; do
4162 for ac_exec_ext in '' $ac_executable_extensions; do
4163 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4164 as_fn_executable_p "$ac_path_SED" || continue
4165 # Check for GNU ac_path_SED and select it if it is found.
4166 # Check for GNU $ac_path_SED
4167 case `"$ac_path_SED" --version 2>&1` in
4169 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4172 $as_echo_n 0123456789 >"conftest.
in"
4175 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4176 mv "conftest.tmp
" "conftest.
in"
4177 cp "conftest.
in" "conftest.
nl"
4178 $as_echo '' >> "conftest.
nl"
4179 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4180 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4181 as_fn_arith $ac_count + 1 && ac_count=$as_val
4182 if test $ac_count -gt ${ac_path_SED_max-0}; then
4183 # Best one so far, save it but keep looking for a better one
4184 ac_cv_path_SED="$ac_path_SED"
4185 ac_path_SED_max=$ac_count
4187 # 10*(2^10) chars as input seems more than enough
4188 test $ac_count -gt 10 && break
4190 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4193 $ac_path_SED_found && break 3
4198 if test -z "$ac_cv_path_SED"; then
4199 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4207 $as_echo "$ac_cv_path_SED" >&6; }
4208 SED="$ac_cv_path_SED"
4211 test -z "$SED" && SED=sed
4212 Xsed="$SED -e 1s
/^X
//"
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4225 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4226 if ${ac_cv_path_GREP+:} false; then :
4227 $as_echo_n "(cached
) " >&6
4229 if test -z "$GREP"; then
4230 ac_path_GREP_found=false
4231 # Loop through the user's path and test for each of PROGNAME-LIST
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4236 test -z "$as_dir" && as_dir=.
4237 for ac_prog in grep ggrep; do
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4240 as_fn_executable_p "$ac_path_GREP" || continue
4241 # Check for GNU ac_path_GREP and select it if it is found.
4242 # Check for GNU $ac_path_GREP
4243 case `"$ac_path_GREP" --version 2>&1` in
4245 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4248 $as_echo_n 0123456789 >"conftest.
in"
4251 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4252 mv "conftest.tmp
" "conftest.
in"
4253 cp "conftest.
in" "conftest.
nl"
4254 $as_echo 'GREP' >> "conftest.
nl"
4255 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4256 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4257 as_fn_arith $ac_count + 1 && ac_count=$as_val
4258 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4259 # Best one so far, save it but keep looking for a better one
4260 ac_cv_path_GREP="$ac_path_GREP"
4261 ac_path_GREP_max=$ac_count
4263 # 10*(2^10) chars as input seems more than enough
4264 test $ac_count -gt 10 && break
4266 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4269 $ac_path_GREP_found && break 3
4274 if test -z "$ac_cv_path_GREP"; then
4275 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4278 ac_cv_path_GREP=$GREP
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4283 $as_echo "$ac_cv_path_GREP" >&6; }
4284 GREP="$ac_cv_path_GREP"
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4288 $as_echo_n "checking
for egrep...
" >&6; }
4289 if ${ac_cv_path_EGREP+:} false; then :
4290 $as_echo_n "(cached
) " >&6
4292 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4293 then ac_cv_path_EGREP="$GREP -E"
4295 if test -z "$EGREP"; then
4296 ac_path_EGREP_found=false
4297 # Loop through the user's path and test for each of PROGNAME-LIST
4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4302 test -z "$as_dir" && as_dir=.
4303 for ac_prog in egrep; do
4304 for ac_exec_ext in '' $ac_executable_extensions; do
4305 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4306 as_fn_executable_p "$ac_path_EGREP" || continue
4307 # Check for GNU ac_path_EGREP and select it if it is found.
4308 # Check for GNU $ac_path_EGREP
4309 case `"$ac_path_EGREP" --version 2>&1` in
4311 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4314 $as_echo_n 0123456789 >"conftest.
in"
4317 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4318 mv "conftest.tmp
" "conftest.
in"
4319 cp "conftest.
in" "conftest.
nl"
4320 $as_echo 'EGREP' >> "conftest.
nl"
4321 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4322 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4323 as_fn_arith $ac_count + 1 && ac_count=$as_val
4324 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4325 # Best one so far, save it but keep looking for a better one
4326 ac_cv_path_EGREP="$ac_path_EGREP"
4327 ac_path_EGREP_max=$ac_count
4329 # 10*(2^10) chars as input seems more than enough
4330 test $ac_count -gt 10 && break
4332 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4335 $ac_path_EGREP_found && break 3
4340 if test -z "$ac_cv_path_EGREP"; then
4341 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4344 ac_cv_path_EGREP=$EGREP
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4350 $as_echo "$ac_cv_path_EGREP" >&6; }
4351 EGREP="$ac_cv_path_EGREP"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4355 $as_echo_n "checking
for fgrep...
" >&6; }
4356 if ${ac_cv_path_FGREP+:} false; then :
4357 $as_echo_n "(cached
) " >&6
4359 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4360 then ac_cv_path_FGREP="$GREP -F"
4362 if test -z "$FGREP"; then
4363 ac_path_FGREP_found=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4369 test -z "$as_dir" && as_dir=.
4370 for ac_prog in fgrep; do
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4373 as_fn_executable_p "$ac_path_FGREP" || continue
4374 # Check for GNU ac_path_FGREP and select it if it is found.
4375 # Check for GNU $ac_path_FGREP
4376 case `"$ac_path_FGREP" --version 2>&1` in
4378 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4381 $as_echo_n 0123456789 >"conftest.
in"
4384 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4385 mv "conftest.tmp
" "conftest.
in"
4386 cp "conftest.
in" "conftest.
nl"
4387 $as_echo 'FGREP' >> "conftest.
nl"
4388 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4389 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4390 as_fn_arith $ac_count + 1 && ac_count=$as_val
4391 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_FGREP="$ac_path_FGREP"
4394 ac_path_FGREP_max=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4402 $ac_path_FGREP_found && break 3
4407 if test -z "$ac_cv_path_FGREP"; then
4408 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4411 ac_cv_path_FGREP=$FGREP
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4417 $as_echo "$ac_cv_path_FGREP" >&6; }
4418 FGREP="$ac_cv_path_FGREP"
4421 test -z "$GREP" && GREP=grep
4441 # Check whether --with-gnu-ld was given.
4442 if test "${with_gnu_ld+set}" = set; then :
4443 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4449 if test yes = "$GCC"; then
4450 # Check if gcc -print-prog-name=ld gives a path.
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4452 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4455 # gcc leaves a trailing carriage return, which upsets mingw
4456 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4458 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4461 # Accept absolute paths.
4463 re_direlt='/[^/][^/]*/\.\./'
4464 # Canonicalize the pathname of ld
4465 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4466 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4467 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4469 test -z "$LD" && LD=$ac_prog
4472 # If it fails, then pretend we aren't using GCC.
4476 # If it is relative, then search for the first ld in PATH.
4480 elif test yes = "$with_gnu_ld"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4482 $as_echo_n "checking
for GNU ld...
" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4485 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4487 if ${lt_cv_path_LD+:} false; then :
4488 $as_echo_n "(cached
) " >&6
4490 if test -z "$LD"; then
4491 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4492 for ac_dir in $PATH; do
4494 test -z "$ac_dir" && ac_dir=.
4495 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4496 lt_cv_path_LD=$ac_dir/$ac_prog
4497 # Check to see if the program is GNU ld. I'd rather use --version,
4498 # but apparently some variants of GNU ld only accept -v.
4499 # Break only if it was the GNU/non-GNU ld that we prefer.
4500 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4501 *GNU* | *'with BFD'*)
4502 test no != "$with_gnu_ld" && break
4505 test yes != "$with_gnu_ld" && break
4512 lt_cv_path_LD=$LD # Let the user override the test with a path.
4517 if test -n "$LD"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4519 $as_echo "$LD" >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4522 $as_echo "no
" >&6; }
4524 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4526 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4527 if ${lt_cv_prog_gnu_ld+:} false; then :
4528 $as_echo_n "(cached
) " >&6
4530 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4531 case `$LD -v 2>&1 </dev/null` in
4532 *GNU* | *'with BFD'*)
4533 lt_cv_prog_gnu_ld=yes
4536 lt_cv_prog_gnu_ld=no
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4541 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4542 with_gnu_ld=$lt_cv_prog_gnu_ld
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4553 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4554 if ${lt_cv_path_NM+:} false; then :
4555 $as_echo_n "(cached
) " >&6
4557 if test -n "$NM"; then
4558 # Let the user override the test.
4561 lt_nm_to_check=${ac_tool_prefix}nm
4562 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4563 lt_nm_to_check="$lt_nm_to_check nm
"
4565 for lt_tmp_nm in $lt_nm_to_check; do
4566 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4567 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4569 test -z "$ac_dir" && ac_dir=.
4570 tmp_nm=$ac_dir/$lt_tmp_nm
4571 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4572 # Check to see if the nm accepts a BSD-compat flag.
4573 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4574 # nm: unknown option "B
" ignored
4575 # Tru64's nm complains that /dev/null is an invalid object file
4576 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4578 mingw*) lt_bad_file=conftest.nm/nofile ;;
4579 *) lt_bad_file=/dev/null ;;
4581 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4582 *$lt_bad_file* | *'Invalid file or object type'*)
4583 lt_cv_path_NM="$tmp_nm -B"
4587 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4589 lt_cv_path_NM="$tmp_nm -p"
4593 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4594 continue # so that we can try to find one that supports BSD flags
4603 : ${lt_cv_path_NM=no}
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4607 $as_echo "$lt_cv_path_NM" >&6; }
4608 if test no != "$lt_cv_path_NM"; then
4611 # Didn't find any BSD compatible name lister, look for dumpbin.
4612 if test -n "$DUMPBIN"; then :
4613 # Let the user override the test.
4615 if test -n "$ac_tool_prefix"; then
4616 for ac_prog in dumpbin "link
-dump"
4618 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4619 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4621 $as_echo_n "checking
for $ac_word...
" >&6; }
4622 if ${ac_cv_prog_DUMPBIN+:} false; then :
4623 $as_echo_n "(cached
) " >&6
4625 if test -n "$DUMPBIN"; then
4626 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4645 DUMPBIN=$ac_cv_prog_DUMPBIN
4646 if test -n "$DUMPBIN"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4648 $as_echo "$DUMPBIN" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4651 $as_echo "no
" >&6; }
4655 test -n "$DUMPBIN" && break
4658 if test -z "$DUMPBIN"; then
4659 ac_ct_DUMPBIN=$DUMPBIN
4660 for ac_prog in dumpbin "link
-dump"
4662 # Extract the first word of "$ac_prog", so it can be a program name with args.
4663 set dummy $ac_prog; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4665 $as_echo_n "checking
for $ac_word...
" >&6; }
4666 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4667 $as_echo_n "(cached
) " >&6
4669 if test -n "$ac_ct_DUMPBIN"; then
4670 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 test -z "$as_dir" && as_dir=.
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4689 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4690 if test -n "$ac_ct_DUMPBIN"; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4692 $as_echo "$ac_ct_DUMPBIN" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4695 $as_echo "no
" >&6; }
4699 test -n "$ac_ct_DUMPBIN" && break
4702 if test "x
$ac_ct_DUMPBIN" = x; then
4705 case $cross_compiling:$ac_tool_warned in
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4708 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4709 ac_tool_warned=yes ;;
4711 DUMPBIN=$ac_ct_DUMPBIN
4715 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4717 DUMPBIN="$DUMPBIN -symbols -headers"
4725 if test : != "$DUMPBIN"; then
4729 test -z "$NM" && NM=nm
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4737 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4738 if ${lt_cv_nm_interface+:} false; then :
4739 $as_echo_n "(cached
) " >&6
4741 lt_cv_nm_interface="BSD nm
"
4742 echo "int some_variable
= 0;" > conftest.$ac_ext
4743 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4744 (eval "$ac_compile" 2>conftest.err)
4745 cat conftest.err >&5
4746 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4747 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4748 cat conftest.err >&5
4749 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4750 cat conftest.out >&5
4751 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4752 lt_cv_nm_interface="MS dumpbin
"
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4757 $as_echo "$lt_cv_nm_interface" >&6; }
4759 # find the maximum length of command line arguments
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4761 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4762 if ${lt_cv_sys_max_cmd_len+:} false; then :
4763 $as_echo_n "(cached
) " >&6
4770 # On DJGPP, this test can blow up pretty badly due to problems in libc
4771 # (any single argument exceeding 2000 bytes causes a buffer overrun
4772 # during glob expansion). Even if it were fixed, the result of this
4773 # check would be larger than it should be.
4774 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4778 # Under GNU Hurd, this test is not required because there is
4779 # no limit to the length of command line arguments.
4780 # Libtool will interpret -1 as no limit whatsoever
4781 lt_cv_sys_max_cmd_len=-1;
4784 cygwin* | mingw* | cegcc*)
4785 # On Win9x/ME, this test blows up -- it succeeds, but takes
4786 # about 5 minutes as the teststring grows exponentially.
4787 # Worse, since 9x/ME are not pre-emptively multitasking,
4788 # you end up with a "frozen
" computer, even though with patience
4789 # the test eventually succeeds (with a max line length of 256k).
4790 # Instead, let's just punt: use the minimum linelength reported by
4791 # all of the supported platforms: 8192 (on NT/2K/XP).
4792 lt_cv_sys_max_cmd_len=8192;
4796 # On MiNT this can take a long time and run out of memory.
4797 lt_cv_sys_max_cmd_len=8192;
4801 # On AmigaOS with pdksh, this test takes hours, literally.
4802 # So we just punt and use a minimum line length of 8192.
4803 lt_cv_sys_max_cmd_len=8192;
4806 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4807 # This has been around since 386BSD, at least. Likely further.
4808 if test -x /sbin/sysctl; then
4809 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4810 elif test -x /usr/sbin/sysctl; then
4811 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4813 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4815 # And add a safety zone
4816 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4817 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4821 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4822 lt_cv_sys_max_cmd_len=196608
4826 # The test takes a long time on OS/2.
4827 lt_cv_sys_max_cmd_len=8192
4831 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4832 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4833 # nice to cause kernel panics so lets avoid the loop below.
4834 # First set a reasonable default.
4835 lt_cv_sys_max_cmd_len=16384
4837 if test -x /sbin/sysconfig; then
4838 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4839 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4844 lt_cv_sys_max_cmd_len=102400
4846 sysv5* | sco5v6* | sysv4.2uw2*)
4847 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4848 if test -n "$kargmax"; then
4849 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4851 lt_cv_sys_max_cmd_len=32768
4855 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4856 if test -n "$lt_cv_sys_max_cmd_len" && \
4857 test undefined != "$lt_cv_sys_max_cmd_len"; then
4858 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4859 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4861 # Make teststring a little bigger before we do anything with it.
4862 # a 1K string should be a reasonable start.
4863 for i in 1 2 3 4 5 6 7 8; do
4864 teststring=$teststring$teststring
4866 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4867 # If test is not a shell built-in, we'll probably end up computing a
4868 # maximum length that is only half of the actual maximum length, but
4870 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4871 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4872 test 17 != "$i" # 1/2 MB should be enough
4875 teststring=$teststring$teststring
4877 # Only check the string length outside the loop.
4878 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4880 # Add a significant safety factor because C++ compilers can tack on
4881 # massive amounts of additional arguments before passing them to the
4882 # linker. It appears as though 1/2 is a usable value.
4883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4890 if test -n "$lt_cv_sys_max_cmd_len"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4892 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4895 $as_echo "none
" >&6; }
4897 max_cmd_len=$lt_cv_sys_max_cmd_len
4908 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4918 # test EBCDIC or ASCII
4919 case `echo X|tr X '\101'` in
4920 A) # ASCII based system
4921 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4922 lt_SP2NL='tr \040 \012'
4923 lt_NL2SP='tr \015\012 \040\040'
4925 *) # EBCDIC based system
4926 lt_SP2NL='tr \100 \n'
4927 lt_NL2SP='tr \r\n \100\100'
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4940 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4941 if ${lt_cv_to_host_file_cmd+:} false; then :
4942 $as_echo_n "(cached
) " >&6
4947 *-*-mingw* ) # actually msys
4948 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4951 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4953 * ) # otherwise, assume *nix
4954 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4960 *-*-mingw* ) # actually msys
4961 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4964 lt_cv_to_host_file_cmd=func_convert_file_noop
4966 * ) # otherwise, assume *nix
4967 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4971 * ) # unhandled hosts (and "normal
" native builds)
4972 lt_cv_to_host_file_cmd=func_convert_file_noop
4978 to_host_file_cmd=$lt_cv_to_host_file_cmd
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4980 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4987 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4988 if ${lt_cv_to_tool_file_cmd+:} false; then :
4989 $as_echo_n "(cached
) " >&6
4991 #assume ordinary cross tools, or native build.
4992 lt_cv_to_tool_file_cmd=func_convert_file_noop
4996 *-*-mingw* ) # actually msys
4997 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5005 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5007 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5014 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5015 if ${lt_cv_ld_reload_flag+:} false; then :
5016 $as_echo_n "(cached
) " >&6
5018 lt_cv_ld_reload_flag='-r'
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5021 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5022 reload_flag=$lt_cv_ld_reload_flag
5023 case $reload_flag in
5025 *) reload_flag=" $reload_flag" ;;
5027 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5029 cygwin* | mingw* | pw32* | cegcc*)
5030 if test yes != "$GCC"; then
5035 if test yes = "$GCC"; then
5036 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5038 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5051 if test -n "$ac_tool_prefix"; then
5052 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5053 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5055 $as_echo_n "checking
for $ac_word...
" >&6; }
5056 if ${ac_cv_prog_OBJDUMP+:} false; then :
5057 $as_echo_n "(cached
) " >&6
5059 if test -n "$OBJDUMP"; then
5060 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5079 OBJDUMP=$ac_cv_prog_OBJDUMP
5080 if test -n "$OBJDUMP"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5082 $as_echo "$OBJDUMP" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5085 $as_echo "no
" >&6; }
5090 if test -z "$ac_cv_prog_OBJDUMP"; then
5091 ac_ct_OBJDUMP=$OBJDUMP
5092 # Extract the first word of "objdump
", so it can be a program name with args.
5093 set dummy objdump; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5095 $as_echo_n "checking
for $ac_word...
" >&6; }
5096 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5097 $as_echo_n "(cached
) " >&6
5099 if test -n "$ac_ct_OBJDUMP"; then
5100 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5119 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5120 if test -n "$ac_ct_OBJDUMP"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5122 $as_echo "$ac_ct_OBJDUMP" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5125 $as_echo "no
" >&6; }
5128 if test "x
$ac_ct_OBJDUMP" = x; then
5131 case $cross_compiling:$ac_tool_warned in
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5134 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5135 ac_tool_warned=yes ;;
5137 OBJDUMP=$ac_ct_OBJDUMP
5140 OBJDUMP="$ac_cv_prog_OBJDUMP"
5143 test -z "$OBJDUMP" && OBJDUMP=objdump
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5154 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5155 if ${lt_cv_deplibs_check_method+:} false; then :
5156 $as_echo_n "(cached
) " >&6
5158 lt_cv_file_magic_cmd='$MAGIC_CMD'
5159 lt_cv_file_magic_test_file=
5160 lt_cv_deplibs_check_method='unknown'
5161 # Need to set the preceding variable on all platforms that support
5162 # interlibrary dependencies.
5163 # 'none' -- dependencies not supported.
5164 # 'unknown' -- same as none, but documents that we really don't know.
5165 # 'pass_all' -- all dependencies passed with no checks.
5166 # 'test_compile' -- check by making test program.
5167 # 'file_magic [[regex]]' -- check by looking for files in library path
5168 # that responds to the $file_magic_cmd with a given extended regex.
5169 # If you have 'file' or equivalent on your system and you're not sure
5170 # whether 'pass_all' will *always* work, you probably want this one.
5174 lt_cv_deplibs_check_method=pass_all
5178 lt_cv_deplibs_check_method=pass_all
5182 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5183 lt_cv_file_magic_cmd='/usr/bin/file -L'
5184 lt_cv_file_magic_test_file=/shlib/libc.so
5188 # func_win32_libid is a shell function defined in ltmain.sh
5189 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5190 lt_cv_file_magic_cmd='func_win32_libid'
5194 # Base MSYS/MinGW do not provide the 'file' command needed by
5195 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5196 # unless we find 'file', for example because we are cross-compiling.
5197 if ( file / ) >/dev/null 2>&1; then
5198 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5199 lt_cv_file_magic_cmd='func_win32_libid'
5201 # Keep this pattern in sync with the one in func_win32_libid.
5202 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5203 lt_cv_file_magic_cmd='$OBJDUMP -f'
5208 # use the weaker test based on 'objdump'. See mingw*.
5209 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5210 lt_cv_file_magic_cmd='$OBJDUMP -f'
5213 darwin* | rhapsody*)
5214 lt_cv_deplibs_check_method=pass_all
5217 freebsd* | dragonfly*)
5218 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5221 # Not sure whether the presence of OpenBSD here was a mistake.
5222 # Let's accept both of them until this is cleared up.
5223 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5224 lt_cv_file_magic_cmd=/usr/bin/file
5225 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5229 lt_cv_deplibs_check_method=pass_all
5234 lt_cv_deplibs_check_method=pass_all
5237 hpux10.20* | hpux11*)
5238 lt_cv_file_magic_cmd=/usr/bin/file
5241 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5242 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5245 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]'
5246 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5249 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5250 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5256 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5257 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5260 irix5* | irix6* | nonstopux*)
5262 *-32|*"-32 ") libmagic=32-bit;;
5263 *-n32|*"-n32 ") libmagic=N32;;
5264 *-64|*"-64 ") libmagic=64-bit;;
5265 *) libmagic=never-match;;
5267 lt_cv_deplibs_check_method=pass_all
5270 # This must be glibc/ELF.
5271 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5272 lt_cv_deplibs_check_method=pass_all
5276 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5284 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5285 lt_cv_file_magic_cmd=/usr/bin/file
5286 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5290 lt_cv_deplibs_check_method=pass_all
5294 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5301 osf3* | osf4* | osf5*)
5302 lt_cv_deplibs_check_method=pass_all
5306 lt_cv_deplibs_check_method=pass_all
5310 lt_cv_deplibs_check_method=pass_all
5313 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5314 lt_cv_deplibs_check_method=pass_all
5318 case $host_vendor in
5320 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]'
5321 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5324 lt_cv_deplibs_check_method=pass_all
5327 lt_cv_file_magic_cmd='/bin/file'
5328 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5331 lt_cv_file_magic_cmd='/bin/file'
5332 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5333 lt_cv_file_magic_test_file=/lib/libc.so
5336 lt_cv_deplibs_check_method=pass_all
5339 lt_cv_deplibs_check_method=pass_all
5345 lt_cv_deplibs_check_method=pass_all
5348 lt_cv_deplibs_check_method=pass_all
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5354 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5358 if test "$build" = "$host"; then
5361 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5364 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5370 file_magic_cmd=$lt_cv_file_magic_cmd
5371 deplibs_check_method=$lt_cv_deplibs_check_method
5372 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5395 if test -n "$ac_tool_prefix"; then
5396 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5397 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5399 $as_echo_n "checking
for $ac_word...
" >&6; }
5400 if ${ac_cv_prog_DLLTOOL+:} false; then :
5401 $as_echo_n "(cached
) " >&6
5403 if test -n "$DLLTOOL"; then
5404 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5423 DLLTOOL=$ac_cv_prog_DLLTOOL
5424 if test -n "$DLLTOOL"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5426 $as_echo "$DLLTOOL" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5429 $as_echo "no
" >&6; }
5434 if test -z "$ac_cv_prog_DLLTOOL"; then
5435 ac_ct_DLLTOOL=$DLLTOOL
5436 # Extract the first word of "dlltool
", so it can be a program name with args.
5437 set dummy dlltool; ac_word=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5439 $as_echo_n "checking
for $ac_word...
" >&6; }
5440 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5441 $as_echo_n "(cached
) " >&6
5443 if test -n "$ac_ct_DLLTOOL"; then
5444 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5463 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5464 if test -n "$ac_ct_DLLTOOL"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5466 $as_echo "$ac_ct_DLLTOOL" >&6; }
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5469 $as_echo "no
" >&6; }
5472 if test "x
$ac_ct_DLLTOOL" = x; then
5475 case $cross_compiling:$ac_tool_warned in
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5478 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5479 ac_tool_warned=yes ;;
5481 DLLTOOL=$ac_ct_DLLTOOL
5484 DLLTOOL="$ac_cv_prog_DLLTOOL"
5487 test -z "$DLLTOOL" && DLLTOOL=dlltool
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5499 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5500 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5501 $as_echo_n "(cached
) " >&6
5503 lt_cv_sharedlib_from_linklib_cmd='unknown'
5506 cygwin* | mingw* | pw32* | cegcc*)
5507 # two different shell functions defined in ltmain.sh;
5508 # decide which one to use based on capabilities of $DLLTOOL
5509 case `$DLLTOOL --help 2>&1` in
5510 *--identify-strict*)
5511 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5514 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5519 # fallback: assume linklib IS sharedlib
5520 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5526 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5527 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5528 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5537 if test -n "$ac_tool_prefix"; then
5540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5543 $as_echo_n "checking
for $ac_word...
" >&6; }
5544 if ${ac_cv_prog_AR+:} false; then :
5545 $as_echo_n "(cached
) " >&6
5547 if test -n "$AR"; then
5548 ac_cv_prog_AR="$AR" # Let the user override the test.
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5568 if test -n "$AR"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5570 $as_echo "$AR" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5573 $as_echo "no
" >&6; }
5577 test -n "$AR" && break
5580 if test -z "$AR"; then
5584 # Extract the first word of "$ac_prog", so it can be a program name with args.
5585 set dummy $ac_prog; ac_word=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5587 $as_echo_n "checking
for $ac_word...
" >&6; }
5588 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5589 $as_echo_n "(cached
) " >&6
5591 if test -n "$ac_ct_AR"; then
5592 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_prog_ac_ct_AR="$ac_prog"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5611 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5612 if test -n "$ac_ct_AR"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5614 $as_echo "$ac_ct_AR" >&6; }
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5617 $as_echo "no
" >&6; }
5621 test -n "$ac_ct_AR" && break
5624 if test "x
$ac_ct_AR" = x; then
5627 case $cross_compiling:$ac_tool_warned in
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5630 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5631 ac_tool_warned=yes ;;
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5651 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5652 if ${lt_cv_ar_at_file+:} false; then :
5653 $as_echo_n "(cached
) " >&6
5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5667 if ac_fn_c_try_compile "$LINENO"; then :
5668 echo conftest.$ac_objext > conftest.lst
5669 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5670 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5671 (eval $lt_ar_try) 2>&5
5673 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5674 test $ac_status = 0; }
5675 if test 0 -eq "$ac_status"; then
5676 # Ensure the archiver fails upon bogus file names.
5677 rm -f conftest.$ac_objext libconftest.a
5678 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5679 (eval $lt_ar_try) 2>&5
5681 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5682 test $ac_status = 0; }
5683 if test 0 -ne "$ac_status"; then
5687 rm -f conftest.* libconftest.a
5690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5694 $as_echo "$lt_cv_ar_at_file" >&6; }
5696 if test no = "$lt_cv_ar_at_file"; then
5699 archiver_list_spec=$lt_cv_ar_at_file
5708 if test -n "$ac_tool_prefix"; then
5709 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5710 set dummy ${ac_tool_prefix}strip; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5712 $as_echo_n "checking
for $ac_word...
" >&6; }
5713 if ${ac_cv_prog_STRIP+:} false; then :
5714 $as_echo_n "(cached
) " >&6
5716 if test -n "$STRIP"; then
5717 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5736 STRIP=$ac_cv_prog_STRIP
5737 if test -n "$STRIP"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5739 $as_echo "$STRIP" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5742 $as_echo "no
" >&6; }
5747 if test -z "$ac_cv_prog_STRIP"; then
5749 # Extract the first word of "strip
", so it can be a program name with args.
5750 set dummy strip; ac_word=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5752 $as_echo_n "checking
for $ac_word...
" >&6; }
5753 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5754 $as_echo_n "(cached
) " >&6
5756 if test -n "$ac_ct_STRIP"; then
5757 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5763 test -z "$as_dir" && as_dir=.
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5766 ac_cv_prog_ac_ct_STRIP="strip
"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5776 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5777 if test -n "$ac_ct_STRIP"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5779 $as_echo "$ac_ct_STRIP" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5782 $as_echo "no
" >&6; }
5785 if test "x
$ac_ct_STRIP" = x; then
5788 case $cross_compiling:$ac_tool_warned in
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5791 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5792 ac_tool_warned=yes ;;
5797 STRIP="$ac_cv_prog_STRIP"
5800 test -z "$STRIP" && STRIP=:
5807 if test -n "$ac_tool_prefix"; then
5808 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5809 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5811 $as_echo_n "checking
for $ac_word...
" >&6; }
5812 if ${ac_cv_prog_RANLIB+:} false; then :
5813 $as_echo_n "(cached
) " >&6
5815 if test -n "$RANLIB"; then
5816 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5835 RANLIB=$ac_cv_prog_RANLIB
5836 if test -n "$RANLIB"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5838 $as_echo "$RANLIB" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5841 $as_echo "no
" >&6; }
5846 if test -z "$ac_cv_prog_RANLIB"; then
5847 ac_ct_RANLIB=$RANLIB
5848 # Extract the first word of "ranlib
", so it can be a program name with args.
5849 set dummy ranlib; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5851 $as_echo_n "checking
for $ac_word...
" >&6; }
5852 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5853 $as_echo_n "(cached
) " >&6
5855 if test -n "$ac_ct_RANLIB"; then
5856 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5875 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5876 if test -n "$ac_ct_RANLIB"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5878 $as_echo "$ac_ct_RANLIB" >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5881 $as_echo "no
" >&6; }
5884 if test "x
$ac_ct_RANLIB" = x; then
5887 case $cross_compiling:$ac_tool_warned in
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5890 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5891 ac_tool_warned=yes ;;
5893 RANLIB=$ac_ct_RANLIB
5896 RANLIB="$ac_cv_prog_RANLIB"
5899 test -z "$RANLIB" && RANLIB=:
5906 # Determine commands to create old-style static archives.
5907 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5908 old_postinstall_cmds='chmod 644 $oldlib'
5909 old_postuninstall_cmds=
5911 if test -n "$RANLIB"; then
5914 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5917 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5920 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5925 lock_old_archive_extraction=yes ;;
5927 lock_old_archive_extraction=no ;;
5968 # If no C compiler was specified, use CC.
5971 # If no C compiler flags were specified, use CFLAGS.
5972 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5974 # Allow CC to be a program name with arguments.
5978 # Check for command to grab the raw symbol name followed by C symbol from nm.
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5980 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5981 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5982 $as_echo_n "(cached
) " >&6
5985 # These are sane defaults that work on at least a few old systems.
5986 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5988 # Character class describing NM global symbol codes.
5989 symcode='[BCDEGRST]'
5991 # Regexp to match symbols that can be accessed directly from C.
5992 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5994 # Define system-specific variables.
5999 cygwin* | mingw* | pw32* | cegcc*)
6000 symcode='[ABCDGISTW]'
6003 if test ia64 = "$host_cpu"; then
6004 symcode='[ABCDEGRST]'
6008 symcode='[BCDEGRST]'
6011 symcode='[BCDEGQRST]'
6022 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6030 # If we're using GNU nm, then use its standard symbol codes.
6031 case `$NM -V 2>&1` in
6032 *GNU* | *'with BFD'*)
6033 symcode='[ABCDGIRSTW]' ;;
6036 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6037 # Gets list of data symbols to import.
6038 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6039 # Adjust the below global symbol transforms to fixup imported variables.
6040 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6041 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6042 lt_c_name_lib_hook="\
6043 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6044 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6046 # Disable hooks by default.
6047 lt_cv_sys_global_symbol_to_import=
6053 # Transform an extracted symbol line into a proper C declaration.
6054 # Some systems (esp. on ia64) link data and code symbols differently,
6055 # so use this general approach.
6056 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6058 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6059 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6061 # Transform an extracted symbol line into symbol name and symbol address
6062 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6064 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6065 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6067 # Transform an extracted symbol line into symbol name with lib prefix and
6069 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6070 $lt_c_name_lib_hook\
6071 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6072 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6073 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6075 # Handle CRLF in mingw tool chain
6079 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6083 # Try without a prefix underscore, then with it.
6084 for ac_symprfx in "" "_
"; do
6086 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6087 symxfrm="\\1 $ac_symprfx\\2 \\2"
6089 # Write the raw and C identifiers.
6090 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6091 # Fake it for dumpbin and say T for any non-static function,
6092 # D for any global variable and I for any imported variable.
6093 # Also find C++ and __fastcall symbols from MSVC++,
6094 # which start with @ or ?.
6095 lt_cv_sys_global_symbol_pipe="$AWK '"\
6096 " {last_section=section; section=\$ 3};"\
6097 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6098 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6099 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6100 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6101 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6102 " \$ 0!~/External *\|/{next};"\
6103 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6104 " {if(hide[section]) next};"\
6105 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6106 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6107 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6108 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6109 " ' prfx
=^
$ac_symprfx"
6111 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6113 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6115 # Check to see that the pipe works correctly.
6119 cat > conftest.$ac_ext <<_LT_EOF
6124 void nm_test_func(void);
6125 void nm_test_func(void){}
6129 int main(){nm_test_var='a';nm_test_func();return(0);}
6132 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6133 (eval $ac_compile) 2>&5
6135 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6136 test $ac_status = 0; }; then
6137 # Now try to grab the symbols.
6139 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6140 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6142 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6143 test $ac_status = 0; } && test -s "$nlist"; then
6144 # Try sorting and uniquifying the output.
6145 if sort "$nlist" | uniq > "$nlist"T; then
6146 mv -f "$nlist"T "$nlist"
6151 # Make sure that we snagged all the symbols we need.
6152 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6153 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6154 cat <<_LT_EOF > conftest.$ac_ext
6155 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6156 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6157 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6158 relocations are performed -- see ld's documentation on pseudo-relocs. */
6159 # define LT_DLSYM_CONST
6160 #elif defined __osf__
6161 /* This system does not cope well with relocations in const data. */
6162 # define LT_DLSYM_CONST
6164 # define LT_DLSYM_CONST const
6172 # Now generate the symbol file.
6173 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6175 cat <<_LT_EOF >> conftest.$ac_ext
6177 /* The mapping between symbol names and symbols. */
6178 LT_DLSYM_CONST struct {
6182 lt__PROGRAM__LTX_preloaded_symbols[] =
6184 { "@PROGRAM@
", (void *) 0 },
6186 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6187 cat <<\_LT_EOF >> conftest.$ac_ext
6191 /* This works around a problem in FreeBSD linker */
6192 #ifdef FREEBSD_WORKAROUND
6193 static const void *lt_preloaded_setup() {
6194 return lt__PROGRAM__LTX_preloaded_symbols;
6202 # Now try linking the two files.
6203 mv conftest.$ac_objext conftstm.$ac_objext
6204 lt_globsym_save_LIBS=$LIBS
6205 lt_globsym_save_CFLAGS=$CFLAGS
6206 LIBS=conftstm.$ac_objext
6207 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6208 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6209 (eval $ac_link) 2>&5
6211 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6212 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6215 LIBS=$lt_globsym_save_LIBS
6216 CFLAGS=$lt_globsym_save_CFLAGS
6218 echo "cannot
find nm_test_func
in $nlist" >&5
6221 echo "cannot
find nm_test_var
in $nlist" >&5
6224 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6227 echo "$progname: failed program was
:" >&5
6228 cat conftest.$ac_ext >&5
6230 rm -rf conftest* conftst*
6232 # Do not use the global_symbol_pipe unless it works.
6233 if test yes = "$pipe_works"; then
6236 lt_cv_sys_global_symbol_pipe=
6242 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6243 lt_cv_sys_global_symbol_to_cdecl=
6245 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6247 $as_echo "failed
" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6250 $as_echo "ok
" >&6; }
6253 # Response file support.
6254 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6255 nm_file_list_spec='@'
6256 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6257 nm_file_list_spec='@'
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6297 $as_echo_n "checking
for sysroot...
" >&6; }
6299 # Check whether --with-sysroot was given.
6300 if test "${with_sysroot+set}" = set; then :
6301 withval=$with_sysroot;
6308 case $with_sysroot in #(
6310 if test yes = "$GCC"; then
6311 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6315 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
6321 $as_echo "$with_sysroot" >&6; }
6322 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6327 $as_echo "${lt_sysroot:-no}" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
6334 $as_echo_n "checking
for a working
dd...
" >&6; }
6335 if ${ac_cv_path_lt_DD+:} false; then :
6336 $as_echo_n "(cached
) " >&6
6338 printf 0123456789abcdef0123456789abcdef >conftest.i
6339 cat conftest.i conftest.i >conftest2.i
6341 if test -z "$lt_DD"; then
6342 ac_path_lt_DD_found=false
6343 # Loop through the user's path and test for each of PROGNAME-LIST
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir=.
6349 for ac_prog in dd; do
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6352 as_fn_executable_p "$ac_path_lt_DD" || continue
6353 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6354 cmp -s conftest.i conftest.out \
6355 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6357 $ac_path_lt_DD_found && break 3
6362 if test -z "$ac_cv_path_lt_DD"; then
6366 ac_cv_path_lt_DD=$lt_DD
6369 rm -f conftest.i conftest2.i conftest.out
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
6372 $as_echo "$ac_cv_path_lt_DD" >&6; }
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
6376 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
6377 if ${lt_cv_truncate_bin+:} false; then :
6378 $as_echo_n "(cached
) " >&6
6380 printf 0123456789abcdef0123456789abcdef >conftest.i
6381 cat conftest.i conftest.i >conftest2.i
6383 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6384 cmp -s conftest.i conftest.out \
6385 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
6387 rm -f conftest.i conftest2.i conftest.out
6388 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
6391 $as_echo "$lt_cv_truncate_bin" >&6; }
6399 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6402 for cc_temp in $*""; do
6404 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6405 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6410 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
6413 # Check whether --enable-libtool-lock was given.
6414 if test "${enable_libtool_lock+set}" = set; then :
6415 enableval=$enable_libtool_lock;
6418 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6420 # Some flags need to be propagated to the compiler or linker for good
6424 # Find out what ABI is being produced by ac_compile, and set mode
6425 # options accordingly.
6426 echo 'int i;' > conftest.$ac_ext
6427 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6428 (eval $ac_compile) 2>&5
6430 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6431 test $ac_status = 0; }; then
6432 case `/usr/bin/file conftest.$ac_objext` in
6444 # Find out what ABI is being produced by ac_compile, and set linker
6445 # options accordingly.
6446 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6447 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6448 (eval $ac_compile) 2>&5
6450 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6451 test $ac_status = 0; }; then
6452 if test yes = "$lt_cv_prog_gnu_ld"; then
6453 case `/usr/bin/file conftest.$ac_objext` in
6455 LD="${LD-ld} -melf32bsmip"
6458 LD="${LD-ld} -melf32bmipn32"
6461 LD="${LD-ld} -melf64bmip"
6465 case `/usr/bin/file conftest.$ac_objext` in
6482 # Find out what ABI is being produced by ac_compile, and set linker
6483 # options accordingly.
6484 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6485 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6486 (eval $ac_compile) 2>&5
6488 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6489 test $ac_status = 0; }; then
6491 case `/usr/bin/file conftest.$ac_objext` in
6499 case `/usr/bin/file conftest.$ac_objext` in
6501 emul="${emul}btsmip
"
6504 emul="${emul}ltsmip
"
6507 case `/usr/bin/file conftest.$ac_objext` in
6512 LD="${LD-ld} -m $emul"
6517 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6518 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6519 # Find out what ABI is being produced by ac_compile, and set linker
6520 # options accordingly. Note that the listed cases only cover the
6521 # situations where additional linker options are needed (such as when
6522 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6523 # vice versa); the common cases where no linker options are needed do
6524 # not appear in the list.
6525 echo 'int i;' > conftest.$ac_ext
6526 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6527 (eval $ac_compile) 2>&5
6529 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6530 test $ac_status = 0; }; then
6531 case `/usr/bin/file conftest.o` in
6534 x86_64-*kfreebsd*-gnu)
6535 LD="${LD-ld} -m elf_i386_fbsd
"
6538 case `/usr/bin/file conftest.o` in
6540 LD="${LD-ld} -m elf32_x86_64
"
6543 LD="${LD-ld} -m elf_i386
"
6547 powerpc64le-*linux*)
6548 LD="${LD-ld} -m elf32lppclinux
"
6551 LD="${LD-ld} -m elf32ppclinux
"
6554 LD="${LD-ld} -m elf_s390
"
6557 LD="${LD-ld} -m elf32_sparc
"
6563 x86_64-*kfreebsd*-gnu)
6564 LD="${LD-ld} -m elf_x86_64_fbsd
"
6567 LD="${LD-ld} -m elf_x86_64
"
6570 LD="${LD-ld} -m elf64lppc
"
6573 LD="${LD-ld} -m elf64ppc
"
6575 s390*-*linux*|s390*-*tpf*)
6576 LD="${LD-ld} -m elf64_s390
"
6579 LD="${LD-ld} -m elf64_sparc
"
6589 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6591 CFLAGS="$CFLAGS -belf"
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6593 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6594 if ${lt_cv_cc_needs_belf+:} false; then :
6595 $as_echo_n "(cached
) " >&6
6598 ac_cpp='$CPP $CPPFLAGS'
6599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6614 if ac_fn_c_try_link "$LINENO"; then :
6615 lt_cv_cc_needs_belf=yes
6617 lt_cv_cc_needs_belf=no
6619 rm -f core conftest.err conftest.$ac_objext \
6620 conftest$ac_exeext conftest.$ac_ext
6622 ac_cpp='$CPP $CPPFLAGS'
6623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6629 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6630 if test yes != "$lt_cv_cc_needs_belf"; then
6631 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6636 # Find out what ABI is being produced by ac_compile, and set linker
6637 # options accordingly.
6638 echo 'int i;' > conftest.$ac_ext
6639 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6640 (eval $ac_compile) 2>&5
6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6643 test $ac_status = 0; }; then
6644 case `/usr/bin/file conftest.o` in
6646 case $lt_cv_prog_gnu_ld in
6649 i?86-*-solaris*|x86_64-*-solaris*)
6650 LD="${LD-ld} -m elf_x86_64
"
6653 LD="${LD-ld} -m elf64_sparc
"
6656 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6657 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6662 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6674 need_locks=$enable_libtool_lock
6676 if test -n "$ac_tool_prefix"; then
6677 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6678 set dummy ${ac_tool_prefix}mt; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6680 $as_echo_n "checking
for $ac_word...
" >&6; }
6681 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6682 $as_echo_n "(cached
) " >&6
6684 if test -n "$MANIFEST_TOOL"; then
6685 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6694 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6704 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6705 if test -n "$MANIFEST_TOOL"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6707 $as_echo "$MANIFEST_TOOL" >&6; }
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6710 $as_echo "no
" >&6; }
6715 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6716 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6717 # Extract the first word of "mt
", so it can be a program name with args.
6718 set dummy mt; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6720 $as_echo_n "checking
for $ac_word...
" >&6; }
6721 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6722 $as_echo_n "(cached
) " >&6
6724 if test -n "$ac_ct_MANIFEST_TOOL"; then
6725 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6744 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6745 if test -n "$ac_ct_MANIFEST_TOOL"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6747 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6750 $as_echo "no
" >&6; }
6753 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6756 case $cross_compiling:$ac_tool_warned in
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6759 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6760 ac_tool_warned=yes ;;
6762 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6765 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6768 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6770 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6771 if ${lt_cv_path_mainfest_tool+:} false; then :
6772 $as_echo_n "(cached
) " >&6
6774 lt_cv_path_mainfest_tool=no
6775 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6776 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6777 cat conftest.err >&5
6778 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6779 lt_cv_path_mainfest_tool=yes
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6784 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6785 if test yes != "$lt_cv_path_mainfest_tool"; then
6795 rhapsody* | darwin*)
6796 if test -n "$ac_tool_prefix"; then
6797 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6798 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6800 $as_echo_n "checking
for $ac_word...
" >&6; }
6801 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6802 $as_echo_n "(cached
) " >&6
6804 if test -n "$DSYMUTIL"; then
6805 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 test -z "$as_dir" && as_dir=.
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6824 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6825 if test -n "$DSYMUTIL"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6827 $as_echo "$DSYMUTIL" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6830 $as_echo "no
" >&6; }
6835 if test -z "$ac_cv_prog_DSYMUTIL"; then
6836 ac_ct_DSYMUTIL=$DSYMUTIL
6837 # Extract the first word of "dsymutil
", so it can be a program name with args.
6838 set dummy dsymutil; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6840 $as_echo_n "checking
for $ac_word...
" >&6; }
6841 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6842 $as_echo_n "(cached
) " >&6
6844 if test -n "$ac_ct_DSYMUTIL"; then
6845 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6864 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6865 if test -n "$ac_ct_DSYMUTIL"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6867 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6870 $as_echo "no
" >&6; }
6873 if test "x
$ac_ct_DSYMUTIL" = x; then
6876 case $cross_compiling:$ac_tool_warned in
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6879 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6880 ac_tool_warned=yes ;;
6882 DSYMUTIL=$ac_ct_DSYMUTIL
6885 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6888 if test -n "$ac_tool_prefix"; then
6889 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6890 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6892 $as_echo_n "checking
for $ac_word...
" >&6; }
6893 if ${ac_cv_prog_NMEDIT+:} false; then :
6894 $as_echo_n "(cached
) " >&6
6896 if test -n "$NMEDIT"; then
6897 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir=.
6904 for ac_exec_ext in '' $ac_executable_extensions; do
6905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6906 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6916 NMEDIT=$ac_cv_prog_NMEDIT
6917 if test -n "$NMEDIT"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6919 $as_echo "$NMEDIT" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6922 $as_echo "no
" >&6; }
6927 if test -z "$ac_cv_prog_NMEDIT"; then
6928 ac_ct_NMEDIT=$NMEDIT
6929 # Extract the first word of "nmedit
", so it can be a program name with args.
6930 set dummy nmedit; ac_word=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6932 $as_echo_n "checking
for $ac_word...
" >&6; }
6933 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6934 $as_echo_n "(cached
) " >&6
6936 if test -n "$ac_ct_NMEDIT"; then
6937 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir=.
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6946 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6956 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6957 if test -n "$ac_ct_NMEDIT"; then
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6959 $as_echo "$ac_ct_NMEDIT" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6962 $as_echo "no
" >&6; }
6965 if test "x
$ac_ct_NMEDIT" = x; then
6968 case $cross_compiling:$ac_tool_warned in
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6971 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6972 ac_tool_warned=yes ;;
6974 NMEDIT=$ac_ct_NMEDIT
6977 NMEDIT="$ac_cv_prog_NMEDIT"
6980 if test -n "$ac_tool_prefix"; then
6981 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6982 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6984 $as_echo_n "checking
for $ac_word...
" >&6; }
6985 if ${ac_cv_prog_LIPO+:} false; then :
6986 $as_echo_n "(cached
) " >&6
6988 if test -n "$LIPO"; then
6989 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6998 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7008 LIPO=$ac_cv_prog_LIPO
7009 if test -n "$LIPO"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7011 $as_echo "$LIPO" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7014 $as_echo "no
" >&6; }
7019 if test -z "$ac_cv_prog_LIPO"; then
7021 # Extract the first word of "lipo
", so it can be a program name with args.
7022 set dummy lipo; ac_word=$2
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7024 $as_echo_n "checking
for $ac_word...
" >&6; }
7025 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7026 $as_echo_n "(cached
) " >&6
7028 if test -n "$ac_ct_LIPO"; then
7029 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 test -z "$as_dir" && as_dir=.
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7038 ac_cv_prog_ac_ct_LIPO="lipo
"
7039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7048 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7049 if test -n "$ac_ct_LIPO"; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7051 $as_echo "$ac_ct_LIPO" >&6; }
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7054 $as_echo "no
" >&6; }
7057 if test "x
$ac_ct_LIPO" = x; then
7060 case $cross_compiling:$ac_tool_warned in
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7063 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7064 ac_tool_warned=yes ;;
7069 LIPO="$ac_cv_prog_LIPO"
7072 if test -n "$ac_tool_prefix"; then
7073 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7074 set dummy ${ac_tool_prefix}otool; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7076 $as_echo_n "checking
for $ac_word...
" >&6; }
7077 if ${ac_cv_prog_OTOOL+:} false; then :
7078 $as_echo_n "(cached
) " >&6
7080 if test -n "$OTOOL"; then
7081 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7090 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7100 OTOOL=$ac_cv_prog_OTOOL
7101 if test -n "$OTOOL"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7103 $as_echo "$OTOOL" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7106 $as_echo "no
" >&6; }
7111 if test -z "$ac_cv_prog_OTOOL"; then
7113 # Extract the first word of "otool
", so it can be a program name with args.
7114 set dummy otool; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7116 $as_echo_n "checking
for $ac_word...
" >&6; }
7117 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7118 $as_echo_n "(cached
) " >&6
7120 if test -n "$ac_ct_OTOOL"; then
7121 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_ac_ct_OTOOL="otool
"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7140 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7141 if test -n "$ac_ct_OTOOL"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7143 $as_echo "$ac_ct_OTOOL" >&6; }
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7146 $as_echo "no
" >&6; }
7149 if test "x
$ac_ct_OTOOL" = x; then
7152 case $cross_compiling:$ac_tool_warned in
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7155 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7156 ac_tool_warned=yes ;;
7161 OTOOL="$ac_cv_prog_OTOOL"
7164 if test -n "$ac_tool_prefix"; then
7165 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7166 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7168 $as_echo_n "checking
for $ac_word...
" >&6; }
7169 if ${ac_cv_prog_OTOOL64+:} false; then :
7170 $as_echo_n "(cached
) " >&6
7172 if test -n "$OTOOL64"; then
7173 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7192 OTOOL64=$ac_cv_prog_OTOOL64
7193 if test -n "$OTOOL64"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7195 $as_echo "$OTOOL64" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7198 $as_echo "no
" >&6; }
7203 if test -z "$ac_cv_prog_OTOOL64"; then
7204 ac_ct_OTOOL64=$OTOOL64
7205 # Extract the first word of "otool64
", so it can be a program name with args.
7206 set dummy otool64; ac_word=$2
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7208 $as_echo_n "checking
for $ac_word...
" >&6; }
7209 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7210 $as_echo_n "(cached
) " >&6
7212 if test -n "$ac_ct_OTOOL64"; then
7213 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7219 test -z "$as_dir" && as_dir=.
7220 for ac_exec_ext in '' $ac_executable_extensions; do
7221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7232 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7233 if test -n "$ac_ct_OTOOL64"; then
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7235 $as_echo "$ac_ct_OTOOL64" >&6; }
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7238 $as_echo "no
" >&6; }
7241 if test "x
$ac_ct_OTOOL64" = x; then
7244 case $cross_compiling:$ac_tool_warned in
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7247 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7248 ac_tool_warned=yes ;;
7250 OTOOL64=$ac_ct_OTOOL64
7253 OTOOL64="$ac_cv_prog_OTOOL64"
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7283 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7284 if ${lt_cv_apple_cc_single_mod+:} false; then :
7285 $as_echo_n "(cached
) " >&6
7287 lt_cv_apple_cc_single_mod=no
7288 if test -z "$LT_MULTI_MODULE"; then
7289 # By default we will add the -single_module flag. You can override
7290 # by either setting the environment variable LT_MULTI_MODULE
7291 # non-empty at configure time, or by adding -multi_module to the
7293 rm -rf libconftest.dylib*
7294 echo "int foo
(void
){return 1;}" > conftest.c
7295 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7296 -dynamiclib -Wl,-single_module conftest.c
" >&5
7297 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7298 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7300 # If there is a non-empty error log, and "single_module
"
7301 # appears in it, assume the flag caused a linker warning
7302 if test -s conftest.err && $GREP single_module conftest.err; then
7303 cat conftest.err >&5
7304 # Otherwise, if the output was created with a 0 exit code from
7305 # the compiler, it worked.
7306 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7307 lt_cv_apple_cc_single_mod=yes
7309 cat conftest.err >&5
7311 rm -rf libconftest.dylib*
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7316 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7319 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7320 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7321 $as_echo_n "(cached
) " >&6
7323 lt_cv_ld_exported_symbols_list=no
7324 save_LDFLAGS=$LDFLAGS
7325 echo "_main
" > conftest.sym
7326 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328 /* end confdefs.h. */
7338 if ac_fn_c_try_link "$LINENO"; then :
7339 lt_cv_ld_exported_symbols_list=yes
7341 lt_cv_ld_exported_symbols_list=no
7343 rm -f core conftest.err conftest.$ac_objext \
7344 conftest$ac_exeext conftest.$ac_ext
7345 LDFLAGS=$save_LDFLAGS
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7349 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7352 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7353 if ${lt_cv_ld_force_load+:} false; then :
7354 $as_echo_n "(cached
) " >&6
7356 lt_cv_ld_force_load=no
7357 cat > conftest.c << _LT_EOF
7358 int forced_loaded() { return 2;}
7360 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7361 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7362 echo "$AR cru libconftest.a conftest.o
" >&5
7363 $AR cru libconftest.a conftest.o 2>&5
7364 echo "$RANLIB libconftest.a
" >&5
7365 $RANLIB libconftest.a 2>&5
7366 cat > conftest.c << _LT_EOF
7367 int main() { return 0;}
7369 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7370 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7372 if test -s conftest.err && $GREP force_load conftest.err; then
7373 cat conftest.err >&5
7374 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7375 lt_cv_ld_force_load=yes
7377 cat conftest.err >&5
7379 rm -f conftest.err libconftest.a conftest conftest.c
7380 rm -rf conftest.dSYM
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7384 $as_echo "$lt_cv_ld_force_load" >&6; }
7386 rhapsody* | darwin1.[012])
7387 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7389 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7390 darwin*) # darwin 5.x on
7391 # if running on 10.5 or later, the deployment target defaults
7392 # to the OS version, if on x86, and 10.4, the deployment
7393 # target defaults to 10.4. Don't you love it?
7394 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7395 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7396 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7398 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7400 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7404 if test yes = "$lt_cv_apple_cc_single_mod"; then
7405 _lt_dar_single_mod='$single_module'
7407 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7408 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7410 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7412 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7413 _lt_dsymutil='~$DSYMUTIL $lib || :'
7420 # func_munge_path_list VARIABLE PATH
7421 # -----------------------------------
7422 # VARIABLE is name of variable containing _space_ separated list of
7423 # directories to be munged by the contents of PATH, which is string
7426 # string "DIR
[ DIR
]" will be prepended to VARIABLE
7428 # string "DIR
[ DIR
]" will be appended to VARIABLE
7429 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
7430 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
7431 # "DIRA
[ DIRA
]" will be appended to VARIABLE
7433 # VARIABLE will be replaced by "DIR
[ DIR
]"
7434 func_munge_path_list ()
7440 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7443 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7446 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7447 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7450 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7456 ac_cpp='$CPP $CPPFLAGS'
7457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7461 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7462 # On Suns, sometimes $CPP names a directory.
7463 if test -n "$CPP" && test -d "$CPP"; then
7466 if test -z "$CPP"; then
7467 if ${ac_cv_prog_CPP+:} false; then :
7468 $as_echo_n "(cached
) " >&6
7470 # Double quotes because CPP needs to be expanded
7471 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7474 for ac_c_preproc_warn_flag in '' yes
7476 # Use a header file that comes with gcc, so configuring glibc
7477 # with a fresh cross-compiler works.
7478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7479 # <limits.h> exists even on freestanding compilers.
7480 # On the NeXT, cc -E runs the code through the compiler's parser,
7481 # not just through cpp. "Syntax error
" is here to catch this case.
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7485 # include <limits.h>
7487 # include <assert.h>
7491 if ac_fn_c_try_cpp "$LINENO"; then :
7494 # Broken: fails on valid input.
7497 rm -f conftest.err conftest.i conftest.$ac_ext
7499 # OK, works on sane cases. Now check whether nonexistent headers
7500 # can be detected and how.
7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7503 #include <ac_nonexistent.h>
7505 if ac_fn_c_try_cpp "$LINENO"; then :
7506 # Broken: success on invalid input.
7509 # Passes both tests.
7513 rm -f conftest.err conftest.i conftest.$ac_ext
7516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7517 rm -f conftest.i conftest.err conftest.$ac_ext
7518 if $ac_preproc_ok; then :
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7531 $as_echo "$CPP" >&6; }
7533 for ac_c_preproc_warn_flag in '' yes
7535 # Use a header file that comes with gcc, so configuring glibc
7536 # with a fresh cross-compiler works.
7537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7538 # <limits.h> exists even on freestanding compilers.
7539 # On the NeXT, cc -E runs the code through the compiler's parser,
7540 # not just through cpp. "Syntax error
" is here to catch this case.
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7544 # include <limits.h>
7546 # include <assert.h>
7550 if ac_fn_c_try_cpp "$LINENO"; then :
7553 # Broken: fails on valid input.
7556 rm -f conftest.err conftest.i conftest.$ac_ext
7558 # OK, works on sane cases. Now check whether nonexistent headers
7559 # can be detected and how.
7560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7562 #include <ac_nonexistent.h>
7564 if ac_fn_c_try_cpp "$LINENO"; then :
7565 # Broken: success on invalid input.
7568 # Passes both tests.
7572 rm -f conftest.err conftest.i conftest.$ac_ext
7575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7576 rm -f conftest.i conftest.err conftest.$ac_ext
7577 if $ac_preproc_ok; then :
7580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7582 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7583 See \`config.log' for more details
" "$LINENO" 5; }
7587 ac_cpp='$CPP $CPPFLAGS'
7588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7594 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7595 if ${ac_cv_header_stdc+:} false; then :
7596 $as_echo_n "(cached
) " >&6
7598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7599 /* end confdefs.h. */
7613 if ac_fn_c_try_compile "$LINENO"; then :
7614 ac_cv_header_stdc=yes
7616 ac_cv_header_stdc=no
7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7620 if test $ac_cv_header_stdc = yes; then
7621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7627 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7628 $EGREP "memchr
" >/dev/null 2>&1; then :
7631 ac_cv_header_stdc=no
7637 if test $ac_cv_header_stdc = yes; then
7638 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7644 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7645 $EGREP "free
" >/dev/null 2>&1; then :
7648 ac_cv_header_stdc=no
7654 if test $ac_cv_header_stdc = yes; then
7655 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7656 if test "$cross_compiling" = yes; then :
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7663 #if ((' ' & 0x0FF) == 0x020)
7664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7667 # define ISLOWER(c) \
7668 (('a' <= (c) && (c) <= 'i') \
7669 || ('j' <= (c) && (c) <= 'r') \
7670 || ('s' <= (c) && (c) <= 'z'))
7671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7679 for (i = 0; i < 256; i++)
7680 if (XOR (islower (i), ISLOWER (i))
7681 || toupper (i) != TOUPPER (i))
7686 if ac_fn_c_try_run "$LINENO"; then :
7689 ac_cv_header_stdc=no
7691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7692 conftest.$ac_objext conftest.beam conftest.$ac_ext
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7698 $as_echo "$ac_cv_header_stdc" >&6; }
7699 if test $ac_cv_header_stdc = yes; then
7701 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7705 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7706 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7707 inttypes.h stdint.h unistd.h
7709 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7710 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7712 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7713 cat >>confdefs.h
<<_ACEOF
7714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7722 for ac_header
in dlfcn.h
7724 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7726 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7727 cat >>confdefs.h
<<_ACEOF
7728 #define HAVE_DLFCN_H 1
7747 # Check whether --enable-shared was given.
7748 if test "${enable_shared+set}" = set; then :
7749 enableval
=$enable_shared; p
=${PACKAGE-default}
7751 yes) enable_shared
=yes ;;
7752 no
) enable_shared
=no
;;
7755 # Look at the argument we got. We use all the common list separators.
7756 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7757 for pkg
in $enableval; do
7759 if test "X$pkg" = "X$p"; then
7778 # Check whether --enable-static was given.
7779 if test "${enable_static+set}" = set; then :
7780 enableval
=$enable_static; p
=${PACKAGE-default}
7782 yes) enable_static
=yes ;;
7783 no
) enable_static
=no
;;
7786 # Look at the argument we got. We use all the common list separators.
7787 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7788 for pkg
in $enableval; do
7790 if test "X$pkg" = "X$p"; then
7810 # Check whether --with-pic was given.
7811 if test "${with_pic+set}" = set; then :
7812 withval
=$with_pic; lt_p
=${PACKAGE-default}
7814 yes|no
) pic_mode
=$withval ;;
7817 # Look at the argument we got. We use all the common list separators.
7818 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7819 for lt_pkg
in $withval; do
7821 if test "X$lt_pkg" = "X$lt_p"; then
7839 # Check whether --enable-fast-install was given.
7840 if test "${enable_fast_install+set}" = set; then :
7841 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7843 yes) enable_fast_install
=yes ;;
7844 no
) enable_fast_install
=no
;;
7846 enable_fast_install
=no
7847 # Look at the argument we got. We use all the common list separators.
7848 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
7849 for pkg
in $enableval; do
7851 if test "X$pkg" = "X$p"; then
7852 enable_fast_install
=yes
7859 enable_fast_install
=yes
7869 shared_archive_member_spec
=
7870 case $host,$enable_shared in
7871 power
*-*-aix[5-9]*,yes)
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7873 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7875 # Check whether --with-aix-soname was given.
7876 if test "${with_aix_soname+set}" = set; then :
7877 withval
=$with_aix_soname; case $withval in
7881 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
7884 lt_cv_with_aix_soname
=$with_aix_soname
7886 if ${lt_cv_with_aix_soname+:} false
; then :
7887 $as_echo_n "(cached) " >&6
7889 lt_cv_with_aix_soname
=aix
7892 with_aix_soname
=$lt_cv_with_aix_soname
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7896 $as_echo "$with_aix_soname" >&6; }
7897 if test aix
!= "$with_aix_soname"; then
7898 # For the AIX way of multilib, we name the shared archive member
7899 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7900 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7901 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7902 # the AIX toolchain works better with OBJECT_MODE set (default 32).
7903 if test 64 = "${OBJECT_MODE-32}"; then
7904 shared_archive_member_spec
=shr_64
7906 shared_archive_member_spec
=shr
7924 # This can be used to rebuild libtool when needed
7925 LIBTOOL_DEPS
=$ltmain
7927 # Always use our own libtool.
7928 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7959 test -z "$LN_S" && LN_S
="ln -s"
7974 if test -n "${ZSH_VERSION+set}"; then
7975 setopt NO_GLOB_SUBST
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7979 $as_echo_n "checking for objdir... " >&6; }
7980 if ${lt_cv_objdir+:} false
; then :
7981 $as_echo_n "(cached) " >&6
7983 rm -f .libs
2>/dev
/null
7984 mkdir .libs
2>/dev
/null
7985 if test -d .libs
; then
7988 # MS-DOS does not allow filenames that begin with a dot.
7991 rmdir .libs
2>/dev
/null
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7994 $as_echo "$lt_cv_objdir" >&6; }
7995 objdir
=$lt_cv_objdir
8001 cat >>confdefs.h
<<_ACEOF
8002 #define LT_OBJDIR "$lt_cv_objdir/"
8010 # AIX sometimes has problems with the GCC collect2 program. For some
8011 # reason, if we set the COLLECT_NAMES environment variable, the problems
8012 # vanish in a puff of smoke.
8013 if test set != "${COLLECT_NAMES+set}"; then
8015 export COLLECT_NAMES
8022 can_build_shared
=yes
8024 # All known linkers require a '.a' archive for static linking (except MSVC,
8025 # which needs '.lib').
8028 with_gnu_ld
=$lt_cv_prog_gnu_ld
8033 # Set sane defaults for various variables
8034 test -z "$CC" && CC
=cc
8035 test -z "$LTCC" && LTCC
=$CC
8036 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8037 test -z "$LD" && LD
=ld
8038 test -z "$ac_objext" && ac_objext
=o
8040 func_cc_basename
$compiler
8041 cc_basename
=$func_cc_basename_result
8044 # Only perform the check for file, if the check method requires it
8045 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8046 case $deplibs_check_method in
8048 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8050 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8051 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8052 $as_echo_n "(cached) " >&6
8056 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8059 lt_save_MAGIC_CMD
=$MAGIC_CMD
8060 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8061 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8062 for ac_dir
in $ac_dummy; do
8064 test -z "$ac_dir" && ac_dir
=.
8065 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8066 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8067 if test -n "$file_magic_test_file"; then
8068 case $deplibs_check_method in
8070 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8071 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8072 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8073 $EGREP "$file_magic_regex" > /dev
/null
; then
8078 *** Warning: the command libtool uses to detect shared libraries,
8079 *** $file_magic_cmd, produces output that libtool cannot recognize.
8080 *** The result is that libtool may fail to recognize shared libraries
8081 *** as such. This will affect the creation of libtool libraries that
8082 *** depend on shared libraries, but programs linked with such libtool
8083 *** libraries will work regardless of this problem. Nevertheless, you
8084 *** may want to report the problem to your system manager and/or to
8085 *** bug-libtool@gnu.org
8095 MAGIC_CMD
=$lt_save_MAGIC_CMD
8100 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8101 if test -n "$MAGIC_CMD"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8103 $as_echo "$MAGIC_CMD" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8113 if test -z "$lt_cv_path_MAGIC_CMD"; then
8114 if test -n "$ac_tool_prefix"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8116 $as_echo_n "checking for file... " >&6; }
8117 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8118 $as_echo_n "(cached) " >&6
8122 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8125 lt_save_MAGIC_CMD
=$MAGIC_CMD
8126 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8127 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8128 for ac_dir
in $ac_dummy; do
8130 test -z "$ac_dir" && ac_dir
=.
8131 if test -f "$ac_dir/file"; then
8132 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8133 if test -n "$file_magic_test_file"; then
8134 case $deplibs_check_method in
8136 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8137 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8138 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8139 $EGREP "$file_magic_regex" > /dev
/null
; then
8144 *** Warning: the command libtool uses to detect shared libraries,
8145 *** $file_magic_cmd, produces output that libtool cannot recognize.
8146 *** The result is that libtool may fail to recognize shared libraries
8147 *** as such. This will affect the creation of libtool libraries that
8148 *** depend on shared libraries, but programs linked with such libtool
8149 *** libraries will work regardless of this problem. Nevertheless, you
8150 *** may want to report the problem to your system manager and/or to
8151 *** bug-libtool@gnu.org
8161 MAGIC_CMD
=$lt_save_MAGIC_CMD
8166 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8167 if test -n "$MAGIC_CMD"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8169 $as_echo "$MAGIC_CMD" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172 $as_echo "no" >&6; }
8185 # Use C for the default configuration in the libtool script
8189 ac_cpp
='$CPP $CPPFLAGS'
8190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8195 # Source file extension for C test sources.
8198 # Object file extension for compiled C test sources.
8202 # Code to be used in simple compile tests
8203 lt_simple_compile_test_code
="int some_variable = 0;"
8205 # Code to be used in simple link tests
8206 lt_simple_link_test_code
='int main(){return(0);}'
8214 # If no C compiler was specified, use CC.
8217 # If no C compiler flags were specified, use CFLAGS.
8218 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8220 # Allow CC to be a program name with arguments.
8223 # Save the default compiler, since it gets overwritten when the other
8224 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8225 compiler_DEFAULT
=$CC
8227 # save warnings/boilerplate of simple test code
8228 ac_outfile
=conftest.
$ac_objext
8229 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8230 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8231 _lt_compiler_boilerplate
=`cat conftest.err`
8234 ac_outfile
=conftest.
$ac_objext
8235 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8236 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8237 _lt_linker_boilerplate
=`cat conftest.err`
8241 if test -n "$compiler"; then
8243 lt_prog_compiler_no_builtin_flag
=
8245 if test yes = "$GCC"; then
8246 case $cc_basename in
8248 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8250 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8254 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8255 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8256 $as_echo_n "(cached) " >&6
8258 lt_cv_prog_compiler_rtti_exceptions
=no
8259 ac_outfile
=conftest.
$ac_objext
8260 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8261 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8262 # Insert the option either (1) after the last *FLAGS variable, or
8263 # (2) before a word containing "conftest.", or (3) at the end.
8264 # Note that $ac_compile itself does not contain backslashes and begins
8265 # with a dollar sign (not a hyphen), so the echo should work correctly.
8266 # The option is referenced via a variable to avoid confusing sed.
8267 lt_compile
=`echo "$ac_compile" | $SED \
8268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8270 -e 's:$: $lt_compiler_flag:'`
8271 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8272 (eval "$lt_compile" 2>conftest.err
)
8274 cat conftest.err
>&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 if (exit $ac_status) && test -s "$ac_outfile"; then
8277 # The compiler can only warn and ignore the option if not recognized
8278 # So say no if there are warnings other than the usual output.
8279 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8280 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8281 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8282 lt_cv_prog_compiler_rtti_exceptions
=yes
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8289 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8291 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8292 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8304 lt_prog_compiler_wl
=
8305 lt_prog_compiler_pic
=
8306 lt_prog_compiler_static
=
8309 if test yes = "$GCC"; then
8310 lt_prog_compiler_wl
='-Wl,'
8311 lt_prog_compiler_static
='-static'
8315 # All AIX code is PIC.
8316 if test ia64
= "$host_cpu"; then
8317 # AIX 5 now supports IA64 processor
8318 lt_prog_compiler_static
='-Bstatic'
8320 lt_prog_compiler_pic
='-fPIC'
8326 # see comment about AmigaOS4 .so support
8327 lt_prog_compiler_pic
='-fPIC'
8330 # FIXME: we need at least 68020 code to build shared libraries, but
8331 # adding the '-m68020' flag to GCC prevents building anything better,
8333 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8338 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8339 # PIC is the default for these OSes.
8342 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8343 # This hack is so that the source file can tell whether it is being
8344 # built for inclusion in a dll (and should export symbols for example).
8345 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8346 # (--disable-auto-import) libraries
8347 lt_prog_compiler_pic
='-DDLL_EXPORT'
8350 lt_prog_compiler_static
='$wl-static'
8355 darwin
* | rhapsody
*)
8356 # PIC is the default on this platform
8357 # Common symbols not allowed in MH_DYLIB files
8358 lt_prog_compiler_pic
='-fno-common'
8362 # PIC is the default for Haiku.
8363 # The "-static" flag exists, but is broken.
8364 lt_prog_compiler_static
=
8368 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8369 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8370 # sets the default TLS model and affects inlining.
8376 lt_prog_compiler_pic
='-fPIC'
8382 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8383 # Instead, we relocate shared libraries at runtime.
8387 # Just because we use GCC doesn't mean we suddenly get shared libraries
8388 # on systems that don't support them.
8389 lt_prog_compiler_can_build_shared
=no
8394 # QNX uses GNU C++, but need to define -shared option too, otherwise
8396 lt_prog_compiler_pic
='-fPIC -shared'
8400 if test -d /usr
/nec
; then
8401 lt_prog_compiler_pic
=-Kconform_pic
8406 lt_prog_compiler_pic
='-fPIC'
8410 case $cc_basename in
8411 nvcc
*) # Cuda Compiler Driver 2.2
8412 lt_prog_compiler_wl
='-Xlinker '
8413 if test -n "$lt_prog_compiler_pic"; then
8414 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8419 # PORTME Check for flag to pass linker flags through the system compiler.
8422 lt_prog_compiler_wl
='-Wl,'
8423 if test ia64
= "$host_cpu"; then
8424 # AIX 5 now supports IA64 processor
8425 lt_prog_compiler_static
='-Bstatic'
8427 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8431 darwin
* | rhapsody
*)
8432 # PIC is the default on this platform
8433 # Common symbols not allowed in MH_DYLIB files
8434 lt_prog_compiler_pic
='-fno-common'
8435 case $cc_basename in
8437 # NAG Fortran compiler
8438 lt_prog_compiler_wl
='-Wl,-Wl,,'
8439 lt_prog_compiler_pic
='-PIC'
8440 lt_prog_compiler_static
='-Bstatic'
8445 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8446 # This hack is so that the source file can tell whether it is being
8447 # built for inclusion in a dll (and should export symbols for example).
8448 lt_prog_compiler_pic
='-DDLL_EXPORT'
8451 lt_prog_compiler_static
='$wl-static'
8456 hpux9
* | hpux10
* | hpux11
*)
8457 lt_prog_compiler_wl
='-Wl,'
8458 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8465 lt_prog_compiler_pic
='+Z'
8468 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8469 lt_prog_compiler_static
='$wl-a ${wl}archive'
8472 irix5
* | irix6
* | nonstopux
*)
8473 lt_prog_compiler_wl
='-Wl,'
8474 # PIC (with -KPIC) is the default.
8475 lt_prog_compiler_static
='-non_shared'
8478 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8479 case $cc_basename in
8480 # old Intel for x86_64, which still supported -KPIC.
8482 lt_prog_compiler_wl
='-Wl,'
8483 lt_prog_compiler_pic
='-KPIC'
8484 lt_prog_compiler_static
='-static'
8486 # icc used to be incompatible with GCC.
8487 # ICC 10 doesn't accept -KPIC any more.
8489 lt_prog_compiler_wl
='-Wl,'
8490 lt_prog_compiler_pic
='-fPIC'
8491 lt_prog_compiler_static
='-static'
8493 # Lahey Fortran 8.1.
8495 lt_prog_compiler_wl
='-Wl,'
8496 lt_prog_compiler_pic
='--shared'
8497 lt_prog_compiler_static
='--static'
8500 # NAG Fortran compiler
8501 lt_prog_compiler_wl
='-Wl,-Wl,,'
8502 lt_prog_compiler_pic
='-PIC'
8503 lt_prog_compiler_static
='-Bstatic'
8506 # Fabrice Bellard et al's Tiny C Compiler
8507 lt_prog_compiler_wl
='-Wl,'
8508 lt_prog_compiler_pic
='-fPIC'
8509 lt_prog_compiler_static
='-static'
8511 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8512 # Portland Group compilers (*not* the Pentium gcc compiler,
8513 # which looks to be a dead project)
8514 lt_prog_compiler_wl
='-Wl,'
8515 lt_prog_compiler_pic
='-fpic'
8516 lt_prog_compiler_static
='-Bstatic'
8519 lt_prog_compiler_wl
='-Wl,'
8520 # All Alpha code is PIC.
8521 lt_prog_compiler_static
='-non_shared'
8523 xl
* | bgxl
* | bgf
* | mpixl
*)
8524 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8525 lt_prog_compiler_wl
='-Wl,'
8526 lt_prog_compiler_pic
='-qpic'
8527 lt_prog_compiler_static
='-qstaticlink'
8530 case `$CC -V 2>&1 | sed 5q` in
8531 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8532 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8533 lt_prog_compiler_pic
='-KPIC'
8534 lt_prog_compiler_static
='-Bstatic'
8535 lt_prog_compiler_wl
=''
8537 *Sun\ F
* |
*Sun
*Fortran
*)
8538 lt_prog_compiler_pic
='-KPIC'
8539 lt_prog_compiler_static
='-Bstatic'
8540 lt_prog_compiler_wl
='-Qoption ld '
8544 lt_prog_compiler_pic
='-KPIC'
8545 lt_prog_compiler_static
='-Bstatic'
8546 lt_prog_compiler_wl
='-Wl,'
8548 *Intel
*\
[CF
]*Compiler
*)
8549 lt_prog_compiler_wl
='-Wl,'
8550 lt_prog_compiler_pic
='-fPIC'
8551 lt_prog_compiler_static
='-static'
8554 lt_prog_compiler_wl
='-Wl,'
8555 lt_prog_compiler_pic
='-fpic'
8556 lt_prog_compiler_static
='-Bstatic'
8564 lt_prog_compiler_pic
='-KPIC'
8565 lt_prog_compiler_static
='-Bstatic'
8569 # QNX uses GNU C++, but need to define -shared option too, otherwise
8571 lt_prog_compiler_pic
='-fPIC -shared'
8574 osf3
* | osf4
* | osf5
*)
8575 lt_prog_compiler_wl
='-Wl,'
8576 # All OSF/1 code is PIC.
8577 lt_prog_compiler_static
='-non_shared'
8581 lt_prog_compiler_static
='-non_shared'
8585 lt_prog_compiler_pic
='-KPIC'
8586 lt_prog_compiler_static
='-Bstatic'
8587 case $cc_basename in
8588 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8589 lt_prog_compiler_wl
='-Qoption ld ';;
8591 lt_prog_compiler_wl
='-Wl,';;
8596 lt_prog_compiler_wl
='-Qoption ld '
8597 lt_prog_compiler_pic
='-PIC'
8598 lt_prog_compiler_static
='-Bstatic'
8601 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8602 lt_prog_compiler_wl
='-Wl,'
8603 lt_prog_compiler_pic
='-KPIC'
8604 lt_prog_compiler_static
='-Bstatic'
8608 if test -d /usr
/nec
; then
8609 lt_prog_compiler_pic
='-Kconform_pic'
8610 lt_prog_compiler_static
='-Bstatic'
8614 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8615 lt_prog_compiler_wl
='-Wl,'
8616 lt_prog_compiler_pic
='-KPIC'
8617 lt_prog_compiler_static
='-Bstatic'
8621 lt_prog_compiler_wl
='-Wl,'
8622 lt_prog_compiler_can_build_shared
=no
8626 lt_prog_compiler_pic
='-pic'
8627 lt_prog_compiler_static
='-Bstatic'
8631 lt_prog_compiler_can_build_shared
=no
8637 # For platforms that do not support PIC, -DPIC is meaningless:
8639 lt_prog_compiler_pic
=
8642 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8647 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8648 if ${lt_cv_prog_compiler_pic+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8654 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8655 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8658 # Check to make sure the PIC flag actually works.
8660 if test -n "$lt_prog_compiler_pic"; then
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8662 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8663 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8664 $as_echo_n "(cached) " >&6
8666 lt_cv_prog_compiler_pic_works
=no
8667 ac_outfile
=conftest.
$ac_objext
8668 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8669 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8670 # Insert the option either (1) after the last *FLAGS variable, or
8671 # (2) before a word containing "conftest.", or (3) at the end.
8672 # Note that $ac_compile itself does not contain backslashes and begins
8673 # with a dollar sign (not a hyphen), so the echo should work correctly.
8674 # The option is referenced via a variable to avoid confusing sed.
8675 lt_compile
=`echo "$ac_compile" | $SED \
8676 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8677 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8678 -e 's:$: $lt_compiler_flag:'`
8679 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8680 (eval "$lt_compile" 2>conftest.err
)
8682 cat conftest.err
>&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 if (exit $ac_status) && test -s "$ac_outfile"; then
8685 # The compiler can only warn and ignore the option if not recognized
8686 # So say no if there are warnings other than the usual output.
8687 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8688 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8689 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8690 lt_cv_prog_compiler_pic_works
=yes
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8697 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8699 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8700 case $lt_prog_compiler_pic in
8702 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8705 lt_prog_compiler_pic
=
8706 lt_prog_compiler_can_build_shared
=no
8722 # Check to make sure the static flag actually works.
8724 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8726 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8727 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8728 $as_echo_n "(cached) " >&6
8730 lt_cv_prog_compiler_static_works
=no
8731 save_LDFLAGS
=$LDFLAGS
8732 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8733 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8734 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8735 # The linker can only warn and ignore the option if not recognized
8736 # So say no if there are warnings
8737 if test -s conftest.err
; then
8738 # Append any errors to the config.log.
8739 cat conftest.err
1>&5
8740 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8741 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8742 if diff conftest.exp conftest.er2
>/dev
/null
; then
8743 lt_cv_prog_compiler_static_works
=yes
8746 lt_cv_prog_compiler_static_works
=yes
8750 LDFLAGS
=$save_LDFLAGS
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8754 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8756 if test yes = "$lt_cv_prog_compiler_static_works"; then
8759 lt_prog_compiler_static
=
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8770 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8771 $as_echo_n "(cached) " >&6
8773 lt_cv_prog_compiler_c_o
=no
8774 $RM -r conftest
2>/dev
/null
8778 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8780 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8781 # Insert the option either (1) after the last *FLAGS variable, or
8782 # (2) before a word containing "conftest.", or (3) at the end.
8783 # Note that $ac_compile itself does not contain backslashes and begins
8784 # with a dollar sign (not a hyphen), so the echo should work correctly.
8785 lt_compile
=`echo "$ac_compile" | $SED \
8786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8788 -e 's:$: $lt_compiler_flag:'`
8789 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8790 (eval "$lt_compile" 2>out
/conftest.err
)
8792 cat out
/conftest.err
>&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8796 # The compiler can only warn and ignore the option if not recognized
8797 # So say no if there are warnings
8798 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8799 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8800 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8801 lt_cv_prog_compiler_c_o
=yes
8806 # SGI C++ compiler will create directory out/ii_files/ for
8807 # template instantiation
8808 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8809 $RM out
/* && rmdir out
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8816 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8824 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8825 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8826 $as_echo_n "(cached) " >&6
8828 lt_cv_prog_compiler_c_o
=no
8829 $RM -r conftest
2>/dev
/null
8833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8835 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8836 # Insert the option either (1) after the last *FLAGS variable, or
8837 # (2) before a word containing "conftest.", or (3) at the end.
8838 # Note that $ac_compile itself does not contain backslashes and begins
8839 # with a dollar sign (not a hyphen), so the echo should work correctly.
8840 lt_compile
=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>out
/conftest.err
)
8847 cat out
/conftest.err
>&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8851 # The compiler can only warn and ignore the option if not recognized
8852 # So say no if there are warnings
8853 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8854 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8855 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8856 lt_cv_prog_compiler_c_o
=yes
8861 # SGI C++ compiler will create directory out/ii_files/ for
8862 # template instantiation
8863 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8864 $RM out
/* && rmdir out
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8871 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8876 hard_links
=nottested
8877 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
8878 # do not overwrite the value of need_locks provided by the user
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8880 $as_echo_n "checking if we can lock with hard links... " >&6; }
8883 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8885 ln conftest.a conftest.b
2>&5 || hard_links
=no
8886 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8888 $as_echo "$hard_links" >&6; }
8889 if test no
= "$hard_links"; then
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8891 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8904 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8907 allow_undefined_flag
=
8908 always_export_symbols
=no
8910 archive_expsym_cmds
=
8911 compiler_needs_object
=no
8912 enable_shared_with_static_runtimes
=no
8913 export_dynamic_flag_spec
=
8914 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8915 hardcode_automatic
=no
8917 hardcode_direct_absolute
=no
8918 hardcode_libdir_flag_spec
=
8919 hardcode_libdir_separator
=
8921 hardcode_shlibpath_var
=unsupported
8923 link_all_deplibs
=unknown
8926 old_archive_from_new_cmds
=
8927 old_archive_from_expsyms_cmds
=
8928 thread_safe_flag_spec
=
8929 whole_archive_flag_spec
=
8930 # include_expsyms should be a list of space-separated symbols to be *always*
8931 # included in the symbol list
8933 # exclude_expsyms can be an extended regexp of symbols to exclude
8934 # it will be wrapped by ' (' and ')$', so one must not match beginning or
8935 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8936 # as well as any symbol that contains 'd'.
8937 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8938 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8939 # platforms (ab)use it in PIC code, but their linkers get confused if
8940 # the symbol is explicitly referenced. Since portable code cannot
8941 # rely on this symbol name, it's probably fine to never include it in
8942 # preloaded symbol tables.
8943 # Exclude shared library initialization/finalization symbols.
8944 extract_expsyms_cmds
=
8947 cygwin
* | mingw
* | pw32
* | cegcc
*)
8948 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8949 # When not using gcc, we currently assume that we are using
8950 # Microsoft Visual C++.
8951 if test yes != "$GCC"; then
8956 # we just hope/assume this is gcc and not c89 (= MSVC++)
8966 # On some targets, GNU ld is compatible enough with the native linker
8967 # that we're better off using the native interface for both.
8968 lt_use_gnu_ld_interface
=no
8969 if test yes = "$with_gnu_ld"; then
8972 # The AIX port of GNU ld has always aspired to compatibility
8973 # with the native linker. However, as the warning in the GNU ld
8974 # block says, versions before 2.19.5* couldn't really create working
8975 # shared libraries, regardless of the interface used.
8976 case `$LD -v 2>&1` in
8977 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8978 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8979 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8981 lt_use_gnu_ld_interface
=yes
8986 lt_use_gnu_ld_interface
=yes
8991 if test yes = "$lt_use_gnu_ld_interface"; then
8992 # If archive_cmds runs LD, not CC, wlarc should be empty
8995 # Set some defaults for GNU ld with shared library support. These
8996 # are reset later if shared libraries are not supported. Putting them
8997 # here allows them to be overridden if necessary.
8998 runpath_var
=LD_RUN_PATH
8999 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9000 export_dynamic_flag_spec
='$wl--export-dynamic'
9001 # ancient GNU ld didn't support --whole-archive et. al.
9002 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9003 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9005 whole_archive_flag_spec
=
9007 supports_anon_versioning
=no
9008 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9009 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9010 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9011 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9012 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9013 *\
2.11.
*) ;; # other 2.11 versions
9014 *) supports_anon_versioning
=yes ;;
9017 # See if GNU ld supports shared libraries.
9020 # On AIX/PPC, the GNU linker is very broken
9021 if test ia64
!= "$host_cpu"; then
9025 *** Warning: the GNU linker, at least up to release 2.19, is reported
9026 *** to be unable to reliably create shared libraries on AIX.
9027 *** Therefore, libtool is disabling shared libraries support. If you
9028 *** really care for shared libraries, you may want to install binutils
9029 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9030 *** You will then need to restart the configuration process.
9039 # see comment about AmigaOS4 .so support
9040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9041 archive_expsym_cmds
=''
9044 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)'
9045 hardcode_libdir_flag_spec
='-L$libdir'
9046 hardcode_minus_L
=yes
9052 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9053 allow_undefined_flag
=unsupported
9054 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9055 # support --undefined. This deserves some investigation. FIXME
9056 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9062 cygwin
* | mingw
* | pw32
* | cegcc
*)
9063 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9064 # as there is no search path for DLLs.
9065 hardcode_libdir_flag_spec
='-L$libdir'
9066 export_dynamic_flag_spec
='$wl--export-all-symbols'
9067 allow_undefined_flag
=unsupported
9068 always_export_symbols
=no
9069 enable_shared_with_static_runtimes
=yes
9070 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'
9071 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9073 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9074 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9075 # If the export-symbols file already is a .def file, use it as
9076 # is; otherwise, prepend EXPORTS...
9077 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9078 cp $export_symbols $output_objdir/$soname.def;
9080 echo EXPORTS > $output_objdir/$soname.def;
9081 cat $export_symbols >> $output_objdir/$soname.def;
9083 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9090 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9091 link_all_deplibs
=yes
9095 hardcode_libdir_flag_spec
='-L$libdir'
9096 hardcode_minus_L
=yes
9097 allow_undefined_flag
=unsupported
9099 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9100 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9101 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9102 $ECHO EXPORTS >> $output_objdir/$libname.def~
9103 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9104 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9105 emximp -o $lib $output_objdir/$libname.def'
9106 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9107 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9108 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9109 $ECHO EXPORTS >> $output_objdir/$libname.def~
9111 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9112 prefix_cmds="$prefix_cmds -e 1d";
9114 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9115 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9116 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9117 emximp -o $lib $output_objdir/$libname.def'
9118 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9119 enable_shared_with_static_runtimes
=yes
9124 hardcode_shlibpath_var
=no
9125 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9126 export_dynamic_flag_spec
='$wl-E'
9127 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9128 # Instead, shared libraries are loaded at an image base (0x10000000 by
9129 # default) and relocated if they conflict, which is a slow very memory
9130 # consuming and fragmenting process. To avoid this, we pick a random,
9131 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9132 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9133 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9134 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'
9137 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9139 if test linux-dietlibc
= "$host_os"; then
9140 case $cc_basename in
9141 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9144 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9145 && test no
= "$tmp_diet"
9147 tmp_addflag
=' $pic_flag'
9148 tmp_sharedflag
='-shared'
9149 case $cc_basename,$host_cpu in
9150 pgcc
*) # Portland Group C compiler
9151 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'
9152 tmp_addflag
=' $pic_flag'
9154 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9155 # Portland Group f77 and f90 compilers
9156 whole_archive_flag_spec
='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9157 tmp_addflag
=' $pic_flag -Mnomain' ;;
9158 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9159 tmp_addflag
=' -i_dynamic' ;;
9160 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9161 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9162 ifc
* | ifort
*) # Intel Fortran compiler
9163 tmp_addflag
=' -nofor_main' ;;
9164 lf95
*) # Lahey Fortran 8.1
9165 whole_archive_flag_spec
=
9166 tmp_sharedflag
='--shared' ;;
9167 nagfor
*) # NAGFOR 5.3
9168 tmp_sharedflag
='-Wl,-shared' ;;
9169 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9170 tmp_sharedflag
='-qmkshrobj'
9172 nvcc
*) # Cuda Compiler Driver 2.2
9173 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'
9174 compiler_needs_object
=yes
9177 case `$CC -V 2>&1 | sed 5q` in
9178 *Sun\ C
*) # Sun C 5.9
9179 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'
9180 compiler_needs_object
=yes
9181 tmp_sharedflag
='-G' ;;
9182 *Sun\ F
*) # Sun Fortran 8.3
9183 tmp_sharedflag
='-G' ;;
9185 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9187 if test yes = "$supports_anon_versioning"; then
9188 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9189 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9190 echo "local: *; };" >> $output_objdir/$libname.ver~
9191 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9194 case $cc_basename in
9196 export_dynamic_flag_spec
='-rdynamic'
9198 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9199 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9200 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9201 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9202 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9203 if test yes = "$supports_anon_versioning"; then
9204 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9205 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9206 echo "local: *; };" >> $output_objdir/$libname.ver~
9207 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9217 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9218 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9221 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9222 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9227 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9231 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9232 *** create shared libraries on Solaris systems. Therefore, libtool
9233 *** is disabling shared libraries support. We urge you to upgrade GNU
9234 *** binutils to release 2.9.1 or newer. Another option is to modify
9235 *** your PATH or compiler configuration so that the native linker is
9236 *** used, and then restart.
9239 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9240 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9241 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9247 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9248 case `$LD -v 2>&1` in
9249 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9253 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9254 *** reliably create shared libraries on SCO systems. Therefore, libtool
9255 *** is disabling shared libraries support. We urge you to upgrade GNU
9256 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9257 *** your PATH or compiler configuration so that the native linker is
9258 *** used, and then restart.
9263 # For security reasons, it is highly recommended that you always
9264 # use absolute paths for naming shared libraries, and exclude the
9265 # DT_RUNPATH tag from executables and libraries. But doing so
9266 # requires that you compile everything twice, which is a pain.
9267 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9268 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9269 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9270 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9279 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9282 hardcode_shlibpath_var
=no
9286 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9287 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9288 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9295 if test no
= "$ld_shlibs"; then
9297 hardcode_libdir_flag_spec
=
9298 export_dynamic_flag_spec
=
9299 whole_archive_flag_spec
=
9302 # PORTME fill in a description of your system's linker (not GNU ld)
9305 allow_undefined_flag
=unsupported
9306 always_export_symbols
=yes
9307 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'
9308 # Note: this linker hardcodes the directories in LIBPATH if there
9309 # are no directories specified by -L.
9310 hardcode_minus_L
=yes
9311 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9312 # Neither direct hardcoding nor static linking is supported with a
9314 hardcode_direct
=unsupported
9319 if test ia64
= "$host_cpu"; then
9320 # On IA64, the linker does run time linking by default, so we don't
9321 # have to do anything special.
9322 aix_use_runtimelinking
=no
9323 exp_sym_flag
='-Bexport'
9326 # If we're using GNU nm, then we don't want the "-C" option.
9327 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9328 # Without the "-l" option, or with the "-B" option, AIX nm treats
9329 # weak defined symbols like other global defined symbols, whereas
9330 # GNU nm marks them as "W".
9331 # While the 'weak' keyword is ignored in the Export File, we need
9332 # it in the Import File for the 'aix-soname' feature, so we have
9333 # to replace the "-B" option with "-P" for AIX nm.
9334 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9335 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9337 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9339 aix_use_runtimelinking
=no
9341 # Test if we are trying to use run time linking or normal
9342 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9343 # have runtime linking enabled, and use it for executables.
9344 # For shared libraries, we enable/disable runtime linking
9345 # depending on the kind of the shared library created -
9346 # when "with_aix_soname,aix_use_runtimelinking" is:
9347 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9348 # "aix,yes" lib.so shared, rtl:yes, for executables
9349 # lib.a static archive
9350 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9351 # lib.a(lib.so.V) shared, rtl:no, for executables
9352 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9353 # lib.a(lib.so.V) shared, rtl:no
9354 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9355 # lib.a static archive
9356 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9357 for ld_flag
in $LDFLAGS; do
9358 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9359 aix_use_runtimelinking
=yes
9363 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9364 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9365 # so we don't have lib.a shared libs to link our executables.
9366 # We have to force runtime linking in this case.
9367 aix_use_runtimelinking
=yes
9368 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9373 exp_sym_flag
='-bexport'
9374 no_entry_flag
='-bnoentry'
9377 # When large executables or shared objects are built, AIX ld can
9378 # have problems creating the table of contents. If linking a library
9379 # or program results in "error TOC overflow" add -mminimal-toc to
9380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9385 hardcode_direct_absolute
=yes
9386 hardcode_libdir_separator
=':'
9387 link_all_deplibs
=yes
9388 file_list_spec
='$wl-f,'
9389 case $with_aix_soname,$aix_use_runtimelinking in
9390 aix
,*) ;; # traditional, no import file
9391 svr4
,* |
*,yes) # use import file
9392 # The Import File defines what to hardcode.
9394 hardcode_direct_absolute
=no
9398 if test yes = "$GCC"; then
9399 case $host_os in aix4.
[012]|aix4.
[012].
*)
9400 # We only want to do this on AIX 4.2 and lower, the check
9401 # below for broken collect2 doesn't work under 4.3+
9402 collect2name
=`$CC -print-prog-name=collect2`
9403 if test -f "$collect2name" &&
9404 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9406 # We have reworked collect2
9409 # We have old collect2
9410 hardcode_direct
=unsupported
9411 # It fails to find uninstalled libraries when the uninstalled
9412 # path is not listed in the libpath. Setting hardcode_minus_L
9413 # to unsupported forces relinking
9414 hardcode_minus_L
=yes
9415 hardcode_libdir_flag_spec
='-L$libdir'
9416 hardcode_libdir_separator
=
9420 shared_flag
='-shared'
9421 if test yes = "$aix_use_runtimelinking"; then
9422 shared_flag
="$shared_flag "'$wl-G'
9424 # Need to ensure runtime linking is disabled for the traditional
9425 # shared library, or the linker may eventually find shared libraries
9426 # /with/ Import File - we do not want to mix them.
9427 shared_flag_aix
='-shared'
9428 shared_flag_svr4
='-shared $wl-G'
9431 if test ia64
= "$host_cpu"; then
9432 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9433 # chokes on -Wl,-G. The following line is correct:
9436 if test yes = "$aix_use_runtimelinking"; then
9439 shared_flag
='$wl-bM:SRE'
9441 shared_flag_aix
='$wl-bM:SRE'
9442 shared_flag_svr4
='$wl-G'
9446 export_dynamic_flag_spec
='$wl-bexpall'
9447 # It seems that -bexpall does not export symbols beginning with
9448 # underscore (_), so it is better to generate a list of symbols to export.
9449 always_export_symbols
=yes
9450 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9451 # Warning - without using the other runtime loading flags (-brtl),
9452 # -berok will link without error, but may produce a broken library.
9453 allow_undefined_flag
='-berok'
9454 # Determine the default libpath from the value encoded in an
9456 if test set = "${lt_cv_aix_libpath+set}"; then
9457 aix_libpath
=$lt_cv_aix_libpath
9459 if ${lt_cv_aix_libpath_+:} false
; then :
9460 $as_echo_n "(cached) " >&6
9462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9473 if ac_fn_c_try_link
"$LINENO"; then :
9475 lt_aix_libpath_sed
='
9476 /Import File Strings/,/^$/ {
9478 s/^0 *\([^ ]*\) *$/\1/
9482 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9483 # Check for a 64-bit object if we didn't find anything.
9484 if test -z "$lt_cv_aix_libpath_"; then
9485 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9488 rm -f core conftest.err conftest.
$ac_objext \
9489 conftest
$ac_exeext conftest.
$ac_ext
9490 if test -z "$lt_cv_aix_libpath_"; then
9491 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9496 aix_libpath
=$lt_cv_aix_libpath_
9499 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9500 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
9502 if test ia64
= "$host_cpu"; then
9503 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9504 allow_undefined_flag
="-z nodefs"
9505 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"
9507 # Determine the default libpath from the value encoded in an
9509 if test set = "${lt_cv_aix_libpath+set}"; then
9510 aix_libpath
=$lt_cv_aix_libpath
9512 if ${lt_cv_aix_libpath_+:} false
; then :
9513 $as_echo_n "(cached) " >&6
9515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9526 if ac_fn_c_try_link
"$LINENO"; then :
9528 lt_aix_libpath_sed
='
9529 /Import File Strings/,/^$/ {
9531 s/^0 *\([^ ]*\) *$/\1/
9535 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 # Check for a 64-bit object if we didn't find anything.
9537 if test -z "$lt_cv_aix_libpath_"; then
9538 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9541 rm -f core conftest.err conftest.
$ac_objext \
9542 conftest
$ac_exeext conftest.
$ac_ext
9543 if test -z "$lt_cv_aix_libpath_"; then
9544 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9549 aix_libpath
=$lt_cv_aix_libpath_
9552 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9553 # Warning - without using the other run time loading flags,
9554 # -berok will link without error, but may produce a broken library.
9555 no_undefined_flag
=' $wl-bernotok'
9556 allow_undefined_flag
=' $wl-berok'
9557 if test yes = "$with_gnu_ld"; then
9558 # We only use this code for GNU lds that support --whole-archive.
9559 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9561 # Exported symbols can be pulled into shared objects from archives
9562 whole_archive_flag_spec
='$convenience'
9564 archive_cmds_need_lc
=yes
9565 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9566 # -brtl affects multiple linker settings, -berok does not and is overridden later
9567 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9568 if test svr4
!= "$with_aix_soname"; then
9569 # This is similar to how AIX traditionally builds its shared libraries.
9570 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9572 if test aix
!= "$with_aix_soname"; then
9573 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9575 # used by -dlpreopen to get the symbols
9576 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9578 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9586 # see comment about AmigaOS4 .so support
9587 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9588 archive_expsym_cmds
=''
9591 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)'
9592 hardcode_libdir_flag_spec
='-L$libdir'
9593 hardcode_minus_L
=yes
9599 export_dynamic_flag_spec
=-rdynamic
9602 cygwin
* | mingw
* | pw32
* | cegcc
*)
9603 # When not using gcc, we currently assume that we are using
9604 # Microsoft Visual C++.
9605 # hardcode_libdir_flag_spec is actually meaningless, as there is
9606 # no search path for DLLs.
9607 case $cc_basename in
9610 hardcode_libdir_flag_spec
=' '
9611 allow_undefined_flag
=unsupported
9612 always_export_symbols
=yes
9614 # Tell ltmain to make .lib files, not .a files.
9616 # Tell ltmain to make .dll files, not .so files.
9618 # FIXME: Setting linknames here is a bad hack.
9619 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9620 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9621 cp "$export_symbols" "$output_objdir/$soname.def";
9622 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9624 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9626 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9628 # The linker will not automatically build a static lib if we build a DLL.
9629 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9630 enable_shared_with_static_runtimes
=yes
9631 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9632 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9634 old_postinstall_cmds
='chmod 644 $oldlib'
9635 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9636 lt_tool_outputfile="@TOOL_OUTPUT@"~
9637 case $lt_outputfile in
9640 lt_outputfile=$lt_outputfile.exe
9641 lt_tool_outputfile=$lt_tool_outputfile.exe
9644 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9645 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9646 $RM "$lt_outputfile.manifest";
9650 # Assume MSVC wrapper
9651 hardcode_libdir_flag_spec
=' '
9652 allow_undefined_flag
=unsupported
9653 # Tell ltmain to make .lib files, not .a files.
9655 # Tell ltmain to make .dll files, not .so files.
9657 # FIXME: Setting linknames here is a bad hack.
9658 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9659 # The linker will automatically build a .lib file if we build a DLL.
9660 old_archive_from_new_cmds
='true'
9661 # FIXME: Should let the user specify the lib program.
9662 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9663 enable_shared_with_static_runtimes
=yes
9668 darwin
* | rhapsody
*)
9671 archive_cmds_need_lc
=no
9673 hardcode_automatic
=yes
9674 hardcode_shlibpath_var
=unsupported
9675 if test yes = "$lt_cv_ld_force_load"; then
9676 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\"`'
9679 whole_archive_flag_spec
=''
9681 link_all_deplibs
=yes
9682 allow_undefined_flag
=$_lt_dar_allow_undefined
9683 case $cc_basename in
9684 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9685 *) _lt_dar_can_shared
=$GCC ;;
9687 if test yes = "$_lt_dar_can_shared"; then
9688 output_verbose_link_cmd
=func_echo_all
9689 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9690 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9691 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"
9692 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"
9701 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9702 hardcode_libdir_flag_spec
='-L$libdir'
9703 hardcode_shlibpath_var
=no
9706 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9707 # support. Future versions do this automatically, but an explicit c++rt0.o
9708 # does not break anything, and helps significantly (at the cost of a little
9711 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9712 hardcode_libdir_flag_spec
='-R$libdir'
9714 hardcode_shlibpath_var
=no
9717 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9719 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9721 hardcode_minus_L
=yes
9722 hardcode_shlibpath_var
=no
9725 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9726 freebsd
* | dragonfly
*)
9727 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9728 hardcode_libdir_flag_spec
='-R$libdir'
9730 hardcode_shlibpath_var
=no
9734 if test yes = "$GCC"; then
9735 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9737 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9739 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9740 hardcode_libdir_separator
=:
9743 # hardcode_minus_L: Not really in the search PATH,
9744 # but as the default location of the library.
9745 hardcode_minus_L
=yes
9746 export_dynamic_flag_spec
='$wl-E'
9750 if test yes,no
= "$GCC,$with_gnu_ld"; then
9751 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9753 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9755 if test no
= "$with_gnu_ld"; then
9756 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9757 hardcode_libdir_separator
=:
9759 hardcode_direct_absolute
=yes
9760 export_dynamic_flag_spec
='$wl-E'
9761 # hardcode_minus_L: Not really in the search PATH,
9762 # but as the default location of the library.
9763 hardcode_minus_L
=yes
9768 if test yes,no
= "$GCC,$with_gnu_ld"; then
9771 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9777 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9783 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9790 # Older versions of the 11.00 compiler do not understand -b yet
9791 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9793 $as_echo_n "checking if $CC understands -b... " >&6; }
9794 if ${lt_cv_prog_compiler__b+:} false
; then :
9795 $as_echo_n "(cached) " >&6
9797 lt_cv_prog_compiler__b
=no
9798 save_LDFLAGS
=$LDFLAGS
9799 LDFLAGS
="$LDFLAGS -b"
9800 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9801 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9802 # The linker can only warn and ignore the option if not recognized
9803 # So say no if there are warnings
9804 if test -s conftest.err
; then
9805 # Append any errors to the config.log.
9806 cat conftest.err
1>&5
9807 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9808 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9809 if diff conftest.exp conftest.er2
>/dev
/null
; then
9810 lt_cv_prog_compiler__b
=yes
9813 lt_cv_prog_compiler__b
=yes
9817 LDFLAGS
=$save_LDFLAGS
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9821 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9823 if test yes = "$lt_cv_prog_compiler__b"; then
9824 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9826 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9832 if test no
= "$with_gnu_ld"; then
9833 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
9834 hardcode_libdir_separator
=:
9839 hardcode_shlibpath_var
=no
9843 hardcode_direct_absolute
=yes
9844 export_dynamic_flag_spec
='$wl-E'
9846 # hardcode_minus_L: Not really in the search PATH,
9847 # but as the default location of the library.
9848 hardcode_minus_L
=yes
9854 irix5
* | irix6
* | nonstopux
*)
9855 if test yes = "$GCC"; then
9856 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'
9857 # Try to use the -exported_symbol ld option, if it does not
9858 # work, assume that -exports_file does not work either and
9859 # implicitly export all symbols.
9860 # This should be the same for all languages, so no per-tag cache variable.
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9862 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9863 if ${lt_cv_irix_exported_symbol+:} false
; then :
9864 $as_echo_n "(cached) " >&6
9866 save_LDFLAGS
=$LDFLAGS
9867 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9870 int foo (void) { return 0; }
9872 if ac_fn_c_try_link
"$LINENO"; then :
9873 lt_cv_irix_exported_symbol
=yes
9875 lt_cv_irix_exported_symbol
=no
9877 rm -f core conftest.err conftest.
$ac_objext \
9878 conftest
$ac_exeext conftest.
$ac_ext
9879 LDFLAGS
=$save_LDFLAGS
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9882 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9883 if test yes = "$lt_cv_irix_exported_symbol"; then
9884 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'
9887 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'
9888 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'
9890 archive_cmds_need_lc
='no'
9891 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9892 hardcode_libdir_separator
=:
9894 link_all_deplibs
=yes
9898 case $cc_basename in
9900 # Fabrice Bellard et al's Tiny C Compiler
9902 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9908 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9909 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9911 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9913 hardcode_libdir_flag_spec
='-R$libdir'
9915 hardcode_shlibpath_var
=no
9919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9921 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9922 hardcode_libdir_separator
=:
9923 hardcode_shlibpath_var
=no
9930 if test -f /usr
/libexec
/ld.so
; then
9932 hardcode_shlibpath_var
=no
9933 hardcode_direct_absolute
=yes
9934 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9935 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9937 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9938 export_dynamic_flag_spec
='$wl-E'
9940 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9941 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9949 hardcode_libdir_flag_spec
='-L$libdir'
9950 hardcode_minus_L
=yes
9951 allow_undefined_flag
=unsupported
9953 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9954 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9955 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9956 $ECHO EXPORTS >> $output_objdir/$libname.def~
9957 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9958 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9959 emximp -o $lib $output_objdir/$libname.def'
9960 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9961 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9962 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9963 $ECHO EXPORTS >> $output_objdir/$libname.def~
9965 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9966 prefix_cmds="$prefix_cmds -e 1d";
9968 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9969 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9970 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9971 emximp -o $lib $output_objdir/$libname.def'
9972 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9973 enable_shared_with_static_runtimes
=yes
9977 if test yes = "$GCC"; then
9978 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9979 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'
9981 allow_undefined_flag
=' -expect_unresolved \*'
9982 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'
9984 archive_cmds_need_lc
='no'
9985 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9986 hardcode_libdir_separator
=:
9989 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9990 if test yes = "$GCC"; then
9991 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
9992 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'
9993 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9995 allow_undefined_flag
=' -expect_unresolved \*'
9996 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'
9997 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~
9998 $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'
10000 # Both c and cxx compiler support -rpath directly
10001 hardcode_libdir_flag_spec
='-rpath $libdir'
10003 archive_cmds_need_lc
='no'
10004 hardcode_libdir_separator
=:
10008 no_undefined_flag
=' -z defs'
10009 if test yes = "$GCC"; then
10011 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10013 $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'
10015 case `$CC -V 2>&1` in
10018 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10024 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10025 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10026 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10030 hardcode_libdir_flag_spec
='-R$libdir'
10031 hardcode_shlibpath_var
=no
10033 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10035 # The compiler driver will combine and reorder linker options,
10036 # but understands '-z linker_flag'. GCC discards it without '$wl',
10037 # but is careful enough not to reorder.
10038 # Supported since Solaris 2.6 (maybe 2.5.1?)
10039 if test yes = "$GCC"; then
10040 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10042 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10046 link_all_deplibs
=yes
10050 if test sequent
= "$host_vendor"; then
10051 # Use $CC to link under sequent, because it throws in some extra .o
10052 # files that make .init and .fini sections work.
10053 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10055 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10057 hardcode_libdir_flag_spec
='-L$libdir'
10058 hardcode_direct
=yes
10059 hardcode_minus_L
=yes
10060 hardcode_shlibpath_var
=no
10064 case $host_vendor in
10066 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10067 hardcode_direct
=yes # is this really true???
10070 ## LD is ld it makes a PLAMLIB
10071 ## CC just makes a GrossModule.
10072 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10073 reload_cmds
='$CC -r -o $output$reload_objs'
10077 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10081 runpath_var
='LD_RUN_PATH'
10082 hardcode_shlibpath_var
=no
10086 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087 hardcode_shlibpath_var
=no
10088 export_dynamic_flag_spec
='-Bexport'
10092 if test -d /usr
/nec
; then
10093 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_shlibpath_var
=no
10095 runpath_var
=LD_RUN_PATH
10096 hardcode_runpath_var
=yes
10101 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10102 no_undefined_flag
='$wl-z,text'
10103 archive_cmds_need_lc
=no
10104 hardcode_shlibpath_var
=no
10105 runpath_var
='LD_RUN_PATH'
10107 if test yes = "$GCC"; then
10108 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 sysv5
* | sco3.2v5
* | sco5v6
*)
10117 # Note: We CANNOT use -z defs as we might desire, because we do not
10118 # link with -lc, and that would cause any symbols used from libc to
10119 # always be unresolved, which means just about no library would
10120 # ever link correctly. If we're not using GNU ld we use -z text
10121 # though, which does catch some bad symbols but isn't as heavy-handed
10123 no_undefined_flag
='$wl-z,text'
10124 allow_undefined_flag
='$wl-z,nodefs'
10125 archive_cmds_need_lc
=no
10126 hardcode_shlibpath_var
=no
10127 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10128 hardcode_libdir_separator
=':'
10129 link_all_deplibs
=yes
10130 export_dynamic_flag_spec
='$wl-Bexport'
10131 runpath_var
='LD_RUN_PATH'
10133 if test yes = "$GCC"; then
10134 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10144 hardcode_libdir_flag_spec
='-L$libdir'
10145 hardcode_shlibpath_var
=no
10153 if test sni
= "$host_vendor"; then
10155 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10156 export_dynamic_flag_spec
='$wl-Blargedynsym'
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10163 $as_echo "$ld_shlibs" >&6; }
10164 test no
= "$ld_shlibs" && can_build_shared
=no
10166 with_gnu_ld
=$with_gnu_ld
10183 # Do we need to explicitly link libc?
10185 case "x$archive_cmds_need_lc" in
10187 # Assume -lc should be added
10188 archive_cmds_need_lc
=yes
10190 if test yes,yes = "$GCC,$enable_shared"; then
10191 case $archive_cmds in
10193 # FIXME: we may have to deal with multi-command sequences.
10196 # Test whether the compiler implicitly links with -lc since on some
10197 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10198 # to ld, don't add -lc before -lgcc.
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10200 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10201 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10202 $as_echo_n "(cached) " >&6
10205 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10208 (eval $ac_compile) 2>&5
10210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10211 test $ac_status = 0; } 2>conftest.err
; then
10214 libobjs
=conftest.
$ac_objext
10216 wl
=$lt_prog_compiler_wl
10217 pic_flag
=$lt_prog_compiler_pic
10223 lt_save_allow_undefined_flag
=$allow_undefined_flag
10224 allow_undefined_flag
=
10225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10226 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10229 test $ac_status = 0; }
10231 lt_cv_archive_cmds_need_lc
=no
10233 lt_cv_archive_cmds_need_lc
=yes
10235 allow_undefined_flag
=$lt_save_allow_undefined_flag
10237 cat conftest.err
1>&5
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10243 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10244 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10403 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10405 if test yes = "$GCC"; then
10407 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10408 *) lt_awk_arg
='/^libraries:/' ;;
10411 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10412 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10414 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10415 case $lt_search_path_spec in
10417 # if the path contains ";" then we assume it to be the separator
10418 # otherwise default to the standard path separator (i.e. ":") - it is
10419 # assumed that no part of a normal pathname contains ";" but that should
10420 # okay in the real world where ";" in dirpaths is itself problematic.
10421 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10424 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10427 # Ok, now we have the path, separated by spaces, we can step through it
10428 # and add multilib dir if necessary...
10429 lt_tmp_lt_search_path_spec
=
10430 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10431 # ...but if some path component already ends with the multilib dir we assume
10432 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10433 case "$lt_multi_os_dir; $lt_search_path_spec " in
10434 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10438 for lt_sys_path
in $lt_search_path_spec; do
10439 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10440 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10441 elif test -n "$lt_multi_os_dir"; then
10442 test -d "$lt_sys_path" && \
10443 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10446 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10447 BEGIN {RS = " "; FS = "/|\n";} {
10450 for (lt_i = NF; lt_i > 0; lt_i--) {
10451 if ($lt_i != "" && $lt_i != ".") {
10452 if ($lt_i == "..") {
10455 if (lt_count == 0) {
10456 lt_foo = "/" $lt_i lt_foo;
10463 if (lt_foo != "") { lt_freq[lt_foo]++; }
10464 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10466 # AWK program above erroneously prepends '/' to C:/dos/paths
10469 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10470 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10472 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10474 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10476 library_names_spec
=
10477 libname_spec
='lib$name'
10481 postuninstall_cmds
=
10485 shlibpath_overrides_runpath
=unknown
10487 dynamic_linker
="$host_os ld.so"
10488 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10489 need_lib_prefix
=unknown
10490 hardcode_into_libs
=no
10492 # when you set need_version to no, make sure it does not cause -set_version
10493 # flags to be left without arguments
10494 need_version
=unknown
10500 version_type
=linux
# correct to gnu/linux during the next big refactor
10501 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10502 shlibpath_var
=LIBPATH
10504 # AIX 3 has no versioning support, so we append a major version to the name.
10505 soname_spec
='$libname$release$shared_ext$major'
10509 version_type
=linux
# correct to gnu/linux during the next big refactor
10512 hardcode_into_libs
=yes
10513 if test ia64
= "$host_cpu"; then
10514 # AIX 5 supports IA64
10515 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10516 shlibpath_var
=LD_LIBRARY_PATH
10518 # With GCC up to 2.95.x, collect2 would create an import file
10519 # for dependence libraries. The import file would start with
10520 # the line '#! .'. This would cause the generated library to
10521 # depend on '.', always an invalid library. This was fixed in
10522 # development snapshots of GCC prior to 3.0.
10524 aix4 | aix4.
[01] | aix4.
[01].
*)
10525 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10527 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10530 can_build_shared
=no
10534 # Using Import Files as archive members, it is possible to support
10535 # filename-based versioning of shared library archives on AIX. While
10536 # this would work for both with and without runtime linking, it will
10537 # prevent static linking of such archives. So we do filename-based
10538 # shared library versioning with .so extension only, which is used
10539 # when both runtime linking and shared linking is enabled.
10540 # Unfortunately, runtime linking may impact performance, so we do
10541 # not want this to be the default eventually. Also, we use the
10542 # versioned .so libs for executables only if there is the -brtl
10543 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10544 # To allow for filename-based versioning support, we need to create
10545 # libNAME.so.V as an archive file, containing:
10546 # *) an Import File, referring to the versioned filename of the
10547 # archive as well as the shared archive member, telling the
10548 # bitwidth (32 or 64) of that shared object, and providing the
10549 # list of exported symbols of that shared object, eventually
10550 # decorated with the 'weak' keyword
10551 # *) the shared object with the F_LOADONLY flag set, to really avoid
10552 # it being seen by the linker.
10553 # At run time we better use the real file rather than another symlink,
10554 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10556 case $with_aix_soname,$aix_use_runtimelinking in
10557 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10558 # soname into executable. Probably we can add versioning support to
10559 # collect2, so additional links can be useful in future.
10560 aix
,yes) # traditional libtool
10561 dynamic_linker
='AIX unversionable lib.so'
10562 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10563 # instead of lib<name>.a to let people know that these are not
10564 # typical AIX shared libraries.
10565 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10567 aix
,no
) # traditional AIX only
10568 dynamic_linker
='AIX lib.a(lib.so.V)'
10569 # We preserve .a as extension for shared libraries through AIX4.2
10570 # and later when we are not doing run time linking.
10571 library_names_spec
='$libname$release.a $libname.a'
10572 soname_spec
='$libname$release$shared_ext$major'
10574 svr4
,*) # full svr4 only
10575 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10576 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10577 # We do not specify a path in Import Files, so LIBPATH fires.
10578 shlibpath_overrides_runpath
=yes
10580 *,yes) # both, prefer svr4
10581 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10582 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10583 # unpreferred sharedlib libNAME.a needs extra handling
10584 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10585 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10586 # We do not specify a path in Import Files, so LIBPATH fires.
10587 shlibpath_overrides_runpath
=yes
10589 *,no
) # both, prefer aix
10590 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10591 library_names_spec
='$libname$release.a $libname.a'
10592 soname_spec
='$libname$release$shared_ext$major'
10593 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10594 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10595 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10598 shlibpath_var
=LIBPATH
10605 # Since July 2007 AmigaOS4 officially supports .so libraries.
10606 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10607 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10610 library_names_spec
='$libname.ixlibrary $libname.a'
10611 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10612 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10618 library_names_spec
='$libname$shared_ext'
10619 dynamic_linker
="$host_os ld.so"
10620 shlibpath_var
=LIBRARY_PATH
10624 version_type
=linux
# correct to gnu/linux during the next big refactor
10626 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10627 soname_spec
='$libname$release$shared_ext$major'
10628 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10629 shlibpath_var
=LD_LIBRARY_PATH
10630 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10631 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10632 # the default ld.so.conf also contains /usr/contrib/lib and
10633 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10634 # libtool to hard-code these into programs
10637 cygwin
* | mingw
* | pw32
* | cegcc
*)
10638 version_type
=windows
10643 case $GCC,$cc_basename in
10646 library_names_spec
='$libname.dll.a'
10647 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10648 postinstall_cmds
='base_file=`basename \$file`~
10649 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10650 dldir=$destdir/`dirname \$dlpath`~
10651 test -d \$dldir || mkdir -p \$dldir~
10652 $install_prog $dir/$dlname \$dldir/$dlname~
10653 chmod a+x \$dldir/$dlname~
10654 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10655 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10657 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10658 dlpath=$dir/\$dldll~
10660 shlibpath_overrides_runpath
=yes
10664 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10665 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10667 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10670 # MinGW DLLs use traditional 'lib' prefix
10671 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10674 # pw32 DLLs use 'pw' prefix rather than 'lib'
10675 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10678 dynamic_linker
='Win32 ld.exe'
10683 libname_spec
='$name'
10684 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10685 library_names_spec
='$libname.dll.lib'
10689 sys_lib_search_path_spec
=
10692 for lt_path
in $LIB
10695 # Let DOS variable expansion print the short 8.3 style file name.
10696 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10697 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10700 # Convert to MSYS style.
10701 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10704 # Convert to unix form, then to dos form, then back to unix form
10705 # but this time dos style (no spaces!) so that the unix form looks
10706 # like /cygdrive/c/PROGRA~1:/cygdr...
10707 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10708 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10709 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10712 sys_lib_search_path_spec
=$LIB
10713 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10714 # It is most probably a Windows format PATH.
10715 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10717 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10719 # FIXME: find the short name or the path components, as spaces are
10720 # common. (e.g. "Program Files" -> "PROGRA~1")
10724 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10725 postinstall_cmds
='base_file=`basename \$file`~
10726 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10727 dldir=$destdir/`dirname \$dlpath`~
10728 test -d \$dldir || mkdir -p \$dldir~
10729 $install_prog $dir/$dlname \$dldir/$dlname'
10730 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10731 dlpath=$dir/\$dldll~
10733 shlibpath_overrides_runpath
=yes
10734 dynamic_linker
='Win32 link.exe'
10738 # Assume MSVC wrapper
10739 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
10740 dynamic_linker
='Win32 ld.exe'
10743 # FIXME: first we should search . and the directory the executable is in
10747 darwin
* | rhapsody
*)
10748 dynamic_linker
="$host_os dyld"
10749 version_type
=darwin
10752 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
10753 soname_spec
='$libname$release$major$shared_ext'
10754 shlibpath_overrides_runpath
=yes
10755 shlibpath_var
=DYLD_LIBRARY_PATH
10756 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10758 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10759 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10763 version_type
=linux
# correct to gnu/linux during the next big refactor
10766 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10767 soname_spec
='$libname$release$shared_ext$major'
10768 shlibpath_var
=LD_LIBRARY_PATH
10771 freebsd
* | dragonfly
*)
10772 # DragonFly does not have aout. When/if they implement a new
10773 # versioning mechanism, adjust this.
10774 if test -x /usr
/bin
/objformat
; then
10775 objformat
=`/usr/bin/objformat`
10778 freebsd
[23].
*) objformat
=aout
;;
10779 *) objformat
=elf
;;
10782 version_type
=freebsd-
$objformat
10783 case $version_type in
10785 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10786 soname_spec
='$libname$release$shared_ext$major'
10791 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10795 shlibpath_var
=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath
=yes
10800 freebsd3.
[01]* | freebsdelf3.
[01]*)
10801 shlibpath_overrides_runpath
=yes
10802 hardcode_into_libs
=yes
10804 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10805 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10806 shlibpath_overrides_runpath
=no
10807 hardcode_into_libs
=yes
10809 *) # from 4.6 on, and DragonFly
10810 shlibpath_overrides_runpath
=yes
10811 hardcode_into_libs
=yes
10817 version_type
=linux
# correct to gnu/linux during the next big refactor
10820 dynamic_linker
="$host_os runtime_loader"
10821 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10822 soname_spec
='$libname$release$shared_ext$major'
10823 shlibpath_var
=LIBRARY_PATH
10824 shlibpath_overrides_runpath
=no
10825 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10826 hardcode_into_libs
=yes
10829 hpux9
* | hpux10
* | hpux11
*)
10830 # Give a soname corresponding to the major version so that dld.sl refuses to
10831 # link against other versions.
10838 hardcode_into_libs
=yes
10839 dynamic_linker
="$host_os dld.so"
10840 shlibpath_var
=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10842 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10843 soname_spec
='$libname$release$shared_ext$major'
10844 if test 32 = "$HPUX_IA64_MODE"; then
10845 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10846 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
10848 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10849 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
10854 hardcode_into_libs
=yes
10855 dynamic_linker
="$host_os dld.sl"
10856 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10857 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10858 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10859 soname_spec
='$libname$release$shared_ext$major'
10860 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10861 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10865 dynamic_linker
="$host_os dld.sl"
10866 shlibpath_var
=SHLIB_PATH
10867 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10868 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10869 soname_spec
='$libname$release$shared_ext$major'
10872 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10873 postinstall_cmds
='chmod 555 $lib'
10874 # or fails outright, so override atomically:
10875 install_override_mode
=555
10879 version_type
=linux
# correct to gnu/linux during the next big refactor
10882 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10883 soname_spec
='$libname$release$shared_ext$major'
10884 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10885 shlibpath_var
=LD_LIBRARY_PATH
10886 shlibpath_overrides_runpath
=no
10887 hardcode_into_libs
=yes
10890 irix5
* | irix6
* | nonstopux
*)
10892 nonstopux
*) version_type
=nonstopux
;;
10894 if test yes = "$lt_cv_prog_gnu_ld"; then
10895 version_type
=linux
# correct to gnu/linux during the next big refactor
10902 soname_spec
='$libname$release$shared_ext$major'
10903 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10905 irix5
* | nonstopux
*)
10906 libsuff
= shlibsuff
=
10909 case $LD in # libtool.m4 will add one of these switches to LD
10910 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10911 libsuff
= shlibsuff
= libmagic
=32-bit;;
10912 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10913 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10914 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10915 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10916 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10920 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10921 shlibpath_overrides_runpath
=no
10922 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10923 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
10924 hardcode_into_libs
=yes
10927 # No shared lib support for Linux oldld, aout, or coff.
10928 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10933 version_type
=none
# Android doesn't support versioned libraries.
10936 library_names_spec
='$libname$release$shared_ext'
10937 soname_spec
='$libname$release$shared_ext'
10939 shlibpath_var
=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath
=yes
10942 # This implies no fast_install, which is unacceptable.
10943 # Some rework will be needed to allow for fast_install
10944 # before this can be enabled.
10945 hardcode_into_libs
=yes
10947 dynamic_linker
='Android linker'
10948 # Don't embed -rpath directories since the linker doesn't support them.
10949 hardcode_libdir_flag_spec
='-L$libdir'
10952 # This must be glibc/ELF.
10953 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10954 version_type
=linux
# correct to gnu/linux during the next big refactor
10957 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10958 soname_spec
='$libname$release$shared_ext$major'
10959 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10960 shlibpath_var
=LD_LIBRARY_PATH
10961 shlibpath_overrides_runpath
=no
10963 # Some binutils ld are patched to set DT_RUNPATH
10964 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10965 $as_echo_n "(cached) " >&6
10967 lt_cv_shlibpath_overrides_runpath
=no
10968 save_LDFLAGS
=$LDFLAGS
10969 save_libdir
=$libdir
10970 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10971 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10983 if ac_fn_c_try_link
"$LINENO"; then :
10984 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10985 lt_cv_shlibpath_overrides_runpath
=yes
10988 rm -f core conftest.err conftest.
$ac_objext \
10989 conftest
$ac_exeext conftest.
$ac_ext
10990 LDFLAGS
=$save_LDFLAGS
10991 libdir
=$save_libdir
10995 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10997 # This implies no fast_install, which is unacceptable.
10998 # Some rework will be needed to allow for fast_install
10999 # before this can be enabled.
11000 hardcode_into_libs
=yes
11002 # Add ABI-specific directories to the system library path.
11003 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11005 # Ideally, we could use ldconfig to report *all* directores which are
11006 # searched for libraries, however this is still not possible. Aside from not
11007 # being certain /sbin/ldconfig is available, command
11008 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11009 # even though it is searched at run-time. Try to do the best guess by
11010 # appending ld.so.conf contents (and includes) to the search path.
11011 if test -f /etc
/ld.so.conf
; then
11012 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' ' '`
11013 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11016 # We used to test for /lib/ld.so.1 and disable shared libraries on
11017 # powerpc, because MkLinux only supported shared libraries with the
11018 # GNU dynamic linker. Since this was broken with cross compilers,
11019 # most powerpc-linux boxes support dynamic linking these days and
11020 # people can always --disable-shared, the test was removed, and we
11021 # assume the GNU/Linux dynamic linker is in use.
11022 dynamic_linker
='GNU/Linux ld.so'
11029 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11030 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11031 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11032 dynamic_linker
='NetBSD (a.out) ld.so'
11034 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11035 soname_spec
='$libname$release$shared_ext$major'
11036 dynamic_linker
='NetBSD ld.elf_so'
11038 shlibpath_var
=LD_LIBRARY_PATH
11039 shlibpath_overrides_runpath
=yes
11040 hardcode_into_libs
=yes
11044 version_type
=linux
# correct to gnu/linux during the next big refactor
11045 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11046 shlibpath_var
=LD_LIBRARY_PATH
11047 shlibpath_overrides_runpath
=yes
11054 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11055 soname_spec
='$libname$release$shared_ext$major'
11056 shlibpath_var
=LD_LIBRARY_PATH
11057 shlibpath_overrides_runpath
=no
11058 hardcode_into_libs
=yes
11059 dynamic_linker
='ldqnx.so'
11062 openbsd
* | bitrig
*)
11064 sys_lib_dlsearch_path_spec
=/usr
/lib
11066 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11071 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11072 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11073 shlibpath_var
=LD_LIBRARY_PATH
11074 shlibpath_overrides_runpath
=yes
11078 libname_spec
='$name'
11079 version_type
=windows
11083 # OS/2 can only load a DLL with a base name of 8 characters or less.
11084 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11085 v=$($ECHO $release$versuffix | tr -d .-);
11086 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11087 $ECHO $n$v`$shared_ext'
11088 library_names_spec
='${libname}_dll.$libext'
11089 dynamic_linker
='OS/2 ld.exe'
11090 shlibpath_var
=BEGINLIBPATH
11091 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11092 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11093 postinstall_cmds
='base_file=`basename \$file`~
11094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11095 dldir=$destdir/`dirname \$dlpath`~
11096 test -d \$dldir || mkdir -p \$dldir~
11097 $install_prog $dir/$dlname \$dldir/$dlname~
11098 chmod a+x \$dldir/$dlname~
11099 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11100 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11102 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11103 dlpath=$dir/\$dldll~
11107 osf3
* | osf4
* | osf5
*)
11111 soname_spec
='$libname$release$shared_ext$major'
11112 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11113 shlibpath_var
=LD_LIBRARY_PATH
11114 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11115 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11123 version_type
=linux
# correct to gnu/linux during the next big refactor
11126 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11127 soname_spec
='$libname$release$shared_ext$major'
11128 shlibpath_var
=LD_LIBRARY_PATH
11129 shlibpath_overrides_runpath
=yes
11130 hardcode_into_libs
=yes
11131 # ldd complains unless libraries are executable
11132 postinstall_cmds
='chmod +x $lib'
11137 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11138 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11139 shlibpath_var
=LD_LIBRARY_PATH
11140 shlibpath_overrides_runpath
=yes
11141 if test yes = "$with_gnu_ld"; then
11148 version_type
=linux
# correct to gnu/linux during the next big refactor
11149 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11150 soname_spec
='$libname$release$shared_ext$major'
11151 shlibpath_var
=LD_LIBRARY_PATH
11152 case $host_vendor in
11154 shlibpath_overrides_runpath
=no
11156 runpath_var
=LD_RUN_PATH
11164 shlibpath_overrides_runpath
=no
11165 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11171 if test -d /usr
/nec
; then
11172 version_type
=linux
# correct to gnu/linux during the next big refactor
11173 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11174 soname_spec
='$libname$shared_ext.$major'
11175 shlibpath_var
=LD_LIBRARY_PATH
11179 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11183 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11184 soname_spec
='$libname$release$shared_ext$major'
11185 shlibpath_var
=LD_LIBRARY_PATH
11186 shlibpath_overrides_runpath
=yes
11187 hardcode_into_libs
=yes
11188 if test yes = "$with_gnu_ld"; then
11189 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11191 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11194 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11198 sys_lib_dlsearch_path_spec
='/usr/lib'
11202 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11203 version_type
=linux
# correct to gnu/linux during the next big refactor
11206 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11207 shlibpath_var
=LD_LIBRARY_PATH
11208 shlibpath_overrides_runpath
=no
11209 hardcode_into_libs
=yes
11213 version_type
=linux
# correct to gnu/linux during the next big refactor
11214 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11215 soname_spec
='$libname$release$shared_ext$major'
11216 shlibpath_var
=LD_LIBRARY_PATH
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11224 $as_echo "$dynamic_linker" >&6; }
11225 test no
= "$dynamic_linker" && can_build_shared
=no
11227 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11228 if test yes = "$GCC"; then
11229 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11232 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11233 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11236 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11237 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11240 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11241 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11243 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11244 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11246 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11247 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11346 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11348 if test -n "$hardcode_libdir_flag_spec" ||
11349 test -n "$runpath_var" ||
11350 test yes = "$hardcode_automatic"; then
11352 # We can hardcode non-existent directories.
11353 if test no
!= "$hardcode_direct" &&
11354 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11355 # have to relink, otherwise we might link with an installed library
11356 # when we should be linking with a yet-to-be-installed one
11357 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11358 test no
!= "$hardcode_minus_L"; then
11359 # Linking always hardcodes the temporary library directory.
11360 hardcode_action
=relink
11362 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11363 hardcode_action
=immediate
11366 # We cannot hardcode anything, or else we can only hardcode existing
11368 hardcode_action
=unsupported
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11371 $as_echo "$hardcode_action" >&6; }
11373 if test relink
= "$hardcode_action" ||
11374 test yes = "$inherit_rpath"; then
11375 # Fast installation is not supported
11376 enable_fast_install
=no
11377 elif test yes = "$shlibpath_overrides_runpath" ||
11378 test no
= "$enable_shared"; then
11379 # Fast installation is not necessary
11380 enable_fast_install
=needless
11388 if test yes != "$enable_dlopen"; then
11389 enable_dlopen
=unknown
11390 enable_dlopen_self
=unknown
11391 enable_dlopen_self_static
=unknown
11398 lt_cv_dlopen
=load_add_on
11400 lt_cv_dlopen_self
=yes
11403 mingw
* | pw32
* | cegcc
*)
11404 lt_cv_dlopen
=LoadLibrary
11409 lt_cv_dlopen
=dlopen
11414 # if libdl is installed we need to link against it
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11416 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11417 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11418 $as_echo_n "(cached) " >&6
11420 ac_check_lib_save_LIBS
=$LIBS
11422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11440 if ac_fn_c_try_link
"$LINENO"; then :
11441 ac_cv_lib_dl_dlopen
=yes
11443 ac_cv_lib_dl_dlopen
=no
11445 rm -f core conftest.err conftest.
$ac_objext \
11446 conftest
$ac_exeext conftest.
$ac_ext
11447 LIBS
=$ac_check_lib_save_LIBS
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11450 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11451 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11452 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11457 lt_cv_dlopen_self
=yes
11464 # Don't try to run any link tests for TPF. We know it's impossible
11465 # because TPF is a cross-compiler, and we know how we open DSOs.
11466 lt_cv_dlopen
=dlopen
11468 lt_cv_dlopen_self
=no
11472 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11473 if test "x$ac_cv_func_shl_load" = xyes
; then :
11474 lt_cv_dlopen
=shl_load
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11477 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11478 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11479 $as_echo_n "(cached) " >&6
11481 ac_check_lib_save_LIBS
=$LIBS
11483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11496 return shl_load ();
11501 if ac_fn_c_try_link
"$LINENO"; then :
11502 ac_cv_lib_dld_shl_load
=yes
11504 ac_cv_lib_dld_shl_load
=no
11506 rm -f core conftest.err conftest.
$ac_objext \
11507 conftest
$ac_exeext conftest.
$ac_ext
11508 LIBS
=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11511 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11512 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11513 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11515 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11516 if test "x$ac_cv_func_dlopen" = xyes
; then :
11517 lt_cv_dlopen
=dlopen
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11520 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11521 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11522 $as_echo_n "(cached) " >&6
11524 ac_check_lib_save_LIBS
=$LIBS
11526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11544 if ac_fn_c_try_link
"$LINENO"; then :
11545 ac_cv_lib_dl_dlopen
=yes
11547 ac_cv_lib_dl_dlopen
=no
11549 rm -f core conftest.err conftest.
$ac_objext \
11550 conftest
$ac_exeext conftest.
$ac_ext
11551 LIBS
=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11554 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11555 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11556 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11559 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11560 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11561 $as_echo_n "(cached) " >&6
11563 ac_check_lib_save_LIBS
=$LIBS
11564 LIBS
="-lsvld $LIBS"
11565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11568 /* Override any GCC internal prototype to avoid an error.
11569 Use char because int might match the return type of a GCC
11570 builtin and then its argument prototype would still apply. */
11583 if ac_fn_c_try_link
"$LINENO"; then :
11584 ac_cv_lib_svld_dlopen
=yes
11586 ac_cv_lib_svld_dlopen
=no
11588 rm -f core conftest.err conftest.
$ac_objext \
11589 conftest
$ac_exeext conftest.
$ac_ext
11590 LIBS
=$ac_check_lib_save_LIBS
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11593 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11594 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11595 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11598 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11599 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11600 $as_echo_n "(cached) " >&6
11602 ac_check_lib_save_LIBS
=$LIBS
11604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11617 return dld_link ();
11622 if ac_fn_c_try_link
"$LINENO"; then :
11623 ac_cv_lib_dld_dld_link
=yes
11625 ac_cv_lib_dld_dld_link
=no
11627 rm -f core conftest.err conftest.
$ac_objext \
11628 conftest
$ac_exeext conftest.
$ac_ext
11629 LIBS
=$ac_check_lib_save_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11632 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11633 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11634 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11655 if test no
= "$lt_cv_dlopen"; then
11661 case $lt_cv_dlopen in
11663 save_CPPFLAGS
=$CPPFLAGS
11664 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11666 save_LDFLAGS
=$LDFLAGS
11667 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11670 LIBS
="$lt_cv_dlopen_libs $LIBS"
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11673 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11674 if ${lt_cv_dlopen_self+:} false
; then :
11675 $as_echo_n "(cached) " >&6
11677 if test yes = "$cross_compiling"; then :
11678 lt_cv_dlopen_self
=cross
11680 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11681 lt_status
=$lt_dlunknown
11682 cat > conftest.
$ac_ext <<_LT_EOF
11683 #line $LINENO "configure"
11684 #include "confdefs.h"
11693 # define LT_DLGLOBAL RTLD_GLOBAL
11696 # define LT_DLGLOBAL DL_GLOBAL
11698 # define LT_DLGLOBAL 0
11702 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11703 find out it does not work in some platform. */
11704 #ifndef LT_DLLAZY_OR_NOW
11706 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11709 # define LT_DLLAZY_OR_NOW DL_LAZY
11712 # define LT_DLLAZY_OR_NOW RTLD_NOW
11715 # define LT_DLLAZY_OR_NOW DL_NOW
11717 # define LT_DLLAZY_OR_NOW 0
11724 /* When -fvisibility=hidden is used, assume the code has been annotated
11725 correspondingly for the symbols needed. */
11726 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11727 int fnord () __attribute__((visibility("default")));
11730 int fnord () { return 42; }
11733 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11734 int status = $lt_dlunknown;
11738 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11741 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11742 else puts (dlerror ());
11744 /* dlclose (self); */
11752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11753 (eval $ac_link) 2>&5
11755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11756 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11757 (.
/conftest
; exit; ) >&5 2>/dev
/null
11759 case x
$lt_status in
11760 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11761 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11762 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11765 # compilation failed
11766 lt_cv_dlopen_self
=no
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11774 $as_echo "$lt_cv_dlopen_self" >&6; }
11776 if test yes = "$lt_cv_dlopen_self"; then
11777 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11779 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11780 if ${lt_cv_dlopen_self_static+:} false
; then :
11781 $as_echo_n "(cached) " >&6
11783 if test yes = "$cross_compiling"; then :
11784 lt_cv_dlopen_self_static
=cross
11786 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11787 lt_status
=$lt_dlunknown
11788 cat > conftest.
$ac_ext <<_LT_EOF
11789 #line $LINENO "configure"
11790 #include "confdefs.h"
11799 # define LT_DLGLOBAL RTLD_GLOBAL
11802 # define LT_DLGLOBAL DL_GLOBAL
11804 # define LT_DLGLOBAL 0
11808 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11809 find out it does not work in some platform. */
11810 #ifndef LT_DLLAZY_OR_NOW
11812 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11815 # define LT_DLLAZY_OR_NOW DL_LAZY
11818 # define LT_DLLAZY_OR_NOW RTLD_NOW
11821 # define LT_DLLAZY_OR_NOW DL_NOW
11823 # define LT_DLLAZY_OR_NOW 0
11830 /* When -fvisibility=hidden is used, assume the code has been annotated
11831 correspondingly for the symbols needed. */
11832 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11833 int fnord () __attribute__((visibility("default")));
11836 int fnord () { return 42; }
11839 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11840 int status = $lt_dlunknown;
11844 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11847 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11848 else puts (dlerror ());
11850 /* dlclose (self); */
11858 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11859 (eval $ac_link) 2>&5
11861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11862 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
11863 (.
/conftest
; exit; ) >&5 2>/dev
/null
11865 case x
$lt_status in
11866 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11867 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11868 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11871 # compilation failed
11872 lt_cv_dlopen_self_static
=no
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11880 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11883 CPPFLAGS
=$save_CPPFLAGS
11884 LDFLAGS
=$save_LDFLAGS
11889 case $lt_cv_dlopen_self in
11890 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11891 *) enable_dlopen_self
=unknown
;;
11894 case $lt_cv_dlopen_self_static in
11895 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11896 *) enable_dlopen_self_static
=unknown
;;
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11919 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11920 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11921 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11922 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11924 $as_echo "yes" >&6; }
11926 # FIXME - insert some real tests, host_os isn't really good enough
11929 if test -n "$STRIP"; then
11930 striplib
="$STRIP -x"
11931 old_striplib
="$STRIP -S"
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11933 $as_echo "yes" >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11936 $as_echo "no" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11957 # Report what library types will actually be built
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11959 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11961 $as_echo "$can_build_shared" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11964 $as_echo_n "checking whether to build shared libraries... " >&6; }
11965 test no
= "$can_build_shared" && enable_shared
=no
11967 # On AIX, shared libraries and static libraries use the same namespace, and
11968 # are all built from PIC.
11971 test yes = "$enable_shared" && enable_static
=no
11972 if test -n "$RANLIB"; then
11973 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11974 postinstall_cmds
='$RANLIB $lib'
11979 if test ia64
!= "$host_cpu"; then
11980 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11981 yes,aix
,yes) ;; # shared object as lib.so file only
11982 yes,svr4
,*) ;; # shared object as lib.so archive member only
11983 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11989 $as_echo "$enable_shared" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11992 $as_echo_n "checking whether to build static libraries... " >&6; }
11993 # Make sure either enable_shared or enable_static is yes.
11994 test yes = "$enable_shared" || enable_static
=yes
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11996 $as_echo "$enable_static" >&6; }
12003 ac_cpp
='$CPP $CPPFLAGS'
12004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12024 ac_config_commands
="$ac_config_commands libtool"
12029 # Only expand once:
12032 # Check whether --enable-largefile was given.
12033 if test "${enable_largefile+set}" = set; then :
12034 enableval
=$enable_largefile;
12037 if test "$enable_largefile" != no
; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12040 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12041 if ${ac_cv_sys_largefile_CC+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12044 ac_cv_sys_largefile_CC
=no
12045 if test "$GCC" != yes; then
12048 # IRIX 6.2 and later do not support large files by default,
12049 # so use the C compiler's -n32 option if that helps.
12050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12052 #include <sys/types.h>
12053 /* Check that off_t can represent 2**63 - 1 correctly.
12054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12055 since some C++ compilers masquerading as C compilers
12056 incorrectly reject 9223372036854775807. */
12057 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12059 && LARGE_OFF_T % 2147483647 == 1)
12069 if ac_fn_c_try_compile
"$LINENO"; then :
12072 rm -f core conftest.err conftest.
$ac_objext
12074 if ac_fn_c_try_compile
"$LINENO"; then :
12075 ac_cv_sys_largefile_CC
=' -n32'; break
12077 rm -f core conftest.err conftest.
$ac_objext
12081 rm -f conftest.
$ac_ext
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12085 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12086 if test "$ac_cv_sys_largefile_CC" != no
; then
12087 CC
=$CC$ac_cv_sys_largefile_CC
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12091 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12092 if ${ac_cv_sys_file_offset_bits+:} false
; then :
12093 $as_echo_n "(cached) " >&6
12096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12098 #include <sys/types.h>
12099 /* Check that off_t can represent 2**63 - 1 correctly.
12100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12101 since some C++ compilers masquerading as C compilers
12102 incorrectly reject 9223372036854775807. */
12103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12105 && LARGE_OFF_T % 2147483647 == 1)
12115 if ac_fn_c_try_compile
"$LINENO"; then :
12116 ac_cv_sys_file_offset_bits
=no
; break
12118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12121 #define _FILE_OFFSET_BITS 64
12122 #include <sys/types.h>
12123 /* Check that off_t can represent 2**63 - 1 correctly.
12124 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12125 since some C++ compilers masquerading as C compilers
12126 incorrectly reject 9223372036854775807. */
12127 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12128 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12129 && LARGE_OFF_T % 2147483647 == 1)
12139 if ac_fn_c_try_compile
"$LINENO"; then :
12140 ac_cv_sys_file_offset_bits
=64; break
12142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12143 ac_cv_sys_file_offset_bits
=unknown
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12148 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12149 case $ac_cv_sys_file_offset_bits in #(
12152 cat >>confdefs.h
<<_ACEOF
12153 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12158 if test $ac_cv_sys_file_offset_bits = unknown
; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12160 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12161 if ${ac_cv_sys_large_files+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12167 #include <sys/types.h>
12168 /* Check that off_t can represent 2**63 - 1 correctly.
12169 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12170 since some C++ compilers masquerading as C compilers
12171 incorrectly reject 9223372036854775807. */
12172 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12173 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12174 && LARGE_OFF_T % 2147483647 == 1)
12184 if ac_fn_c_try_compile
"$LINENO"; then :
12185 ac_cv_sys_large_files
=no
; break
12187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12190 #define _LARGE_FILES 1
12191 #include <sys/types.h>
12192 /* Check that off_t can represent 2**63 - 1 correctly.
12193 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12194 since some C++ compilers masquerading as C compilers
12195 incorrectly reject 9223372036854775807. */
12196 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12197 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12198 && LARGE_OFF_T % 2147483647 == 1)
12208 if ac_fn_c_try_compile
"$LINENO"; then :
12209 ac_cv_sys_large_files
=1; break
12211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12212 ac_cv_sys_large_files
=unknown
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12217 $as_echo "$ac_cv_sys_large_files" >&6; }
12218 case $ac_cv_sys_large_files in #(
12221 cat >>confdefs.h
<<_ACEOF
12222 #define _LARGE_FILES $ac_cv_sys_large_files
12233 if test x
$GCC = xyes
12235 CFLAGS
="-Wall $CFLAGS"
12237 if test x
$GXX = xyes
12239 CXXFLAGS
="-Wall $CXXFLAGS"
12242 CFLAGS
="-I$srcdir/.. -I.. -I$srcdir/../.. -I../.. $CFLAGS"
12243 CXXFLAGS
="-I$srcdir/.. -I.. -I$srcdir/../.. -I../.. $CXXFLAGS"
12246 . ..
/..
/dbobj.config
12247 if test "$dblibrary" != ""
12249 dblibrary
="../../$dblibrary"
12253 makedatprog_target
=""
12254 if test "$dblibrary" != ""
12256 makedatprog_target
=makedatprog
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12262 $as_echo_n "checking for ANSI C header files... " >&6; }
12263 if ${ac_cv_header_stdc+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <stdlib.h>
12269 #include <stdarg.h>
12270 #include <string.h>
12281 if ac_fn_c_try_compile
"$LINENO"; then :
12282 ac_cv_header_stdc
=yes
12284 ac_cv_header_stdc
=no
12286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12288 if test $ac_cv_header_stdc = yes; then
12289 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h. */
12292 #include <string.h>
12295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12296 $EGREP "memchr" >/dev
/null
2>&1; then :
12299 ac_cv_header_stdc
=no
12305 if test $ac_cv_header_stdc = yes; then
12306 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12309 #include <stdlib.h>
12312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12313 $EGREP "free" >/dev
/null
2>&1; then :
12316 ac_cv_header_stdc
=no
12322 if test $ac_cv_header_stdc = yes; then
12323 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12324 if test "$cross_compiling" = yes; then :
12327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 #include <stdlib.h>
12331 #if ((' ' & 0x0FF) == 0x020)
12332 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12333 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12335 # define ISLOWER(c) \
12336 (('a' <= (c) && (c) <= 'i') \
12337 || ('j' <= (c) && (c) <= 'r') \
12338 || ('s' <= (c) && (c) <= 'z'))
12339 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12342 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12347 for (i = 0; i < 256; i++)
12348 if (XOR (islower (i), ISLOWER (i))
12349 || toupper (i) != TOUPPER (i))
12354 if ac_fn_c_try_run
"$LINENO"; then :
12357 ac_cv_header_stdc
=no
12359 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12360 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12366 $as_echo "$ac_cv_header_stdc" >&6; }
12367 if test $ac_cv_header_stdc = yes; then
12369 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12373 for ac_header
in unistd.h
12375 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12376 if test "x$ac_cv_header_unistd_h" = xyes
; then :
12377 cat >>confdefs.h
<<_ACEOF
12378 #define HAVE_UNISTD_H 1
12389 # Check whether --with-makedatprog was given.
12390 if test "${with_makedatprog+set}" = set; then :
12391 withval
=$with_makedatprog; makedatprog
="$withval"
12393 makedatprog
="$bindir/makedatprog"
12397 makedatprogpath
="$makedatprog"
12400 ac_config_files
="$ac_config_files Makefile makedat"
12402 cat >confcache
<<\_ACEOF
12403 # This file is a shell script that caches the results of configure
12404 # tests run on this system so they can be shared between configure
12405 # scripts and configure runs, see configure's option --config-cache.
12406 # It is not useful on other systems. If it contains results you don't
12407 # want to keep, you may remove or edit it.
12409 # config.status only pays attention to the cache file if you give it
12410 # the --recheck option to rerun configure.
12412 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12413 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12414 # following values.
12418 # The following way of writing the cache mishandles newlines in values,
12419 # but we know of no workaround that is simple, portable, and efficient.
12420 # So, we kill variables containing newlines.
12421 # Ultrix sh set writes to stderr and can't be redirected directly,
12422 # and sets the high bit in the cache file unless we assign to the vars.
12424 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12425 eval ac_val
=\$
$ac_var
12429 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12430 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12433 _ | IFS | as_nl
) ;; #(
12434 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12435 *) { eval $ac_var=; unset $ac_var;} ;;
12441 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12442 *${as_nl}ac_space
=\
*)
12443 # `set' does not quote correctly, so add quotes: double-quote
12444 # substitution turns \\\\ into \\, and sed turns \\ into \.
12447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12450 # `set' quotes correctly as required by POSIX, so do not add quotes.
12451 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12460 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12462 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12464 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12465 if test -w "$cache_file"; then
12466 if test "x$cache_file" != "x/dev/null"; then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12468 $as_echo "$as_me: updating cache $cache_file" >&6;}
12469 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12470 cat confcache
>"$cache_file"
12472 case $cache_file in #(
12474 mv -f confcache
"$cache_file"$$
&&
12475 mv -f "$cache_file"$$
"$cache_file" ;; #(
12477 mv -f confcache
"$cache_file" ;;
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12483 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12488 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12489 # Let make expand exec_prefix.
12490 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12492 DEFS
=-DHAVE_CONFIG_H
12497 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12498 # 1. Remove the extension, and $U if already installed.
12499 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12500 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12501 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12502 # will be set to the directory where LIBOBJS objects are built.
12503 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12504 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12506 LIBOBJS
=$ac_libobjs
12508 LTLIBOBJS
=$ac_ltlibobjs
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12512 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12513 if test -n "$am_sleep_pid"; then
12514 # Hide warnings about reused PIDs.
12515 wait $am_sleep_pid 2>/dev
/null
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12518 $as_echo "done" >&6; }
12519 if test -n "$EXEEXT"; then
12521 am__EXEEXT_FALSE
='#'
12523 am__EXEEXT_TRUE
='#'
12527 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12528 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12531 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12532 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12536 : "${CONFIG_STATUS=./config.status}"
12538 ac_clean_files_save
=$ac_clean_files
12539 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12541 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12543 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12545 # Generated by $as_me.
12546 # Run this file to recreate the current configuration.
12547 # Compiler output produced by configure, useful for debugging
12548 # configure, is in config.log if it exists.
12551 ac_cs_recheck=false
12554 SHELL=\${CONFIG_SHELL-$SHELL}
12557 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12558 ## -------------------- ##
12559 ## M4sh Initialization. ##
12560 ## -------------------- ##
12562 # Be more Bourne compatible
12563 DUALCASE
=1; export DUALCASE
# for MKS sh
12564 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12567 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12568 # is contrary to our usage. Disable this feature.
12569 alias -g '${1+"$@"}'='"$@"'
12570 setopt NO_GLOB_SUBST
12572 case `(set -o) 2>/dev/null` in #(
12584 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12585 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12586 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12587 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12588 # Prefer a ksh shell builtin over an external printf program on Solaris,
12589 # but without wasting forks for bash or zsh.
12590 if test -z "$BASH_VERSION$ZSH_VERSION" \
12591 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12592 as_echo='print
-r --'
12593 as_echo_n='print
-rn --'
12594 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12595 as_echo='printf %s
\n'
12596 as_echo_n='printf %s
'
12598 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12599 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12600 as_echo_n='/usr
/ucb
/echo -n'
12602 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12603 as_echo_n_body='eval
12607 expr "X$arg" : "X\\(.*\\)$as_nl";
12608 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12610 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12612 export as_echo_n_body
12613 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12615 export as_echo_body
12616 as_echo='sh
-c $as_echo_body as_echo
'
12619 # The user is always right.
12620 if test "${PATH_SEPARATOR+set}" != set; then
12622 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12623 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12630 # We need space, tab and new line, in precisely that order. Quoting is
12631 # there to prevent editors from complaining about space-tab.
12632 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12633 # splitting by setting IFS to empty value.)
12636 # Find who we are. Look in the path if we contain no directory separator.
12639 *[\\/]* ) as_myself=$0 ;;
12640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12641 for as_dir in $PATH
12644 test -z "$as_dir" && as_dir=.
12645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12651 # We did not find ourselves, most probably we were run as `sh COMMAND'
12652 # in which case we are not to be found in the path.
12653 if test "x$as_myself" = x
; then
12656 if test ! -f "$as_myself"; then
12657 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12661 # Unset variables that we do not need and which cause bugs (e.g. in
12662 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12663 # suppresses any "Segmentation fault" message there. '((' could
12664 # trigger a bug in pdksh 5.2.14.
12665 for as_var
in BASH_ENV ENV MAIL MAILPATH
12666 do eval test x\
${$as_var+set} = xset \
12667 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12680 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12683 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12684 # ----------------------------------------
12685 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12686 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12687 # script with STATUS, using 1 if that was 0.
12690 as_status
=$1; test $as_status -eq 0 && as_status
=1
12692 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12693 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12695 $as_echo "$as_me: error: $2" >&2
12696 as_fn_exit
$as_status
12700 # as_fn_set_status STATUS
12701 # -----------------------
12702 # Set $? to STATUS, without forking.
12703 as_fn_set_status
()
12706 } # as_fn_set_status
12708 # as_fn_exit STATUS
12709 # -----------------
12710 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12714 as_fn_set_status
$1
12720 # Portably unset VAR.
12723 { eval $1=; unset $1;}
12725 as_unset
=as_fn_unset
12726 # as_fn_append VAR VALUE
12727 # ----------------------
12728 # Append the text in VALUE to the end of the definition contained in VAR. Take
12729 # advantage of any shell optimizations that allow amortized linear growth over
12730 # repeated appends, instead of the typical quadratic growth present in naive
12732 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12733 eval 'as_fn_append ()
12744 # as_fn_arith ARG...
12745 # ------------------
12746 # Perform arithmetic evaluation on the ARGs, and store the result in the
12747 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12748 # must be portable across $(()) and expr.
12749 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12750 eval 'as_fn_arith ()
12757 as_val
=`expr "$@" || test $? -eq 1`
12762 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12763 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12769 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12770 as_basename
=basename
12775 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12781 as_me
=`$as_basename -- "$0" ||
12782 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12783 X"$0" : 'X\(//\)$' \| \
12784 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12786 sed '/^.*\/\([^/][^/]*\)\/*$/{
12800 # Avoid depending upon Character Ranges.
12801 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12802 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12803 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12804 as_cr_digits
='0123456789'
12805 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12807 ECHO_C
= ECHO_N
= ECHO_T
=
12808 case `echo -n x` in #(((((
12810 case `echo 'xy\c'` in
12811 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12813 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12820 rm -f conf$$ conf$$.exe conf$$.
file
12821 if test -d conf$$.dir
; then
12822 rm -f conf$$.dir
/conf$$.
file
12825 mkdir conf$$.dir
2>/dev
/null
12827 if (echo >conf$$.
file) 2>/dev
/null
; then
12828 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12830 # ... but there are two gotchas:
12831 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12832 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12833 # In both cases, we have to default to `cp -pR'.
12834 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12836 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12844 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12845 rmdir conf$$.dir
2>/dev
/null
12850 # Create "$as_dir" as a directory, including parents if necessary.
12855 -*) as_dir
=.
/$as_dir;;
12857 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12861 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12862 *) as_qdir
=$as_dir;;
12864 as_dirs
="'$as_qdir' $as_dirs"
12865 as_dir
=`$as_dirname -- "$as_dir" ||
12866 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12867 X"$as_dir" : 'X\(//\)[^/]' \| \
12868 X"$as_dir" : 'X\(//\)$' \| \
12869 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12870 $as_echo X"$as_dir" |
12871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12875 /^X\(\/\/\)[^/].*/{
12888 test -d "$as_dir" && break
12890 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12891 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12895 if mkdir
-p .
2>/dev
/null
; then
12896 as_mkdir_p
='mkdir -p "$as_dir"'
12898 test -d .
/-p && rmdir .
/-p
12903 # as_fn_executable_p FILE
12904 # -----------------------
12905 # Test if FILE is an executable regular file.
12906 as_fn_executable_p
()
12908 test -f "$1" && test -x "$1"
12909 } # as_fn_executable_p
12910 as_test_x
='test -x'
12911 as_executable_p
=as_fn_executable_p
12913 # Sed expression to map a string onto a valid CPP name.
12914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12916 # Sed expression to map a string onto a valid variable name.
12917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12921 ## ----------------------------------- ##
12922 ## Main body of $CONFIG_STATUS script. ##
12923 ## ----------------------------------- ##
12925 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12928 # Save the log message, to keep $0 and so on meaningful, and to
12929 # report actual input values of CONFIG_FILES etc. instead of their
12930 # values after options handling.
12932 This file was extended by makedat $as_me 0.60, which was
12933 generated by GNU Autoconf 2.69. Invocation command line was
12935 CONFIG_FILES = $CONFIG_FILES
12936 CONFIG_HEADERS = $CONFIG_HEADERS
12937 CONFIG_LINKS = $CONFIG_LINKS
12938 CONFIG_COMMANDS = $CONFIG_COMMANDS
12941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12946 case $ac_config_files in *"
12947 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12950 case $ac_config_headers in *"
12951 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12956 # Files that config.status was made for.
12957 config_files="$ac_config_files"
12958 config_headers="$ac_config_headers"
12959 config_commands="$ac_config_commands"
12963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12965 \`$as_me' instantiates files and other configuration actions
12966 from templates according to the current configuration. Unless the files
12967 and actions are specified as TAGs, all are instantiated by default.
12969 Usage: $0 [OPTION]... [TAG]...
12971 -h, --help print this help, then exit
12972 -V, --version print version number and configuration settings, then exit
12973 --config print configuration, then exit
12974 -q, --quiet, --silent
12975 do not print progress messages
12976 -d, --debug don't remove temporary files
12977 --recheck update $as_me by reconfiguring in the same conditions
12978 --file=FILE[:TEMPLATE]
12979 instantiate the configuration file FILE
12980 --header=FILE[:TEMPLATE]
12981 instantiate the configuration header FILE
12983 Configuration files:
12986 Configuration headers:
12989 Configuration commands:
12992 Report bugs to <courier-users@lists.sourceforge.net>."
12995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12996 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12998 makedat config.status 0.60
12999 configured by $0, generated by GNU Autoconf 2.69,
13000 with options \\"\$ac_cs_config\\"
13002 Copyright (C) 2012 Free Software Foundation, Inc.
13003 This config.status script is free software; the Free Software Foundation
13004 gives unlimited permission to copy, distribute and modify it."
13011 test -n "\$AWK" || AWK=awk
13014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13015 # The default lists apply if the user does not specify any file.
13021 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13022 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13026 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13038 # Handling of the options.
13039 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13041 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13042 $as_echo "$ac_cs_version"; exit ;;
13043 --config |
--confi |
--conf |
--con |
--co |
--c )
13044 $as_echo "$ac_cs_config"; exit ;;
13045 --debug |
--debu |
--deb |
--de |
--d |
-d )
13047 --file |
--fil |
--fi |
--f )
13050 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13051 '') as_fn_error $?
"missing file argument" ;;
13053 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13054 ac_need_defaults
=false
;;
13055 --header |
--heade |
--head |
--hea )
13058 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13060 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13061 ac_need_defaults
=false
;;
13063 # Conflict between --help and --header
13064 as_fn_error $?
"ambiguous option: \`$1'
13065 Try \`$0 --help' for more information.";;
13066 --help |
--hel |
-h )
13067 $as_echo "$ac_cs_usage"; exit ;;
13068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13069 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13072 # This is an error.
13073 -*) as_fn_error $?
"unrecognized option: \`$1'
13074 Try \`$0 --help' for more information." ;;
13076 *) as_fn_append ac_config_targets
" $1"
13077 ac_need_defaults
=false
;;
13083 ac_configure_extra_args
=
13085 if $ac_cs_silent; then
13087 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13092 if \$ac_cs_recheck; then
13093 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13095 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13096 CONFIG_SHELL='$SHELL'
13097 export CONFIG_SHELL
13102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13107 ## Running $as_me. ##
13113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13117 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13120 # The HP-UX ksh and POSIX shell print the target directory to stdout
13121 # if CDPATH is set.
13122 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13124 sed_quote_subst='$sed_quote_subst'
13125 double_quote_subst='$double_quote_subst'
13126 delay_variable_subst='$delay_variable_subst'
13127 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13128 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13129 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13130 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13131 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13132 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13133 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13134 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13135 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13136 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13137 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13138 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13139 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13140 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13141 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13142 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13143 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13144 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13145 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13146 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13147 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13148 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13149 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13150 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13151 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13152 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13153 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13154 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13155 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13156 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13157 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13158 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13159 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13160 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13161 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13162 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13163 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13164 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13165 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13166 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13167 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13168 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13169 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13170 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13171 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13172 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13173 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13174 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13175 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13176 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13177 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13178 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13179 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13180 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13181 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13182 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13183 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13184 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13185 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"`'
13186 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13187 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13188 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13189 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13190 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13191 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13192 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13193 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13194 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13195 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13196 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13197 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13198 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13199 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13200 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13201 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13202 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13203 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13204 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13205 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13206 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13207 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13208 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13209 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13210 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13211 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13212 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13213 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13214 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13215 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13216 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13217 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13218 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13219 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13220 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13221 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13222 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13223 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13224 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13225 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13226 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13227 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13228 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13229 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13230 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13231 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13232 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13233 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13234 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13235 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13236 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13237 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13238 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13239 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13240 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13241 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13242 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13243 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13244 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13245 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13246 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13247 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13248 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13249 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13250 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13251 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13252 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13253 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13254 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13255 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13256 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13257 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13258 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13259 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13260 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13261 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13264 LTCFLAGS='$LTCFLAGS'
13265 compiler='$compiler_DEFAULT'
13267 # A function that is used when there is no print builtin or printf.
13268 func_fallback_echo ()
13270 eval 'cat <<_LTECHO_EOF
13275 # Quote evaled strings.
13290 deplibs_check_method \
13295 sharedlib_from_linklib_cmd \
13298 archiver_list_spec \
13304 lt_cv_sys_global_symbol_pipe \
13305 lt_cv_sys_global_symbol_to_cdecl \
13306 lt_cv_sys_global_symbol_to_import \
13307 lt_cv_sys_global_symbol_to_c_name_address \
13308 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13309 lt_cv_nm_interface \
13310 nm_file_list_spec \
13311 lt_cv_truncate_bin \
13312 lt_prog_compiler_no_builtin_flag \
13313 lt_prog_compiler_pic \
13314 lt_prog_compiler_wl \
13315 lt_prog_compiler_static \
13316 lt_cv_prog_compiler_c_o \
13325 export_dynamic_flag_spec \
13326 whole_archive_flag_spec \
13327 compiler_needs_object \
13329 allow_undefined_flag \
13330 no_undefined_flag \
13331 hardcode_libdir_flag_spec \
13332 hardcode_libdir_separator \
13336 variables_saved_for_relink \
13338 library_names_spec \
13340 install_override_mode \
13344 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13345 *[\\\\\\\`\\"\\\$]*)
13346 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13349 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13354 # Double-quote double-evaled strings.
13355 for var in reload_cmds \
13356 old_postinstall_cmds \
13357 old_postuninstall_cmds \
13359 extract_expsyms_cmds \
13360 old_archive_from_new_cmds \
13361 old_archive_from_expsyms_cmds \
13363 archive_expsym_cmds \
13365 module_expsym_cmds \
13366 export_symbols_cmds \
13370 postuninstall_cmds \
13372 sys_lib_search_path_spec \
13373 configure_time_dlsearch_path \
13374 configure_time_lt_sys_library_path; do
13375 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13376 *[\\\\\\\`\\"\\\$]*)
13377 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13380 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13385 ac_aux_dir='$ac_aux_dir'
13387 # See if we are running on zsh, and set the options that allow our
13388 # commands through without removal of \ escapes INIT.
13389 if test -n "\${ZSH_VERSION+set}"; then
13390 setopt NO_GLOB_SUBST
13404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13406 # Handling of arguments.
13407 for ac_config_target
in $ac_config_targets
13409 case $ac_config_target in
13410 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13411 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13412 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13413 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13414 "makedat") CONFIG_FILES
="$CONFIG_FILES makedat" ;;
13416 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13421 # If the user did not use the arguments to specify the items to instantiate,
13422 # then the envvar interface is used. Set only those that are not.
13423 # We use the long form for the default assignment because of an extremely
13424 # bizarre bug on SunOS 4.1.3.
13425 if $ac_need_defaults; then
13426 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13427 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13428 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13431 # Have a temporary directory for convenience. Make it in the build tree
13432 # simply because there is no reason against having it here, and in addition,
13433 # creating and moving files from /tmp can sometimes cause problems.
13434 # Hook for its removal unless debugging.
13435 # Note that there is a small window in which the directory will not be cleaned:
13436 # after its creation but before its name has been assigned to `$tmp'.
13440 trap 'exit_status=$?
13441 : "${ac_tmp:=$tmp}"
13442 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13444 trap 'as_fn_exit 1' 1 2 13 15
13446 # Create a (secure) tmp directory for tmp files.
13449 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13453 tmp
=.
/conf$$
-$RANDOM
13454 (umask 077 && mkdir
"$tmp")
13455 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13458 # Set up the scripts for CONFIG_FILES section.
13459 # No need to generate them if there are no CONFIG_FILES.
13460 # This happens for instance with `./config.status config.h'.
13461 if test -n "$CONFIG_FILES"; then
13464 ac_cr
=`echo X | tr X '\015'`
13465 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13466 # But we know of no other shell where ac_cr would be empty at this
13467 # point, so we can use a bashism as a fallback.
13468 if test "x$ac_cr" = x
; then
13469 eval ac_cr
=\$
\'\\r
\'
13471 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13472 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13475 ac_cs_awk_cr
=$ac_cr
13478 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13483 echo "cat >conf$$subs.awk <<_ACEOF" &&
13484 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13486 } >conf$$subs.sh ||
13487 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13488 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13490 for ac_last_try in false false false false false :; do
13491 . ./conf$$subs.sh ||
13492 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13494 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13495 if test $ac_delim_n = $ac_delim_num; then
13497 elif $ac_last_try; then
13498 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13500 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13503 rm -f conf$$subs.sh
13505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13506 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13510 s/^/S["/; s
/!.
*/"]=/
13520 s/\(.\{148\}\)..*/\1/
13522 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13527 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13534 s/\(.\{148\}\)..*/\1/
13536 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13540 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13545 ' <conf$$subs.awk | sed '
13550 ' >>$CONFIG_STATUS || ac_write_fail=1
13551 rm -f conf$$subs.awk
13552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13554 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13555 for (key in S) S_is_set[key] = 1
13561 nfields = split(line, field, "@
")
13563 len = length(field[1])
13564 for (i = 2; i < nfields; i++) {
13566 keylen = length(key)
13567 if (S_is_set[key]) {
13569 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13570 len += length(value) + length(field[++i])
13581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13582 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13583 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13586 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13587 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13590 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13591 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13592 # trailing colons and then remove the whole line if VPATH becomes empty
13593 # (actually we leave an empty line to preserve line numbers).
13594 if test "x
$srcdir" = x.; then
13595 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13614 fi # test -n "$CONFIG_FILES"
13616 # Set up the scripts for CONFIG_HEADERS section.
13617 # No need to generate them if there are no CONFIG_HEADERS.
13618 # This happens for instance with `./config.status Makefile'.
13619 if test -n "$CONFIG_HEADERS"; then
13620 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13624 # Transform confdefs.h into an awk script `defines.awk', embedded as
13625 # here-document in config.status, that substitutes the proper values into
13626 # config.h.in to produce config.h.
13628 # Create a delimiter string that does not exist in confdefs.h, to ease
13629 # handling of long lines.
13631 for ac_last_try in false false :; do
13632 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13633 if test -z "$ac_tt"; then
13635 elif $ac_last_try; then
13636 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13638 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13642 # For the awk script, D is an array of macro values keyed by name,
13643 # likewise P contains macro parameters if any. Preserve backslash
13644 # newline sequences.
13646 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13648 s/.\{148\}/&'"$ac_delim"'/g
13651 s/^[ ]*#[ ]*define[ ][ ]*/ /
13658 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13660 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13664 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13665 D["\
1"]=" \
3\\\\\\n
"\\/p
13667 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13672 s/.\{148\}/&'"$ac_delim"'/g
13677 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13680 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13682 ' <confdefs.h | sed '
13683 s/'"$ac_delim"'/"\\\
13684 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13687 for (key in D) D_is_set[key] = 1
13690 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13692 split(line, arg, " ")
13693 if (arg[1] == "#") {
13697 defundef
= substr
(arg
[1], 2)
13700 split(mac1
, mac2
, "(") #)
13702 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13703 if (D_is_set
[macro
]) {
13704 # Preserve the white space surrounding the "#".
13705 print prefix
"define", macro P
[macro
] D
[macro
]
13708 # Replace #undef with comments. This is necessary, for example,
13709 # in the case of _POSIX_SOURCE, which is predefined and required
13710 # on some systems where configure will not decide to define it.
13711 if (defundef
== "undef") {
13712 print
"/*", prefix defundef
, macro
, "*/"
13720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13721 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13722 fi # test -n "$CONFIG_HEADERS"
13725 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13730 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13732 case $ac_mode$ac_tag in
13734 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13735 :[FH
]-) ac_tag
=-:-;;
13736 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13753 -) ac_f
="$ac_tmp/stdin";;
13754 *) # Look for the file first in the build tree, then in the source tree
13755 # (if the path is not absolute). The absolute path cannot be DOS-style,
13756 # because $ac_f cannot contain `:'.
13760 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13762 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13764 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13765 as_fn_append ac_file_inputs
" '$ac_f'"
13768 # Let's still pretend it is `configure' which instantiates (i.e., don't
13769 # use $as_me), people would be surprised to read:
13770 # /* config.h. Generated by config.status. */
13771 configure_input
='Generated from '`
13772 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13774 if test x
"$ac_file" != x-
; then
13775 configure_input
="$ac_file. $configure_input"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13777 $as_echo "$as_me: creating $ac_file" >&6;}
13779 # Neutralize special characters interpreted by sed in replacement strings.
13780 case $configure_input in #(
13781 *\
&* |
*\|
* |
*\\* )
13782 ac_sed_conf_input
=`$as_echo "$configure_input" |
13783 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13784 *) ac_sed_conf_input
=$configure_input;;
13788 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13789 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13794 ac_dir
=`$as_dirname -- "$ac_file" ||
13795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13796 X"$ac_file" : 'X\(//\)[^/]' \| \
13797 X"$ac_file" : 'X\(//\)$' \| \
13798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13799 $as_echo X"$ac_file" |
13800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13804 /^X\(\/\/\)[^/].*/{
13817 as_dir
="$ac_dir"; as_fn_mkdir_p
13821 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13823 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13824 # A ".." for each directory in $ac_dir_suffix.
13825 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13826 case $ac_top_builddir_sub in
13827 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13828 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13831 ac_abs_top_builddir
=$ac_pwd
13832 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13833 # for backward compatibility:
13834 ac_top_builddir
=$ac_top_build_prefix
13837 .
) # We are building in place.
13839 ac_top_srcdir
=$ac_top_builddir_sub
13840 ac_abs_top_srcdir
=$ac_pwd ;;
13841 [\\/]* | ?
:[\\/]* ) # Absolute name.
13842 ac_srcdir
=$srcdir$ac_dir_suffix;
13843 ac_top_srcdir
=$srcdir
13844 ac_abs_top_srcdir
=$srcdir ;;
13845 *) # Relative name.
13846 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13847 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13848 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13850 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13860 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13861 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13863 ac_MKDIR_P
=$MKDIR_P
13865 [\\/$
]* | ?
:[\\/]* ) ;;
13866 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13871 # If the template does not know about datarootdir, expand it.
13872 # FIXME: This hack should be removed a few years after 2.60.
13873 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13884 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13885 *datarootdir
*) ac_datarootdir_seen
=yes;;
13886 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13888 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13891 ac_datarootdir_hack='
13892 s&@datadir@&$datadir&g
13893 s&@docdir@&$docdir&g
13894 s&@infodir@&$infodir&g
13895 s&@localedir@&$localedir&g
13896 s&@mandir@&$mandir&g
13897 s&\\\${datarootdir}&$datarootdir&g' ;;
13901 # Neutralize VPATH when `$srcdir' = `.'.
13902 # Shell code in configure.ac might set extrasub.
13903 # FIXME: do we really want to maintain this feature?
13904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13905 ac_sed_extra="$ac_vpsub
13908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13910 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13911 s|@configure_input@|
$ac_sed_conf_input|
;t t
13912 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13913 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13914 s
&@srcdir@
&$ac_srcdir&;t t
13915 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13916 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13917 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13918 s
&@builddir@
&$ac_builddir&;t t
13919 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13920 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13921 s
&@INSTALL@
&$ac_INSTALL&;t t
13922 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13923 $ac_datarootdir_hack
13925 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13926 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13929 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13930 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13931 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13933 which seems to be undefined. Please make sure it is defined" >&5
13934 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13935 which seems to be undefined. Please make sure it is defined" >&2;}
13937 rm -f "$ac_tmp/stdin"
13939 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13940 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13942 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13948 if test x"$ac_file" != x-; then
13950 $as_echo "/* $configure_input */" \
13951 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13952 } >"$ac_tmp/config.h" \
13953 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13954 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13956 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13959 mv "$ac_tmp/config.h" "$ac_file" \
13960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13963 $as_echo "/* $configure_input */" \
13964 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13965 || as_fn_error $? "could not create -" "$LINENO" 5
13967 # Compute "$ac_file"'s index
in $config_headers.
13970 for _am_header
in $config_headers :; do
13971 case $_am_header in
13972 $_am_arg |
$_am_arg:* )
13975 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13978 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13979 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13980 X"$_am_arg" : 'X\(//\)[^/]' \| \
13981 X"$_am_arg" : 'X\(//\)$' \| \
13982 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13983 $as_echo X"$_am_arg" |
13984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13988 /^X\(\/\/\)[^/].*/{
14000 s/.*/./; q'`/stamp-h
$_am_stamp_count
14003 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14004 $as_echo "$as_me: executing $ac_file commands" >&6;}
14009 case $ac_file$ac_mode in
14010 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14011 # Older Autoconf quotes --file arguments for eval, but not when files
14012 # are listed without --file. Let's play safe and only enable the eval
14013 # if we detect the quoting.
14014 case $CONFIG_FILES in
14015 *\'*) eval set x
"$CONFIG_FILES" ;;
14016 *) set x
$CONFIG_FILES ;;
14021 # Strip MF so we end up with the name of the file.
14022 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14023 # Check whether this is an Automake generated Makefile or not.
14024 # We used to match only the files named 'Makefile.in', but
14025 # some people rename them; so instead we look at the file content.
14026 # Grep'ing the first line is not enough: some people post-process
14027 # each Makefile.in and add a new line on top of each file to say so.
14028 # Grep'ing the whole file is not good either: AIX grep has a line
14029 # limit of 2048, but all sed's we know have understand at least 4000.
14030 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14031 dirpart
=`$as_dirname -- "$mf" ||
14032 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14033 X"$mf" : 'X\(//\)[^/]' \| \
14034 X"$mf" : 'X\(//\)$' \| \
14035 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14041 /^X\(\/\/\)[^/].*/{
14057 # Extract the definition of DEPDIR, am__include, and am__quote
14058 # from the Makefile without running 'make'.
14059 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14060 test -z "$DEPDIR" && continue
14061 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14062 test -z "$am__include" && continue
14063 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14064 # Find all dependency output files, they are included files with
14065 # $(DEPDIR) in their names. We invoke sed twice because it is the
14066 # simplest approach to changing $(DEPDIR) to its actual value in the
14068 for file in `sed -n "
14069 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14070 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14071 # Make sure the directory exists.
14072 test -f "$dirpart/$file" && continue
14073 fdir
=`$as_dirname -- "$file" ||
14074 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14075 X"$file" : 'X\(//\)[^/]' \| \
14076 X"$file" : 'X\(//\)$' \| \
14077 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14078 $as_echo X"$file" |
14079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14083 /^X\(\/\/\)[^/].*/{
14096 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14097 # echo "creating $dirpart/$file"
14098 echo '# dummy' > "$dirpart/$file"
14105 # See if we are running on zsh, and set the options that allow our
14106 # commands through without removal of \ escapes.
14107 if test -n "${ZSH_VERSION+set}"; then
14108 setopt NO_GLOB_SUBST
14112 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14115 cat <<_LT_EOF >> "$cfgfile"
14117 # Generated automatically by $as_me ($PACKAGE) $VERSION
14118 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14119 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14121 # Provide generalized library-building support services.
14122 # Written by Gordon Matzigkeit, 1996
14124 # Copyright (C) 2014 Free Software Foundation, Inc.
14125 # This is free software; see the source for copying conditions. There is NO
14126 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14128 # GNU Libtool is free software; you can redistribute it and/or modify
14129 # it under the terms of the GNU General Public License as published by
14130 # the Free Software Foundation; either version 2 of of the License, or
14131 # (at your option) any later version.
14133 # As a special exception to the GNU General Public License, if you
14134 # distribute this file as part of a program or library that is built
14135 # using GNU Libtool, you may include this file under the same
14136 # distribution terms that you use for the rest of that program.
14138 # GNU Libtool is distributed in the hope that it will be useful, but
14139 # WITHOUT ANY WARRANTY; without even the implied warranty of
14140 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14141 # GNU General Public License for more details.
14143 # You should have received a copy of the GNU General Public License
14144 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14147 # The names of the tagged configurations supported by this script.
14150 # Configured defaults for sys_lib_dlsearch_path munging.
14151 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14153 # ### BEGIN LIBTOOL CONFIG
14155 # Which release of libtool.m4 was used?
14156 macro_version=$macro_version
14157 macro_revision=$macro_revision
14159 # Whether or not to build shared libraries.
14160 build_libtool_libs=$enable_shared
14162 # Whether or not to build static libraries.
14163 build_old_libs=$enable_static
14165 # What type of objects to build.
14168 # Whether or not to optimize for fast installation.
14169 fast_install=$enable_fast_install
14171 # Shared archive member basename,for filename based shared library versioning on AIX.
14172 shared_archive_member_spec=$shared_archive_member_spec
14174 # Shell to use when invoking shell scripts.
14177 # An echo program that protects backslashes.
14180 # The PATH separator for the build system.
14181 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14184 host_alias=$host_alias
14188 # The build system.
14189 build_alias=$build_alias
14193 # A sed program that does not truncate output.
14196 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14197 Xsed="\$SED -e 1s/^X//"
14199 # A grep program that handles long lines.
14205 # A literal string matcher.
14208 # A BSD- or MS-compatible name lister.
14211 # Whether we need soft or hard links.
14214 # What is the maximum length of a command?
14215 max_cmd_len=$max_cmd_len
14217 # Object file suffix (normally "o").
14220 # Executable file suffix (normally "").
14223 # whether the shell understands "unset".
14226 # turn spaces into newlines.
14229 # turn newlines into spaces.
14232 # convert \$build file names to \$host format.
14233 to_host_file_cmd=$lt_cv_to_host_file_cmd
14235 # convert \$build files to toolchain format.
14236 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14238 # An object symbol dumper.
14239 OBJDUMP=$lt_OBJDUMP
14241 # Method to check whether dependent libraries are shared objects.
14242 deplibs_check_method=$lt_deplibs_check_method
14244 # Command to use when deplibs_check_method = "file_magic".
14245 file_magic_cmd=$lt_file_magic_cmd
14247 # How to find potential files when deplibs_check_method = "file_magic".
14248 file_magic_glob=$lt_file_magic_glob
14250 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14251 want_nocaseglob=$lt_want_nocaseglob
14253 # DLL creation program.
14254 DLLTOOL=$lt_DLLTOOL
14256 # Command to associate shared and link libraries.
14257 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14262 # Flags to create an archive.
14263 AR_FLAGS=$lt_AR_FLAGS
14265 # How to feed a file listing to the archiver.
14266 archiver_list_spec=$lt_archiver_list_spec
14268 # A symbol stripping program.
14271 # Commands used to install an old-style archive.
14273 old_postinstall_cmds=$lt_old_postinstall_cmds
14274 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14276 # Whether to use a lock for old archive extraction.
14277 lock_old_archive_extraction=$lock_old_archive_extraction
14282 # LTCC compiler flags.
14283 LTCFLAGS=$lt_CFLAGS
14285 # Take the output of nm and produce a listing of raw symbols and C names.
14286 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14288 # Transform the output of nm in a proper C declaration.
14289 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14291 # Transform the output of nm into a list of symbols to manually relocate.
14292 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14294 # Transform the output of nm in a C name address pair.
14295 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14297 # Transform the output of nm in a C name address pair when lib prefix is needed.
14298 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14300 # The name lister interface.
14301 nm_interface=$lt_lt_cv_nm_interface
14303 # Specify filename containing input files for \$NM.
14304 nm_file_list_spec=$lt_nm_file_list_spec
14306 # The root where to search for dependent libraries,and where our libraries should be installed.
14307 lt_sysroot=$lt_sysroot
14309 # Command to truncate a binary pipe.
14310 lt_truncate_bin=$lt_lt_cv_truncate_bin
14312 # The name of the directory that contains temporary libtool files.
14315 # Used to examine libraries when file_magic_cmd begins with "file".
14316 MAGIC_CMD=$MAGIC_CMD
14318 # Must we lock files when doing compilation?
14319 need_locks=$lt_need_locks
14322 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14324 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14325 DSYMUTIL=$lt_DSYMUTIL
14327 # Tool to change global to local symbols on Mac OS X.
14330 # Tool to manipulate fat objects and archives on Mac OS X.
14333 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14336 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14337 OTOOL64=$lt_OTOOL64
14339 # Old archive suffix (normally "a").
14342 # Shared library suffix (normally ".so").
14343 shrext_cmds=$lt_shrext_cmds
14345 # The commands to extract the exported symbol list from a shared archive.
14346 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14348 # Variables whose values should be saved in libtool wrapper scripts and
14349 # restored at link time.
14350 variables_saved_for_relink=$lt_variables_saved_for_relink
14352 # Do we need the "lib" prefix for modules?
14353 need_lib_prefix=$need_lib_prefix
14355 # Do we need a version for libraries?
14356 need_version=$need_version
14358 # Library versioning type.
14359 version_type=$version_type
14361 # Shared library runtime path variable.
14362 runpath_var=$runpath_var
14364 # Shared library path variable.
14365 shlibpath_var=$shlibpath_var
14367 # Is shlibpath searched before the hard-coded library search path?
14368 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14370 # Format of library name prefix.
14371 libname_spec=$lt_libname_spec
14373 # List of archive names. First name is the real one, the rest are links.
14374 # The last name is the one that the linker finds with -lNAME
14375 library_names_spec=$lt_library_names_spec
14377 # The coded name of the library, if different from the real name.
14378 soname_spec=$lt_soname_spec
14380 # Permission mode override for installation of shared libraries.
14381 install_override_mode=$lt_install_override_mode
14383 # Command to use after installation of a shared archive.
14384 postinstall_cmds=$lt_postinstall_cmds
14386 # Command to use after uninstallation of a shared archive.
14387 postuninstall_cmds=$lt_postuninstall_cmds
14389 # Commands used to finish a libtool library installation in a directory.
14390 finish_cmds=$lt_finish_cmds
14392 # As "finish_cmds", except a single script fragment to be evaled but
14394 finish_eval=$lt_finish_eval
14396 # Whether we should hardcode library paths into libraries.
14397 hardcode_into_libs=$hardcode_into_libs
14399 # Compile-time system search path for libraries.
14400 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14402 # Detected run-time system search path for libraries.
14403 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14405 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14406 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14408 # Whether dlopen is supported.
14409 dlopen_support=$enable_dlopen
14411 # Whether dlopen of programs is supported.
14412 dlopen_self=$enable_dlopen_self
14414 # Whether dlopen of statically linked programs is supported.
14415 dlopen_self_static=$enable_dlopen_self_static
14417 # Commands to strip libraries.
14418 old_striplib=$lt_old_striplib
14419 striplib=$lt_striplib
14422 # The linker used to build libraries.
14425 # How to create reloadable object files.
14426 reload_flag=$lt_reload_flag
14427 reload_cmds=$lt_reload_cmds
14429 # Commands used to build an old-style archive.
14430 old_archive_cmds=$lt_old_archive_cmds
14432 # A language specific compiler.
14435 # Is the compiler the GNU compiler?
14438 # Compiler flag to turn off builtin functions.
14439 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14441 # Additional compiler flags for building library objects.
14442 pic_flag=$lt_lt_prog_compiler_pic
14444 # How to pass a linker flag through the compiler.
14445 wl=$lt_lt_prog_compiler_wl
14447 # Compiler flag to prevent dynamic linking.
14448 link_static_flag=$lt_lt_prog_compiler_static
14450 # Does compiler simultaneously support -c and -o options?
14451 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14453 # Whether or not to add -lc for building shared libraries.
14454 build_libtool_need_lc=$archive_cmds_need_lc
14456 # Whether or not to disallow shared libs when runtime libs are static.
14457 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14459 # Compiler flag to allow reflexive dlopens.
14460 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14462 # Compiler flag to generate shared objects directly from archives.
14463 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14465 # Whether the compiler copes with passing no objects directly.
14466 compiler_needs_object=$lt_compiler_needs_object
14468 # Create an old-style archive from a shared archive.
14469 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14471 # Create a temporary old-style archive to link instead of a shared archive.
14472 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14474 # Commands used to build a shared archive.
14475 archive_cmds=$lt_archive_cmds
14476 archive_expsym_cmds=$lt_archive_expsym_cmds
14478 # Commands used to build a loadable module if different from building
14479 # a shared archive.
14480 module_cmds=$lt_module_cmds
14481 module_expsym_cmds=$lt_module_expsym_cmds
14483 # Whether we are building with GNU ld or not.
14484 with_gnu_ld=$lt_with_gnu_ld
14486 # Flag that allows shared libraries with undefined symbols to be built.
14487 allow_undefined_flag=$lt_allow_undefined_flag
14489 # Flag that enforces no undefined symbols.
14490 no_undefined_flag=$lt_no_undefined_flag
14492 # Flag to hardcode \$libdir into a binary during linking.
14493 # This must work even if \$libdir does not exist
14494 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14496 # Whether we need a single "-rpath" flag with a separated argument.
14497 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14499 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14500 # DIR into the resulting binary.
14501 hardcode_direct=$hardcode_direct
14503 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14504 # DIR into the resulting binary and the resulting library dependency is
14505 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14506 # library is relocated.
14507 hardcode_direct_absolute=$hardcode_direct_absolute
14509 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14510 # into the resulting binary.
14511 hardcode_minus_L=$hardcode_minus_L
14513 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14514 # into the resulting binary.
14515 hardcode_shlibpath_var=$hardcode_shlibpath_var
14517 # Set to "yes" if building a shared library automatically hardcodes DIR
14518 # into the library and all subsequent libraries and executables linked
14520 hardcode_automatic=$hardcode_automatic
14522 # Set to yes if linker adds runtime paths of dependent libraries
14523 # to runtime path list.
14524 inherit_rpath=$inherit_rpath
14526 # Whether libtool must link a program against all its dependency libraries.
14527 link_all_deplibs=$link_all_deplibs
14529 # Set to "yes" if exported symbols are required.
14530 always_export_symbols=$always_export_symbols
14532 # The commands to list exported symbols.
14533 export_symbols_cmds=$lt_export_symbols_cmds
14535 # Symbols that should not be listed in the preloaded symbols.
14536 exclude_expsyms=$lt_exclude_expsyms
14538 # Symbols that must always be exported.
14539 include_expsyms=$lt_include_expsyms
14541 # Commands necessary for linking programs (against libraries) with templates.
14542 prelink_cmds=$lt_prelink_cmds
14544 # Commands necessary for finishing linking programs.
14545 postlink_cmds=$lt_postlink_cmds
14547 # Specify filename containing input files.
14548 file_list_spec=$lt_file_list_spec
14550 # How to hardcode a shared library path into an executable.
14551 hardcode_action=$hardcode_action
14553 # ### END LIBTOOL CONFIG
14557 cat <<'_LT_EOF' >> "$cfgfile"
14559 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14561 # func_munge_path_list VARIABLE PATH
14562 # -----------------------------------
14563 # VARIABLE is name of variable containing _space_ separated list of
14564 # directories to be munged by the contents of PATH, which is string
14567 # string "DIR[ DIR]" will be prepended to VARIABLE
14569 # string "DIR[ DIR]" will be appended to VARIABLE
14570 # "DIRP[:DIRP]::[DIRA:]DIRA"
14571 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14572 # "DIRA[ DIRA]" will be appended to VARIABLE
14574 # VARIABLE will be replaced by "DIR[ DIR]"
14575 func_munge_path_list ()
14581 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14584 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14587 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14588 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14591 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14597 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
14598 func_cc_basename ()
14600 for cc_temp in $*""; do
14602 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14603 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14608 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14612 # ### END FUNCTIONS SHARED WITH CONFIGURE
14618 cat <<\_LT_EOF
>> "$cfgfile"
14619 # AIX sometimes has problems with the GCC collect2 program. For some
14620 # reason, if we set the COLLECT_NAMES environment variable, the problems
14621 # vanish in a puff of smoke.
14622 if test set != "${COLLECT_NAMES+set}"; then
14624 export COLLECT_NAMES
14631 ltmain
=$ac_aux_dir/ltmain.sh
14634 # We use sed instead of cat because bash on DJGPP gets confused if
14635 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14636 # text mode, it properly converts lines to CR/LF. This bash problem
14637 # is reportedly fixed, but why not run on old versions too?
14638 sed '$q' "$ltmain" >> "$cfgfile" \
14639 ||
(rm -f "$cfgfile"; exit 1)
14641 mv -f "$cfgfile" "$ofile" ||
14642 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14653 ac_clean_files
=$ac_clean_files_save
14655 test $ac_write_fail = 0 ||
14656 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14659 # configure is writing to config.log, and then calls config.status.
14660 # config.status does its own redirection, appending to config.log.
14661 # Unfortunately, on DOS this fails, as config.log is still kept open
14662 # by configure, so config.status won't be able to write to it; its
14663 # output is simply discarded. So we exec the FD to /dev/null,
14664 # effectively closing config.log, so it can be properly (re)opened and
14665 # appended to by config.status. When coming back to configure, we
14666 # need to make the FD available again.
14667 if test "$no_create" != yes; then
14669 ac_config_status_args
=
14670 test "$silent" = yes &&
14671 ac_config_status_args
="$ac_config_status_args --quiet"
14673 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14675 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14676 # would make configure fail if this is the last instruction.
14677 $ac_cs_success || as_fn_exit
1
14679 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14681 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}