2 # From configure.ac Revision: 1.15 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
15 # Guido Draheim <guido@gmx.de> for ZZipLib.SF.net
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE
=1; export DUALCASE
# for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print
-rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
58 as_echo_n='/usr
/ucb
/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
71 as_echo_n='sh
-c $as_echo_n_body as_echo
'
74 as_echo='sh
-c $as_echo_body as_echo
'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x
; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var
in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\
${$as_var+set} = xset \
125 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
138 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x
; then
141 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required
="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179 if (eval "$as_required") 2>/dev
/null
; then :
184 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
189 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
192 test -z "$as_dir" && as_dir
=.
196 for as_base
in sh bash ksh sh5
; do
197 # Try only shells that exist, to save several forks.
198 as_shell
=$as_dir/$as_base
199 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
200 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
201 CONFIG_SHELL
=$as_shell as_have_required
=yes
202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
210 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
212 CONFIG_SHELL
=$SHELL as_have_required
=yes
217 if test "x$CONFIG_SHELL" != x
; then :
218 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.
221 # Preserve -v and -x to the replacement shell.
224 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
232 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
235 if test x
$as_have_required = xno
; then :
236 $as_echo "$0: This script requires a shell more modern than all"
237 $as_echo "$0: the shells that I found on your system."
238 if test x
${ZSH_VERSION+set} = xset
; then
239 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
242 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
251 SHELL
=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE
= GREP_OPTIONS
=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir
=.
/$as_dir;;
296 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
300 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs
="'$as_qdir' $as_dirs"
304 as_dir
=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
330 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
365 as_val
=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status
=$1; test $as_status -eq 0 && as_status
=1
379 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit
$as_status
386 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
393 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
405 as_me
=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits
='0123456789'
429 as_cr_alnum
=$as_cr_Letters$as_cr_digits
432 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
433 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x
"$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C
= ECHO_N
= ECHO_T
=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
476 rm -f conf$$ conf$$.exe conf$$.
file
477 if test -d conf$$.dir
; then
478 rm -f conf$$.dir
/conf$$.
file
481 mkdir conf$$.dir
2>/dev
/null
483 if (echo >conf$$.
file) 2>/dev
/null
; then
484 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
492 elif ln conf$$.
file conf$$
2>/dev
/null
; then
500 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
501 rmdir conf$$.dir
2>/dev
/null
503 if mkdir
-p .
2>/dev
/null
; then
504 as_mkdir_p
='mkdir -p "$as_dir"'
506 test -d .
/-p && rmdir .
/-p
510 if test -x / >/dev
/null
2>&1; then
513 if ls -dL / >/dev
/null
2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p
=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 # Check that we are running under the correct shell.
542 SHELL
=${CONFIG_SHELL-/bin/sh}
546 # Remove one level of quotation (which was required for Make).
547 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
552 if test "X$1" = X--no-reexec
; then
553 # Discard the --no-reexec flag, and continue.
555 elif test "X$1" = X--fallback-echo
; then
556 # Avoid inline document here, it may be left over
558 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
559 # Yippee, $ECHO works!
562 # Restart under the correct shell.
563 exec $SHELL "$0" --no-reexec ${1+"$@"}
566 if test "X$1" = X--fallback-echo
; then
567 # used as fallback echo
575 # The HP-UX ksh and POSIX shell print the target directory to stdout
577 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
579 if test -z "$lt_ECHO"; then
580 if test "X${echo_test_string+set}" != Xset
; then
581 # find a string as large as possible, as long as the shell can cope with it
582 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
583 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
584 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
585 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
592 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
593 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
594 test "X$echo_testing_string" = "X$echo_test_string"; then
597 # The Solaris, AIX, and Digital Unix default echo programs unquote
598 # backslashes. This makes it impossible to quote backslashes using
599 # echo "$something" | sed 's/\\/\\\\/g'
601 # So, first we look for a working echo in the user's PATH.
603 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
604 for dir
in $PATH /usr
/ucb
; do
606 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
607 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
616 if test "X$ECHO" = Xecho
; then
617 # We didn't find a better echo, so look for alternatives.
618 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
619 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
620 test "X$echo_testing_string" = "X$echo_test_string"; then
621 # This shell has a builtin print -r that does the trick.
623 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
624 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
625 # If we have ksh, try running configure again with it.
626 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
627 export ORIGINAL_CONFIG_SHELL
628 CONFIG_SHELL
=/bin
/ksh
630 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
634 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
635 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
639 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640 test "X$echo_testing_string" = 'X\t' &&
641 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642 test "X$echo_testing_string" = "X$echo_test_string"; then
643 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
645 SHELL
="$CONFIG_SHELL"
647 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
648 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
649 test "X$echo_testing_string" = 'X\t' &&
650 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
652 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
654 # maybe with a smaller string...
657 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
658 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
665 if test "$prev" != 'sed 50q "$0"'; then
666 echo_test_string
=`eval $prev`
667 export echo_test_string
668 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
670 # Oops. We lost completely, so just stick with echo.
679 # Copy echo and quote the copy suitably for passing to libtool from
680 # the Makefile, instead of quoting the original, which is used later.
682 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
683 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
689 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
693 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
694 # so uname gets run too.
695 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
700 ac_default_prefix
=/usr
/local
702 ac_config_libobj_dir
=.
709 # Identity of this package.
717 ac_unique_file
="zziplib.spec"
718 # Factoring default headers for most tests.
719 ac_includes_default
="\
721 #ifdef HAVE_SYS_TYPES_H
722 # include <sys/types.h>
724 #ifdef HAVE_SYS_STAT_H
725 # include <sys/stat.h>
731 # ifdef HAVE_STDLIB_H
736 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
741 #ifdef HAVE_STRINGS_H
742 # include <strings.h>
744 #ifdef HAVE_INTTYPES_H
745 # include <inttypes.h>
754 ac_subst_vars
='am__EXEEXT_FALSE
782 MAINTAINER_MODE_FALSE
832 INSTALL_STRIP_PROGRAM
850 ax_enable_builddir_sed
890 program_transform_name
903 enable_option_checking
907 enable_dependency_tracking
914 enable_maintainer_mode
924 enable_enable_default_pkgconfigdir
925 enable_enable_default_aclocaldir
927 ac_precious_vars
='build_alias
938 # Initialize some variables set by options.
940 ac_init_version
=false
941 ac_unrecognized_opts
=
943 # The variables have the same names as the options, with
944 # dashes changed to underlines.
952 program_transform_name
=s
,x
,x
,
960 # Installation directory options.
961 # These are left unexpanded so users can "make install exec_prefix=/foo"
962 # and all the variables that are supposed to be based on exec_prefix
963 # by default will actually change.
964 # Use braces instead of parens because sh, perl, etc. also accept them.
965 # (The list follows the same order as the GNU Coding Standards.)
966 bindir
='${exec_prefix}/bin'
967 sbindir
='${exec_prefix}/sbin'
968 libexecdir
='${exec_prefix}/libexec'
969 datarootdir
='${prefix}/share'
970 datadir
='${datarootdir}'
971 sysconfdir
='${prefix}/etc'
972 sharedstatedir
='${prefix}/com'
973 localstatedir
='${prefix}/var'
974 includedir
='${prefix}/include'
975 oldincludedir
='/usr/include'
976 docdir
='${datarootdir}/doc/${PACKAGE}'
977 infodir
='${datarootdir}/info'
982 libdir
='${exec_prefix}/lib'
983 localedir
='${datarootdir}/locale'
984 mandir
='${datarootdir}/man'
990 # If the previous option needs an argument, assign it.
991 if test -n "$ac_prev"; then
992 eval $ac_prev=\
$ac_option
998 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003 # Accept the important Cygnus configure options, so we can diagnose typos.
1005 case $ac_dashdash$ac_option in
1009 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1011 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1012 bindir
=$ac_optarg ;;
1014 -build |
--build |
--buil |
--bui |
--bu)
1015 ac_prev
=build_alias
;;
1016 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1017 build_alias
=$ac_optarg ;;
1019 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1020 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1021 ac_prev
=cache_file
;;
1022 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1023 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1024 cache_file
=$ac_optarg ;;
1026 --config-cache |
-C)
1027 cache_file
=config.cache
;;
1029 -datadir |
--datadir |
--datadi |
--datad)
1031 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1032 datadir
=$ac_optarg ;;
1034 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1035 |
--dataroo |
--dataro |
--datar)
1036 ac_prev
=datarootdir
;;
1037 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1038 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1039 datarootdir
=$ac_optarg ;;
1041 -disable-* |
--disable-*)
1042 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error $?
"invalid feature name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_
$ac_useropt"
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval enable_
$ac_useropt=no
;;
1057 -docdir |
--docdir |
--docdi |
--doc |
--do)
1059 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1060 docdir
=$ac_optarg ;;
1062 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1064 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1065 dvidir
=$ac_optarg ;;
1067 -enable-* |
--enable-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error $?
"invalid feature name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1076 "enable_
$ac_useropt"
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval enable_
$ac_useropt=\
$ac_optarg ;;
1083 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1084 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1085 |
--exec |
--exe |
--ex)
1086 ac_prev
=exec_prefix
;;
1087 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1088 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1089 |
--exec=* |
--exe=* |
--ex=*)
1090 exec_prefix
=$ac_optarg ;;
1092 -gas |
--gas |
--ga |
--g)
1093 # Obsolete; use --with-gas.
1096 -help |
--help |
--hel |
--he |
-h)
1097 ac_init_help
=long
;;
1098 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1099 ac_init_help
=recursive
;;
1100 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1101 ac_init_help
=short
;;
1103 -host |
--host |
--hos |
--ho)
1104 ac_prev
=host_alias
;;
1105 -host=* |
--host=* |
--hos=* |
--ho=*)
1106 host_alias
=$ac_optarg ;;
1108 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1110 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1112 htmldir
=$ac_optarg ;;
1114 -includedir |
--includedir |
--includedi |
--included |
--include \
1115 |
--includ |
--inclu |
--incl |
--inc)
1116 ac_prev
=includedir
;;
1117 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1118 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1119 includedir
=$ac_optarg ;;
1121 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1123 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1124 infodir
=$ac_optarg ;;
1126 -libdir |
--libdir |
--libdi |
--libd)
1128 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1129 libdir
=$ac_optarg ;;
1131 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1132 |
--libexe |
--libex |
--libe)
1133 ac_prev
=libexecdir
;;
1134 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1135 |
--libexe=* |
--libex=* |
--libe=*)
1136 libexecdir
=$ac_optarg ;;
1138 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1139 ac_prev
=localedir
;;
1140 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1141 localedir
=$ac_optarg ;;
1143 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1144 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1145 ac_prev
=localstatedir
;;
1146 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1147 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1148 localstatedir
=$ac_optarg ;;
1150 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1152 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1153 mandir
=$ac_optarg ;;
1155 -nfp |
--nfp |
--nf)
1156 # Obsolete; use --without-fp.
1159 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1160 |
--no-cr |
--no-c |
-n)
1163 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1164 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1167 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1168 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1169 |
--oldin |
--oldi |
--old |
--ol |
--o)
1170 ac_prev
=oldincludedir
;;
1171 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1172 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1173 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1174 oldincludedir
=$ac_optarg ;;
1176 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1178 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1179 prefix
=$ac_optarg ;;
1181 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1182 |
--program-pre |
--program-pr |
--program-p)
1183 ac_prev
=program_prefix
;;
1184 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1185 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1186 program_prefix
=$ac_optarg ;;
1188 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1189 |
--program-suf |
--program-su |
--program-s)
1190 ac_prev
=program_suffix
;;
1191 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1192 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1193 program_suffix
=$ac_optarg ;;
1195 -program-transform-name |
--program-transform-name \
1196 |
--program-transform-nam |
--program-transform-na \
1197 |
--program-transform-n |
--program-transform- \
1198 |
--program-transform |
--program-transfor \
1199 |
--program-transfo |
--program-transf \
1200 |
--program-trans |
--program-tran \
1201 |
--progr-tra |
--program-tr |
--program-t)
1202 ac_prev
=program_transform_name
;;
1203 -program-transform-name=* |
--program-transform-name=* \
1204 |
--program-transform-nam=* |
--program-transform-na=* \
1205 |
--program-transform-n=* |
--program-transform-=* \
1206 |
--program-transform=* |
--program-transfor=* \
1207 |
--program-transfo=* |
--program-transf=* \
1208 |
--program-trans=* |
--program-tran=* \
1209 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1210 program_transform_name
=$ac_optarg ;;
1212 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1214 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1215 pdfdir
=$ac_optarg ;;
1217 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1219 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1223 |
-silent |
--silent |
--silen |
--sile |
--sil)
1226 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1228 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1230 sbindir
=$ac_optarg ;;
1232 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1233 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1234 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1236 ac_prev
=sharedstatedir
;;
1237 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1238 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1239 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1241 sharedstatedir
=$ac_optarg ;;
1243 -site |
--site |
--sit)
1245 -site=* |
--site=* |
--sit=*)
1248 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1250 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1251 srcdir
=$ac_optarg ;;
1253 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1254 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1255 ac_prev
=sysconfdir
;;
1256 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1257 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1258 sysconfdir
=$ac_optarg ;;
1260 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1261 ac_prev
=target_alias
;;
1262 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1263 target_alias
=$ac_optarg ;;
1265 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1268 -version |
--version |
--versio |
--versi |
--vers |
-V)
1269 ac_init_version
=: ;;
1272 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1275 as_fn_error $?
"invalid package name: $ac_useropt"
1276 ac_useropt_orig
=$ac_useropt
1277 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep
=', ';;
1285 eval with_
$ac_useropt=\
$ac_optarg ;;
1287 -without-* |
--without-*)
1288 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 as_fn_error $?
"invalid package name: $ac_useropt"
1292 ac_useropt_orig
=$ac_useropt
1293 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1298 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1299 ac_unrecognized_sep
=', ';;
1301 eval with_
$ac_useropt=no
;;
1304 # Obsolete; use --with-x.
1307 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1308 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1309 ac_prev
=x_includes
;;
1310 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1311 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1312 x_includes
=$ac_optarg ;;
1314 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1315 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1316 ac_prev
=x_libraries
;;
1317 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1318 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1319 x_libraries
=$ac_optarg ;;
1321 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1322 Try \`$0 --help' for more information"
1326 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1327 # Reject names that are not valid shell variable names.
1328 case $ac_envvar in #(
1329 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1330 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1332 eval $ac_envvar=\
$ac_optarg
1333 export $ac_envvar ;;
1336 # FIXME: should be removed in autoconf 3.0.
1337 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1338 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1339 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1340 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1346 if test -n "$ac_prev"; then
1347 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1348 as_fn_error $?
"missing argument to $ac_option"
1351 if test -n "$ac_unrecognized_opts"; then
1352 case $enable_option_checking in
1354 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1355 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1359 # Check all directory arguments for consistency.
1360 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1361 datadir sysconfdir sharedstatedir localstatedir includedir \
1362 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1363 libdir localedir mandir
1365 eval ac_val
=\$
$ac_var
1366 # Remove trailing slashes.
1369 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1370 eval $ac_var=\
$ac_val;;
1372 # Be sure to have absolute directory names.
1374 [\\/$
]* | ?
:[\\/]* ) continue;;
1375 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1377 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1380 # There might be people who depend on the old broken behavior: `$host'
1381 # used to hold the argument of --host etc.
1382 # FIXME: To remove some day.
1385 target
=$target_alias
1387 # FIXME: To remove some day.
1388 if test "x$host_alias" != x
; then
1389 if test "x$build_alias" = x
; then
1390 cross_compiling
=maybe
1391 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1392 If a cross compiler is detected then cross compile mode will be used" >&2
1393 elif test "x$build_alias" != "x$host_alias"; then
1399 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1401 test "$silent" = yes && exec 6>/dev
/null
1404 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1405 ac_ls_di
=`ls -di .` &&
1406 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1407 as_fn_error $?
"working directory cannot be determined"
1408 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1409 as_fn_error $?
"pwd does not report name of working directory"
1412 # Find the source files, if location was not specified.
1413 if test -z "$srcdir"; then
1414 ac_srcdir_defaulted
=yes
1415 # Try the directory containing this script, then the parent directory.
1416 ac_confdir
=`$as_dirname -- "$as_myself" ||
1417 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1418 X"$as_myself" : 'X\(//\)[^/]' \| \
1419 X"$as_myself" : 'X\(//\)$' \| \
1420 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1421 $as_echo X"$as_myself" |
1422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1440 if test ! -r "$srcdir/$ac_unique_file"; then
1444 ac_srcdir_defaulted
=no
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1447 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1448 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1450 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1452 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1454 # When building in place, set srcdir=.
1455 if test "$ac_abs_confdir" = "$ac_pwd"; then
1458 # Remove unnecessary trailing slashes from srcdir.
1459 # Double slashes in file names in object file debugging info
1460 # mess up M-x gdb in Emacs.
1462 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 for ac_var
in $ac_precious_vars; do
1465 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1466 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1467 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1468 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1472 # Report the --help message.
1474 if test "$ac_init_help" = "long"; then
1475 # Omit some internal or obsolete options to make the list less imposing.
1476 # This message is too long to be a string in the A/UX 3.1 sh.
1478 \`configure' configures this package to adapt to many kinds of systems.
1480 Usage: $0 [OPTION]... [VAR=VALUE]...
1482 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1483 VAR=VALUE. See below for descriptions of some of the useful variables.
1485 Defaults for the options are specified in brackets.
1488 -h, --help display this help and exit
1489 --help=short display options specific to this package
1490 --help=recursive display the short help of all the included packages
1491 -V, --version display version information and exit
1492 -q, --quiet, --silent do not print \`checking ...' messages
1493 --cache-file=FILE cache test results in FILE [disabled]
1494 -C, --config-cache alias for \`--cache-file=config.cache'
1495 -n, --no-create do not create output files
1496 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1498 Installation directories:
1499 --prefix=PREFIX install architecture-independent files in PREFIX
1500 [$ac_default_prefix]
1501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1504 By default, \`make install' will install all the files in
1505 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1506 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1507 for instance \`--prefix=\$HOME'.
1509 For better control, use the options below.
1511 Fine tuning of the installation directories:
1512 --bindir=DIR user executables [EPREFIX/bin]
1513 --sbindir=DIR system admin executables [EPREFIX/sbin]
1514 --libexecdir=DIR program executables [EPREFIX/libexec]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1522 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1523 --infodir=DIR info documentation [DATAROOTDIR/info]
1524 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1525 --mandir=DIR man documentation [DATAROOTDIR/man]
1526 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1527 --htmldir=DIR html documentation [DOCDIR]
1528 --dvidir=DIR dvi documentation [DOCDIR]
1529 --pdfdir=DIR pdf documentation [DOCDIR]
1530 --psdir=DIR ps documentation [DOCDIR]
1536 --program-prefix=PREFIX prepend PREFIX to installed program names
1537 --program-suffix=SUFFIX append SUFFIX to installed program names
1538 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1541 --build=BUILD configure
for building on BUILD
[guessed
]
1542 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1543 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1547 if test -n "$ac_init_help"; then
1552 --disable-option-checking ignore unrecognized
--enable/--with options
1553 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1554 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1555 --disable-builddir disable automatic build
in subdir of sources
1557 --disable-thread-safe disable thread-safe libtool option
1559 --disable-dependency-tracking speeds up one-time build
1560 --enable-dependency-tracking do not reject slow dependency extractors
1561 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1562 --enable-static[=PKGS
] build static libraries
[default
=yes]
1563 --enable-fast-install[=PKGS
]
1564 optimize
for fast installation
[default
=yes]
1565 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1566 --enable-maintainer-mode enable make rules and dependencies not useful
1567 (and sometimes confusing
) to the casual installer
1568 --disable-largefile omit support
for large files
1569 --disable-mmap disable mmap usage
1571 --enable-sdl enable SDL usage
(if present
)
1573 --enable-frame-pointer enable callframe generation
for debugging
1574 --enable-default-pkgconfigdir(=PATH
) override the libdir
/pkgconfig default
1575 --enable-default-aclocaldir(=PATH
) override the datadir
/aclocal default
1578 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1579 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1580 --with-zlib zlib prefix
(e.g.
'$HOME/software')
1582 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1584 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1585 --with-largefile compile as off64_t instead of
32bit off_t
1587 --with-docdir docdir prefix
(prefix
/share
/doc
)
1589 --with-debug debug messages
in library
1591 --with-lowstk limited thread stack
1593 --with-defines easy
,harden
,allow_modulo_entries
1595 Some influential environment variables
:
1596 CC C compiler
command
1597 CFLAGS C compiler flags
1598 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1599 nonstandard directory
<lib dir
>
1600 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1601 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1602 you have headers
in a nonstandard directory
<include dir
>
1605 Use these variables to override the choices made by
`configure' or to help
1606 it to find libraries and programs with nonstandard names/locations.
1608 Report bugs to the package provider.
1613 if test "$ac_init_help" = "recursive"; then
1614 # If there are subdirs, report their specific --help.
1615 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1616 test -d "$ac_dir" ||
1617 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1622 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1625 # A ".." for each directory in $ac_dir_suffix.
1626 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1627 case $ac_top_builddir_sub in
1628 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1632 ac_abs_top_builddir=$ac_pwd
1633 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1634 # for backward compatibility:
1635 ac_top_builddir=$ac_top_build_prefix
1638 .) # We are building in place.
1640 ac_top_srcdir=$ac_top_builddir_sub
1641 ac_abs_top_srcdir=$ac_pwd ;;
1642 [\\/]* | ?:[\\/]* ) # Absolute name.
1643 ac_srcdir=$srcdir$ac_dir_suffix;
1644 ac_top_srcdir=$srcdir
1645 ac_abs_top_srcdir=$srcdir ;;
1647 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1648 ac_top_srcdir=$ac_top_build_prefix$srcdir
1649 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1651 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1653 cd "$ac_dir" || { ac_status=$?; continue; }
1654 # Check for guested configure.
1655 if test -f "$ac_srcdir/configure.gnu"; then
1657 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1658 elif test -f "$ac_srcdir/configure"; then
1660 $SHELL "$ac_srcdir/configure" --help=recursive
1662 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1664 cd "$ac_pwd" || { ac_status=$?; break; }
1668 test -n "$ac_init_help" && exit $ac_status
1669 if $ac_init_version; then
1672 generated by GNU Autoconf 2.68
1674 Copyright (C) 2010 Free Software Foundation, Inc.
1675 This configure script is free software; the Free Software Foundation
1676 gives unlimited permission to copy, distribute and modify it.
1678 Guido Draheim <guido@gmx.de> for ZZipLib.SF.net
1683 ## ------------------------ ##
1684 ## Autoconf initialization. ##
1685 ## ------------------------ ##
1687 # ac_fn_c_try_compile LINENO
1688 # --------------------------
1689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690 ac_fn_c_try_compile ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1703 if test -s conftest.err
; then
1704 grep -v '^ *+' conftest.err
>conftest.er1
1705 cat conftest.er1
>&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.
$ac_objext; then :
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.
$ac_ext >&5
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status
$ac_retval
1723 } # ac_fn_c_try_compile
1725 # ac_fn_c_try_link LINENO
1726 # -----------------------
1727 # Try to link conftest.$ac_ext, and return whether this succeeded.
1730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1731 rm -f conftest.
$ac_objext conftest
$ac_exeext
1732 if { { ac_try
="$ac_link"
1734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_link") 2>conftest.err
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest$ac_exeext && {
1751 test "$cross_compiling" = yes ||
1752 $as_test_x conftest$ac_exeext
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1761 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1762 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1763 # interfere with the next link command; also delete a directory that is
1764 # left behind by Apple's compiler. We do this before executing the actions.
1765 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 as_fn_set_status $ac_retval
1769 } # ac_fn_c_try_link
1771 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1772 # -------------------------------------------------------
1773 # Tests whether HEADER exists and can be compiled using the include files in
1774 # INCLUDES, setting the cache variable VAR accordingly.
1775 ac_fn_c_check_header_compile ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781 $as_echo_n "(cached) " >&6
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1788 if ac_fn_c_try_compile "$LINENO"; then :
1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1797 $as_echo "$ac_res" >&6; }
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 } # ac_fn_c_check_header_compile
1802 # ac_fn_c_try_cpp LINENO
1803 # ----------------------
1804 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 if { { ac_try="$ac_cpp conftest.$ac_ext"
1810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1811 *) ac_try_echo
=$ac_try;;
1813 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1817 if test -s conftest.err
; then
1818 grep -v '^ *+' conftest.err
>conftest.er1
1819 cat conftest.er1
>&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } > conftest.i
&& {
1824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1825 test ! -s conftest.err
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status
$ac_retval
1839 # ac_fn_c_try_run LINENO
1840 # ----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1842 # that executables *can* be run.
1845 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1846 if { { ac_try
="$ac_link"
1848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1857 { { case "(($ac_try" in
1858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1859 *) ac_try_echo
=$ac_try;;
1861 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_try") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; }; }; then :
1869 $as_echo "$as_me: program exited with status $ac_status" >&5
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.
$ac_ext >&5
1873 ac_retval
=$ac_status
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status
$ac_retval
1881 # ac_fn_c_check_func LINENO FUNC VAR
1882 # ----------------------------------
1883 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1884 ac_fn_c_check_func
()
1886 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \
${$3+:} false
; then :
1890 $as_echo_n "(cached) " >&6
1892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1894 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1896 #define $2 innocuous_$2
1898 /* System header to define __stub macros and hopefully few prototypes,
1899 which can conflict with char $2 (); below.
1900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1901 <limits.h> exists even on freestanding compilers. */
1904 # include <limits.h>
1906 # include <assert.h>
1911 /* Override any GCC internal prototype to avoid an error.
1912 Use char because int might match the return type of a GCC
1913 builtin and then its argument prototype would still apply. */
1918 /* The GNU C library defines this for functions which it implements
1919 to always fail with ENOSYS. Some functions are actually named
1920 something starting with __ and the normal name is an alias. */
1921 #if defined __stub_$2 || defined __stub___$2
1933 if ac_fn_c_try_link
"$LINENO"; then :
1938 rm -f core conftest.err conftest.
$ac_objext \
1939 conftest
$ac_exeext conftest.
$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946 } # ac_fn_c_check_func
1948 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1949 # -------------------------------------------------------
1950 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1951 # the include files in INCLUDES and setting the cache variable VAR
1953 ac_fn_c_check_header_mongrel
()
1955 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1956 if eval \
${$3+:} false
; then :
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if eval \
${$3+:} false
; then :
1960 $as_echo_n "(cached) " >&6
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1966 # Is the header compilable?
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1968 $as_echo_n "checking $2 usability... " >&6; }
1969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1974 if ac_fn_c_try_compile
"$LINENO"; then :
1975 ac_header_compiler
=yes
1977 ac_header_compiler
=no
1979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1981 $as_echo "$ac_header_compiler" >&6; }
1983 # Is the header present?
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1985 $as_echo_n "checking $2 presence... " >&6; }
1986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1990 if ac_fn_c_try_cpp
"$LINENO"; then :
1991 ac_header_preproc
=yes
1993 ac_header_preproc
=no
1995 rm -f conftest.err conftest.i conftest.
$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1997 $as_echo "$ac_header_preproc" >&6; }
1999 # So? What about this header?
2000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2003 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2005 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2009 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2011 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2013 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2015 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2017 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021 $as_echo_n "checking for $2... " >&6; }
2022 if eval \
${$3+:} false
; then :
2023 $as_echo_n "(cached) " >&6
2025 eval "$3=\$ac_header_compiler"
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 $as_echo "$ac_res" >&6; }
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 } # ac_fn_c_check_header_mongrel
2035 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2036 # -------------------------------------------
2037 # Tests whether TYPE exists after having included INCLUDES, setting cache
2038 # variable VAR accordingly.
2039 ac_fn_c_check_type
()
2041 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if eval \
${$3+:} false
; then :
2045 $as_echo_n "(cached) " >&6
2048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2073 if ac_fn_c_try_compile
"$LINENO"; then :
2078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084 $as_echo "$ac_res" >&6; }
2085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087 } # ac_fn_c_check_type
2088 cat >config.log
<<_ACEOF
2089 This file contains any messages produced by compilers while
2090 running configure, to aid debugging if configure makes a mistake.
2092 It was created by $as_me, which was
2093 generated by GNU Autoconf 2.68. Invocation command line was
2105 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2106 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2107 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2108 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2109 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2111 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2112 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2114 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2115 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2116 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2117 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2118 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2119 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2120 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir
=.
2129 $as_echo "PATH: $as_dir"
2145 # Keep a trace of the command line.
2146 # Strip out --no-create and --no-recursion so they do not pile up.
2147 # Strip out --silent because we don't want to record it for future runs.
2148 # Also quote any args containing shell meta-characters.
2149 # Make two passes to allow for proper duplicate-argument suppression.
2153 ac_must_keep_next
=false
2159 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2160 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2161 |
-silent |
--silent |
--silen |
--sile |
--sil)
2164 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2167 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2169 as_fn_append ac_configure_args1
" '$ac_arg'"
2170 if test $ac_must_keep_next = true
; then
2171 ac_must_keep_next
=false
# Got value, back to normal.
2174 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2175 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2176 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2177 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2178 case "$ac_configure_args0 " in
2179 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2182 -* ) ac_must_keep_next
=true
;;
2185 as_fn_append ac_configure_args
" '$ac_arg'"
2190 { ac_configure_args0
=; unset ac_configure_args0
;}
2191 { ac_configure_args1
=; unset ac_configure_args1
;}
2193 # When interrupted or exit'd, cleanup temporary files, and complete
2194 # config.log. We remove comments because anyway the quotes in there
2195 # would cause problems or look ugly.
2196 # WARNING: Use '\'' to represent an apostrophe within the trap.
2197 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2198 trap 'exit_status=$?
2199 # Save into config.log some information that might help in debugging.
2203 $as_echo "## ---------------- ##
2204 ## Cache variables. ##
2205 ## ---------------- ##"
2207 # The following way of writing the cache mishandles newlines in values,
2209 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2210 eval ac_val=\$$ac_var
2214 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2215 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2218 _ | IFS | as_nl) ;; #(
2219 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2220 *) { eval $ac_var=; unset $ac_var;} ;;
2225 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2226 *${as_nl}ac_space=\ *)
2228 "s/'\''/'\''\\\\'\'''\''/g;
2229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2232 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2239 $as_echo "## ----------------- ##
2240 ## Output variables. ##
2241 ## ----------------- ##"
2243 for ac_var in $ac_subst_vars
2245 eval ac_val=\$$ac_var
2247 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249 $as_echo "$ac_var='\''$ac_val'\''"
2253 if test -n "$ac_subst_files"; then
2254 $as_echo "## ------------------- ##
2255 ## File substitutions. ##
2256 ## ------------------- ##"
2258 for ac_var
in $ac_subst_files
2260 eval ac_val
=\$
$ac_var
2262 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 $as_echo "$ac_var='\''$ac_val'\''"
2269 if test -s confdefs.h; then
2270 $as_echo "## ----------- ##
2277 test "$ac_signal" != 0 &&
2278 $as_echo "$as_me: caught signal $ac_signal"
2279 $as_echo "$as_me: exit $exit_status"
2281 rm -f core *.core core.conftest.* &&
2282 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2285 for ac_signal
in 1 2 13 15; do
2286 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2290 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2291 rm -f -r conftest
* confdefs.h
2293 $as_echo "/* confdefs.h */" > confdefs.h
2295 # Predefined preprocessor variables.
2297 cat >>confdefs.h
<<_ACEOF
2298 #define PACKAGE_NAME "$PACKAGE_NAME"
2301 cat >>confdefs.h
<<_ACEOF
2302 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2305 cat >>confdefs.h
<<_ACEOF
2306 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2309 cat >>confdefs.h
<<_ACEOF
2310 #define PACKAGE_STRING "$PACKAGE_STRING"
2313 cat >>confdefs.h
<<_ACEOF
2314 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2317 cat >>confdefs.h
<<_ACEOF
2318 #define PACKAGE_URL "$PACKAGE_URL"
2322 # Let the site file select an alternate cache file if it wants to.
2323 # Prefer an explicitly selected file to automatically selected ones.
2326 if test -n "$CONFIG_SITE"; then
2327 # We do not want a PATH search for config.site.
2328 case $CONFIG_SITE in #((
2329 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2330 */*) ac_site_file1
=$CONFIG_SITE;;
2331 *) ac_site_file1
=.
/$CONFIG_SITE;;
2333 elif test "x$prefix" != xNONE
; then
2334 ac_site_file1
=$prefix/share
/config.site
2335 ac_site_file2
=$prefix/etc
/config.site
2337 ac_site_file1
=$ac_default_prefix/share
/config.site
2338 ac_site_file2
=$ac_default_prefix/etc
/config.site
2340 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2342 test "x$ac_site_file" = xNONE
&& continue
2343 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2345 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2346 sed 's/^/| /' "$ac_site_file" >&5
2348 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 as_fn_error $?
"failed to load site script $ac_site_file
2351 See \`config.log' for more details" "$LINENO" 5; }
2355 if test -r "$cache_file"; then
2356 # Some versions of bash will fail to source /dev/null (special files
2357 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2358 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2360 $as_echo "$as_me: loading cache $cache_file" >&6;}
2362 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2363 *) .
"./$cache_file";;
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2368 $as_echo "$as_me: creating cache $cache_file" >&6;}
2372 # Check that the precious variables saved in the cache have kept the same
2374 ac_cache_corrupted
=false
2375 for ac_var
in $ac_precious_vars; do
2376 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2377 eval ac_new_set
=\
$ac_env_${ac_var}_set
2378 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2379 eval ac_new_val
=\
$ac_env_${ac_var}_value
2380 case $ac_old_set,$ac_new_set in
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2383 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2384 ac_cache_corrupted
=: ;;
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2387 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2388 ac_cache_corrupted
=: ;;
2391 if test "x$ac_old_val" != "x$ac_new_val"; then
2392 # differences in whitespace do not lead to failure.
2393 ac_old_val_w
=`echo x $ac_old_val`
2394 ac_new_val_w
=`echo x $ac_new_val`
2395 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2397 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2398 ac_cache_corrupted
=:
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2401 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2402 eval $ac_var=\
$ac_old_val
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2405 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2407 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2410 # Pass precious variables to config.status.
2411 if test "$ac_new_set" = set; then
2413 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2414 *) ac_arg
=$ac_var=$ac_new_val ;;
2416 case " $ac_configure_args " in
2417 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2418 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2422 if $ac_cache_corrupted; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2426 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2427 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2429 ## -------------------- ##
2430 ## Main body of script. ##
2431 ## -------------------- ##
2434 ac_cpp
='$CPP $CPPFLAGS'
2435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2444 for ac_dir
in uses
"$srcdir"/uses
; do
2445 if test -f "$ac_dir/install-sh"; then
2447 ac_install_sh
="$ac_aux_dir/install-sh -c"
2449 elif test -f "$ac_dir/install.sh"; then
2451 ac_install_sh
="$ac_aux_dir/install.sh -c"
2453 elif test -f "$ac_dir/shtool"; then
2455 ac_install_sh
="$ac_aux_dir/shtool install -c"
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in uses \"$srcdir\"/uses" "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2473 # =======================================================================
2474 # Make sure we can run config.sub.
2475 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2476 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2479 $as_echo_n "checking build system type... " >&6; }
2480 if ${ac_cv_build+:} false
; then :
2481 $as_echo_n "(cached) " >&6
2483 ac_build_alias
=$build_alias
2484 test "x$ac_build_alias" = x
&&
2485 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2486 test "x$ac_build_alias" = x
&&
2487 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2488 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2489 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2493 $as_echo "$ac_cv_build" >&6; }
2494 case $ac_cv_build in
2496 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2499 ac_save_IFS
=$IFS; IFS
='-'
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2509 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2513 $as_echo_n "checking host system type... " >&6; }
2514 if ${ac_cv_host+:} false
; then :
2515 $as_echo_n "(cached) " >&6
2517 if test "x$host_alias" = x
; then
2518 ac_cv_host
=$ac_cv_build
2520 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2521 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2526 $as_echo "$ac_cv_host" >&6; }
2529 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2532 ac_save_IFS
=$IFS; IFS
='-'
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2542 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2546 $as_echo_n "checking target system type... " >&6; }
2547 if ${ac_cv_target+:} false
; then :
2548 $as_echo_n "(cached) " >&6
2550 if test "x$target_alias" = x
; then
2551 ac_cv_target
=$ac_cv_host
2553 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2554 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2559 $as_echo "$ac_cv_target" >&6; }
2560 case $ac_cv_target in
2562 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2564 target
=$ac_cv_target
2565 ac_save_IFS
=$IFS; IFS
='-'
2571 # Remember, the first character of IFS is used to create $*,
2572 # except with old shells:
2575 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2578 # The aliases save the names the user supplied, while $host etc.
2579 # will get canonicalized.
2580 test -n "$target_alias" &&
2581 test "$program_prefix$program_suffix$program_transform_name" = \
2583 program_prefix
=${target_alias}-
2586 # [$]@ is unsable in 2.60+ but earlier autoconf had no ac_configure_args
2587 if test "${ac_configure_args+set}" != "set" ; then
2589 for ac_arg
in ${1+"$@"}; do
2590 ac_configure_args
="$ac_configure_args '$ac_arg'"
2595 ax_enable_builddir
="."
2596 # Check whether --enable-builddir was given.
2597 if test "${enable_builddir+set}" = set; then :
2598 enableval
=$enable_builddir; ax_enable_builddir
="$enableval"
2600 ax_enable_builddir
="yes"
2603 if test ".$ac_srcdir_defaulted" != ".no" ; then
2604 if test ".$srcdir" = ".." ; then
2605 if test -f config.status
; then
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: toplevel srcdir already configured... skipping subdir build" >&5
2607 $as_echo "$as_me: toplevel srcdir already configured... skipping subdir build" >&6;}
2609 test ".$ax_enable_builddir" = "." && ax_enable_builddir
="."
2610 test ".$ax_enable_builddir" = ".no" && ax_enable_builddir
="."
2611 test ".$BUILD" = "." && BUILD
=`uname -msr | tr " /" "__"`.d
2612 test ".$ax_enable_builddir" = ".yes" && ax_enable_builddir
="$BUILD"
2613 if test ".$ax_enable_builddir" != ".." ; then # we know where to go and
2614 as_dir
=$ax_enable_builddir; as_fn_mkdir_p
2615 echo __.
$ax_enable_builddir.__
> $ax_enable_builddir/conftest.tmp
2616 cd $ax_enable_builddir
2617 if grep __.
$ax_enable_builddir.__ conftest.tmp
>/dev
/null
2>/dev
/null
; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: continue configure in default builddir \"./$ax_enable_builddir\"" >&5
2620 $as_echo "continue configure in default builddir \"./$ax_enable_builddir\"" >&6; }
2622 as_fn_error $?
"could not change to default builddir \"./$ax_enable_builddir\"" "$LINENO" 5
2624 srcdir
=`echo "$ax_enable_builddir" |
2625 sed -e 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g;s,[/]$,,;'`
2626 # going to restart from subdirectory location
2627 test -f $srcdir/config.log
&& mv $srcdir/config.log .
2628 test -f $srcdir/confdefs.h
&& mv $srcdir/confdefs.h .
2629 test -f $srcdir/conftest.log
&& mv $srcdir/conftest.log .
2630 test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ....exec $SHELL \"$srcdir/$0\" \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" $ac_configure_args" >&5
2632 $as_echo "....exec $SHELL \"$srcdir/$0\" \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" $ac_configure_args" >&6; }
2633 case "$0" in # restart
2634 /\\*) eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2635 *) eval $SHELL "'$srcdir/$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2640 # Extract the first word of "gsed sed", so it can be a program name with args.
2641 set dummy gsed
sed; ac_word
=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_path_ax_enable_builddir_sed+:} false
; then :
2645 $as_echo_n "(cached) " >&6
2647 case $ax_enable_builddir_sed in
2649 ac_cv_path_ax_enable_builddir_sed
="$ax_enable_builddir_sed" # Let the user override the test with a path.
2652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir
=.
2657 for ac_exec_ext
in '' $ac_executable_extensions; do
2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659 ac_cv_path_ax_enable_builddir_sed
="$as_dir/$ac_word$ac_exec_ext"
2660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 test -z "$ac_cv_path_ax_enable_builddir_sed" && ac_cv_path_ax_enable_builddir_sed
="sed"
2671 ax_enable_builddir_sed
=$ac_cv_path_ax_enable_builddir_sed
2672 if test -n "$ax_enable_builddir_sed"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_enable_builddir_sed" >&5
2674 $as_echo "$ax_enable_builddir_sed" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2681 ac_config_commands
="$ac_config_commands buildir"
2683 # --------------------------------------------
2684 case "$prefix:$ac_default_prefix" in
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default prefix path" >&5
2688 $as_echo_n "checking default prefix path... " >&6; }
2689 case "${target_os}" in
2690 *cygwin
* |
*mingw
* |
*uwin
* |
*djgpp |
*emx
* )
2691 if test "${host_os}" = "${target_os}" ; then
2692 ac_default_prefix
="/programs"
2693 result
="(win/dos target)"
2696 *:/usr
/local
/cross-tools
/$target_alias/bin
:*)
2697 ac_default_prefix
="/usr/local/cross-tools/$target_alias" ;;
2698 *:/usr
/local
/$target_alias/bin
:*)
2699 ac_default_prefix
="/usr/local/$target_alias" ;;
2700 *:/usr
/local
/$target_cpu-$target_os/bin
:*)
2701 ac_default_prefix
="/usr/local/$target_cpu-$target_os" ;;
2703 ac_default_prefix
="/programs" ;;
2705 result
="(win/dos cross-compiler)"
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_default_prefix $result" >&5
2710 $as_echo "$ac_default_prefix $result" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default prefix system" >&5
2714 $as_echo_n "checking default prefix system... " >&6; }
2715 result
="$prefix" ; test "$result" = "NONE" && result
="$ac_default_prefix"
2717 /programs |
/programs
/*) result
="is win-/programs"
2718 # on win/dos, .exe .dll and .cfg live in the same directory
2719 libdir
=`echo $libdir |sed -e 's:^..exec_prefix./lib$:${bindir}:'`
2720 sbindir
=`echo $sbindir |sed -e 's:^..exec_prefix./sbin$:${libdir}:'`
2721 sysconfdir
=`echo $sysconfdir |sed -e 's:^..prefix./etc$:${sbindir}:'`
2722 libexecdir
=`echo $libexecdir |sed -e 's:/libexec$:/system:'`
2723 # help-files shall be set with --infodir, docprefix is datadir
2724 docprefix
="${datadir}"
2725 mandir
=`echo $mandir \
2726 |sed -e 's:^..prefix./man$:${datadir}/info:'`
2727 includedir
=`echo $includedir \
2728 |sed -e 's:^..prefix./include$:${datadir}/include:'`
2729 # other state files (but /etc) are moved to datadir
2730 sharedstatedir
=`echo $sharedstatedir \
2731 |sed -e 's:^..prefix./com$:${datadir}/default:'`
2732 localstatedir
=`echo $localstatedir \
2733 |sed -e 's:^..prefix./var$:${datadir}/current:'`
2735 /usr
) result
="is /usr-shipped"
2736 # doc files are left at prefix
2737 docprefix
="${prefix}"
2738 # state files go under /top
2739 sysconfdir
=`echo $sysconfdir |sed -e 's:^..prefix./etc$:/etc:'`
2740 sharedstatedir
=`echo $sharedstatedir \
2741 |sed -e 's:^..prefix./com$:/etc/default:'`
2742 # $prefix/var is going to end up in /var/lib
2743 localstatedir
=`echo $localstatedir \
2744 |sed -e 's:^..prefix./var$:/var/lib:'`
2746 /opt |
/opt
/*) result
="is /opt-package"
2747 # state files go under /top/prefix
2748 sysconfdir
=`echo $sysconfdir \
2749 |sed -e 's:^..prefix./etc$:/etc${prefix}:'`
2750 sharedstatedir
=`echo $sharedstatedir \
2751 |sed -e 's:^..prefix./com$:/etc/default${prefix}:'`
2752 # $prefix/var is going to to be /var$prefix... once again
2753 localstatedir
=`echo $localstatedir \
2754 |sed -e 's:^..prefix./var$:/var${prefix}:'`
2755 # doc files are left at prefix
2756 docprefix
="${prefix}"
2758 *) result
="is /local-package"
2759 # doc files are moved from prefix down to datadir
2760 docprefix
="${datadir}"
2761 mandir
=`echo $mandir \
2762 |sed -e 's:^..prefix./man$:${datadir}/man:'`
2763 infodir
=`echo $infodir \
2764 |sed -e 's:^..prefix./infodir$:${datadir}/info:'`
2765 # never use $prefix/com - that is no good idea
2766 sharedstatedir
=`echo $sharedstatedir \
2767 |sed -e 's:^..prefix./com$:${sysconfdir}/default:'`
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
2771 $as_echo "$result" >&6; }
2772 # --------------------------------------------------------
2774 # -----------------------------------------------------------------------
2775 # Check whether --enable-thread-safe was given.
2776 if test "${enable_thread_safe+set}" = set; then :
2777 enableval
=$enable_thread_safe;
2779 enable_thread_safe
="yes"
2783 test "$enable_thread_safe" = "yes" && THREAD_SAFE
="-thread-safe"
2784 test "$enable_thread_safe" = "$host_os" && THREAD_SAFE
="-thread-safe"
2786 if test -n "$THREAD_SAFE" ; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...using thread-safe linkage" >&5
2788 $as_echo "...using thread-safe linkage" >&6; }
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled thread-safe linkage" >&5
2791 $as_echo "disabled thread-safe linkage" >&6; }
2793 # ----------------------------------------------------------------
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking zlib install prefix" >&5
2795 $as_echo_n "checking zlib install prefix... " >&6; }
2797 # Check whether --with-zlib was given.
2798 if test "${with_zlib+set}" = set; then :
2804 if test "${with_zlib}" = yes ; then # choose --prefix paths
2805 if test "${prefix}" = NONE
; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, but only itself..." >&5
2807 $as_echo "oops, but only itself..." >&6; }
2808 as_fn_error $?
"--with-zlib requires a path argument or a --prefix path set" "$LINENO" 5
2813 case ".$with_zlib" in
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
2816 $as_echo "none" >&6; }
2817 with_zlib
="no, not configured" ;;
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, ignored (may try --with-zlib=/usr/.)" >&5
2820 $as_echo "oops, ignored (may try --with-zlib=/usr/.)" >&6; }
2821 with_zlib
="no, /usr ignored" ;;
2822 *) if test ! -d "$with_zlib/include" ; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, given but..." >&5
2824 $as_echo "oops, given but..." >&6; }
2825 as_fn_error $?
"\"$with_zlib/include\" is not a directory" "$LINENO" 5
2827 if test ! -d "$with_zlib/lib" ; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops, given but..." >&5
2829 $as_echo "oops, given but..." >&6; }
2830 as_fn_error $?
"\"$with_zlib/lib\" is not a directory" "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_zlib" >&5
2833 $as_echo "$with_zlib" >&6; }
2834 ZLIB_INCL
="-I$with_zlib/include"
2835 ZLIB_LDIR
="-L$with_zlib/lib"
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CPPFLAGS $ZLIB_INCL" >&5
2837 $as_echo "..adding CPPFLAGS $ZLIB_INCL" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding LDFLAGS $ZLIB_LDIR" >&5
2839 $as_echo "..adding LDFLAGS $ZLIB_LDIR" >&6; }
2840 CPPFLAGS
="$CPPFLAGS $ZLIB_INCL"
2841 LDFLAGS
="$LDFLAGS $ZLIB_LDIR"
2846 # -----------------------------------------------------------------------
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking rpm spec file" >&5
2849 $as_echo_n "checking rpm spec file... " >&6; }
2850 if test "." != "." ; then
2852 ax_spec_file
=`basename `
2854 case ".$ac_unique_file" in
2855 *.spec
) ax_spec_file
="$ac_unique_file"
2856 ax_spec_file_
="$ac_unique_file" ;;
2857 *) ax_spec_file
="TODO"
2858 if test ".$PACKAGE" != "."
2859 then ax_spec_file_
="$PACKAGE.spec"
2860 else ax_spec_file_
="README"
2863 no ax_spec_file argument has been given, using defaults of
2871 for i
in .
$srcdir $srcdir/.. ..
; do
2872 if test -f "$i/$ax_spec_file_" ; then
2874 ax_spec_file
="$ax_spec_dir/$ax_spec_file_"
2877 if test -f "$i/$ax_spec_file" ; then
2879 ax_spec_file
="$ax_spec_dir/$ax_spec_file"
2883 case "$ax_spec_file" in
2884 .
/*) if test "$ax_spec_file" = "./$ax_spec_file_" ; then
2885 ax_spec_file
="$ax_spec_file_"
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_spec_file" >&5
2888 $as_echo "$ax_spec_file" >&6; } ;;
2889 */*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_spec_file" >&5
2890 $as_echo "$ax_spec_file" >&6; } ;;
2891 *) as_fn_error $?
"no rpm spec file found" "$LINENO" 5 ;;
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec package" >&5
2896 $as_echo_n "checking for spec package... " >&6; }
2897 if test ".$PACKAGE_NAME" = "." ; then if test ! -f $ax_spec_file
2901 if test ".$PACKAGE_NAME" = "." ; then
2902 PACKAGE_NAME
=`grep -i '^[ ]*name[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2903 if test ".$PACKAGE_NAME" = "." ; then
2904 for PACKAGE_NAME
in name PACKAGE_NAME package_name
; do
2905 PACKAGE_NAME
=`echo "$PACKAGE_NAME" | sed -e 's/^%//g'`
2906 PACKAGE_NAME
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2907 test ".PACKAGE_NAME" != "." && break
2910 case ".$PACKAGE_NAME" in
2912 PACKAGE_NAME
=`echo "$PACKAGE_NAME" | sed -e 's/%{//' -e 's/}$//'`
2913 PACKAGE_NAME
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2915 PACKAGE_NAME
=`echo "$PACKAGE_NAME" | sed -e 's/%//'`
2916 PACKAGE_NAME
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_NAME[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2919 fi # test ".$[]PACKAGE_NAME" = "."
2921 PACKAGE_NAME
=`echo $PACKAGE_NAME | sed -e 's/ /-/g'`
2923 test ".$PACKAGE_NAME" = "." && k
="(fallback)"
2924 test ".$PACKAGE_NAME" = "." && PACKAGE_NAME
=`basename $ax_spec_file .spec`
2925 test ".$PACKAGE_NAME" = ".README" && PACKAGE_NAME
="TODO"
2926 test ".$PACKAGE_NAME" = ".TODO" && PACKAGE_NAME
="foo"
2928 test "PACKAGE_NAME" = "PACKAGE_NAME" && test ".$PACKAGE" = "." && PACKAGE
="$PACKAGE_NAME"
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_NAME $k" >&5
2930 $as_echo "$PACKAGE_NAME $k" >&6; }
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec version" >&5
2933 $as_echo_n "checking for spec version... " >&6; }
2934 if test ".$PACKAGE_VERSION" = "." ; then if test ! -f $ax_spec_file
2938 if test ".$PACKAGE_VERSION" = "." ; then
2939 PACKAGE_VERSION
=`grep -i '^[ ]*version[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2940 if test ".$PACKAGE_VERSION" = "." ; then
2941 for PACKAGE_VERSION
in version PACKAGE_VERSION package_version
; do
2942 PACKAGE_VERSION
=`echo "$PACKAGE_VERSION" | sed -e 's/^%//g'`
2943 PACKAGE_VERSION
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2944 test ".PACKAGE_VERSION" != "." && break
2947 case ".$PACKAGE_VERSION" in
2949 PACKAGE_VERSION
=`echo "$PACKAGE_VERSION" | sed -e 's/%{//' -e 's/}$//'`
2950 PACKAGE_VERSION
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2952 PACKAGE_VERSION
=`echo "$PACKAGE_VERSION" | sed -e 's/%//'`
2953 PACKAGE_VERSION
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_VERSION[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2956 fi # test ".$[]PACKAGE_VERSION" = "."
2958 PACKAGE_VERSION
=`echo $PACKAGE_VERSION | sed -e 's/ /-/g'`
2960 test ".$PACKAGE_VERSION" = "." && k
="(fallback)"
2961 test ".$PACKAGE_VERSION" = "." && PACKAGE_VERSION
=`date +0.%y.%W%w`
2963 test "PACKAGE_VERSION" = "PACKAGE_VERSION" && test ".$VERSION" = "." && VERSION
="$PACKAGE_VERSION"
2964 case "$PACKAGE_VERSION" in # note we set traditional VERSION before cleaning things up
2965 *.
*.
) PACKAGE_VERSION
="$PACKAGE_VERSION"`date +%W%w` ;;
2967 *.
) PACKAGE_VERSION
="$PACKAGE_VERSION"`date +%y.%W%w` ;;
2968 *.
*) PACKAGE_VERSION
="$PACKAGE_VERSION.0" ;;
2969 *) PACKAGE_VERSION
=`$as_echo "$PACKAGE_VERSION" | $as_tr_sh` ; PACKAGE_VERSION
="$PACKAGE_VERSION.`date +%y.%W%w`" ;;
2971 PACKAGE_VERSION
=`echo $PACKAGE_VERSION | sed -e "s/[.]0\\(0-9\\)/.\\1/g"`
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_VERSION $k" >&5
2973 $as_echo "$PACKAGE_VERSION $k" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec license type" >&5
2976 $as_echo_n "checking for spec license type... " >&6; }
2977 if test ".$PACKAGE_LICENSE" = "." ; then if test ! -f $ax_spec_file
2981 if test ".$PACKAGE_LICENSE" = "." ; then
2982 PACKAGE_LICENSE
=`grep -i '^[ ]*license[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
2983 if test ".$PACKAGE_LICENSE" = "." ; then
2984 for PACKAGE_LICENSE
in license PACKAGE_LICENSE package_license
; do
2985 PACKAGE_LICENSE
=`echo "$PACKAGE_LICENSE" | sed -e 's/^%//g'`
2986 PACKAGE_LICENSE
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
2987 test ".PACKAGE_LICENSE" != "." && break
2990 case ".$PACKAGE_LICENSE" in
2992 PACKAGE_LICENSE
=`echo "$PACKAGE_LICENSE" | sed -e 's/%{//' -e 's/}$//'`
2993 PACKAGE_LICENSE
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2995 PACKAGE_LICENSE
=`echo "$PACKAGE_LICENSE" | sed -e 's/%//'`
2996 PACKAGE_LICENSE
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_LICENSE[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
2999 fi # test ".$[]PACKAGE_LICENSE" = "."
3001 PACKAGE_LICENSE
=`echo $PACKAGE_LICENSE | sed -e 's/ *License//g'`
3003 test ".$PACKAGE_LICENSE" = "." && k
="(fallback)"
3004 if test ".$PACKAGE_LICENSE" = "." ; then
3005 for ac_file
in "$srcdir/COPYING" "$srcdir/COPYING" "$srcdir/LICENSE" ; do
3006 test -f "$ac_file" ||
continue
3007 if grep "GNU LESSER GENERAL PUBLIC LICENSE" "$ac_file" >/dev
/null
3008 then PACKAGE_LICENSE
="GNU LGPL" ; break
3009 elif grep "GNU GENERAL PUBLIC LICENSE" "$ac_file" >/dev
/null
3010 then PACKAGE_LICENSE
="GNU GPL" ; break
3011 elif grep "MOZILLA PUBLIC LICENSE" "$ac_file" >/dev
/null
3012 then PACKAGE_LICENSE
="MPL" ; break
3013 elif grep "Mozilla Public License" "$ac_file" >/dev
/null
3014 then PACKAGE_LICENSE
="MPL" ; break
3015 elif grep -i "artistic license" "$ac_file" >/dev
/null
3016 then PACKAGE_LICENSE
="Artistic" ; break
3017 elif grep -i "artistic control" "$ac_file" >/dev
/null
3018 then PACKAGE_LICENSE
="Artistic" ; break
3019 elif grep -i "semblance of artistic" "$ac_file" >/dev
/null
3020 then PACKAGE_LICENSE
="Artistic" ; break
3021 elif grep -i "above copyright notice" "$ac_file" >/dev
/null
3022 then PACKAGE_LICENSE
="BSD" ; break
3025 if test ".$PACKAGE_LICENSE" = "." ; then
3026 if test "$srcdir/COPYING.LIB" ; then PACKAGE_LICENSE
="GNU LGPL"
3027 elif test ".$ltmain" != "." ; then PACKAGE_LICENSE
="GNU LGPL"
3028 else PACKAGE_LICENSE
="GNU GPL"
3033 test "$PACKAGE_LICENSE" = "GPL" && PACKAGE_LICENSE
="GNU GPL"
3034 test "$PACKAGE_LICENSE" = "LGPL" && PACKAGE_LICENSE
="GNU LGPL"
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_LICENSE $k" >&5
3036 $as_echo "$PACKAGE_LICENSE $k" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec summary" >&5
3039 $as_echo_n "checking for spec summary... " >&6; }
3040 if test ".$PACKAGE_SUMMARY" = "." ; then if test ! -f $ax_spec_file
3044 if test ".$PACKAGE_SUMMARY" = "." ; then
3045 PACKAGE_SUMMARY
=`grep -i '^[ ]*summary[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
3046 if test ".$PACKAGE_SUMMARY" = "." ; then
3047 for PACKAGE_SUMMARY
in summary PACKAGE_SUMMARY package_summary
; do
3048 PACKAGE_SUMMARY
=`echo "$PACKAGE_SUMMARY" | sed -e 's/^%//g'`
3049 PACKAGE_SUMMARY
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
3050 test ".PACKAGE_SUMMARY" != "." && break
3053 case ".$PACKAGE_SUMMARY" in
3055 PACKAGE_SUMMARY
=`echo "$PACKAGE_SUMMARY" | sed -e 's/%{//' -e 's/}$//'`
3056 PACKAGE_SUMMARY
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3058 PACKAGE_SUMMARY
=`echo "$PACKAGE_SUMMARY" | sed -e 's/%//'`
3059 PACKAGE_SUMMARY
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_SUMMARY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3062 fi # test ".$[]PACKAGE_SUMMARY" = "."
3065 test ".$PACKAGE_SUMMARY" = "." && k
="(fallback)"
3066 if test ".$PACKAGE_SUMMARY" = "." ; then PACKAGE_SUMMARY
="$PACKAGE"
3067 test ".$PACKAGE_SUMMARY" = "." && PACKAGE_SUMMARY
="foo"
3068 test ".$ltmain" != "." && PACKAGE_SUMMARY
="$PACKAGE_SUMMARY library"
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_SUMMARY $k" >&5
3072 $as_echo "$PACKAGE_SUMMARY $k" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec category" >&5
3075 $as_echo_n "checking for spec category... " >&6; }
3076 if test ".$PACKAGE_CATEGORY" = "." ; then if test ! -f $ax_spec_file
3080 if test ".$PACKAGE_CATEGORY" = "." ; then
3081 PACKAGE_CATEGORY
=`grep -i '^[ ]*group[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
3082 if test ".$PACKAGE_CATEGORY" = "." ; then
3083 for PACKAGE_CATEGORY
in group PACKAGE_CATEGORY package_category
; do
3084 PACKAGE_CATEGORY
=`echo "$PACKAGE_CATEGORY" | sed -e 's/^%//g'`
3085 PACKAGE_CATEGORY
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
3086 test ".PACKAGE_CATEGORY" != "." && break
3089 case ".$PACKAGE_CATEGORY" in
3091 PACKAGE_CATEGORY
=`echo "$PACKAGE_CATEGORY" | sed -e 's/%{//' -e 's/}$//'`
3092 PACKAGE_CATEGORY
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3094 PACKAGE_CATEGORY
=`echo "$PACKAGE_CATEGORY" | sed -e 's/%//'`
3095 PACKAGE_CATEGORY
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_CATEGORY[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3098 fi # test ".$[]PACKAGE_CATEGORY" = "."
3100 PACKAGE_CATEGORY
=`echo $PACKAGE_CATEGORY | sed -e 's/ /-/g'`
3102 test ".$PACKAGE_CATEGORY" = "." && k
="(fallback)"
3103 if test ".$PACKAGE_CATEGORY" = "." ; then if test ".$ltmain" != "."
3104 then PACKAGE_CATEGORY
="Development/Library"
3105 else PACKAGE_CATEGORY
="Development/Other"
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_CATEGORY $k" >&5
3109 $as_echo "$PACKAGE_CATEGORY $k" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for spec icon" >&5
3112 $as_echo_n "checking for spec icon... " >&6; }
3113 if test ".$PACKAGE_ICON" = "." ; then if test ! -f $ax_spec_file
3117 if test ".$PACKAGE_ICON" = "." ; then
3118 PACKAGE_ICON
=`grep -i '^[ ]*icon[ ]*:' "$ax_spec_file" | sed -e 's/.*:[ ]*//' -e 's/[ ][ ]*/ /g' -e 's/^ //' -e 's/ $//' -e 'q'`
3119 if test ".$PACKAGE_ICON" = "." ; then
3120 for PACKAGE_ICON
in icon PACKAGE_ICON package_icon
; do
3121 PACKAGE_ICON
=`echo "$PACKAGE_ICON" | sed -e 's/^%//g'`
3122 PACKAGE_ICON
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file`
3123 test ".PACKAGE_ICON" != "." && break
3126 case ".$PACKAGE_ICON" in
3128 PACKAGE_ICON
=`echo "$PACKAGE_ICON" | sed -e 's/%{//' -e 's/}$//'`
3129 PACKAGE_ICON
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3131 PACKAGE_ICON
=`echo "$PACKAGE_ICON" | sed -e 's/%//'`
3132 PACKAGE_ICON
=`sed -e "/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]/!d" -e "s/^%[ ]*define[ ][ ]*$PACKAGE_ICON[ ]*//" -e 's/[ ][ ]*/ /' -e 's/ $//' -e 'q' $ax_spec_file` ;;
3135 fi # test ".$[]PACKAGE_ICON" = "."
3138 test ".$PACKAGE_ICON" = "." && k
="(fallback)"
3139 if test ".$PACKAGE_ICON" = "." ; then PACKAGE_ICON
="$PACKAGE-icon.png" ; fi
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PACKAGE_ICON $k" >&5
3142 $as_echo "$PACKAGE_ICON $k" >&6; }
3145 am__api_version
='1.11'
3147 # Find a good install program. We prefer a C program (faster),
3148 # so one script is as good as another. But avoid the broken or
3149 # incompatible versions:
3150 # SysV /etc/install, /usr/sbin/install
3151 # SunOS /usr/etc/install
3152 # IRIX /sbin/install
3154 # AmigaOS /C/install, which installs bootblocks on floppy discs
3155 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3156 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3157 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3158 # OS/2's system install, which has a completely different semantic
3159 # ./install, which can be erroneously created by make from ./install.sh.
3160 # Reject install programs that cannot install multiple files.
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3162 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3163 if test -z "$INSTALL"; then
3164 if ${ac_cv_path_install+:} false
; then :
3165 $as_echo_n "(cached) " >&6
3167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir
=.
3172 # Account for people who put trailing slashes in PATH elements.
3173 case $as_dir/ in #((
3174 .
/ | .
// |
/[cC
]/* | \
3175 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3176 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3179 # OSF1 and SCO ODT 3.0 have their own names for install.
3180 # Don't use installbsd from OSF since it installs stuff as root
3182 for ac_prog
in ginstall scoinst
install; do
3183 for ac_exec_ext
in '' $ac_executable_extensions; do
3184 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3185 if test $ac_prog = install &&
3186 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3187 # AIX install. It has an incompatible calling convention.
3189 elif test $ac_prog = install &&
3190 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3191 # program-specific install script used by HP pwplus--don't use.
3194 rm -rf conftest.one conftest.two conftest.dir
3195 echo one
> conftest.one
3196 echo two
> conftest.two
3198 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3199 test -s conftest.one
&& test -s conftest.two
&&
3200 test -s conftest.dir
/conftest.one
&&
3201 test -s conftest.dir
/conftest.two
3203 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3216 rm -rf conftest.one conftest.two conftest.dir
3219 if test "${ac_cv_path_install+set}" = set; then
3220 INSTALL
=$ac_cv_path_install
3222 # As a last resort, use the slow shell script. Don't cache a
3223 # value for INSTALL within a source directory, because that will
3224 # break other packages using the cache if that directory is
3225 # removed, or if the value is a relative name.
3226 INSTALL
=$ac_install_sh
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3230 $as_echo "$INSTALL" >&6; }
3232 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3233 # It thinks the first close brace ends the variable substitution.
3234 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3236 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3238 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3241 $as_echo_n "checking whether build environment is sane... " >&6; }
3244 echo timestamp
> conftest.
file
3245 # Reject unsafe characters in $srcdir or the absolute working directory
3246 # name. Accept space and tab only in the latter.
3250 *[\\\"\
#\$\&\'\`$am_lf]*)
3251 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3254 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3255 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3258 # Do `set' in a subshell so we don't clobber the current shell's
3259 # arguments. Must try -L first in case configure is actually a
3260 # symlink; some systems play weird games with the mod time of symlinks
3261 # (eg FreeBSD returns the mod time of the symlink's containing
3264 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3265 if test "$*" = "X"; then
3267 set X
`ls -t "$srcdir/configure" conftest.file`
3270 if test "$*" != "X $srcdir/configure conftest.file" \
3271 && test "$*" != "X conftest.file $srcdir/configure"; then
3273 # If neither matched, then we have a broken ls. This can happen
3274 # if, for instance, CONFIG_SHELL is bash and it inherits a
3275 # broken ls alias from the environment. This has actually
3276 # happened. Such a system could not be considered "sane".
3277 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3278 alias in your environment" "$LINENO" 5
3281 test "$2" = conftest.
file
3287 as_fn_error $?
"newly created file is older than distributed files!
3288 Check your system clock" "$LINENO" 5
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3291 $as_echo "yes" >&6; }
3292 test "$program_prefix" != NONE
&&
3293 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3294 # Use a double $ so make ignores it.
3295 test "$program_suffix" != NONE
&&
3296 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3297 # Double any \ or $.
3298 # By default was `s,x,x', remove it if useless.
3299 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3300 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3302 # expand $ac_aux_dir to an absolute path
3303 am_aux_dir
=`cd $ac_aux_dir && pwd`
3305 if test x
"${MISSING+set}" != xset
; then
3308 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3310 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3313 # Use eval to expand $SHELL
3314 if eval "$MISSING --run true"; then
3315 am_missing_run
="$MISSING --run "
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3319 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3322 if test x
"${install_sh}" != xset
; then
3325 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3327 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3331 # Installed binaries are usually stripped using `strip' when the user
3332 # run `make install-strip'. However `strip' might not be the right
3333 # tool to use in cross-compilation environments, therefore Automake
3334 # will honor the `STRIP' environment variable to overrule this program.
3335 if test "$cross_compiling" != no
; then
3336 if test -n "$ac_tool_prefix"; then
3337 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3338 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340 $as_echo_n "checking for $ac_word... " >&6; }
3341 if ${ac_cv_prog_STRIP+:} false
; then :
3342 $as_echo_n "(cached) " >&6
3344 if test -n "$STRIP"; then
3345 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir
=.
3352 for ac_exec_ext
in '' $ac_executable_extensions; do
3353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3354 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 STRIP
=$ac_cv_prog_STRIP
3365 if test -n "$STRIP"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3367 $as_echo "$STRIP" >&6; }
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3375 if test -z "$ac_cv_prog_STRIP"; then
3377 # Extract the first word of "strip", so it can be a program name with args.
3378 set dummy strip
; ac_word
=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3382 $as_echo_n "(cached) " >&6
3384 if test -n "$ac_ct_STRIP"; then
3385 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir
=.
3392 for ac_exec_ext
in '' $ac_executable_extensions; do
3393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3394 ac_cv_prog_ac_ct_STRIP
="strip"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3405 if test -n "$ac_ct_STRIP"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3407 $as_echo "$ac_ct_STRIP" >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3413 if test "x$ac_ct_STRIP" = x
; then
3416 case $cross_compiling:$ac_tool_warned in
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3420 ac_tool_warned
=yes ;;
3425 STRIP
="$ac_cv_prog_STRIP"
3429 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3432 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3433 if test -z "$MKDIR_P"; then
3434 if ${ac_cv_path_mkdir+:} false
; then :
3435 $as_echo_n "(cached) " >&6
3437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3438 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3441 test -z "$as_dir" && as_dir
=.
3442 for ac_prog
in mkdir gmkdir
; do
3443 for ac_exec_ext
in '' $ac_executable_extensions; do
3444 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3445 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3446 'mkdir (GNU coreutils) '* | \
3447 'mkdir (coreutils) '* | \
3448 'mkdir (fileutils) '4.1*)
3449 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3459 test -d .
/--version && rmdir .
/--version
3460 if test "${ac_cv_path_mkdir+set}" = set; then
3461 MKDIR_P
="$ac_cv_path_mkdir -p"
3463 # As a last resort, use the slow shell script. Don't cache a
3464 # value for MKDIR_P within a source directory, because that will
3465 # break other packages using the cache if that directory is
3466 # removed, or if the value is a relative name.
3467 MKDIR_P
="$ac_install_sh -d"
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3471 $as_echo "$MKDIR_P" >&6; }
3475 [\\/$
]* | ?
:[\\/]*) ;;
3476 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3479 for ac_prog
in gawk mawk nawk
awk
3481 # Extract the first word of "$ac_prog", so it can be a program name with args.
3482 set dummy
$ac_prog; ac_word
=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if ${ac_cv_prog_AWK+:} false
; then :
3486 $as_echo_n "(cached) " >&6
3488 if test -n "$AWK"; then
3489 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3495 test -z "$as_dir" && as_dir
=.
3496 for ac_exec_ext
in '' $ac_executable_extensions; do
3497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3498 ac_cv_prog_AWK
="$ac_prog"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3509 if test -n "$AWK"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3511 $as_echo "$AWK" >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3518 test -n "$AWK" && break
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3522 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3524 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3525 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3526 $as_echo_n "(cached) " >&6
3528 cat >conftest.
make <<\_ACEOF
3531 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3533 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3534 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3536 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3538 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3542 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3544 $as_echo "yes" >&6; }
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3549 SET_MAKE
="MAKE=${MAKE-make}"
3552 rm -rf .tst
2>/dev
/null
3553 mkdir .tst
2>/dev
/null
3554 if test -d .tst
; then
3559 rmdir .tst
2>/dev
/null
3561 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3562 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3563 # is not polluted with repeated "-I."
3564 am__isrc
=' -I$(srcdir)'
3565 # test to see if srcdir already configured
3566 if test -f $srcdir/config.status
; then
3567 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3571 # test whether we have cygpath
3572 if test -z "$CYGPATH_W"; then
3573 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3574 CYGPATH_W
='cygpath -w'
3581 # Define the identity of the package.
3586 cat >>confdefs.h
<<_ACEOF
3587 #define PACKAGE "$PACKAGE"
3591 cat >>confdefs.h
<<_ACEOF
3592 #define VERSION "$VERSION"
3595 # Some tools Automake needs.
3597 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3600 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3603 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3606 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3609 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3611 # We need awk for the "check" target. The system "awk" is bad on
3613 # Always define AMTAR for backward compatibility.
3615 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3617 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3624 ac_cpp
='$CPP $CPPFLAGS'
3625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3628 if test -n "$ac_tool_prefix"; then
3629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3630 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if ${ac_cv_prog_CC+:} false
; then :
3634 $as_echo_n "(cached) " >&6
3636 if test -n "$CC"; then
3637 ac_cv_prog_CC
="$CC" # Let the user override the test.
3639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir
=.
3644 for ac_exec_ext
in '' $ac_executable_extensions; do
3645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3646 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 if test -n "$CC"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3667 if test -z "$ac_cv_prog_CC"; then
3669 # Extract the first word of "gcc", so it can be a program name with args.
3670 set dummy gcc
; ac_word
=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3674 $as_echo_n "(cached) " >&6
3676 if test -n "$ac_ct_CC"; then
3677 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3683 test -z "$as_dir" && as_dir
=.
3684 for ac_exec_ext
in '' $ac_executable_extensions; do
3685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3686 ac_cv_prog_ac_ct_CC
="gcc"
3687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3697 if test -n "$ac_ct_CC"; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3699 $as_echo "$ac_ct_CC" >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3705 if test "x$ac_ct_CC" = x
; then
3708 case $cross_compiling:$ac_tool_warned in
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3712 ac_tool_warned
=yes ;;
3720 if test -z "$CC"; then
3721 if test -n "$ac_tool_prefix"; then
3722 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3723 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3725 $as_echo_n "checking for $ac_word... " >&6; }
3726 if ${ac_cv_prog_CC+:} false
; then :
3727 $as_echo_n "(cached) " >&6
3729 if test -n "$CC"; then
3730 ac_cv_prog_CC
="$CC" # Let the user override the test.
3732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir
=.
3737 for ac_exec_ext
in '' $ac_executable_extensions; do
3738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3739 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 if test -n "$CC"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3752 $as_echo "$CC" >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3761 if test -z "$CC"; then
3762 # Extract the first word of "cc", so it can be a program name with args.
3763 set dummy cc
; ac_word
=$2
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3765 $as_echo_n "checking for $ac_word... " >&6; }
3766 if ${ac_cv_prog_CC+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 if test -n "$CC"; then
3770 ac_cv_prog_CC
="$CC" # Let the user override the test.
3773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir
=.
3778 for ac_exec_ext
in '' $ac_executable_extensions; do
3779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3781 ac_prog_rejected
=yes
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 if test $ac_prog_rejected = yes; then
3793 # We found a bogon in the path, so make sure we never use it.
3794 set dummy
$ac_cv_prog_CC
3796 if test $# != 0; then
3797 # We chose a different compiler from the bogus one.
3798 # However, it has the same basename, so the bogon will be chosen
3799 # first if we set CC to just the basename; use the full file name.
3801 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3807 if test -n "$CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3809 $as_echo "$CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3817 if test -z "$CC"; then
3818 if test -n "$ac_tool_prefix"; then
3819 for ac_prog
in cl.exe
3821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3822 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3824 $as_echo_n "checking for $ac_word... " >&6; }
3825 if ${ac_cv_prog_CC+:} false
; then :
3826 $as_echo_n "(cached) " >&6
3828 if test -n "$CC"; then
3829 ac_cv_prog_CC
="$CC" # Let the user override the test.
3831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3835 test -z "$as_dir" && as_dir
=.
3836 for ac_exec_ext
in '' $ac_executable_extensions; do
3837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3838 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3858 test -n "$CC" && break
3861 if test -z "$CC"; then
3863 for ac_prog
in cl.exe
3865 # Extract the first word of "$ac_prog", so it can be a program name with args.
3866 set dummy
$ac_prog; ac_word
=$2
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3868 $as_echo_n "checking for $ac_word... " >&6; }
3869 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3870 $as_echo_n "(cached) " >&6
3872 if test -n "$ac_ct_CC"; then
3873 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3879 test -z "$as_dir" && as_dir
=.
3880 for ac_exec_ext
in '' $ac_executable_extensions; do
3881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3882 ac_cv_prog_ac_ct_CC
="$ac_prog"
3883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3893 if test -n "$ac_ct_CC"; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3895 $as_echo "$ac_ct_CC" >&6; }
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3902 test -n "$ac_ct_CC" && break
3905 if test "x$ac_ct_CC" = x
; then
3908 case $cross_compiling:$ac_tool_warned in
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3912 ac_tool_warned
=yes ;;
3921 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3923 as_fn_error $?
"no acceptable C compiler found in \$PATH
3924 See \`config.log' for more details" "$LINENO" 5; }
3926 # Provide some information about the compiler.
3927 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3930 for ac_option
in --version -v -V -qversion; do
3931 { { ac_try
="$ac_compiler $ac_option >&5"
3933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3940 if test -s conftest.err; then
3942 ... rest of stderr output deleted ...
3943 10q' conftest.err >conftest.er1
3944 cat conftest.er1 >&5
3946 rm -f conftest.er1 conftest.err
3947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948 test $ac_status = 0; }
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3962 ac_clean_files_save=$ac_clean_files
3963 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3964 # Try to create an executable without -o first, disregard a.out.
3965 # It will help us diagnose broken compilers, and finding out an intuition
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3968 $as_echo_n "checking whether the C compiler works... " >&6; }
3969 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3971 # The possible output files:
3972 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3975 for ac_file in $ac_files
3978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3979 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3984 if { { ac_try="$ac_link_default"
3986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3987 *) ac_try_echo
=$ac_try;;
3989 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3990 $as_echo "$ac_try_echo"; } >&5
3991 (eval "$ac_link_default") 2>&5
3993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3994 test $ac_status = 0; }; then :
3995 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3996 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3997 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3998 # so that the user can short-circuit this test for compilers unknown to
4000 for ac_file
in $ac_files ''
4002 test -f "$ac_file" ||
continue
4004 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4007 # We found the default executable, but exeext='' is most
4011 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4013 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4015 # We set ac_cv_exeext here because the later test for it is not
4016 # safe: cross compilers may not add the suffix if given an `-o'
4017 # argument, so we may need to know it at that point already.
4018 # Even if this section looks crufty: it has the advantage of
4025 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4030 if test -z "$ac_file"; then :
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4033 $as_echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.
$ac_ext >&5
4036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038 as_fn_error
77 "C compiler cannot create executables
4039 See \`config.log' for more details" "$LINENO" 5; }
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4042 $as_echo "yes" >&6; }
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4045 $as_echo_n "checking for C compiler default output file name... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4047 $as_echo "$ac_file" >&6; }
4048 ac_exeext
=$ac_cv_exeext
4050 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4051 ac_clean_files
=$ac_clean_files_save
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4053 $as_echo_n "checking for suffix of executables... " >&6; }
4054 if { { ac_try
="$ac_link"
4056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060 $as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_link") 2>&5
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }; then :
4065 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4066 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4067 # work properly (i.e., refer to `conftest.exe'), while it won't with
4069 for ac_file
in conftest.exe conftest conftest.
*; do
4070 test -f "$ac_file" ||
continue
4072 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4073 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4081 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4082 See \`config.log' for more details" "$LINENO" 5; }
4084 rm -f conftest conftest
$ac_cv_exeext
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4086 $as_echo "$ac_cv_exeext" >&6; }
4088 rm -f conftest.
$ac_ext
4089 EXEEXT
=$ac_cv_exeext
4091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4097 FILE *f = fopen ("conftest.out", "w");
4098 return ferror (f) || fclose (f) != 0;
4104 ac_clean_files
="$ac_clean_files conftest.out"
4105 # Check that the compiler produces executables we can run. If not, either
4106 # the compiler is broken, or we cross compile.
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4108 $as_echo_n "checking whether we are cross compiling... " >&6; }
4109 if test "$cross_compiling" != yes; then
4110 { { ac_try
="$ac_link"
4112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4113 *) ac_try_echo=$ac_try;;
4115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116 $as_echo "$ac_try_echo"; } >&5
4117 (eval "$ac_link") 2>&5
4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120 test $ac_status = 0; }
4121 if { ac_try='./conftest$ac_cv_exeext'
4122 { { case "(($ac_try" in
4123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4124 *) ac_try_echo
=$ac_try;;
4126 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_try") 2>&5
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; }; then
4134 if test "$cross_compiling" = maybe
; then
4137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4139 as_fn_error $?
"cannot run C compiled programs.
4140 If you meant to cross compile, use \`--host'.
4141 See \`config.log' for more details" "$LINENO" 5; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4146 $as_echo "$cross_compiling" >&6; }
4148 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4149 ac_clean_files
=$ac_clean_files_save
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4151 $as_echo_n "checking for suffix of object files... " >&6; }
4152 if ${ac_cv_objext+:} false
; then :
4153 $as_echo_n "(cached) " >&6
4155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4166 rm -f conftest.o conftest.obj
4167 if { { ac_try
="$ac_compile"
4169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4170 *) ac_try_echo=$ac_try;;
4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4173 $as_echo "$ac_try_echo"; } >&5
4174 (eval "$ac_compile") 2>&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4177 test $ac_status = 0; }; then :
4178 for ac_file in conftest.o conftest.obj conftest.*; do
4179 test -f "$ac_file" || continue;
4181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4187 $as_echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.$ac_ext >&5
4190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4192 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4193 See \
`config.log' for more details" "$LINENO" 5; }
4195 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4198 $as_echo "$ac_cv_objext" >&6; }
4199 OBJEXT=$ac_cv_objext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4202 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4203 if ${ac_cv_c_compiler_gnu+:} false; then :
4204 $as_echo_n "(cached) " >&6
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4220 if ac_fn_c_try_compile "$LINENO"; then :
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4230 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4231 if test $ac_compiler_gnu = yes; then
4236 ac_test_CFLAGS=${CFLAGS+set}
4237 ac_save_CFLAGS=$CFLAGS
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4239 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4240 if ${ac_cv_prog_cc_g+:} false; then :
4241 $as_echo_n "(cached) " >&6
4243 ac_save_c_werror_flag=$ac_c_werror_flag
4244 ac_c_werror_flag=yes
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4258 if ac_fn_c_try_compile "$LINENO"; then :
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4273 if ac_fn_c_try_compile "$LINENO"; then :
4276 ac_c_werror_flag=$ac_save_c_werror_flag
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4289 if ac_fn_c_try_compile "$LINENO"; then :
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 ac_c_werror_flag=$ac_save_c_werror_flag
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4300 $as_echo "$ac_cv_prog_cc_g" >&6; }
4301 if test "$ac_test_CFLAGS" = set; then
4302 CFLAGS=$ac_save_CFLAGS
4303 elif test $ac_cv_prog_cc_g = yes; then
4304 if test "$GCC" = yes; then
4310 if test "$GCC" = yes; then
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4317 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4318 if ${ac_cv_prog_cc_c89+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 ac_cv_prog_cc_c89=no
4323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4327 #include <sys/types.h>
4328 #include <sys/stat.h>
4329 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4330 struct buf { int x; };
4331 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4332 static char *e (p, i)
4338 static char *f (char * (*g) (char **, int), char **p, ...)
4343 s = g (p, va_arg (v,int));
4348 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4349 function prototypes and stuff, but not '\xHH' hex character constants.
4350 These don't provoke an error unfortunately, instead are silently treated
4351 as 'x'. The following induces an error, until -std is added to get
4352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4353 array size at least. It's necessary to write '\x00'==0 to get something
4354 that's true only with -std. */
4355 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4357 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4358 inside strings and character constants. */
4360 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4362 int test (int i, double x);
4363 struct s1 {int (*f) (int a);};
4364 struct s2 {int (*f) (double a);};
4365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4376 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4377 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4379 CC="$ac_save_CC $ac_arg"
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 ac_cv_prog_cc_c89=$ac_arg
4383 rm -f core conftest.err conftest.$ac_objext
4384 test "x$ac_cv_prog_cc_c89" != "xno" && break
4386 rm -f conftest.$ac_ext
4391 case "x$ac_cv_prog_cc_c89" in
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4394 $as_echo "none needed" >&6; } ;;
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4397 $as_echo "unsupported" >&6; } ;;
4399 CC="$CC $ac_cv_prog_cc_c89"
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4401 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4403 if test "x$ac_cv_prog_cc_c89" != xno; then :
4408 ac_cpp='$CPP $CPPFLAGS'
4409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4412 DEPDIR="${am__leading_dot}deps"
4414 ac_config_commands="$ac_config_commands depfiles"
4417 am_make=${MAKE-make}
4418 cat > confinc << 'END'
4420 @echo this is the am__doit target
4423 # If we don't find an include directive, just comment out the code.
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4425 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4429 # First try GNU make style include.
4430 echo "include confinc" > confmf
4431 # Ignore all kinds of additional output from `make'.
4432 case `$am_make -s -f confmf 2> /dev/null` in #(
4433 *the\ am__doit\ target*)
4439 # Now try BSD make style include.
4440 if test "$am__include" = "#"; then
4441 echo '.include
"confinc"' > confmf
4442 case `$am_make -s -f confmf 2> /dev/null` in #(
4443 *the\ am__doit\ target*)
4444 am__include=.include
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4453 $as_echo "$_am_result" >&6; }
4454 rm -f confinc confmf
4456 # Check whether --enable-dependency-tracking was given.
4457 if test "${enable_dependency_tracking+set}" = set; then :
4458 enableval=$enable_dependency_tracking;
4461 if test "x$enable_dependency_tracking" != xno; then
4462 am_depcomp="$ac_aux_dir/depcomp"
4465 if test "x$enable_dependency_tracking" != xno
; then
4475 depcc
="$CC" am_compiler_list
=
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4478 $as_echo_n "checking dependency style of $depcc... " >&6; }
4479 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4483 # We make a subdir and do the tests there. Otherwise we can end up
4484 # making bogus files that we don't know about and never remove. For
4485 # instance it was reported that on HP-UX the gcc test will end up
4486 # making a dummy file named `D' -- because `-MD' means `put the output
4489 # Copy depcomp to subdir because otherwise we won't find it if we're
4490 # using a relative directory.
4491 cp "$am_depcomp" conftest.dir
4493 # We will build objects and dependencies in a subdirectory because
4494 # it helps to detect inapplicable dependency modes. For instance
4495 # both Tru64's cc and ICC support -MD to output dependencies as a
4496 # side effect of compilation, but ICC will put the dependencies in
4497 # the current directory while Tru64 will put them in the object
4501 am_cv_CC_dependencies_compiler_type
=none
4502 if test "$am_compiler_list" = ""; then
4503 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4506 case " $depcc " in #(
4507 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4510 for depmode
in $am_compiler_list; do
4511 # Setup a source with many dependencies, because some compilers
4512 # like to wrap large dependency lists on column 80 (with \), and
4513 # we should not choose a depcomp mode which is confused by this.
4515 # We need to recreate these files for each test, as the compiler may
4516 # overwrite some of them when testing with obscure command lines.
4517 # This happens at least with the AIX C compiler.
4519 for i
in 1 2 3 4 5 6; do
4520 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4521 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4522 # Solaris 8's {/usr,}/bin/sh.
4523 touch sub
/conftst
$i.h
4525 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4527 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4528 # mode. It turns out that the SunPro C++ compiler does not properly
4529 # handle `-M -o', and we need to detect this. Also, some Intel
4530 # versions had trouble with output in subdirs
4531 am__obj
=sub
/conftest.
${OBJEXT-o}
4532 am__minus_obj
="-o $am__obj"
4535 # This depmode causes a compiler race in universal mode.
4536 test "$am__universal" = false ||
continue
4539 # after this tag, mechanisms are not by side-effect, so they'll
4540 # only be used when explicitly requested
4541 if test "x$enable_dependency_tracking" = xyes
; then
4547 msvisualcpp | msvcmsys
)
4548 # This compiler won't grok `-c -o', but also, the minuso test has
4549 # not run yet. These depmodes are late enough in the game, and
4550 # so weak that their functioning should not be impacted.
4551 am__obj
=conftest.
${OBJEXT-o}
4556 if depmode
=$depmode \
4557 source=sub
/conftest.c object
=$am__obj \
4558 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4559 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4560 >/dev
/null
2>conftest.err
&&
4561 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4562 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4563 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4564 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4565 # icc doesn't choke on unknown options, it will just issue warnings
4566 # or remarks (even with -Werror). So we grep stderr for any message
4567 # that says an option was ignored or not supported.
4568 # When given -MP, icc 7.0 and 7.1 complain thusly:
4569 # icc: Command line warning: ignoring option '-M'; no argument required
4570 # The diagnosis changed in icc 8.0:
4571 # icc: Command line remark: option '-MP' not supported
4572 if (grep 'ignoring option' conftest.err ||
4573 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4574 am_cv_CC_dependencies_compiler_type
=$depmode
4583 am_cv_CC_dependencies_compiler_type
=none
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4588 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4589 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4592 test "x$enable_dependency_tracking" != xno \
4593 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4595 am__fastdepCC_FALSE
='#'
4597 am__fastdepCC_TRUE
='#'
4598 am__fastdepCC_FALSE
=
4603 enable_win32_dll
=yes
4606 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-cegcc*)
4607 if test -n "$ac_tool_prefix"; then
4608 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4609 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_prog_AS+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$AS"; then
4616 ac_cv_prog_AS
="$AS" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4625 ac_cv_prog_AS
="${ac_tool_prefix}as"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 if test -n "$AS"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4638 $as_echo "$AS" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4646 if test -z "$ac_cv_prog_AS"; then
4648 # Extract the first word of "as", so it can be a program name with args.
4649 set dummy as
; ac_word
=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$ac_ct_AS"; then
4656 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665 ac_cv_prog_ac_ct_AS
="as"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4676 if test -n "$ac_ct_AS"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4678 $as_echo "$ac_ct_AS" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4684 if test "x$ac_ct_AS" = x
; then
4687 case $cross_compiling:$ac_tool_warned in
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4691 ac_tool_warned
=yes ;;
4699 if test -n "$ac_tool_prefix"; then
4700 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4701 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if ${ac_cv_prog_DLLTOOL+:} false
; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -n "$DLLTOOL"; then
4708 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4717 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 DLLTOOL
=$ac_cv_prog_DLLTOOL
4728 if test -n "$DLLTOOL"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4730 $as_echo "$DLLTOOL" >&6; }
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4738 if test -z "$ac_cv_prog_DLLTOOL"; then
4739 ac_ct_DLLTOOL
=$DLLTOOL
4740 # Extract the first word of "dlltool", so it can be a program name with args.
4741 set dummy dlltool
; ac_word
=$2
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743 $as_echo_n "checking for $ac_word... " >&6; }
4744 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
4745 $as_echo_n "(cached) " >&6
4747 if test -n "$ac_ct_DLLTOOL"; then
4748 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4754 test -z "$as_dir" && as_dir
=.
4755 for ac_exec_ext
in '' $ac_executable_extensions; do
4756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4768 if test -n "$ac_ct_DLLTOOL"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4770 $as_echo "$ac_ct_DLLTOOL" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4776 if test "x$ac_ct_DLLTOOL" = x
; then
4779 case $cross_compiling:$ac_tool_warned in
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4783 ac_tool_warned
=yes ;;
4785 DLLTOOL
=$ac_ct_DLLTOOL
4788 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4791 if test -n "$ac_tool_prefix"; then
4792 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4793 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -n "$OBJDUMP"; then
4800 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir
=.
4807 for ac_exec_ext
in '' $ac_executable_extensions; do
4808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4809 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 OBJDUMP
=$ac_cv_prog_OBJDUMP
4820 if test -n "$OBJDUMP"; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4822 $as_echo "$OBJDUMP" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4830 if test -z "$ac_cv_prog_OBJDUMP"; then
4831 ac_ct_OBJDUMP
=$OBJDUMP
4832 # Extract the first word of "objdump", so it can be a program name with args.
4833 set dummy objdump
; ac_word
=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$ac_ct_OBJDUMP"; then
4840 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4860 if test -n "$ac_ct_OBJDUMP"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4862 $as_echo "$ac_ct_OBJDUMP" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4868 if test "x$ac_ct_OBJDUMP" = x
; then
4871 case $cross_compiling:$ac_tool_warned in
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4875 ac_tool_warned
=yes ;;
4877 OBJDUMP
=$ac_ct_OBJDUMP
4880 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4886 test -z "$AS" && AS
=as
4892 test -z "$DLLTOOL" && DLLTOOL
=dlltool
4898 test -z "$OBJDUMP" && OBJDUMP
=objdump
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4909 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4914 macro_version
='2.2.6'
4915 macro_revision
='1.3012'
4929 ltmain
="$ac_aux_dir/ltmain.sh"
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4932 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4933 if ${ac_cv_path_SED+:} false
; then :
4934 $as_echo_n "(cached) " >&6
4936 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4937 for ac_i
in 1 2 3 4 5 6 7; do
4938 ac_script
="$ac_script$as_nl$ac_script"
4940 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4941 { ac_script
=; unset ac_script
;}
4942 if test -z "$SED"; then
4943 ac_path_SED_found
=false
4944 # Loop through the user's path and test for each of PROGNAME-LIST
4945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir
=.
4950 for ac_prog
in sed gsed
; do
4951 for ac_exec_ext
in '' $ac_executable_extensions; do
4952 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4953 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4954 # Check for GNU ac_path_SED and select it if it is found.
4955 # Check for GNU $ac_path_SED
4956 case `"$ac_path_SED" --version 2>&1` in
4958 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4961 $as_echo_n 0123456789 >"conftest.in"
4964 cat "conftest.in" "conftest.in" >"conftest.tmp"
4965 mv "conftest.tmp" "conftest.in"
4966 cp "conftest.in" "conftest.nl"
4967 $as_echo '' >> "conftest.nl"
4968 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4969 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4970 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4971 if test $ac_count -gt ${ac_path_SED_max-0}; then
4972 # Best one so far, save it but keep looking for a better one
4973 ac_cv_path_SED
="$ac_path_SED"
4974 ac_path_SED_max
=$ac_count
4976 # 10*(2^10) chars as input seems more than enough
4977 test $ac_count -gt 10 && break
4979 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4982 $ac_path_SED_found && break 3
4987 if test -z "$ac_cv_path_SED"; then
4988 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4996 $as_echo "$ac_cv_path_SED" >&6; }
4997 SED
="$ac_cv_path_SED"
5000 test -z "$SED" && SED
=sed
5001 Xsed
="$SED -e 1s/^X//"
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5014 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5015 if ${ac_cv_path_GREP+:} false
; then :
5016 $as_echo_n "(cached) " >&6
5018 if test -z "$GREP"; then
5019 ac_path_GREP_found
=false
5020 # Loop through the user's path and test for each of PROGNAME-LIST
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_prog
in grep ggrep
; do
5027 for ac_exec_ext
in '' $ac_executable_extensions; do
5028 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5029 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5030 # Check for GNU ac_path_GREP and select it if it is found.
5031 # Check for GNU $ac_path_GREP
5032 case `"$ac_path_GREP" --version 2>&1` in
5034 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5037 $as_echo_n 0123456789 >"conftest.in"
5040 cat "conftest.in" "conftest.in" >"conftest.tmp"
5041 mv "conftest.tmp" "conftest.in"
5042 cp "conftest.in" "conftest.nl"
5043 $as_echo 'GREP' >> "conftest.nl"
5044 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5045 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5046 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5047 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5048 # Best one so far, save it but keep looking for a better one
5049 ac_cv_path_GREP
="$ac_path_GREP"
5050 ac_path_GREP_max
=$ac_count
5052 # 10*(2^10) chars as input seems more than enough
5053 test $ac_count -gt 10 && break
5055 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5058 $ac_path_GREP_found && break 3
5063 if test -z "$ac_cv_path_GREP"; then
5064 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5067 ac_cv_path_GREP
=$GREP
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5072 $as_echo "$ac_cv_path_GREP" >&6; }
5073 GREP
="$ac_cv_path_GREP"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5077 $as_echo_n "checking for egrep... " >&6; }
5078 if ${ac_cv_path_EGREP+:} false
; then :
5079 $as_echo_n "(cached) " >&6
5081 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5082 then ac_cv_path_EGREP
="$GREP -E"
5084 if test -z "$EGREP"; then
5085 ac_path_EGREP_found
=false
5086 # Loop through the user's path and test for each of PROGNAME-LIST
5087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5091 test -z "$as_dir" && as_dir
=.
5092 for ac_prog
in egrep; do
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5095 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5096 # Check for GNU ac_path_EGREP and select it if it is found.
5097 # Check for GNU $ac_path_EGREP
5098 case `"$ac_path_EGREP" --version 2>&1` in
5100 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5103 $as_echo_n 0123456789 >"conftest.in"
5106 cat "conftest.in" "conftest.in" >"conftest.tmp"
5107 mv "conftest.tmp" "conftest.in"
5108 cp "conftest.in" "conftest.nl"
5109 $as_echo 'EGREP' >> "conftest.nl"
5110 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5111 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5112 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5113 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5114 # Best one so far, save it but keep looking for a better one
5115 ac_cv_path_EGREP
="$ac_path_EGREP"
5116 ac_path_EGREP_max
=$ac_count
5118 # 10*(2^10) chars as input seems more than enough
5119 test $ac_count -gt 10 && break
5121 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5124 $ac_path_EGREP_found && break 3
5129 if test -z "$ac_cv_path_EGREP"; then
5130 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5133 ac_cv_path_EGREP
=$EGREP
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5139 $as_echo "$ac_cv_path_EGREP" >&6; }
5140 EGREP
="$ac_cv_path_EGREP"
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5144 $as_echo_n "checking for fgrep... " >&6; }
5145 if ${ac_cv_path_FGREP+:} false
; then :
5146 $as_echo_n "(cached) " >&6
5148 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5149 then ac_cv_path_FGREP
="$GREP -F"
5151 if test -z "$FGREP"; then
5152 ac_path_FGREP_found
=false
5153 # Loop through the user's path and test for each of PROGNAME-LIST
5154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5158 test -z "$as_dir" && as_dir
=.
5159 for ac_prog
in fgrep
; do
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5162 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5163 # Check for GNU ac_path_FGREP and select it if it is found.
5164 # Check for GNU $ac_path_FGREP
5165 case `"$ac_path_FGREP" --version 2>&1` in
5167 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5170 $as_echo_n 0123456789 >"conftest.in"
5173 cat "conftest.in" "conftest.in" >"conftest.tmp"
5174 mv "conftest.tmp" "conftest.in"
5175 cp "conftest.in" "conftest.nl"
5176 $as_echo 'FGREP' >> "conftest.nl"
5177 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5178 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5179 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5180 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5181 # Best one so far, save it but keep looking for a better one
5182 ac_cv_path_FGREP
="$ac_path_FGREP"
5183 ac_path_FGREP_max
=$ac_count
5185 # 10*(2^10) chars as input seems more than enough
5186 test $ac_count -gt 10 && break
5188 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5191 $ac_path_FGREP_found && break 3
5196 if test -z "$ac_cv_path_FGREP"; then
5197 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5200 ac_cv_path_FGREP
=$FGREP
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5206 $as_echo "$ac_cv_path_FGREP" >&6; }
5207 FGREP
="$ac_cv_path_FGREP"
5210 test -z "$GREP" && GREP
=grep
5230 # Check whether --with-gnu-ld was given.
5231 if test "${with_gnu_ld+set}" = set; then :
5232 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5238 if test "$GCC" = yes; then
5239 # Check if gcc -print-prog-name=ld gives a path.
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5241 $as_echo_n "checking for ld used by $CC... " >&6; }
5244 # gcc leaves a trailing carriage return which upsets mingw
5245 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5247 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5250 # Accept absolute paths.
5252 re_direlt
='/[^/][^/]*/\.\./'
5253 # Canonicalize the pathname of ld
5254 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5255 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5256 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5258 test -z "$LD" && LD
="$ac_prog"
5261 # If it fails, then pretend we aren't using GCC.
5265 # If it is relative, then search for the first ld in PATH.
5269 elif test "$with_gnu_ld" = yes; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5271 $as_echo_n "checking for GNU ld... " >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5274 $as_echo_n "checking for non-GNU ld... " >&6; }
5276 if ${lt_cv_path_LD+:} false
; then :
5277 $as_echo_n "(cached) " >&6
5279 if test -z "$LD"; then
5280 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5281 for ac_dir
in $PATH; do
5283 test -z "$ac_dir" && ac_dir
=.
5284 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5285 lt_cv_path_LD
="$ac_dir/$ac_prog"
5286 # Check to see if the program is GNU ld. I'd rather use --version,
5287 # but apparently some variants of GNU ld only accept -v.
5288 # Break only if it was the GNU/non-GNU ld that we prefer.
5289 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5290 *GNU
* |
*'with BFD'*)
5291 test "$with_gnu_ld" != no
&& break
5294 test "$with_gnu_ld" != yes && break
5301 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5306 if test -n "$LD"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5308 $as_echo "$LD" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5313 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5315 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5316 if ${lt_cv_prog_gnu_ld+:} false
; then :
5317 $as_echo_n "(cached) " >&6
5319 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5320 case `$LD -v 2>&1 </dev/null` in
5321 *GNU
* |
*'with BFD'*)
5322 lt_cv_prog_gnu_ld
=yes
5325 lt_cv_prog_gnu_ld
=no
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5330 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5331 with_gnu_ld
=$lt_cv_prog_gnu_ld
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5342 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5343 if ${lt_cv_path_NM+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$NM"; then
5347 # Let the user override the test.
5350 lt_nm_to_check
="${ac_tool_prefix}nm"
5351 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5352 lt_nm_to_check
="$lt_nm_to_check nm"
5354 for lt_tmp_nm
in $lt_nm_to_check; do
5355 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5356 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5358 test -z "$ac_dir" && ac_dir
=.
5359 tmp_nm
="$ac_dir/$lt_tmp_nm"
5360 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5361 # Check to see if the nm accepts a BSD-compat flag.
5362 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5363 # nm: unknown option "B" ignored
5364 # Tru64's nm complains that /dev/null is an invalid object file
5365 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5366 */dev
/null
* |
*'Invalid file or object type'*)
5367 lt_cv_path_NM
="$tmp_nm -B"
5371 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5373 lt_cv_path_NM
="$tmp_nm -p"
5377 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5378 continue # so that we can try to find one that supports BSD flags
5387 : ${lt_cv_path_NM=no}
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5391 $as_echo "$lt_cv_path_NM" >&6; }
5392 if test "$lt_cv_path_NM" != "no"; then
5395 # Didn't find any BSD compatible name lister, look for dumpbin.
5396 if test -n "$ac_tool_prefix"; then
5397 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5400 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5404 $as_echo_n "(cached) " >&6
5406 if test -n "$DUMPBIN"; then
5407 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5413 test -z "$as_dir" && as_dir
=.
5414 for ac_exec_ext
in '' $ac_executable_extensions; do
5415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5416 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 DUMPBIN
=$ac_cv_prog_DUMPBIN
5427 if test -n "$DUMPBIN"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5429 $as_echo "$DUMPBIN" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5436 test -n "$DUMPBIN" && break
5439 if test -z "$DUMPBIN"; then
5440 ac_ct_DUMPBIN
=$DUMPBIN
5441 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5443 # Extract the first word of "$ac_prog", so it can be a program name with args.
5444 set dummy
$ac_prog; ac_word
=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -n "$ac_ct_DUMPBIN"; then
5451 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5457 test -z "$as_dir" && as_dir
=.
5458 for ac_exec_ext
in '' $ac_executable_extensions; do
5459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5460 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5471 if test -n "$ac_ct_DUMPBIN"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5473 $as_echo "$ac_ct_DUMPBIN" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5480 test -n "$ac_ct_DUMPBIN" && break
5483 if test "x$ac_ct_DUMPBIN" = x
; then
5486 case $cross_compiling:$ac_tool_warned in
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5490 ac_tool_warned
=yes ;;
5492 DUMPBIN
=$ac_ct_DUMPBIN
5497 if test "$DUMPBIN" != ":"; then
5501 test -z "$NM" && NM
=nm
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5509 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5510 if ${lt_cv_nm_interface+:} false
; then :
5511 $as_echo_n "(cached) " >&6
5513 lt_cv_nm_interface
="BSD nm"
5514 echo "int some_variable = 0;" > conftest.
$ac_ext
5515 (eval echo "\"\$as_me:5515: $ac_compile\"" >&5)
5516 (eval "$ac_compile" 2>conftest.err
)
5517 cat conftest.err
>&5
5518 (eval echo "\"\$as_me:5518: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5519 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5520 cat conftest.err
>&5
5521 (eval echo "\"\$as_me:5521: output\"" >&5)
5522 cat conftest.out
>&5
5523 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5524 lt_cv_nm_interface
="MS dumpbin"
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5529 $as_echo "$lt_cv_nm_interface" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5532 $as_echo_n "checking whether ln -s works... " >&6; }
5534 if test "$LN_S" = "ln -s"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536 $as_echo "yes" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5539 $as_echo "no, using $LN_S" >&6; }
5542 # find the maximum length of command line arguments
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5544 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5545 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5546 $as_echo_n "(cached) " >&6
5553 # On DJGPP, this test can blow up pretty badly due to problems in libc
5554 # (any single argument exceeding 2000 bytes causes a buffer overrun
5555 # during glob expansion). Even if it were fixed, the result of this
5556 # check would be larger than it should be.
5557 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5561 # Under GNU Hurd, this test is not required because there is
5562 # no limit to the length of command line arguments.
5563 # Libtool will interpret -1 as no limit whatsoever
5564 lt_cv_sys_max_cmd_len
=-1;
5567 cygwin
* | mingw
* | cegcc
*)
5568 # On Win9x/ME, this test blows up -- it succeeds, but takes
5569 # about 5 minutes as the teststring grows exponentially.
5570 # Worse, since 9x/ME are not pre-emptively multitasking,
5571 # you end up with a "frozen" computer, even though with patience
5572 # the test eventually succeeds (with a max line length of 256k).
5573 # Instead, let's just punt: use the minimum linelength reported by
5574 # all of the supported platforms: 8192 (on NT/2K/XP).
5575 lt_cv_sys_max_cmd_len
=8192;
5579 # On AmigaOS with pdksh, this test takes hours, literally.
5580 # So we just punt and use a minimum line length of 8192.
5581 lt_cv_sys_max_cmd_len
=8192;
5584 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5585 # This has been around since 386BSD, at least. Likely further.
5586 if test -x /sbin
/sysctl
; then
5587 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5588 elif test -x /usr
/sbin
/sysctl
; then
5589 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5591 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5593 # And add a safety zone
5594 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5595 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5599 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5600 lt_cv_sys_max_cmd_len
=196608
5604 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5605 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5606 # nice to cause kernel panics so lets avoid the loop below.
5607 # First set a reasonable default.
5608 lt_cv_sys_max_cmd_len
=16384
5610 if test -x /sbin
/sysconfig
; then
5611 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5612 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5617 lt_cv_sys_max_cmd_len
=102400
5619 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5620 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5621 if test -n "$kargmax"; then
5622 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5624 lt_cv_sys_max_cmd_len
=32768
5628 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5629 if test -n "$lt_cv_sys_max_cmd_len"; then
5630 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5631 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5633 # Make teststring a little bigger before we do anything with it.
5634 # a 1K string should be a reasonable start.
5635 for i
in 1 2 3 4 5 6 7 8 ; do
5636 teststring
=$teststring$teststring
5638 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5639 # If test is not a shell built-in, we'll probably end up computing a
5640 # maximum length that is only half of the actual maximum length, but
5642 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5643 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5644 test $i != 17 # 1/2 MB should be enough
5647 teststring
=$teststring$teststring
5649 # Only check the string length outside the loop.
5650 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5652 # Add a significant safety factor because C++ compilers can tack on
5653 # massive amounts of additional arguments before passing them to the
5654 # linker. It appears as though 1/2 is a usable value.
5655 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5662 if test -n $lt_cv_sys_max_cmd_len ; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5664 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5667 $as_echo "none" >&6; }
5669 max_cmd_len
=$lt_cv_sys_max_cmd_len
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5681 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5682 # Try some XSI features
5685 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5687 && eval 'test $(( 1 + 1 )) -eq 2 \
5688 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5691 $as_echo "$xsi_shell" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5695 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5697 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5699 && lt_shell_append=yes
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5701 $as_echo "$lt_shell_append" >&6; }
5704 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5714 # test EBCDIC or ASCII
5715 case `echo X|tr X '\101'` in
5716 A) # ASCII based system
5717 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5718 lt_SP2NL='tr \040 \012'
5719 lt_NL2SP='tr \015\012 \040\040'
5721 *) # EBCDIC based system
5722 lt_SP2NL='tr \100 \n'
5723 lt_NL2SP='tr \r\n \100\100'
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5736 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5737 if ${lt_cv_ld_reload_flag+:} false; then :
5738 $as_echo_n "(cached
) " >&6
5740 lt_cv_ld_reload_flag='-r'
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5743 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5744 reload_flag=$lt_cv_ld_reload_flag
5745 case $reload_flag in
5747 *) reload_flag=" $reload_flag" ;;
5749 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5752 if test "$GCC" = yes; then
5753 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5755 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5772 $as_echo_n "checking
for $ac_word...
" >&6; }
5773 if ${ac_cv_prog_OBJDUMP+:} false; then :
5774 $as_echo_n "(cached
) " >&6
5776 if test -n "$OBJDUMP"; then
5777 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5786 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5796 OBJDUMP=$ac_cv_prog_OBJDUMP
5797 if test -n "$OBJDUMP"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5799 $as_echo "$OBJDUMP" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5802 $as_echo "no
" >&6; }
5807 if test -z "$ac_cv_prog_OBJDUMP"; then
5808 ac_ct_OBJDUMP=$OBJDUMP
5809 # Extract the first word of "objdump
", so it can be a program name with args.
5810 set dummy objdump; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5812 $as_echo_n "checking
for $ac_word...
" >&6; }
5813 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5814 $as_echo_n "(cached
) " >&6
5816 if test -n "$ac_ct_OBJDUMP"; then
5817 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5836 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5837 if test -n "$ac_ct_OBJDUMP"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5839 $as_echo "$ac_ct_OBJDUMP" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5842 $as_echo "no
" >&6; }
5845 if test "x
$ac_ct_OBJDUMP" = x; then
5848 case $cross_compiling:$ac_tool_warned in
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5851 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5852 ac_tool_warned=yes ;;
5854 OBJDUMP=$ac_ct_OBJDUMP
5857 OBJDUMP="$ac_cv_prog_OBJDUMP"
5860 test -z "$OBJDUMP" && OBJDUMP=objdump
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5868 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5869 if ${lt_cv_deplibs_check_method+:} false; then :
5870 $as_echo_n "(cached
) " >&6
5872 lt_cv_file_magic_cmd='$MAGIC_CMD'
5873 lt_cv_file_magic_test_file=
5874 lt_cv_deplibs_check_method='unknown'
5875 # Need to set the preceding variable on all platforms that support
5876 # interlibrary dependencies.
5877 # 'none' -- dependencies not supported.
5878 # `unknown' -- same as none, but documents that we really don't know.
5879 # 'pass_all' -- all dependencies passed with no checks.
5880 # 'test_compile' -- check by making test program.
5881 # 'file_magic [[regex]]' -- check by looking for files in library path
5882 # which responds to the $file_magic_cmd with a given extended regex.
5883 # If you have `file' or equivalent on your system and you're not sure
5884 # whether `pass_all' will *always* work, you probably want this one.
5888 lt_cv_deplibs_check_method=pass_all
5892 lt_cv_deplibs_check_method=pass_all
5896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5897 lt_cv_file_magic_cmd='/usr/bin/file -L'
5898 lt_cv_file_magic_test_file=/shlib/libc.so
5902 # func_win32_libid is a shell function defined in ltmain.sh
5903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5904 lt_cv_file_magic_cmd='func_win32_libid'
5908 # Base MSYS/MinGW do not provide the 'file' command needed by
5909 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5910 # unless we find 'file', for example because we are cross-compiling.
5911 if ( file / ) >/dev/null 2>&1; then
5912 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5913 lt_cv_file_magic_cmd='func_win32_libid'
5915 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5916 lt_cv_file_magic_cmd='$OBJDUMP -f'
5921 # use the weaker test based on 'objdump'. See mingw*.
5922 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5923 lt_cv_file_magic_cmd='$OBJDUMP -f'
5926 darwin* | rhapsody*)
5927 lt_cv_deplibs_check_method=pass_all
5930 freebsd* | dragonfly*)
5931 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5934 # Not sure whether the presence of OpenBSD here was a mistake.
5935 # Let's accept both of them until this is cleared up.
5936 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5937 lt_cv_file_magic_cmd=/usr/bin/file
5938 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5942 lt_cv_deplibs_check_method=pass_all
5947 lt_cv_deplibs_check_method=pass_all
5950 hpux10.20* | hpux11*)
5951 lt_cv_file_magic_cmd=/usr/bin/file
5954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5958 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5959 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5963 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5969 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5973 irix5* | irix6* | nonstopux*)
5975 *-32|*"-32 ") libmagic=32-bit;;
5976 *-n32|*"-n32 ") libmagic=N32;;
5977 *-64|*"-64 ") libmagic=64-bit;;
5978 *) libmagic=never-match;;
5980 lt_cv_deplibs_check_method=pass_all
5983 # This must be Linux ELF.
5984 linux* | k*bsd*-gnu)
5985 lt_cv_deplibs_check_method=pass_all
5989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5992 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5997 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5998 lt_cv_file_magic_cmd=/usr/bin/file
5999 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6003 lt_cv_deplibs_check_method=pass_all
6007 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6014 osf3* | osf4* | osf5*)
6015 lt_cv_deplibs_check_method=pass_all
6019 lt_cv_deplibs_check_method=pass_all
6023 lt_cv_deplibs_check_method=pass_all
6026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6027 lt_cv_deplibs_check_method=pass_all
6031 case $host_vendor in
6033 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]'
6034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6037 lt_cv_deplibs_check_method=pass_all
6040 lt_cv_file_magic_cmd='/bin/file'
6041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6044 lt_cv_file_magic_cmd='/bin/file'
6045 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6046 lt_cv_file_magic_test_file=/lib/libc.so
6049 lt_cv_deplibs_check_method=pass_all
6052 lt_cv_deplibs_check_method=pass_all
6058 lt_cv_deplibs_check_method=pass_all
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6064 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6065 file_magic_cmd=$lt_cv_file_magic_cmd
6066 deplibs_check_method=$lt_cv_deplibs_check_method
6067 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6080 if test -n "$ac_tool_prefix"; then
6081 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6082 set dummy ${ac_tool_prefix}ar; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6084 $as_echo_n "checking
for $ac_word...
" >&6; }
6085 if ${ac_cv_prog_AR+:} false; then :
6086 $as_echo_n "(cached
) " >&6
6088 if test -n "$AR"; then
6089 ac_cv_prog_AR="$AR" # Let the user override the test.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_AR="${ac_tool_prefix}ar"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6109 if test -n "$AR"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6111 $as_echo "$AR" >&6; }
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6114 $as_echo "no
" >&6; }
6119 if test -z "$ac_cv_prog_AR"; then
6121 # Extract the first word of "ar", so it can be a program name with args.
6122 set dummy ar; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6124 $as_echo_n "checking
for $ac_word...
" >&6; }
6125 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6126 $as_echo_n "(cached
) " >&6
6128 if test -n "$ac_ct_AR"; then
6129 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 test -z "$as_dir" && as_dir=.
6136 for ac_exec_ext in '' $ac_executable_extensions; do
6137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138 ac_cv_prog_ac_ct_AR="ar"
6139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6148 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6149 if test -n "$ac_ct_AR"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6151 $as_echo "$ac_ct_AR" >&6; }
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6154 $as_echo "no
" >&6; }
6157 if test "x
$ac_ct_AR" = x; then
6160 case $cross_compiling:$ac_tool_warned in
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6164 ac_tool_warned=yes ;;
6172 test -z "$AR" && AR=ar
6173 test -z "$AR_FLAGS" && AR_FLAGS=cru
6185 if test -n "$ac_tool_prefix"; then
6186 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}strip; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6189 $as_echo_n "checking
for $ac_word...
" >&6; }
6190 if ${ac_cv_prog_STRIP+:} false; then :
6191 $as_echo_n "(cached
) " >&6
6193 if test -n "$STRIP"; then
6194 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6213 STRIP=$ac_cv_prog_STRIP
6214 if test -n "$STRIP"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6216 $as_echo "$STRIP" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6219 $as_echo "no
" >&6; }
6224 if test -z "$ac_cv_prog_STRIP"; then
6226 # Extract the first word of "strip
", so it can be a program name with args.
6227 set dummy strip; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6229 $as_echo_n "checking
for $ac_word...
" >&6; }
6230 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6231 $as_echo_n "(cached
) " >&6
6233 if test -n "$ac_ct_STRIP"; then
6234 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243 ac_cv_prog_ac_ct_STRIP="strip
"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6254 if test -n "$ac_ct_STRIP"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6256 $as_echo "$ac_ct_STRIP" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6259 $as_echo "no
" >&6; }
6262 if test "x
$ac_ct_STRIP" = x; then
6265 case $cross_compiling:$ac_tool_warned in
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6269 ac_tool_warned=yes ;;
6274 STRIP="$ac_cv_prog_STRIP"
6277 test -z "$STRIP" && STRIP=:
6284 if test -n "$ac_tool_prefix"; then
6285 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6288 $as_echo_n "checking
for $ac_word...
" >&6; }
6289 if ${ac_cv_prog_RANLIB+:} false; then :
6290 $as_echo_n "(cached
) " >&6
6292 if test -n "$RANLIB"; then
6293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6312 RANLIB=$ac_cv_prog_RANLIB
6313 if test -n "$RANLIB"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6315 $as_echo "$RANLIB" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6318 $as_echo "no
" >&6; }
6323 if test -z "$ac_cv_prog_RANLIB"; then
6324 ac_ct_RANLIB=$RANLIB
6325 # Extract the first word of "ranlib
", so it can be a program name with args.
6326 set dummy ranlib; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6328 $as_echo_n "checking
for $ac_word...
" >&6; }
6329 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6330 $as_echo_n "(cached
) " >&6
6332 if test -n "$ac_ct_RANLIB"; then
6333 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6353 if test -n "$ac_ct_RANLIB"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6355 $as_echo "$ac_ct_RANLIB" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6358 $as_echo "no
" >&6; }
6361 if test "x
$ac_ct_RANLIB" = x; then
6364 case $cross_compiling:$ac_tool_warned in
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6367 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6368 ac_tool_warned=yes ;;
6370 RANLIB=$ac_ct_RANLIB
6373 RANLIB="$ac_cv_prog_RANLIB"
6376 test -z "$RANLIB" && RANLIB=:
6383 # Determine commands to create old-style static archives.
6384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6385 old_postinstall_cmds='chmod 644 $oldlib'
6386 old_postuninstall_cmds=
6388 if test -n "$RANLIB"; then
6391 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6394 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6397 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6433 # If no C compiler was specified, use CC.
6436 # If no C compiler flags were specified, use CFLAGS.
6437 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6439 # Allow CC to be a program name with arguments.
6443 # Check for command to grab the raw symbol name followed by C symbol from nm.
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6445 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6446 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6447 $as_echo_n "(cached
) " >&6
6450 # These are sane defaults that work on at least a few old systems.
6451 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6453 # Character class describing NM global symbol codes.
6454 symcode='[BCDEGRST]'
6456 # Regexp to match symbols that can be accessed directly from C.
6457 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6459 # Define system-specific variables.
6464 cygwin* | mingw* | pw32* | cegcc*)
6465 symcode='[ABCDGISTW]'
6468 if test "$host_cpu" = ia64; then
6469 symcode='[ABCDEGRST]'
6473 symcode='[BCDEGRST]'
6476 symcode='[BCDEGQRST]'
6487 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6495 # If we're using GNU nm, then use its standard symbol codes.
6496 case `$NM -V 2>&1` in
6497 *GNU* | *'with BFD'*)
6498 symcode='[ABCDGIRSTW]' ;;
6501 # Transform an extracted symbol line into a proper C declaration.
6502 # Some systems (esp. on ia64) link data and code symbols differently,
6503 # so use this general approach.
6504 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6506 # Transform an extracted symbol line into symbol name and symbol address
6507 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6508 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6510 # Handle CRLF in mingw tool chain
6514 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6518 # Try without a prefix underscore, then with it.
6519 for ac_symprfx in "" "_
"; do
6521 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6522 symxfrm="\\1 $ac_symprfx\\2 \\2"
6524 # Write the raw and C identifiers.
6525 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6526 # Fake it for dumpbin and say T for any non-static function
6527 # and D for any global variable.
6528 # Also find C++ and __fastcall symbols from MSVC++,
6529 # which start with @ or ?.
6530 lt_cv_sys_global_symbol_pipe="$AWK '"\
6531 " {last_section=section; section=\$ 3};"\
6532 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6533 " \$ 0!~/External *\|/{next};"\
6534 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6535 " {if(hide[section]) next};"\
6536 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6537 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6538 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6539 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6540 " ' prfx
=^
$ac_symprfx"
6542 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6545 # Check to see that the pipe works correctly.
6549 cat > conftest.$ac_ext <<_LT_EOF
6554 void nm_test_func(void);
6555 void nm_test_func(void){}
6559 int main(){nm_test_var='a';nm_test_func();return(0);}
6562 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6563 (eval $ac_compile) 2>&5
6565 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6566 test $ac_status = 0; }; then
6567 # Now try to grab the symbols.
6569 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6570 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6572 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6573 test $ac_status = 0; } && test -s "$nlist"; then
6574 # Try sorting and uniquifying the output.
6575 if sort "$nlist" | uniq > "$nlist"T; then
6576 mv -f "$nlist"T "$nlist"
6581 # Make sure that we snagged all the symbols we need.
6582 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6583 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6584 cat <<_LT_EOF > conftest.$ac_ext
6590 # Now generate the symbol file.
6591 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6593 cat <<_LT_EOF >> conftest.$ac_ext
6595 /* The mapping between symbol names and symbols. */
6600 lt__PROGRAM__LTX_preloaded_symbols[] =
6602 { "@PROGRAM@
", (void *) 0 },
6604 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6605 cat <<\_LT_EOF >> conftest.$ac_ext
6609 /* This works around a problem in FreeBSD linker */
6610 #ifdef FREEBSD_WORKAROUND
6611 static const void *lt_preloaded_setup() {
6612 return lt__PROGRAM__LTX_preloaded_symbols;
6620 # Now try linking the two files.
6621 mv conftest.$ac_objext conftstm.$ac_objext
6622 lt_save_LIBS="$LIBS"
6623 lt_save_CFLAGS="$CFLAGS"
6624 LIBS="conftstm.
$ac_objext"
6625 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6626 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6627 (eval $ac_link) 2>&5
6629 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6630 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6633 LIBS="$lt_save_LIBS"
6634 CFLAGS="$lt_save_CFLAGS"
6636 echo "cannot
find nm_test_func
in $nlist" >&5
6639 echo "cannot
find nm_test_var
in $nlist" >&5
6642 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6645 echo "$progname: failed program was
:" >&5
6646 cat conftest.$ac_ext >&5
6648 rm -rf conftest* conftst*
6650 # Do not use the global_symbol_pipe unless it works.
6651 if test "$pipe_works" = yes; then
6654 lt_cv_sys_global_symbol_pipe=
6660 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6661 lt_cv_sys_global_symbol_to_cdecl=
6663 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6665 $as_echo "failed
" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6668 $as_echo "ok
" >&6; }
6693 # Check whether --enable-libtool-lock was given.
6694 if test "${enable_libtool_lock+set}" = set; then :
6695 enableval=$enable_libtool_lock;
6698 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6700 # Some flags need to be propagated to the compiler or linker for good
6704 # Find out which ABI we are using.
6705 echo 'int i;' > conftest.$ac_ext
6706 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6707 (eval $ac_compile) 2>&5
6709 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6710 test $ac_status = 0; }; then
6711 case `/usr/bin/file conftest.$ac_objext` in
6723 # Find out which ABI we are using.
6724 echo '#line 6724 "configure
"' > conftest.$ac_ext
6725 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6726 (eval $ac_compile) 2>&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6729 test $ac_status = 0; }; then
6730 if test "$lt_cv_prog_gnu_ld" = yes; then
6731 case `/usr/bin/file conftest.$ac_objext` in
6733 LD="${LD-ld} -melf32bsmip"
6736 LD="${LD-ld} -melf32bmipn32"
6739 LD="${LD-ld} -melf64bmip"
6743 case `/usr/bin/file conftest.$ac_objext` in
6759 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6760 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6761 # Find out which ABI we are using.
6762 echo 'int i;' > conftest.$ac_ext
6763 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6764 (eval $ac_compile) 2>&5
6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6767 test $ac_status = 0; }; then
6768 case `/usr/bin/file conftest.o` in
6771 x86_64-*kfreebsd*-gnu)
6772 LD="${LD-ld} -m elf_i386_fbsd
"
6775 LD="${LD-ld} -m elf_i386
"
6777 ppc64-*linux*|powerpc64-*linux*)
6778 LD="${LD-ld} -m elf32ppclinux
"
6781 LD="${LD-ld} -m elf_s390
"
6784 LD="${LD-ld} -m elf32_sparc
"
6790 x86_64-*kfreebsd*-gnu)
6791 LD="${LD-ld} -m elf_x86_64_fbsd
"
6794 LD="${LD-ld} -m elf_x86_64
"
6796 ppc*-*linux*|powerpc*-*linux*)
6797 LD="${LD-ld} -m elf64ppc
"
6799 s390*-*linux*|s390*-*tpf*)
6800 LD="${LD-ld} -m elf64_s390
"
6803 LD="${LD-ld} -m elf64_sparc
"
6813 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6814 SAVE_CFLAGS="$CFLAGS"
6815 CFLAGS="$CFLAGS -belf"
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6817 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6818 if ${lt_cv_cc_needs_belf+:} false; then :
6819 $as_echo_n "(cached
) " >&6
6822 ac_cpp='$CPP $CPPFLAGS'
6823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6828 /* end confdefs.h. */
6838 if ac_fn_c_try_link "$LINENO"; then :
6839 lt_cv_cc_needs_belf=yes
6841 lt_cv_cc_needs_belf=no
6843 rm -f core conftest.err conftest.$ac_objext \
6844 conftest$ac_exeext conftest.$ac_ext
6846 ac_cpp='$CPP $CPPFLAGS'
6847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6853 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6854 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6855 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6856 CFLAGS="$SAVE_CFLAGS"
6860 # Find out which ABI we are using.
6861 echo 'int i;' > conftest.$ac_ext
6862 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6863 (eval $ac_compile) 2>&5
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6866 test $ac_status = 0; }; then
6867 case `/usr/bin/file conftest.o` in
6869 case $lt_cv_prog_gnu_ld in
6870 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6872 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6884 need_locks="$enable_libtool_lock"
6888 rhapsody* | darwin*)
6889 if test -n "$ac_tool_prefix"; then
6890 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6891 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6893 $as_echo_n "checking
for $ac_word...
" >&6; }
6894 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6895 $as_echo_n "(cached
) " >&6
6897 if test -n "$DSYMUTIL"; then
6898 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir=.
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6907 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6917 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6918 if test -n "$DSYMUTIL"; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6920 $as_echo "$DSYMUTIL" >&6; }
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6923 $as_echo "no
" >&6; }
6928 if test -z "$ac_cv_prog_DSYMUTIL"; then
6929 ac_ct_DSYMUTIL=$DSYMUTIL
6930 # Extract the first word of "dsymutil
", so it can be a program name with args.
6931 set dummy dsymutil; ac_word=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6933 $as_echo_n "checking
for $ac_word...
" >&6; }
6934 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6935 $as_echo_n "(cached
) " >&6
6937 if test -n "$ac_ct_DSYMUTIL"; then
6938 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir=.
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6957 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6958 if test -n "$ac_ct_DSYMUTIL"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6960 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6963 $as_echo "no
" >&6; }
6966 if test "x
$ac_ct_DSYMUTIL" = x; then
6969 case $cross_compiling:$ac_tool_warned in
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6972 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6973 ac_tool_warned=yes ;;
6975 DSYMUTIL=$ac_ct_DSYMUTIL
6978 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6981 if test -n "$ac_tool_prefix"; then
6982 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6983 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6985 $as_echo_n "checking
for $ac_word...
" >&6; }
6986 if ${ac_cv_prog_NMEDIT+:} false; then :
6987 $as_echo_n "(cached
) " >&6
6989 if test -n "$NMEDIT"; then
6990 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 test -z "$as_dir" && as_dir=.
6997 for ac_exec_ext in '' $ac_executable_extensions; do
6998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6999 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7009 NMEDIT=$ac_cv_prog_NMEDIT
7010 if test -n "$NMEDIT"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7012 $as_echo "$NMEDIT" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7015 $as_echo "no
" >&6; }
7020 if test -z "$ac_cv_prog_NMEDIT"; then
7021 ac_ct_NMEDIT=$NMEDIT
7022 # Extract the first word of "nmedit
", so it can be a program name with args.
7023 set dummy nmedit; ac_word=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7025 $as_echo_n "checking
for $ac_word...
" >&6; }
7026 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7027 $as_echo_n "(cached
) " >&6
7029 if test -n "$ac_ct_NMEDIT"; then
7030 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir=.
7037 for ac_exec_ext in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7049 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7050 if test -n "$ac_ct_NMEDIT"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7052 $as_echo "$ac_ct_NMEDIT" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7055 $as_echo "no
" >&6; }
7058 if test "x
$ac_ct_NMEDIT" = x; then
7061 case $cross_compiling:$ac_tool_warned in
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7064 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7065 ac_tool_warned=yes ;;
7067 NMEDIT=$ac_ct_NMEDIT
7070 NMEDIT="$ac_cv_prog_NMEDIT"
7073 if test -n "$ac_tool_prefix"; then
7074 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7075 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7077 $as_echo_n "checking
for $ac_word...
" >&6; }
7078 if ${ac_cv_prog_LIPO+:} false; then :
7079 $as_echo_n "(cached
) " >&6
7081 if test -n "$LIPO"; then
7082 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir=.
7089 for ac_exec_ext in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7101 LIPO=$ac_cv_prog_LIPO
7102 if test -n "$LIPO"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7104 $as_echo "$LIPO" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7107 $as_echo "no
" >&6; }
7112 if test -z "$ac_cv_prog_LIPO"; then
7114 # Extract the first word of "lipo
", so it can be a program name with args.
7115 set dummy lipo; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7117 $as_echo_n "checking
for $ac_word...
" >&6; }
7118 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7119 $as_echo_n "(cached
) " >&6
7121 if test -n "$ac_ct_LIPO"; then
7122 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_ac_ct_LIPO="lipo
"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7141 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7142 if test -n "$ac_ct_LIPO"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7144 $as_echo "$ac_ct_LIPO" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7147 $as_echo "no
" >&6; }
7150 if test "x
$ac_ct_LIPO" = x; then
7153 case $cross_compiling:$ac_tool_warned in
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7156 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7157 ac_tool_warned=yes ;;
7162 LIPO="$ac_cv_prog_LIPO"
7165 if test -n "$ac_tool_prefix"; then
7166 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7167 set dummy ${ac_tool_prefix}otool; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7169 $as_echo_n "checking
for $ac_word...
" >&6; }
7170 if ${ac_cv_prog_OTOOL+:} false; then :
7171 $as_echo_n "(cached
) " >&6
7173 if test -n "$OTOOL"; then
7174 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7193 OTOOL=$ac_cv_prog_OTOOL
7194 if test -n "$OTOOL"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7196 $as_echo "$OTOOL" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7199 $as_echo "no
" >&6; }
7204 if test -z "$ac_cv_prog_OTOOL"; then
7206 # Extract the first word of "otool
", so it can be a program name with args.
7207 set dummy otool; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7209 $as_echo_n "checking
for $ac_word...
" >&6; }
7210 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7211 $as_echo_n "(cached
) " >&6
7213 if test -n "$ac_ct_OTOOL"; then
7214 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7223 ac_cv_prog_ac_ct_OTOOL="otool
"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7233 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7234 if test -n "$ac_ct_OTOOL"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7236 $as_echo "$ac_ct_OTOOL" >&6; }
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7239 $as_echo "no
" >&6; }
7242 if test "x
$ac_ct_OTOOL" = x; then
7245 case $cross_compiling:$ac_tool_warned in
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7248 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7249 ac_tool_warned=yes ;;
7254 OTOOL="$ac_cv_prog_OTOOL"
7257 if test -n "$ac_tool_prefix"; then
7258 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7259 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7261 $as_echo_n "checking
for $ac_word...
" >&6; }
7262 if ${ac_cv_prog_OTOOL64+:} false; then :
7263 $as_echo_n "(cached
) " >&6
7265 if test -n "$OTOOL64"; then
7266 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7275 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7285 OTOOL64=$ac_cv_prog_OTOOL64
7286 if test -n "$OTOOL64"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7288 $as_echo "$OTOOL64" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7291 $as_echo "no
" >&6; }
7296 if test -z "$ac_cv_prog_OTOOL64"; then
7297 ac_ct_OTOOL64=$OTOOL64
7298 # Extract the first word of "otool64
", so it can be a program name with args.
7299 set dummy otool64; ac_word=$2
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7301 $as_echo_n "checking
for $ac_word...
" >&6; }
7302 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7303 $as_echo_n "(cached
) " >&6
7305 if test -n "$ac_ct_OTOOL64"; then
7306 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 test -z "$as_dir" && as_dir=.
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7315 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7325 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7326 if test -n "$ac_ct_OTOOL64"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7328 $as_echo "$ac_ct_OTOOL64" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7331 $as_echo "no
" >&6; }
7334 if test "x
$ac_ct_OTOOL64" = x; then
7337 case $cross_compiling:$ac_tool_warned in
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7340 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7341 ac_tool_warned=yes ;;
7343 OTOOL64=$ac_ct_OTOOL64
7346 OTOOL64="$ac_cv_prog_OTOOL64"
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7376 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7377 if ${lt_cv_apple_cc_single_mod+:} false; then :
7378 $as_echo_n "(cached
) " >&6
7380 lt_cv_apple_cc_single_mod=no
7381 if test -z "${LT_MULTI_MODULE}"; then
7382 # By default we will add the -single_module flag. You can override
7383 # by either setting the environment variable LT_MULTI_MODULE
7384 # non-empty at configure time, or by adding -multi_module to the
7386 rm -rf libconftest.dylib*
7387 echo "int foo
(void
){return 1;}" > conftest.c
7388 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7389 -dynamiclib -Wl,-single_module conftest.c
" >&5
7390 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7391 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7393 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7394 lt_cv_apple_cc_single_mod=yes
7396 cat conftest.err >&5
7398 rm -rf libconftest.dylib*
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7403 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7405 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7406 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7407 $as_echo_n "(cached
) " >&6
7409 lt_cv_ld_exported_symbols_list=no
7410 save_LDFLAGS=$LDFLAGS
7411 echo "_main
" > conftest.sym
7412 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414 /* end confdefs.h. */
7424 if ac_fn_c_try_link "$LINENO"; then :
7425 lt_cv_ld_exported_symbols_list=yes
7427 lt_cv_ld_exported_symbols_list=no
7429 rm -f core conftest.err conftest.$ac_objext \
7430 conftest$ac_exeext conftest.$ac_ext
7431 LDFLAGS="$save_LDFLAGS"
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7435 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7437 rhapsody* | darwin1.[012])
7438 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7440 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7441 darwin*) # darwin 5.x on
7442 # if running on 10.5 or later, the deployment target defaults
7443 # to the OS version, if on x86, and 10.4, the deployment
7444 # target defaults to 10.4. Don't you love it?
7445 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7446 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7447 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7449 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7451 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7455 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7456 _lt_dar_single_mod='$single_module'
7458 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7459 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7461 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7463 if test "$DSYMUTIL" != ":"; then
7464 _lt_dsymutil='~$DSYMUTIL $lib || :'
7472 ac_cpp='$CPP $CPPFLAGS'
7473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7477 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7478 # On Suns, sometimes $CPP names a directory.
7479 if test -n "$CPP" && test -d "$CPP"; then
7482 if test -z "$CPP"; then
7483 if ${ac_cv_prog_CPP+:} false; then :
7484 $as_echo_n "(cached
) " >&6
7486 # Double quotes because CPP needs to be expanded
7487 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7490 for ac_c_preproc_warn_flag in '' yes
7492 # Use a header file that comes with gcc, so configuring glibc
7493 # with a fresh cross-compiler works.
7494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7495 # <limits.h> exists even on freestanding compilers.
7496 # On the NeXT, cc -E runs the code through the compiler's parser,
7497 # not just through cpp. "Syntax error
" is here to catch this case.
7498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7501 # include <limits.h>
7503 # include <assert.h>
7507 if ac_fn_c_try_cpp "$LINENO"; then :
7510 # Broken: fails on valid input.
7513 rm -f conftest.err conftest.i conftest.$ac_ext
7515 # OK, works on sane cases. Now check whether nonexistent headers
7516 # can be detected and how.
7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518 /* end confdefs.h. */
7519 #include <ac_nonexistent.h>
7521 if ac_fn_c_try_cpp "$LINENO"; then :
7522 # Broken: success on invalid input.
7525 # Passes both tests.
7529 rm -f conftest.err conftest.i conftest.$ac_ext
7532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7533 rm -f conftest.i conftest.err conftest.$ac_ext
7534 if $ac_preproc_ok; then :
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7547 $as_echo "$CPP" >&6; }
7549 for ac_c_preproc_warn_flag in '' yes
7551 # Use a header file that comes with gcc, so configuring glibc
7552 # with a fresh cross-compiler works.
7553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7554 # <limits.h> exists even on freestanding compilers.
7555 # On the NeXT, cc -E runs the code through the compiler's parser,
7556 # not just through cpp. "Syntax error
" is here to catch this case.
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7560 # include <limits.h>
7562 # include <assert.h>
7566 if ac_fn_c_try_cpp "$LINENO"; then :
7569 # Broken: fails on valid input.
7572 rm -f conftest.err conftest.i conftest.$ac_ext
7574 # OK, works on sane cases. Now check whether nonexistent headers
7575 # can be detected and how.
7576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h. */
7578 #include <ac_nonexistent.h>
7580 if ac_fn_c_try_cpp "$LINENO"; then :
7581 # Broken: success on invalid input.
7584 # Passes both tests.
7588 rm -f conftest.err conftest.i conftest.$ac_ext
7591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7592 rm -f conftest.i conftest.err conftest.$ac_ext
7593 if $ac_preproc_ok; then :
7596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7598 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7599 See \`config.log' for more details
" "$LINENO" 5; }
7603 ac_cpp='$CPP $CPPFLAGS'
7604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7610 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7611 if ${ac_cv_header_stdc+:} false; then :
7612 $as_echo_n "(cached
) " >&6
7614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7629 if ac_fn_c_try_compile "$LINENO"; then :
7630 ac_cv_header_stdc=yes
7632 ac_cv_header_stdc=no
7634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7636 if test $ac_cv_header_stdc = yes; then
7637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h. */
7643 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7644 $EGREP "memchr
" >/dev/null 2>&1; then :
7647 ac_cv_header_stdc=no
7653 if test $ac_cv_header_stdc = yes; then
7654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7660 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7661 $EGREP "free
" >/dev/null 2>&1; then :
7664 ac_cv_header_stdc=no
7670 if test $ac_cv_header_stdc = yes; then
7671 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7672 if test "$cross_compiling" = yes; then :
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7679 #if ((' ' & 0x0FF) == 0x020)
7680 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7681 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7683 # define ISLOWER(c) \
7684 (('a' <= (c) && (c) <= 'i') \
7685 || ('j' <= (c) && (c) <= 'r') \
7686 || ('s' <= (c) && (c) <= 'z'))
7687 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7690 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7695 for (i = 0; i < 256; i++)
7696 if (XOR (islower (i), ISLOWER (i))
7697 || toupper (i) != TOUPPER (i))
7702 if ac_fn_c_try_run "$LINENO"; then :
7705 ac_cv_header_stdc=no
7707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7708 conftest.$ac_objext conftest.beam conftest.$ac_ext
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7714 $as_echo "$ac_cv_header_stdc" >&6; }
7715 if test $ac_cv_header_stdc = yes; then
7717 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7721 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7722 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7723 inttypes.h stdint.h unistd.h
7725 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7726 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7728 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7729 cat >>confdefs.h
<<_ACEOF
7730 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7738 for ac_header
in dlfcn.h
7740 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7742 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7743 cat >>confdefs.h
<<_ACEOF
7744 #define HAVE_DLFCN_H 1
7761 # Check whether --enable-shared was given.
7762 if test "${enable_shared+set}" = set; then :
7763 enableval
=$enable_shared; p
=${PACKAGE-default}
7765 yes) enable_shared
=yes ;;
7766 no
) enable_shared
=no
;;
7769 # Look at the argument we got. We use all the common list separators.
7770 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7771 for pkg
in $enableval; do
7773 if test "X$pkg" = "X$p"; then
7792 # Check whether --enable-static was given.
7793 if test "${enable_static+set}" = set; then :
7794 enableval
=$enable_static; p
=${PACKAGE-default}
7796 yes) enable_static
=yes ;;
7797 no
) enable_static
=no
;;
7800 # Look at the argument we got. We use all the common list separators.
7801 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7802 for pkg
in $enableval; do
7804 if test "X$pkg" = "X$p"; then
7824 # Check whether --with-pic was given.
7825 if test "${with_pic+set}" = set; then :
7826 withval
=$with_pic; pic_mode
="$withval"
7832 test -z "$pic_mode" && pic_mode
=default
7840 # Check whether --enable-fast-install was given.
7841 if test "${enable_fast_install+set}" = set; then :
7842 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7844 yes) enable_fast_install
=yes ;;
7845 no
) enable_fast_install
=no
;;
7847 enable_fast_install
=no
7848 # Look at the argument we got. We use all the common list separators.
7849 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7850 for pkg
in $enableval; do
7852 if test "X$pkg" = "X$p"; then
7853 enable_fast_install
=yes
7860 enable_fast_install
=yes
7873 # This can be used to rebuild libtool when needed
7874 LIBTOOL_DEPS
="$ltmain"
7876 # Always use our own libtool.
7877 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7903 test -z "$LN_S" && LN_S
="ln -s"
7918 if test -n "${ZSH_VERSION+set}" ; then
7919 setopt NO_GLOB_SUBST
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7923 $as_echo_n "checking for objdir... " >&6; }
7924 if ${lt_cv_objdir+:} false
; then :
7925 $as_echo_n "(cached) " >&6
7927 rm -f .libs
2>/dev
/null
7928 mkdir .libs
2>/dev
/null
7929 if test -d .libs
; then
7932 # MS-DOS does not allow filenames that begin with a dot.
7935 rmdir .libs
2>/dev
/null
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7938 $as_echo "$lt_cv_objdir" >&6; }
7939 objdir
=$lt_cv_objdir
7945 cat >>confdefs.h
<<_ACEOF
7946 #define LT_OBJDIR "$lt_cv_objdir/"
7967 # AIX sometimes has problems with the GCC collect2 program. For some
7968 # reason, if we set the COLLECT_NAMES environment variable, the problems
7969 # vanish in a puff of smoke.
7970 if test "X${COLLECT_NAMES+set}" != Xset
; then
7972 export COLLECT_NAMES
7977 # Sed substitution that helps us do robust quoting. It backslashifies
7978 # metacharacters that are still active within double-quoted strings.
7979 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7981 # Same as above, but do not quote variable references.
7982 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7984 # Sed substitution to delay expansion of an escaped shell variable in a
7985 # double_quote_subst'ed string.
7986 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7988 # Sed substitution to delay expansion of an escaped single quote.
7989 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7991 # Sed substitution to avoid accidental globbing in evaled expressions
7992 no_glob_subst
='s/\*/\\\*/g'
7996 can_build_shared
=yes
7998 # All known linkers require a `.a' archive for static linking (except MSVC,
7999 # which needs '.lib').
8002 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8005 old_CFLAGS
="$CFLAGS"
8007 # Set sane defaults for various variables
8008 test -z "$CC" && CC
=cc
8009 test -z "$LTCC" && LTCC
=$CC
8010 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8011 test -z "$LD" && LD
=ld
8012 test -z "$ac_objext" && ac_objext
=o
8014 for cc_temp
in $compiler""; do
8016 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8017 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8022 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8025 # Only perform the check for file, if the check method requires it
8026 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8027 case $deplibs_check_method in
8029 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8031 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8032 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8033 $as_echo_n "(cached) " >&6
8037 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8040 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8041 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8042 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8043 for ac_dir
in $ac_dummy; do
8045 test -z "$ac_dir" && ac_dir
=.
8046 if test -f $ac_dir/${ac_tool_prefix}file; then
8047 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8048 if test -n "$file_magic_test_file"; then
8049 case $deplibs_check_method in
8051 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8052 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8053 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8054 $EGREP "$file_magic_regex" > /dev
/null
; then
8059 *** Warning: the command libtool uses to detect shared libraries,
8060 *** $file_magic_cmd, produces output that libtool cannot recognize.
8061 *** The result is that libtool may fail to recognize shared libraries
8062 *** as such. This will affect the creation of libtool libraries that
8063 *** depend on shared libraries, but programs linked with such libtool
8064 *** libraries will work regardless of this problem. Nevertheless, you
8065 *** may want to report the problem to your system manager and/or to
8066 *** bug-libtool@gnu.org
8076 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8081 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8082 if test -n "$MAGIC_CMD"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8084 $as_echo "$MAGIC_CMD" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8094 if test -z "$lt_cv_path_MAGIC_CMD"; then
8095 if test -n "$ac_tool_prefix"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8097 $as_echo_n "checking for file... " >&6; }
8098 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8099 $as_echo_n "(cached) " >&6
8103 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8106 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8107 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8108 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8109 for ac_dir
in $ac_dummy; do
8111 test -z "$ac_dir" && ac_dir
=.
8112 if test -f $ac_dir/file; then
8113 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8114 if test -n "$file_magic_test_file"; then
8115 case $deplibs_check_method in
8117 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8118 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8119 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8120 $EGREP "$file_magic_regex" > /dev
/null
; then
8125 *** Warning: the command libtool uses to detect shared libraries,
8126 *** $file_magic_cmd, produces output that libtool cannot recognize.
8127 *** The result is that libtool may fail to recognize shared libraries
8128 *** as such. This will affect the creation of libtool libraries that
8129 *** depend on shared libraries, but programs linked with such libtool
8130 *** libraries will work regardless of this problem. Nevertheless, you
8131 *** may want to report the problem to your system manager and/or to
8132 *** bug-libtool@gnu.org
8142 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8147 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8148 if test -n "$MAGIC_CMD"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8150 $as_echo "$MAGIC_CMD" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153 $as_echo "no" >&6; }
8166 # Use C for the default configuration in the libtool script
8170 ac_cpp
='$CPP $CPPFLAGS'
8171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8176 # Source file extension for C test sources.
8179 # Object file extension for compiled C test sources.
8183 # Code to be used in simple compile tests
8184 lt_simple_compile_test_code
="int some_variable = 0;"
8186 # Code to be used in simple link tests
8187 lt_simple_link_test_code
='int main(){return(0);}'
8195 # If no C compiler was specified, use CC.
8198 # If no C compiler flags were specified, use CFLAGS.
8199 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8201 # Allow CC to be a program name with arguments.
8204 # Save the default compiler, since it gets overwritten when the other
8205 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8206 compiler_DEFAULT
=$CC
8208 # save warnings/boilerplate of simple test code
8209 ac_outfile
=conftest.
$ac_objext
8210 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8211 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8212 _lt_compiler_boilerplate
=`cat conftest.err`
8215 ac_outfile
=conftest.
$ac_objext
8216 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8217 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8218 _lt_linker_boilerplate
=`cat conftest.err`
8223 ## There is no encapsulation within the following macros, do not change
8224 ## the running order or otherwise move them around unless you know exactly
8225 ## what you are doing...
8226 if test -n "$compiler"; then
8228 lt_prog_compiler_no_builtin_flag
=
8230 if test "$GCC" = yes; then
8231 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8234 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8235 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8236 $as_echo_n "(cached) " >&6
8238 lt_cv_prog_compiler_rtti_exceptions
=no
8239 ac_outfile
=conftest.
$ac_objext
8240 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8241 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8242 # Insert the option either (1) after the last *FLAGS variable, or
8243 # (2) before a word containing "conftest.", or (3) at the end.
8244 # Note that $ac_compile itself does not contain backslashes and begins
8245 # with a dollar sign (not a hyphen), so the echo should work correctly.
8246 # The option is referenced via a variable to avoid confusing sed.
8247 lt_compile
=`echo "$ac_compile" | $SED \
8248 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8249 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8250 -e 's:$: $lt_compiler_flag:'`
8251 (eval echo "\"\$as_me:8251: $lt_compile\"" >&5)
8252 (eval "$lt_compile" 2>conftest.err
)
8254 cat conftest.err
>&5
8255 echo "$as_me:8255: \$? = $ac_status" >&5
8256 if (exit $ac_status) && test -s "$ac_outfile"; then
8257 # The compiler can only warn and ignore the option if not recognized
8258 # So say no if there are warnings other than the usual output.
8259 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8260 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8261 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8262 lt_cv_prog_compiler_rtti_exceptions
=yes
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8269 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8271 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8272 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8284 lt_prog_compiler_wl
=
8285 lt_prog_compiler_pic
=
8286 lt_prog_compiler_static
=
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8289 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8291 if test "$GCC" = yes; then
8292 lt_prog_compiler_wl
='-Wl,'
8293 lt_prog_compiler_static
='-static'
8297 # All AIX code is PIC.
8298 if test "$host_cpu" = ia64
; then
8299 # AIX 5 now supports IA64 processor
8300 lt_prog_compiler_static
='-Bstatic'
8307 # see comment about AmigaOS4 .so support
8308 lt_prog_compiler_pic
='-fPIC'
8311 # FIXME: we need at least 68020 code to build shared libraries, but
8312 # adding the `-m68020' flag to GCC prevents building anything better,
8314 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8319 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8320 # PIC is the default for these OSes.
8323 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8324 # This hack is so that the source file can tell whether it is being
8325 # built for inclusion in a dll (and should export symbols for example).
8326 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8327 # (--disable-auto-import) libraries
8328 lt_prog_compiler_pic
='-DDLL_EXPORT'
8331 darwin
* | rhapsody
*)
8332 # PIC is the default on this platform
8333 # Common symbols not allowed in MH_DYLIB files
8334 lt_prog_compiler_pic
='-fno-common'
8338 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8339 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8340 # sets the default TLS model and affects inlining.
8346 lt_prog_compiler_pic
='-fPIC'
8352 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8353 # Instead, we relocate shared libraries at runtime.
8357 # Just because we use GCC doesn't mean we suddenly get shared libraries
8358 # on systems that don't support them.
8359 lt_prog_compiler_can_build_shared
=no
8364 # QNX uses GNU C++, but need to define -shared option too, otherwise
8366 lt_prog_compiler_pic
='-fPIC -shared'
8370 if test -d /usr
/nec
; then
8371 lt_prog_compiler_pic
=-Kconform_pic
8376 lt_prog_compiler_pic
='-fPIC'
8380 # PORTME Check for flag to pass linker flags through the system compiler.
8383 lt_prog_compiler_wl
='-Wl,'
8384 if test "$host_cpu" = ia64
; then
8385 # AIX 5 now supports IA64 processor
8386 lt_prog_compiler_static
='-Bstatic'
8388 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8392 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8393 # This hack is so that the source file can tell whether it is being
8394 # built for inclusion in a dll (and should export symbols for example).
8395 lt_prog_compiler_pic
='-DDLL_EXPORT'
8398 hpux9
* | hpux10
* | hpux11
*)
8399 lt_prog_compiler_wl
='-Wl,'
8400 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8407 lt_prog_compiler_pic
='+Z'
8410 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8411 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8414 irix5
* | irix6
* | nonstopux
*)
8415 lt_prog_compiler_wl
='-Wl,'
8416 # PIC (with -KPIC) is the default.
8417 lt_prog_compiler_static
='-non_shared'
8420 linux
* | k
*bsd
*-gnu)
8421 case $cc_basename in
8422 # old Intel for x86_64 which still supported -KPIC.
8424 lt_prog_compiler_wl
='-Wl,'
8425 lt_prog_compiler_pic
='-KPIC'
8426 lt_prog_compiler_static
='-static'
8428 # icc used to be incompatible with GCC.
8429 # ICC 10 doesn't accept -KPIC any more.
8431 lt_prog_compiler_wl
='-Wl,'
8432 lt_prog_compiler_pic
='-fPIC'
8433 lt_prog_compiler_static
='-static'
8435 # Lahey Fortran 8.1.
8437 lt_prog_compiler_wl
='-Wl,'
8438 lt_prog_compiler_pic
='--shared'
8439 lt_prog_compiler_static
='--static'
8441 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8442 # Portland Group compilers (*not* the Pentium gcc compiler,
8443 # which looks to be a dead project)
8444 lt_prog_compiler_wl
='-Wl,'
8445 lt_prog_compiler_pic
='-fpic'
8446 lt_prog_compiler_static
='-Bstatic'
8449 lt_prog_compiler_wl
='-Wl,'
8450 # All Alpha code is PIC.
8451 lt_prog_compiler_static
='-non_shared'
8454 # IBM XL C 8.0/Fortran 10.1 on PPC
8455 lt_prog_compiler_wl
='-Wl,'
8456 lt_prog_compiler_pic
='-qpic'
8457 lt_prog_compiler_static
='-qstaticlink'
8460 case `$CC -V 2>&1 | sed 5q` in
8463 lt_prog_compiler_pic
='-KPIC'
8464 lt_prog_compiler_static
='-Bstatic'
8465 lt_prog_compiler_wl
='-Wl,'
8468 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8469 lt_prog_compiler_pic
='-KPIC'
8470 lt_prog_compiler_static
='-Bstatic'
8471 lt_prog_compiler_wl
=''
8479 lt_prog_compiler_pic
='-KPIC'
8480 lt_prog_compiler_static
='-Bstatic'
8484 # QNX uses GNU C++, but need to define -shared option too, otherwise
8486 lt_prog_compiler_pic
='-fPIC -shared'
8489 osf3
* | osf4
* | osf5
*)
8490 lt_prog_compiler_wl
='-Wl,'
8491 # All OSF/1 code is PIC.
8492 lt_prog_compiler_static
='-non_shared'
8496 lt_prog_compiler_static
='-non_shared'
8500 lt_prog_compiler_pic
='-KPIC'
8501 lt_prog_compiler_static
='-Bstatic'
8502 case $cc_basename in
8504 lt_prog_compiler_wl
='-Qoption ld ';;
8506 lt_prog_compiler_wl
='-Wl,';;
8511 lt_prog_compiler_wl
='-Qoption ld '
8512 lt_prog_compiler_pic
='-PIC'
8513 lt_prog_compiler_static
='-Bstatic'
8516 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8517 lt_prog_compiler_wl
='-Wl,'
8518 lt_prog_compiler_pic
='-KPIC'
8519 lt_prog_compiler_static
='-Bstatic'
8523 if test -d /usr
/nec
;then
8524 lt_prog_compiler_pic
='-Kconform_pic'
8525 lt_prog_compiler_static
='-Bstatic'
8529 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8530 lt_prog_compiler_wl
='-Wl,'
8531 lt_prog_compiler_pic
='-KPIC'
8532 lt_prog_compiler_static
='-Bstatic'
8536 lt_prog_compiler_wl
='-Wl,'
8537 lt_prog_compiler_can_build_shared
=no
8541 lt_prog_compiler_pic
='-pic'
8542 lt_prog_compiler_static
='-Bstatic'
8546 lt_prog_compiler_can_build_shared
=no
8552 # For platforms which do not support PIC, -DPIC is meaningless:
8554 lt_prog_compiler_pic
=
8557 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8561 $as_echo "$lt_prog_compiler_pic" >&6; }
8569 # Check to make sure the PIC flag actually works.
8571 if test -n "$lt_prog_compiler_pic"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8573 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8574 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8575 $as_echo_n "(cached) " >&6
8577 lt_cv_prog_compiler_pic_works
=no
8578 ac_outfile
=conftest.
$ac_objext
8579 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8580 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8581 # Insert the option either (1) after the last *FLAGS variable, or
8582 # (2) before a word containing "conftest.", or (3) at the end.
8583 # Note that $ac_compile itself does not contain backslashes and begins
8584 # with a dollar sign (not a hyphen), so the echo should work correctly.
8585 # The option is referenced via a variable to avoid confusing sed.
8586 lt_compile
=`echo "$ac_compile" | $SED \
8587 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8588 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8589 -e 's:$: $lt_compiler_flag:'`
8590 (eval echo "\"\$as_me:8590: $lt_compile\"" >&5)
8591 (eval "$lt_compile" 2>conftest.err
)
8593 cat conftest.err
>&5
8594 echo "$as_me:8594: \$? = $ac_status" >&5
8595 if (exit $ac_status) && test -s "$ac_outfile"; then
8596 # The compiler can only warn and ignore the option if not recognized
8597 # So say no if there are warnings other than the usual output.
8598 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8599 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8600 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8601 lt_cv_prog_compiler_pic_works
=yes
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8608 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8610 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8611 case $lt_prog_compiler_pic in
8613 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8616 lt_prog_compiler_pic
=
8617 lt_prog_compiler_can_build_shared
=no
8628 # Check to make sure the static flag actually works.
8630 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8632 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8633 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8634 $as_echo_n "(cached) " >&6
8636 lt_cv_prog_compiler_static_works
=no
8637 save_LDFLAGS
="$LDFLAGS"
8638 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8639 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8640 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8641 # The linker can only warn and ignore the option if not recognized
8642 # So say no if there are warnings
8643 if test -s conftest.err
; then
8644 # Append any errors to the config.log.
8645 cat conftest.err
1>&5
8646 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8647 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8648 if diff conftest.exp conftest.er2
>/dev
/null
; then
8649 lt_cv_prog_compiler_static_works
=yes
8652 lt_cv_prog_compiler_static_works
=yes
8656 LDFLAGS
="$save_LDFLAGS"
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8660 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8662 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8665 lt_prog_compiler_static
=
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8675 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8676 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8677 $as_echo_n "(cached) " >&6
8679 lt_cv_prog_compiler_c_o
=no
8680 $RM -r conftest
2>/dev
/null
8684 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8686 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8687 # Insert the option either (1) after the last *FLAGS variable, or
8688 # (2) before a word containing "conftest.", or (3) at the end.
8689 # Note that $ac_compile itself does not contain backslashes and begins
8690 # with a dollar sign (not a hyphen), so the echo should work correctly.
8691 lt_compile
=`echo "$ac_compile" | $SED \
8692 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8693 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8694 -e 's:$: $lt_compiler_flag:'`
8695 (eval echo "\"\$as_me:8695: $lt_compile\"" >&5)
8696 (eval "$lt_compile" 2>out
/conftest.err
)
8698 cat out
/conftest.err
>&5
8699 echo "$as_me:8699: \$? = $ac_status" >&5
8700 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8702 # The compiler can only warn and ignore the option if not recognized
8703 # So say no if there are warnings
8704 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8705 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8706 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8707 lt_cv_prog_compiler_c_o
=yes
8712 # SGI C++ compiler will create directory out/ii_files/ for
8713 # template instantiation
8714 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8715 $RM out
/* && rmdir out
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8722 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8730 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8731 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8732 $as_echo_n "(cached) " >&6
8734 lt_cv_prog_compiler_c_o
=no
8735 $RM -r conftest
2>/dev
/null
8739 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8741 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8742 # Insert the option either (1) after the last *FLAGS variable, or
8743 # (2) before a word containing "conftest.", or (3) at the end.
8744 # Note that $ac_compile itself does not contain backslashes and begins
8745 # with a dollar sign (not a hyphen), so the echo should work correctly.
8746 lt_compile
=`echo "$ac_compile" | $SED \
8747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8749 -e 's:$: $lt_compiler_flag:'`
8750 (eval echo "\"\$as_me:8750: $lt_compile\"" >&5)
8751 (eval "$lt_compile" 2>out
/conftest.err
)
8753 cat out
/conftest.err
>&5
8754 echo "$as_me:8754: \$? = $ac_status" >&5
8755 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8757 # The compiler can only warn and ignore the option if not recognized
8758 # So say no if there are warnings
8759 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8760 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8761 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8762 lt_cv_prog_compiler_c_o
=yes
8767 # SGI C++ compiler will create directory out/ii_files/ for
8768 # template instantiation
8769 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8770 $RM out
/* && rmdir out
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8777 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8782 hard_links
="nottested"
8783 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8784 # do not overwrite the value of need_locks provided by the user
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8786 $as_echo_n "checking if we can lock with hard links... " >&6; }
8789 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8791 ln conftest.a conftest.b
2>&5 || hard_links
=no
8792 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8794 $as_echo "$hard_links" >&6; }
8795 if test "$hard_links" = no
; then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8797 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8810 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8813 allow_undefined_flag
=
8814 always_export_symbols
=no
8816 archive_expsym_cmds
=
8817 compiler_needs_object
=no
8818 enable_shared_with_static_runtimes
=no
8819 export_dynamic_flag_spec
=
8820 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8821 hardcode_automatic
=no
8823 hardcode_direct_absolute
=no
8824 hardcode_libdir_flag_spec
=
8825 hardcode_libdir_flag_spec_ld
=
8826 hardcode_libdir_separator
=
8828 hardcode_shlibpath_var
=unsupported
8830 link_all_deplibs
=unknown
8833 old_archive_from_new_cmds
=
8834 old_archive_from_expsyms_cmds
=
8835 thread_safe_flag_spec
=
8836 whole_archive_flag_spec
=
8837 # include_expsyms should be a list of space-separated symbols to be *always*
8838 # included in the symbol list
8840 # exclude_expsyms can be an extended regexp of symbols to exclude
8841 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8842 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8843 # as well as any symbol that contains `d'.
8844 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8845 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8846 # platforms (ab)use it in PIC code, but their linkers get confused if
8847 # the symbol is explicitly referenced. Since portable code cannot
8848 # rely on this symbol name, it's probably fine to never include it in
8849 # preloaded symbol tables.
8850 # Exclude shared library initialization/finalization symbols.
8851 extract_expsyms_cmds
=
8854 cygwin
* | mingw
* | pw32
* | cegcc
*)
8855 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8856 # When not using gcc, we currently assume that we are using
8857 # Microsoft Visual C++.
8858 if test "$GCC" != yes; then
8863 # we just hope/assume this is gcc and not c89 (= MSVC++)
8872 if test "$with_gnu_ld" = yes; then
8873 # If archive_cmds runs LD, not CC, wlarc should be empty
8876 # Set some defaults for GNU ld with shared library support. These
8877 # are reset later if shared libraries are not supported. Putting them
8878 # here allows them to be overridden if necessary.
8879 runpath_var
=LD_RUN_PATH
8880 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8881 export_dynamic_flag_spec
='${wl}--export-dynamic'
8882 # ancient GNU ld didn't support --whole-archive et. al.
8883 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8884 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8886 whole_archive_flag_spec
=
8888 supports_anon_versioning
=no
8889 case `$LD -v 2>&1` in
8890 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8891 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8892 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8893 *\
2.11.
*) ;; # other 2.11 versions
8894 *) supports_anon_versioning
=yes ;;
8897 # See if GNU ld supports shared libraries.
8900 # On AIX/PPC, the GNU linker is very broken
8901 if test "$host_cpu" != ia64
; then
8905 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8906 *** to be unable to reliably create shared libraries on AIX.
8907 *** Therefore, libtool is disabling shared libraries support. If you
8908 *** really care for shared libraries, you may want to modify your PATH
8909 *** so that a non-GNU linker is found, and then restart.
8918 # see comment about AmigaOS4 .so support
8919 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8920 archive_expsym_cmds
=''
8923 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)'
8924 hardcode_libdir_flag_spec
='-L$libdir'
8925 hardcode_minus_L
=yes
8931 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8932 allow_undefined_flag
=unsupported
8933 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8934 # support --undefined. This deserves some investigation. FIXME
8935 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8941 cygwin
* | mingw
* | pw32
* | cegcc
*)
8942 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8943 # as there is no search path for DLLs.
8944 hardcode_libdir_flag_spec
='-L$libdir'
8945 allow_undefined_flag
=unsupported
8946 always_export_symbols
=no
8947 enable_shared_with_static_runtimes
=yes
8948 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8950 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8951 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8952 # If the export-symbols file already is a .def file (1st line
8953 # is EXPORTS), use it as is; otherwise, prepend...
8954 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8955 cp $export_symbols $output_objdir/$soname.def;
8957 echo EXPORTS > $output_objdir/$soname.def;
8958 cat $export_symbols >> $output_objdir/$soname.def;
8960 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8968 hardcode_shlibpath_var
=no
8969 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8970 export_dynamic_flag_spec
='${wl}-E'
8971 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8972 # Instead, shared libraries are loaded at an image base (0x10000000 by
8973 # default) and relocated if they conflict, which is a slow very memory
8974 # consuming and fragmenting process. To avoid this, we pick a random,
8975 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8976 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8977 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8978 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'
8981 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8983 if test "$host_os" = linux-dietlibc
; then
8984 case $cc_basename in
8985 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8988 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8989 && test "$tmp_diet" = no
8992 tmp_sharedflag
='-shared'
8993 case $cc_basename,$host_cpu in
8994 pgcc
*) # Portland Group C compiler
8995 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8996 tmp_addflag
=' $pic_flag'
8998 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8999 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9000 tmp_addflag
=' $pic_flag -Mnomain' ;;
9001 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9002 tmp_addflag
=' -i_dynamic' ;;
9003 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9004 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9005 ifc
* | ifort
*) # Intel Fortran compiler
9006 tmp_addflag
=' -nofor_main' ;;
9007 lf95
*) # Lahey Fortran 8.1
9008 whole_archive_flag_spec
=
9009 tmp_sharedflag
='--shared' ;;
9010 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9011 tmp_sharedflag
='-qmkshrobj'
9014 case `$CC -V 2>&1 | sed 5q` in
9015 *Sun\ C
*) # Sun C 5.9
9016 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9017 compiler_needs_object
=yes
9018 tmp_sharedflag
='-G' ;;
9019 *Sun\ F
*) # Sun Fortran 8.3
9020 tmp_sharedflag
='-G' ;;
9022 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9024 if test "x$supports_anon_versioning" = xyes
; then
9025 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9026 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9027 echo "local: *; };" >> $output_objdir/$libname.ver~
9028 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9031 case $cc_basename in
9033 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9034 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9035 hardcode_libdir_flag_spec
=
9036 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9037 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9038 if test "x$supports_anon_versioning" = xyes
; then
9039 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9040 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9041 echo "local: *; };" >> $output_objdir/$libname.ver~
9042 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9052 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9053 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9057 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9062 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9066 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9067 *** create shared libraries on Solaris systems. Therefore, libtool
9068 *** is disabling shared libraries support. We urge you to upgrade GNU
9069 *** binutils to release 2.9.1 or newer. Another option is to modify
9070 *** your PATH or compiler configuration so that the native linker is
9071 *** used, and then restart.
9074 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9075 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9076 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9082 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9083 case `$LD -v 2>&1` in
9084 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9088 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9089 *** reliably create shared libraries on SCO systems. Therefore, libtool
9090 *** is disabling shared libraries support. We urge you to upgrade GNU
9091 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9092 *** your PATH or compiler configuration so that the native linker is
9093 *** used, and then restart.
9098 # For security reasons, it is highly recommended that you always
9099 # use absolute paths for naming shared libraries, and exclude the
9100 # DT_RUNPATH tag from executables and libraries. But doing so
9101 # requires that you compile everything twice, which is a pain.
9102 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9103 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9104 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9105 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9114 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9117 hardcode_shlibpath_var
=no
9121 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9122 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9130 if test "$ld_shlibs" = no
; then
9132 hardcode_libdir_flag_spec
=
9133 export_dynamic_flag_spec
=
9134 whole_archive_flag_spec
=
9137 # PORTME fill in a description of your system's linker (not GNU ld)
9140 allow_undefined_flag
=unsupported
9141 always_export_symbols
=yes
9142 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'
9143 # Note: this linker hardcodes the directories in LIBPATH if there
9144 # are no directories specified by -L.
9145 hardcode_minus_L
=yes
9146 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9147 # Neither direct hardcoding nor static linking is supported with a
9149 hardcode_direct
=unsupported
9154 if test "$host_cpu" = ia64
; then
9155 # On IA64, the linker does run time linking by default, so we don't
9156 # have to do anything special.
9157 aix_use_runtimelinking
=no
9158 exp_sym_flag
='-Bexport'
9161 # If we're using GNU nm, then we don't want the "-C" option.
9162 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9163 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9164 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9166 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9168 aix_use_runtimelinking
=no
9170 # Test if we are trying to use run time linking or normal
9171 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9172 # need to do runtime linking.
9173 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9174 for ld_flag
in $LDFLAGS; do
9175 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9176 aix_use_runtimelinking
=yes
9183 exp_sym_flag
='-bexport'
9184 no_entry_flag
='-bnoentry'
9187 # When large executables or shared objects are built, AIX ld can
9188 # have problems creating the table of contents. If linking a library
9189 # or program results in "error TOC overflow" add -mminimal-toc to
9190 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9191 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9195 hardcode_direct_absolute
=yes
9196 hardcode_libdir_separator
=':'
9197 link_all_deplibs
=yes
9198 file_list_spec
='${wl}-f,'
9200 if test "$GCC" = yes; then
9201 case $host_os in aix4.
[012]|aix4.
[012].
*)
9202 # We only want to do this on AIX 4.2 and lower, the check
9203 # below for broken collect2 doesn't work under 4.3+
9204 collect2name
=`${CC} -print-prog-name=collect2`
9205 if test -f "$collect2name" &&
9206 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9208 # We have reworked collect2
9211 # We have old collect2
9212 hardcode_direct
=unsupported
9213 # It fails to find uninstalled libraries when the uninstalled
9214 # path is not listed in the libpath. Setting hardcode_minus_L
9215 # to unsupported forces relinking
9216 hardcode_minus_L
=yes
9217 hardcode_libdir_flag_spec
='-L$libdir'
9218 hardcode_libdir_separator
=
9222 shared_flag
='-shared'
9223 if test "$aix_use_runtimelinking" = yes; then
9224 shared_flag
="$shared_flag "'${wl}-G'
9228 if test "$host_cpu" = ia64
; then
9229 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9230 # chokes on -Wl,-G. The following line is correct:
9233 if test "$aix_use_runtimelinking" = yes; then
9234 shared_flag
='${wl}-G'
9236 shared_flag
='${wl}-bM:SRE'
9241 export_dynamic_flag_spec
='${wl}-bexpall'
9242 # It seems that -bexpall does not export symbols beginning with
9243 # underscore (_), so it is better to generate a list of symbols to export.
9244 always_export_symbols
=yes
9245 if test "$aix_use_runtimelinking" = yes; then
9246 # Warning - without using the other runtime loading flags (-brtl),
9247 # -berok will link without error, but may produce a broken library.
9248 allow_undefined_flag
='-berok'
9249 # Determine the default libpath from the value encoded in an
9251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9262 if ac_fn_c_try_link
"$LINENO"; then :
9264 lt_aix_libpath_sed
='
9265 /Import File Strings/,/^$/ {
9271 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9272 # Check for a 64-bit object if we didn't find anything.
9273 if test -z "$aix_libpath"; then
9274 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9277 rm -f core conftest.err conftest.
$ac_objext \
9278 conftest
$ac_exeext conftest.
$ac_ext
9279 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9281 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9282 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9284 if test "$host_cpu" = ia64
; then
9285 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9286 allow_undefined_flag
="-z nodefs"
9287 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"
9289 # Determine the default libpath from the value encoded in an
9291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9302 if ac_fn_c_try_link
"$LINENO"; then :
9304 lt_aix_libpath_sed
='
9305 /Import File Strings/,/^$/ {
9311 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9312 # Check for a 64-bit object if we didn't find anything.
9313 if test -z "$aix_libpath"; then
9314 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9317 rm -f core conftest.err conftest.
$ac_objext \
9318 conftest
$ac_exeext conftest.
$ac_ext
9319 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9321 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9322 # Warning - without using the other run time loading flags,
9323 # -berok will link without error, but may produce a broken library.
9324 no_undefined_flag
=' ${wl}-bernotok'
9325 allow_undefined_flag
=' ${wl}-berok'
9326 # Exported symbols can be pulled into shared objects from archives
9327 whole_archive_flag_spec
='$convenience'
9328 archive_cmds_need_lc
=yes
9329 # This is similar to how AIX traditionally builds its shared libraries.
9330 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9338 # see comment about AmigaOS4 .so support
9339 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340 archive_expsym_cmds
=''
9343 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)'
9344 hardcode_libdir_flag_spec
='-L$libdir'
9345 hardcode_minus_L
=yes
9351 export_dynamic_flag_spec
=-rdynamic
9354 cygwin
* | mingw
* | pw32
* | cegcc
*)
9355 # When not using gcc, we currently assume that we are using
9356 # Microsoft Visual C++.
9357 # hardcode_libdir_flag_spec is actually meaningless, as there is
9358 # no search path for DLLs.
9359 hardcode_libdir_flag_spec
=' '
9360 allow_undefined_flag
=unsupported
9361 # Tell ltmain to make .lib files, not .a files.
9363 # Tell ltmain to make .dll files, not .so files.
9365 # FIXME: Setting linknames here is a bad hack.
9366 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9367 # The linker will automatically build a .lib file if we build a DLL.
9368 old_archive_from_new_cmds
='true'
9369 # FIXME: Should let the user specify the lib program.
9370 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9371 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9372 enable_shared_with_static_runtimes
=yes
9375 darwin
* | rhapsody
*)
9378 archive_cmds_need_lc
=no
9380 hardcode_automatic
=yes
9381 hardcode_shlibpath_var
=unsupported
9382 whole_archive_flag_spec
=''
9383 link_all_deplibs
=yes
9384 allow_undefined_flag
="$_lt_dar_allow_undefined"
9385 case $cc_basename in
9386 ifort
*) _lt_dar_can_shared
=yes ;;
9387 *) _lt_dar_can_shared
=$GCC ;;
9389 if test "$_lt_dar_can_shared" = "yes"; then
9390 output_verbose_link_cmd
=echo
9391 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9392 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9393 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}"
9394 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}"
9403 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9404 hardcode_libdir_flag_spec
='-L$libdir'
9405 hardcode_shlibpath_var
=no
9412 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9413 # support. Future versions do this automatically, but an explicit c++rt0.o
9414 # does not break anything, and helps significantly (at the cost of a little
9417 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9418 hardcode_libdir_flag_spec
='-R$libdir'
9420 hardcode_shlibpath_var
=no
9423 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9425 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9427 hardcode_minus_L
=yes
9428 hardcode_shlibpath_var
=no
9431 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9432 freebsd
* | dragonfly
*)
9433 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9434 hardcode_libdir_flag_spec
='-R$libdir'
9436 hardcode_shlibpath_var
=no
9440 if test "$GCC" = yes; then
9441 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9443 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9445 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9446 hardcode_libdir_separator
=:
9449 # hardcode_minus_L: Not really in the search PATH,
9450 # but as the default location of the library.
9451 hardcode_minus_L
=yes
9452 export_dynamic_flag_spec
='${wl}-E'
9456 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9457 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9459 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9461 if test "$with_gnu_ld" = no
; then
9462 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9463 hardcode_libdir_flag_spec_ld
='+b $libdir'
9464 hardcode_libdir_separator
=:
9466 hardcode_direct_absolute
=yes
9467 export_dynamic_flag_spec
='${wl}-E'
9468 # hardcode_minus_L: Not really in the search PATH,
9469 # but as the default location of the library.
9470 hardcode_minus_L
=yes
9475 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9478 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9481 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9484 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9490 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9500 if test "$with_gnu_ld" = no
; then
9501 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9502 hardcode_libdir_separator
=:
9507 hardcode_shlibpath_var
=no
9511 hardcode_direct_absolute
=yes
9512 export_dynamic_flag_spec
='${wl}-E'
9514 # hardcode_minus_L: Not really in the search PATH,
9515 # but as the default location of the library.
9516 hardcode_minus_L
=yes
9522 irix5
* | irix6
* | nonstopux
*)
9523 if test "$GCC" = yes; then
9524 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9525 # Try to use the -exported_symbol ld option, if it does not
9526 # work, assume that -exports_file does not work either and
9527 # implicitly export all symbols.
9528 save_LDFLAGS
="$LDFLAGS"
9529 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9534 if ac_fn_c_try_link
"$LINENO"; then :
9535 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9538 rm -f core conftest.err conftest.
$ac_objext \
9539 conftest
$ac_exeext conftest.
$ac_ext
9540 LDFLAGS
="$save_LDFLAGS"
9542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9543 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9545 archive_cmds_need_lc
='no'
9546 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9547 hardcode_libdir_separator
=:
9549 link_all_deplibs
=yes
9553 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9554 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9556 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9558 hardcode_libdir_flag_spec
='-R$libdir'
9560 hardcode_shlibpath_var
=no
9564 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9566 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9567 hardcode_libdir_separator
=:
9568 hardcode_shlibpath_var
=no
9575 if test -f /usr
/libexec
/ld.so
; then
9577 hardcode_shlibpath_var
=no
9578 hardcode_direct_absolute
=yes
9579 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9580 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9581 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9582 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9583 export_dynamic_flag_spec
='${wl}-E'
9586 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9587 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_libdir_flag_spec
='-R$libdir'
9591 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9592 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9602 hardcode_libdir_flag_spec
='-L$libdir'
9603 hardcode_minus_L
=yes
9604 allow_undefined_flag
=unsupported
9605 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9606 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9610 if test "$GCC" = yes; then
9611 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9612 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9614 allow_undefined_flag
=' -expect_unresolved \*'
9615 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9617 archive_cmds_need_lc
='no'
9618 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9619 hardcode_libdir_separator
=:
9622 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9623 if test "$GCC" = yes; then
9624 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9625 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9626 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9628 allow_undefined_flag
=' -expect_unresolved \*'
9629 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9630 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~
9631 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9633 # Both c and cxx compiler support -rpath directly
9634 hardcode_libdir_flag_spec
='-rpath $libdir'
9636 archive_cmds_need_lc
='no'
9637 hardcode_libdir_separator
=:
9641 no_undefined_flag
=' -z defs'
9642 if test "$GCC" = yes; then
9644 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9646 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9648 case `$CC -V 2>&1` in
9651 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9652 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9653 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9657 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9658 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9659 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9663 hardcode_libdir_flag_spec
='-R$libdir'
9664 hardcode_shlibpath_var
=no
9666 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9668 # The compiler driver will combine and reorder linker options,
9669 # but understands `-z linker_flag'. GCC discards it without `$wl',
9670 # but is careful enough not to reorder.
9671 # Supported since Solaris 2.6 (maybe 2.5.1?)
9672 if test "$GCC" = yes; then
9673 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9675 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9679 link_all_deplibs
=yes
9683 if test "x$host_vendor" = xsequent
; then
9684 # Use $CC to link under sequent, because it throws in some extra .o
9685 # files that make .init and .fini sections work.
9686 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9688 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9690 hardcode_libdir_flag_spec
='-L$libdir'
9692 hardcode_minus_L
=yes
9693 hardcode_shlibpath_var
=no
9697 case $host_vendor in
9699 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9700 hardcode_direct
=yes # is this really true???
9703 ## LD is ld it makes a PLAMLIB
9704 ## CC just makes a GrossModule.
9705 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9706 reload_cmds
='$CC -r -o $output$reload_objs'
9710 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9711 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9714 runpath_var
='LD_RUN_PATH'
9715 hardcode_shlibpath_var
=no
9719 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720 hardcode_shlibpath_var
=no
9721 export_dynamic_flag_spec
='-Bexport'
9725 if test -d /usr
/nec
; then
9726 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_shlibpath_var
=no
9728 runpath_var
=LD_RUN_PATH
9729 hardcode_runpath_var
=yes
9734 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9735 no_undefined_flag
='${wl}-z,text'
9736 archive_cmds_need_lc
=no
9737 hardcode_shlibpath_var
=no
9738 runpath_var
='LD_RUN_PATH'
9740 if test "$GCC" = yes; then
9741 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9749 sysv5
* | sco3.2v5
* | sco5v6
*)
9750 # Note: We can NOT use -z defs as we might desire, because we do not
9751 # link with -lc, and that would cause any symbols used from libc to
9752 # always be unresolved, which means just about no library would
9753 # ever link correctly. If we're not using GNU ld we use -z text
9754 # though, which does catch some bad symbols but isn't as heavy-handed
9756 no_undefined_flag
='${wl}-z,text'
9757 allow_undefined_flag
='${wl}-z,nodefs'
9758 archive_cmds_need_lc
=no
9759 hardcode_shlibpath_var
=no
9760 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9761 hardcode_libdir_separator
=':'
9762 link_all_deplibs
=yes
9763 export_dynamic_flag_spec
='${wl}-Bexport'
9764 runpath_var
='LD_RUN_PATH'
9766 if test "$GCC" = yes; then
9767 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9770 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9776 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9777 hardcode_libdir_flag_spec
='-L$libdir'
9778 hardcode_shlibpath_var
=no
9786 if test x
$host_vendor = xsni
; then
9788 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9789 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9796 $as_echo "$ld_shlibs" >&6; }
9797 test "$ld_shlibs" = no
&& can_build_shared
=no
9799 with_gnu_ld
=$with_gnu_ld
9816 # Do we need to explicitly link libc?
9818 case "x$archive_cmds_need_lc" in
9820 # Assume -lc should be added
9821 archive_cmds_need_lc
=yes
9823 if test "$enable_shared" = yes && test "$GCC" = yes; then
9824 case $archive_cmds in
9826 # FIXME: we may have to deal with multi-command sequences.
9829 # Test whether the compiler implicitly links with -lc since on some
9830 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9831 # to ld, don't add -lc before -lgcc.
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9833 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9835 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9838 (eval $ac_compile) 2>&5
9840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9841 test $ac_status = 0; } 2>conftest.err
; then
9844 libobjs
=conftest.
$ac_objext
9846 wl
=$lt_prog_compiler_wl
9847 pic_flag
=$lt_prog_compiler_pic
9853 lt_save_allow_undefined_flag
=$allow_undefined_flag
9854 allow_undefined_flag
=
9855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9856 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9859 test $ac_status = 0; }
9861 archive_cmds_need_lc
=no
9863 archive_cmds_need_lc
=yes
9865 allow_undefined_flag
=$lt_save_allow_undefined_flag
9867 cat conftest.err
1>&5
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9871 $as_echo "$archive_cmds_need_lc" >&6; }
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10035 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10037 if test "$GCC" = yes; then
10039 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10040 *) lt_awk_arg
="/^libraries:/" ;;
10042 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10043 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10044 # if the path contains ";" then we assume it to be the separator
10045 # otherwise default to the standard path separator (i.e. ":") - it is
10046 # assumed that no part of a normal pathname contains ";" but that should
10047 # okay in the real world where ";" in dirpaths is itself problematic.
10048 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10050 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10052 # Ok, now we have the path, separated by spaces, we can step through it
10053 # and add multilib dir if necessary.
10054 lt_tmp_lt_search_path_spec
=
10055 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10056 for lt_sys_path
in $lt_search_path_spec; do
10057 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10058 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10060 test -d "$lt_sys_path" && \
10061 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10064 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10065 BEGIN {RS=" "; FS="/|\n";} {
10068 for (lt_i = NF; lt_i > 0; lt_i--) {
10069 if ($lt_i != "" && $lt_i != ".") {
10070 if ($lt_i == "..") {
10073 if (lt_count == 0) {
10074 lt_foo="/" $lt_i lt_foo;
10081 if (lt_foo != "") { lt_freq[lt_foo]++; }
10082 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10084 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10086 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10088 library_names_spec
=
10089 libname_spec
='lib$name'
10093 postuninstall_cmds
=
10097 shlibpath_overrides_runpath
=unknown
10099 dynamic_linker
="$host_os ld.so"
10100 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10101 need_lib_prefix
=unknown
10102 hardcode_into_libs
=no
10104 # when you set need_version to no, make sure it does not cause -set_version
10105 # flags to be left without arguments
10106 need_version
=unknown
10111 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10112 shlibpath_var
=LIBPATH
10114 # AIX 3 has no versioning support, so we append a major version to the name.
10115 soname_spec
='${libname}${release}${shared_ext}$major'
10122 hardcode_into_libs
=yes
10123 if test "$host_cpu" = ia64
; then
10124 # AIX 5 supports IA64
10125 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10126 shlibpath_var
=LD_LIBRARY_PATH
10128 # With GCC up to 2.95.x, collect2 would create an import file
10129 # for dependence libraries. The import file would start with
10130 # the line `#! .'. This would cause the generated library to
10131 # depend on `.', always an invalid library. This was fixed in
10132 # development snapshots of GCC prior to 3.0.
10134 aix4 | aix4.
[01] | aix4.
[01].
*)
10135 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10137 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10140 can_build_shared
=no
10144 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10145 # soname into executable. Probably we can add versioning support to
10146 # collect2, so additional links can be useful in future.
10147 if test "$aix_use_runtimelinking" = yes; then
10148 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10149 # instead of lib<name>.a to let people know that these are not
10150 # typical AIX shared libraries.
10151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10153 # We preserve .a as extension for shared libraries through AIX4.2
10154 # and later when we are not doing run time linking.
10155 library_names_spec
='${libname}${release}.a $libname.a'
10156 soname_spec
='${libname}${release}${shared_ext}$major'
10158 shlibpath_var
=LIBPATH
10165 # Since July 2007 AmigaOS4 officially supports .so libraries.
10166 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10170 library_names_spec
='$libname.ixlibrary $libname.a'
10171 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10172 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10178 library_names_spec
='${libname}${shared_ext}'
10179 dynamic_linker
="$host_os ld.so"
10180 shlibpath_var
=LIBRARY_PATH
10186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10187 soname_spec
='${libname}${release}${shared_ext}$major'
10188 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10189 shlibpath_var
=LD_LIBRARY_PATH
10190 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10191 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10192 # the default ld.so.conf also contains /usr/contrib/lib and
10193 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10194 # libtool to hard-code these into programs
10197 cygwin
* | mingw
* | pw32
* | cegcc
*)
10198 version_type
=windows
10203 case $GCC,$host_os in
10204 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10205 library_names_spec
='$libname.dll.a'
10206 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10207 postinstall_cmds
='base_file=`basename \${file}`~
10208 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10209 dldir=$destdir/`dirname \$dlpath`~
10210 test -d \$dldir || mkdir -p \$dldir~
10211 $install_prog $dir/$dlname \$dldir/$dlname~
10212 chmod a+x \$dldir/$dlname~
10213 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10214 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10216 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10217 dlpath=$dir/\$dldll~
10219 shlibpath_overrides_runpath
=yes
10223 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10224 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10225 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10228 # MinGW DLLs use traditional 'lib' prefix
10229 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10230 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10231 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10232 # It is most probably a Windows format PATH printed by
10233 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10234 # path with ; separators, and with drive letters. We can handle the
10235 # drive letters (cygwin fileutils understands them), so leave them,
10236 # especially as we might pass files found there to a mingw objdump,
10237 # which wouldn't understand a cygwinified path. Ahh.
10238 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10240 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10244 # pw32 DLLs use 'pw' prefix rather than 'lib'
10245 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10251 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10254 dynamic_linker
='Win32 ld.exe'
10255 # FIXME: first we should search . and the directory the executable is in
10259 darwin
* | rhapsody
*)
10260 dynamic_linker
="$host_os dyld"
10261 version_type
=darwin
10264 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10265 soname_spec
='${libname}${release}${major}$shared_ext'
10266 shlibpath_overrides_runpath
=yes
10267 shlibpath_var
=DYLD_LIBRARY_PATH
10268 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10270 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10271 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10279 soname_spec
='${libname}${release}${shared_ext}$major'
10280 shlibpath_var
=LD_LIBRARY_PATH
10287 freebsd
* | dragonfly
*)
10288 # DragonFly does not have aout. When/if they implement a new
10289 # versioning mechanism, adjust this.
10290 if test -x /usr
/bin
/objformat
; then
10291 objformat
=`/usr/bin/objformat`
10294 freebsd
[123]*) objformat
=aout
;;
10295 *) objformat
=elf
;;
10298 version_type
=freebsd-
$objformat
10299 case $version_type in
10301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10310 shlibpath_var
=LD_LIBRARY_PATH
10313 shlibpath_overrides_runpath
=yes
10315 freebsd3.
[01]* | freebsdelf3.
[01]*)
10316 shlibpath_overrides_runpath
=yes
10317 hardcode_into_libs
=yes
10319 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10320 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10321 shlibpath_overrides_runpath
=no
10322 hardcode_into_libs
=yes
10324 *) # from 4.6 on, and DragonFly
10325 shlibpath_overrides_runpath
=yes
10326 hardcode_into_libs
=yes
10335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10336 soname_spec
='${libname}${release}${shared_ext}$major'
10337 shlibpath_var
=LD_LIBRARY_PATH
10338 hardcode_into_libs
=yes
10341 hpux9
* | hpux10
* | hpux11
*)
10342 # Give a soname corresponding to the major version so that dld.sl refuses to
10343 # link against other versions.
10350 hardcode_into_libs
=yes
10351 dynamic_linker
="$host_os dld.so"
10352 shlibpath_var
=LD_LIBRARY_PATH
10353 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355 soname_spec
='${libname}${release}${shared_ext}$major'
10356 if test "X$HPUX_IA64_MODE" = X32
; then
10357 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10359 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10361 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10365 hardcode_into_libs
=yes
10366 dynamic_linker
="$host_os dld.sl"
10367 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10368 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec
='${libname}${release}${shared_ext}$major'
10371 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10372 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10376 dynamic_linker
="$host_os dld.sl"
10377 shlibpath_var
=SHLIB_PATH
10378 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380 soname_spec
='${libname}${release}${shared_ext}$major'
10383 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10384 postinstall_cmds
='chmod 555 $lib'
10391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10392 soname_spec
='${libname}${release}${shared_ext}$major'
10393 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10394 shlibpath_var
=LD_LIBRARY_PATH
10395 shlibpath_overrides_runpath
=no
10396 hardcode_into_libs
=yes
10399 irix5
* | irix6
* | nonstopux
*)
10401 nonstopux
*) version_type
=nonstopux
;;
10403 if test "$lt_cv_prog_gnu_ld" = yes; then
10411 soname_spec
='${libname}${release}${shared_ext}$major'
10412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10414 irix5
* | nonstopux
*)
10415 libsuff
= shlibsuff
=
10418 case $LD in # libtool.m4 will add one of these switches to LD
10419 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10420 libsuff
= shlibsuff
= libmagic
=32-bit;;
10421 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10422 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10423 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10424 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10425 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10429 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10430 shlibpath_overrides_runpath
=no
10431 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10432 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10433 hardcode_into_libs
=yes
10436 # No shared lib support for Linux oldld, aout, or coff.
10437 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10441 # This must be Linux ELF.
10442 linux
* | k
*bsd
*-gnu)
10446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10447 soname_spec
='${libname}${release}${shared_ext}$major'
10448 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10449 shlibpath_var
=LD_LIBRARY_PATH
10450 shlibpath_overrides_runpath
=no
10451 # Some binutils ld are patched to set DT_RUNPATH
10452 save_LDFLAGS
=$LDFLAGS
10453 save_libdir
=$libdir
10454 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10455 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10467 if ac_fn_c_try_link
"$LINENO"; then :
10468 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10469 shlibpath_overrides_runpath
=yes
10472 rm -f core conftest.err conftest.
$ac_objext \
10473 conftest
$ac_exeext conftest.
$ac_ext
10474 LDFLAGS
=$save_LDFLAGS
10475 libdir
=$save_libdir
10477 # This implies no fast_install, which is unacceptable.
10478 # Some rework will be needed to allow for fast_install
10479 # before this can be enabled.
10480 hardcode_into_libs
=yes
10482 # Append ld.so.conf contents to the search path
10483 if test -f /etc
/ld.so.conf
; then
10484 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;/^$/d' | tr '\n' ' '`
10485 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10488 # We used to test for /lib/ld.so.1 and disable shared libraries on
10489 # powerpc, because MkLinux only supported shared libraries with the
10490 # GNU dynamic linker. Since this was broken with cross compilers,
10491 # most powerpc-linux boxes support dynamic linking these days and
10492 # people can always --disable-shared, the test was removed, and we
10493 # assume the GNU/Linux dynamic linker is in use.
10494 dynamic_linker
='GNU/Linux ld.so'
10501 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10503 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10504 dynamic_linker
='NetBSD (a.out) ld.so'
10506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10507 soname_spec
='${libname}${release}${shared_ext}$major'
10508 dynamic_linker
='NetBSD ld.elf_so'
10510 shlibpath_var
=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath
=yes
10512 hardcode_into_libs
=yes
10517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518 shlibpath_var
=LD_LIBRARY_PATH
10519 shlibpath_overrides_runpath
=yes
10526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec
='${libname}${release}${shared_ext}$major'
10528 shlibpath_var
=LD_LIBRARY_PATH
10529 shlibpath_overrides_runpath
=no
10530 hardcode_into_libs
=yes
10531 dynamic_linker
='ldqnx.so'
10536 sys_lib_dlsearch_path_spec
="/usr/lib"
10538 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10540 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10541 *) need_version
=no
;;
10543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10544 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10545 shlibpath_var
=LD_LIBRARY_PATH
10546 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10548 openbsd2.
[89] | openbsd2.
[89].
*)
10549 shlibpath_overrides_runpath
=no
10552 shlibpath_overrides_runpath
=yes
10556 shlibpath_overrides_runpath
=yes
10561 libname_spec
='$name'
10564 library_names_spec
='$libname${shared_ext} $libname.a'
10565 dynamic_linker
='OS/2 ld.exe'
10566 shlibpath_var
=LIBPATH
10569 osf3
* | osf4
* | osf5
*)
10573 soname_spec
='${libname}${release}${shared_ext}$major'
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10577 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10589 soname_spec
='${libname}${release}${shared_ext}$major'
10590 shlibpath_var
=LD_LIBRARY_PATH
10591 shlibpath_overrides_runpath
=yes
10592 hardcode_into_libs
=yes
10593 # ldd complains unless libraries are executable
10594 postinstall_cmds
='chmod +x $lib'
10599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10600 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10601 shlibpath_var
=LD_LIBRARY_PATH
10602 shlibpath_overrides_runpath
=yes
10603 if test "$with_gnu_ld" = yes; then
10611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 soname_spec
='${libname}${release}${shared_ext}$major'
10613 shlibpath_var
=LD_LIBRARY_PATH
10614 case $host_vendor in
10616 shlibpath_overrides_runpath
=no
10618 runpath_var
=LD_RUN_PATH
10626 shlibpath_overrides_runpath
=no
10627 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10633 if test -d /usr
/nec
;then
10635 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10636 soname_spec
='$libname${shared_ext}.$major'
10637 shlibpath_var
=LD_LIBRARY_PATH
10641 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10642 version_type
=freebsd-elf
10645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10646 soname_spec
='${libname}${release}${shared_ext}$major'
10647 shlibpath_var
=LD_LIBRARY_PATH
10648 shlibpath_overrides_runpath
=yes
10649 hardcode_into_libs
=yes
10650 if test "$with_gnu_ld" = yes; then
10651 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10653 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10656 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10660 sys_lib_dlsearch_path_spec
='/usr/lib'
10664 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 shlibpath_var
=LD_LIBRARY_PATH
10670 shlibpath_overrides_runpath
=no
10671 hardcode_into_libs
=yes
10676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec
='${libname}${release}${shared_ext}$major'
10678 shlibpath_var
=LD_LIBRARY_PATH
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10686 $as_echo "$dynamic_linker" >&6; }
10687 test "$dynamic_linker" = no
&& can_build_shared
=no
10689 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10690 if test "$GCC" = yes; then
10691 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10695 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10697 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10698 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10788 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10790 if test -n "$hardcode_libdir_flag_spec" ||
10791 test -n "$runpath_var" ||
10792 test "X$hardcode_automatic" = "Xyes" ; then
10794 # We can hardcode non-existent directories.
10795 if test "$hardcode_direct" != no
&&
10796 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10797 # have to relink, otherwise we might link with an installed library
10798 # when we should be linking with a yet-to-be-installed one
10799 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10800 test "$hardcode_minus_L" != no
; then
10801 # Linking always hardcodes the temporary library directory.
10802 hardcode_action
=relink
10804 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10805 hardcode_action
=immediate
10808 # We cannot hardcode anything, or else we can only hardcode existing
10810 hardcode_action
=unsupported
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10813 $as_echo "$hardcode_action" >&6; }
10815 if test "$hardcode_action" = relink ||
10816 test "$inherit_rpath" = yes; then
10817 # Fast installation is not supported
10818 enable_fast_install
=no
10819 elif test "$shlibpath_overrides_runpath" = yes ||
10820 test "$enable_shared" = no
; then
10821 # Fast installation is not necessary
10822 enable_fast_install
=needless
10830 if test "x$enable_dlopen" != xyes
; then
10831 enable_dlopen
=unknown
10832 enable_dlopen_self
=unknown
10833 enable_dlopen_self_static
=unknown
10840 lt_cv_dlopen
="load_add_on"
10842 lt_cv_dlopen_self
=yes
10845 mingw
* | pw32
* | cegcc
*)
10846 lt_cv_dlopen
="LoadLibrary"
10851 lt_cv_dlopen
="dlopen"
10856 # if libdl is installed we need to link against it
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10858 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10859 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10860 $as_echo_n "(cached) " >&6
10862 ac_check_lib_save_LIBS
=$LIBS
10864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10867 /* Override any GCC internal prototype to avoid an error.
10868 Use char because int might match the return type of a GCC
10869 builtin and then its argument prototype would still apply. */
10882 if ac_fn_c_try_link
"$LINENO"; then :
10883 ac_cv_lib_dl_dlopen
=yes
10885 ac_cv_lib_dl_dlopen
=no
10887 rm -f core conftest.err conftest.
$ac_objext \
10888 conftest
$ac_exeext conftest.
$ac_ext
10889 LIBS
=$ac_check_lib_save_LIBS
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10892 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10893 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10894 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10897 lt_cv_dlopen
="dyld"
10899 lt_cv_dlopen_self
=yes
10906 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10907 if test "x$ac_cv_func_shl_load" = xyes
; then :
10908 lt_cv_dlopen
="shl_load"
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10911 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10912 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10913 $as_echo_n "(cached) " >&6
10915 ac_check_lib_save_LIBS
=$LIBS
10917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10920 /* Override any GCC internal prototype to avoid an error.
10921 Use char because int might match the return type of a GCC
10922 builtin and then its argument prototype would still apply. */
10930 return shl_load ();
10935 if ac_fn_c_try_link
"$LINENO"; then :
10936 ac_cv_lib_dld_shl_load
=yes
10938 ac_cv_lib_dld_shl_load
=no
10940 rm -f core conftest.err conftest.
$ac_objext \
10941 conftest
$ac_exeext conftest.
$ac_ext
10942 LIBS
=$ac_check_lib_save_LIBS
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10945 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10946 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10947 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10949 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10950 if test "x$ac_cv_func_dlopen" = xyes
; then :
10951 lt_cv_dlopen
="dlopen"
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10954 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10955 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10956 $as_echo_n "(cached) " >&6
10958 ac_check_lib_save_LIBS
=$LIBS
10960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10978 if ac_fn_c_try_link
"$LINENO"; then :
10979 ac_cv_lib_dl_dlopen
=yes
10981 ac_cv_lib_dl_dlopen
=no
10983 rm -f core conftest.err conftest.
$ac_objext \
10984 conftest
$ac_exeext conftest.
$ac_ext
10985 LIBS
=$ac_check_lib_save_LIBS
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10988 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10989 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10990 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10993 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10994 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10995 $as_echo_n "(cached) " >&6
10997 ac_check_lib_save_LIBS
=$LIBS
10998 LIBS
="-lsvld $LIBS"
10999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11002 /* Override any GCC internal prototype to avoid an error.
11003 Use char because int might match the return type of a GCC
11004 builtin and then its argument prototype would still apply. */
11017 if ac_fn_c_try_link
"$LINENO"; then :
11018 ac_cv_lib_svld_dlopen
=yes
11020 ac_cv_lib_svld_dlopen
=no
11022 rm -f core conftest.err conftest.
$ac_objext \
11023 conftest
$ac_exeext conftest.
$ac_ext
11024 LIBS
=$ac_check_lib_save_LIBS
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11027 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11028 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11029 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11032 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11033 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11034 $as_echo_n "(cached) " >&6
11036 ac_check_lib_save_LIBS
=$LIBS
11038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11041 /* Override any GCC internal prototype to avoid an error.
11042 Use char because int might match the return type of a GCC
11043 builtin and then its argument prototype would still apply. */
11051 return dld_link ();
11056 if ac_fn_c_try_link
"$LINENO"; then :
11057 ac_cv_lib_dld_dld_link
=yes
11059 ac_cv_lib_dld_dld_link
=no
11061 rm -f core conftest.err conftest.
$ac_objext \
11062 conftest
$ac_exeext conftest.
$ac_ext
11063 LIBS
=$ac_check_lib_save_LIBS
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11066 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11067 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11068 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11089 if test "x$lt_cv_dlopen" != xno
; then
11095 case $lt_cv_dlopen in
11097 save_CPPFLAGS
="$CPPFLAGS"
11098 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11100 save_LDFLAGS
="$LDFLAGS"
11101 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11104 LIBS
="$lt_cv_dlopen_libs $LIBS"
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11107 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11108 if ${lt_cv_dlopen_self+:} false
; then :
11109 $as_echo_n "(cached) " >&6
11111 if test "$cross_compiling" = yes; then :
11112 lt_cv_dlopen_self
=cross
11114 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11115 lt_status
=$lt_dlunknown
11116 cat > conftest.
$ac_ext <<_LT_EOF
11117 #line 11117 "configure"
11118 #include "confdefs.h"
11127 # define LT_DLGLOBAL RTLD_GLOBAL
11130 # define LT_DLGLOBAL DL_GLOBAL
11132 # define LT_DLGLOBAL 0
11136 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11137 find out it does not work in some platform. */
11138 #ifndef LT_DLLAZY_OR_NOW
11140 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11143 # define LT_DLLAZY_OR_NOW DL_LAZY
11146 # define LT_DLLAZY_OR_NOW RTLD_NOW
11149 # define LT_DLLAZY_OR_NOW DL_NOW
11151 # define LT_DLLAZY_OR_NOW 0
11158 void fnord() { int i=42;}
11161 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11162 int status = $lt_dlunknown;
11166 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11167 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11168 /* dlclose (self); */
11176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11177 (eval $ac_link) 2>&5
11179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11180 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11181 (.
/conftest
; exit; ) >&5 2>/dev
/null
11183 case x
$lt_status in
11184 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11185 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11186 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11189 # compilation failed
11190 lt_cv_dlopen_self
=no
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11198 $as_echo "$lt_cv_dlopen_self" >&6; }
11200 if test "x$lt_cv_dlopen_self" = xyes
; then
11201 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11203 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11204 if ${lt_cv_dlopen_self_static+:} false
; then :
11205 $as_echo_n "(cached) " >&6
11207 if test "$cross_compiling" = yes; then :
11208 lt_cv_dlopen_self_static
=cross
11210 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11211 lt_status
=$lt_dlunknown
11212 cat > conftest.
$ac_ext <<_LT_EOF
11213 #line 11213 "configure"
11214 #include "confdefs.h"
11223 # define LT_DLGLOBAL RTLD_GLOBAL
11226 # define LT_DLGLOBAL DL_GLOBAL
11228 # define LT_DLGLOBAL 0
11232 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11233 find out it does not work in some platform. */
11234 #ifndef LT_DLLAZY_OR_NOW
11236 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11239 # define LT_DLLAZY_OR_NOW DL_LAZY
11242 # define LT_DLLAZY_OR_NOW RTLD_NOW
11245 # define LT_DLLAZY_OR_NOW DL_NOW
11247 # define LT_DLLAZY_OR_NOW 0
11254 void fnord() { int i=42;}
11257 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11258 int status = $lt_dlunknown;
11262 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11263 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11264 /* dlclose (self); */
11272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11273 (eval $ac_link) 2>&5
11275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11276 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11277 (.
/conftest
; exit; ) >&5 2>/dev
/null
11279 case x
$lt_status in
11280 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11281 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11282 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11285 # compilation failed
11286 lt_cv_dlopen_self_static
=no
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11294 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11297 CPPFLAGS
="$save_CPPFLAGS"
11298 LDFLAGS
="$save_LDFLAGS"
11303 case $lt_cv_dlopen_self in
11304 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11305 *) enable_dlopen_self
=unknown
;;
11308 case $lt_cv_dlopen_self_static in
11309 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11310 *) enable_dlopen_self_static
=unknown
;;
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11333 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11334 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11335 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11336 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11338 $as_echo "yes" >&6; }
11340 # FIXME - insert some real tests, host_os isn't really good enough
11343 if test -n "$STRIP" ; then
11344 striplib
="$STRIP -x"
11345 old_striplib
="$STRIP -S"
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11347 $as_echo "yes" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11350 $as_echo "no" >&6; }
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11355 $as_echo "no" >&6; }
11371 # Report which library types will actually be built
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11373 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11375 $as_echo "$can_build_shared" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11378 $as_echo_n "checking whether to build shared libraries... " >&6; }
11379 test "$can_build_shared" = "no" && enable_shared
=no
11381 # On AIX, shared libraries and static libraries use the same namespace, and
11382 # are all built from PIC.
11385 test "$enable_shared" = yes && enable_static
=no
11386 if test -n "$RANLIB"; then
11387 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11388 postinstall_cmds
='$RANLIB $lib'
11393 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11394 test "$enable_shared" = yes && enable_static
=no
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11399 $as_echo "$enable_shared" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11402 $as_echo_n "checking whether to build static libraries... " >&6; }
11403 # Make sure either enable_shared or enable_static is yes.
11404 test "$enable_shared" = yes || enable_static
=yes
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11406 $as_echo "$enable_static" >&6; }
11413 ac_cpp
='$CPP $CPPFLAGS'
11414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11432 ac_config_commands
="$ac_config_commands libtool"
11437 # Only expand once:
11440 test ".$PACKAGE_VERSION" = "." && PACKAGE_VERSION
="$VERSION"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking out linker version info $PACKAGE_VERSION " >&5
11442 $as_echo_n "checking out linker version info $PACKAGE_VERSION ... " >&6; }
11443 MINOR_VERSION
=`echo $PACKAGE_VERSION`
11444 MAJOR_VERSION
=`echo "$MINOR_VERSION" | sed -e 's/[.].*//'`
11445 MINOR_VERSION
=`echo "$MINOR_VERSION" | sed -e "s/^$MAJOR_VERSION//" -e 's/^.//'`
11446 MICRO_VERSION
="$MINOR_VERSION"
11447 MINOR_VERSION
=`echo "$MICRO_VERSION" | sed -e 's/[.].*//'`
11448 MICRO_VERSION
=`echo "$MICRO_VERSION" | sed -e "s/^$MINOR_VERSION//" -e 's/^.//'`
11449 PATCH_VERSION
="$MICRO_VERSION"
11450 MICRO_VERSION
=`echo "$PATCH_VERSION" | sed -e 's/[^0-9].*//'`
11451 PATCH_VERSION
=`echo "$PATCH_VERSION" | sed -e "s/^$MICRO_VERSION//" -e 's/[-.]//'`
11452 if test "_$MICRO_VERSION" = "_" ; then MICRO_VERSION
="0" ; fi
11453 if test "_$MINOR_VERSION" = "_" ; then MINOR_VERSION
="$MAJOR_VERSION" ; MAJOR_VERSION
="0" ; fi
11454 MINOR_VERSION
=`echo "$MINOR_VERSION" | sed -e 's/[^0-9].*//'`
11455 RELEASE_INFO
="-release $MAJOR_VERSION"
11456 VERSION_INFO
="-version-info $MINOR_VERSION:$MICRO_VERSION"
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&5
11458 $as_echo "/$MAJOR_VERSION/$MINOR_VERSION:$MICRO_VERSION (-$MAJOR_VERSION.so.$MINOR_VERSION.0.$MICRO_VERSION)" >&6; }
11463 # -----------------------------------------------------------------------
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&5
11465 $as_echo "creating zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&6; }
11466 test -d zzip || mkdir zzip
11467 sed -f $srcdir/zzip
/_msvc.
sed $srcdir/config.h.
in >zzip
/_msvc.
in
11468 ac_config_headers
="$ac_config_headers config.h"
11470 ac_config_commands
="$ac_config_commands zzip/_config.h"
11472 ac_config_commands
="$ac_config_commands zzip/_msvc.h"
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11476 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11477 # Check whether --enable-maintainer-mode was given.
11478 if test "${enable_maintainer_mode+set}" = set; then :
11479 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11481 USE_MAINTAINER_MODE
=no
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11485 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11486 if test $USE_MAINTAINER_MODE = yes; then
11487 MAINTAINER_MODE_TRUE
=
11488 MAINTAINER_MODE_FALSE
='#'
11490 MAINTAINER_MODE_TRUE
='#'
11491 MAINTAINER_MODE_FALSE
=
11494 MAINT
=$MAINTAINER_MODE_TRUE
11499 # we need the expanded forms...
11500 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11501 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
11504 $as_echo_n "checking our pkgconfig libname... " >&6; }
11505 test ".$ax_create_pkgconfig_libname" != "." || \
11506 ax_create_pkgconfig_libname
="`basename zzip/zziplib.pc .pc`"
11507 test ".$ax_create_pkgconfig_libname" != "." || \
11508 ax_create_pkgconfig_libname
="$PACKAGE"
11509 ax_create_pkgconfig_libname
=`eval echo "$ax_create_pkgconfig_libname"`
11510 ax_create_pkgconfig_libname
=`eval echo "$ax_create_pkgconfig_libname"`
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
11512 $as_echo "$ax_create_pkgconfig_libname" >&6; }
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
11515 $as_echo_n "checking our pkgconfig version... " >&6; }
11516 test ".$ax_create_pkgconfig_version" != "." || \
11517 ax_create_pkgconfig_version
="${PACKAGE_VERSION}"
11518 test ".$ax_create_pkgconfig_version" != "." || \
11519 ax_create_pkgconfig_version
="$VERSION"
11520 ax_create_pkgconfig_version
=`eval echo "$ax_create_pkgconfig_version"`
11521 ax_create_pkgconfig_version
=`eval echo "$ax_create_pkgconfig_version"`
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
11523 $as_echo "$ax_create_pkgconfig_version" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
11526 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
11527 test ".$pkgconfig_libdir" = "." && \
11528 pkgconfig_libdir
='${libdir}/pkgconfig'
11529 ax_create_pkgconfig_libdir
=`eval echo "$pkgconfig_libdir"`
11530 ax_create_pkgconfig_libdir
=`eval echo "$ax_create_pkgconfig_libdir"`
11531 ax_create_pkgconfig_libdir
=`eval echo "$ax_create_pkgconfig_libdir"`
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
11533 $as_echo "$pkgconfig_libdir" >&6; }
11534 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
11536 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
11540 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
11541 test ".$pkgconfig_libfile" != "." || \
11542 pkgconfig_libfile
="`basename zzip/zziplib.pc`"
11543 ax_create_pkgconfig_libfile
=`eval echo "$pkgconfig_libfile"`
11544 ax_create_pkgconfig_libfile
=`eval echo "$ax_create_pkgconfig_libfile"`
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
11546 $as_echo "$pkgconfig_libfile" >&6; }
11547 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
11549 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
11553 $as_echo_n "checking our package / suffix... " >&6; }
11554 ax_create_pkgconfig_suffix
="$program_suffix"
11555 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix
=""
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
11557 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description
" >&5
11560 $as_echo_n "checking our pkgconfig description...
" >&6; }
11561 ax_create_pkgconfig_description="$PACKAGE_SUMMARY"
11562 test ".
$ax_create_pkgconfig_description" != ".
" || \
11563 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library
"
11564 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
11565 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_create_pkgconfig_description" >&5
11567 $as_echo "$ax_create_pkgconfig_description" >&6; }
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires
" >&5
11570 $as_echo_n "checking our pkgconfig requires...
" >&6; }
11571 ax_create_pkgconfig_requires="zzip-zlib-config
"
11572 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
11573 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_create_pkgconfig_requires" >&5
11575 $as_echo "$ax_create_pkgconfig_requires" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs
" >&5
11578 $as_echo_n "checking our pkgconfig ext libs...
" >&6; }
11579 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
11580 test ".
$ax_create_pkgconfig_pkglibs" != ".
" || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
11581 ax_create_pkgconfig_libs="-lzzip"
11582 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
11583 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_create_pkgconfig_libs" >&5
11585 $as_echo "$ax_create_pkgconfig_libs" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags
" >&5
11588 $as_echo_n "checking our pkgconfig cppflags...
" >&6; }
11589 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
11590 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
11591 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_create_pkgconfig_cppflags" >&5
11593 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags
" >&5
11596 $as_echo_n "checking our pkgconfig ldflags...
" >&6; }
11597 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
11598 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
11599 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_create_pkgconfig_ldflags" >&5
11601 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
11603 test ".
$ax_create_pkgconfig_generate" != ".
" || \
11604 ax_create_pkgconfig_generate="zzip
/zziplib.pc
"
11605 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
11606 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
11607 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: generate the pkgconfig later...
$ax_create_pkgconfig_generate" >&5
11609 $as_echo "generate the pkgconfig later...
$ax_create_pkgconfig_generate" >&6; })
11611 if test ".
$ax_create_pkgconfig_src_libdir" = ".
" ; then
11612 ax_create_pkgconfig_src_libdir=`pwd`
11613 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
11614 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11615 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
11616 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
11617 X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
11618 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
11619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11623 /^X\(\/\/\)[^/].*/{
11636 test ! -d $ax_create_pkgconfig_src_libdir/src || \
11637 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src
"
11639 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: noninstalled pkgconfig
-L $ax_create_pkgconfig_src_libdir" >&5
11641 $as_echo "noninstalled pkgconfig
-L $ax_create_pkgconfig_src_libdir" >&6; }
11644 if test ".
$ax_create_pkgconfig_src_headers" = ".
" ; then
11645 ax_create_pkgconfig_src_headers=`pwd`
11646 v="$ac_top_srcdir" ;
11647 test ".
$v" != ".
" || v="$ax_spec_dir"
11648 test ".
$v" != ".
" || v="$srcdir"
11649 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
11650 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x
" ||
11651 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x
" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11652 X"$ax_create_pkgconfig_src_headers/$v/x
" : 'X\(//\)[^/]' \| \
11653 X"$ax_create_pkgconfig_src_headers/$v/x
" : 'X\(//\)$' \| \
11654 X"$ax_create_pkgconfig_src_headers/$v/x
" : 'X\(/\)' \| . 2>/dev/null ||
11655 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x
" |
11656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11660 /^X\(\/\/\)[^/].*/{
11673 test ! -d $ax_create_pkgconfig_src_headers/include || \
11674 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include
"
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: noninstalled pkgconfig
-I $ax_create_pkgconfig_src_headers" >&5
11676 $as_echo "noninstalled pkgconfig
-I $ax_create_pkgconfig_src_headers" >&6; }
11680 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
11682 # -----------------------------------------------------------------------
11685 if test -z "$ac_cv_pax_tar_tool"; then
11686 # Extract the first word of "pax
", so it can be a program name with args.
11687 set dummy pax; ac_word=$2
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11689 $as_echo_n "checking
for $ac_word...
" >&6; }
11690 if ${ac_cv_path_PAX+:} false; then :
11691 $as_echo_n "(cached
) " >&6
11695 ac_cv_path_PAX="$PAX" # Let the user override the test with a path.
11698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11699 for as_dir in $PATH
11702 test -z "$as_dir" && as_dir=.
11703 for ac_exec_ext in '' $ac_executable_extensions; do
11704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11705 ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext"
11706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11713 test -z "$ac_cv_path_PAX" && ac_cv_path_PAX=":"
11717 PAX=$ac_cv_path_PAX
11718 if test -n "$PAX"; then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $PAX" >&5
11720 $as_echo "$PAX" >&6; }
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11723 $as_echo "no
" >&6; }
11727 if test "$ac_cv_path_PAX" != ":"; then
11728 ac_cv_pax_tar_tool="pax
"
11730 # Extract the first word of "gnutar
", so it can be a program name with args.
11731 set dummy gnutar; ac_word=$2
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11733 $as_echo_n "checking
for $ac_word...
" >&6; }
11734 if ${ac_cv_path_GNUTAR+:} false; then :
11735 $as_echo_n "(cached
) " >&6
11739 ac_cv_path_GNUTAR="$GNUTAR" # Let the user override the test with a path.
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $PATH
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749 ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
11750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11757 test -z "$ac_cv_path_GNUTAR" && ac_cv_path_GNUTAR=":"
11761 GNUTAR=$ac_cv_path_GNUTAR
11762 if test -n "$GNUTAR"; then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GNUTAR" >&5
11764 $as_echo "$GNUTAR" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11767 $as_echo "no
" >&6; }
11771 if test "$ac_cv_path_GNUTAR" != ":"; then
11772 ac_cv_pax_tar_tool="gnutar
"
11774 # Extract the first word of "gtar
", so it can be a program name with args.
11775 set dummy gtar; ac_word=$2
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11777 $as_echo_n "checking
for $ac_word...
" >&6; }
11778 if ${ac_cv_path_GTAR+:} false; then :
11779 $as_echo_n "(cached
) " >&6
11783 ac_cv_path_GTAR="$GTAR" # Let the user override the test with a path.
11786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11787 for as_dir in $PATH
11790 test -z "$as_dir" && as_dir=.
11791 for ac_exec_ext in '' $ac_executable_extensions; do
11792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11793 ac_cv_path_GTAR="$as_dir/$ac_word$ac_exec_ext"
11794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11801 test -z "$ac_cv_path_GTAR" && ac_cv_path_GTAR=":"
11805 GTAR=$ac_cv_path_GTAR
11806 if test -n "$GTAR"; then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GTAR" >&5
11808 $as_echo "$GTAR" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11811 $as_echo "no
" >&6; }
11815 if test "$ac_cv_path_GTAR" != ":"; then
11816 ac_cv_pax_tar_tool="gtar
"
11818 # Extract the first word of "tar", so it can be a program name with args.
11819 set dummy tar; ac_word=$2
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11821 $as_echo_n "checking
for $ac_word...
" >&6; }
11822 if ${ac_cv_path_TAR+:} false; then :
11823 $as_echo_n "(cached
) " >&6
11827 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
11830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11831 for as_dir in $PATH
11834 test -z "$as_dir" && as_dir=.
11835 for ac_exec_ext in '' $ac_executable_extensions; do
11836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11837 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
11838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11845 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR=":"
11849 TAR=$ac_cv_path_TAR
11850 if test -n "$TAR"; then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $TAR" >&5
11852 $as_echo "$TAR" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11855 $as_echo "no
" >&6; }
11859 if test "$ac_cv_path_TAR" != ":"; then
11860 ac_cv_pax_tar_tool="tar"
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for portable
tar tool
" >&5
11864 $as_echo_n "checking
for portable
tar tool...
" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_pax_tar_tool" >&5
11866 $as_echo "$ac_cv_pax_tar_tool" >&6; }
11870 if test "$ac_cv_pax_tar_tool$ax_pax_single_archive" = "pax
"; then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for pax single archive option
" >&5
11872 $as_echo_n "checking
for pax single archive option...
" >&6; }
11873 echo foo > conftest.txt ; rm -f conftest.tar
11874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \"\
$ac_cv_path_PAX\" -w -O -f conftest.
tar conftest.txt
"; } >&5
11875 ("$ac_cv_path_PAX" -w -O -f conftest.tar conftest.txt) 2>&5
11877 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
11878 test $ac_status = 0; }
11879 if test -s conftest.tar; then
11880 ax_pax_single_archive="-O" ; ac_hint="(probably a BSD pax
)"
11882 ax_pax_single_archive=" " ; ac_hint="(the
-O option did not work
)"
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_pax_single_archive $ac_hint" >&5
11885 $as_echo "$ax_pax_single_archive $ac_hint" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for command to create portable
tar archives
" >&5
11889 $as_echo_n "checking
for command to create portable
tar archives...
" >&6; }
11890 if test "$ac_cv_pax_tar_tool" = "gnutar
"; then
11891 ax_pax_tar_create="'$ac_cv_path_GNUTAR' cf
"
11892 elif test "$ac_cv_pax_tar_tool" = "gtar
"; then
11893 ax_pax_tar_create="'$ac_cv_path_GTAR' cf
"
11894 elif test "$ac_cv_pax_tar_tool" = "pax
"; then
11895 ax_pax_tar_create="'$ac_cv_path_PAX' -w $ax_pax_single_archive -f"
11896 elif test "$ac_cv_pax_tar_tool" = "tar"; then
11897 ax_pax_tar_create="'$ac_cv_path_TAR' cf
"
11899 ax_pax_tar_create=": 'unknown pax tar tool $ac_cv_pax_tar_tool'"
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_pax_tar_create" >&5
11902 $as_echo "$ax_pax_tar_create" >&6; }
11904 PAX_TAR_CREATE="$ax_pax_tar_create"
11910 if test -z "$ac_cv_pax_tar_tool"; then
11911 # Extract the first word of "pax
", so it can be a program name with args.
11912 set dummy pax; ac_word=$2
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11914 $as_echo_n "checking
for $ac_word...
" >&6; }
11915 if ${ac_cv_path_PAX+:} false; then :
11916 $as_echo_n "(cached
) " >&6
11920 ac_cv_path_PAX="$PAX" # Let the user override the test with a path.
11923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11924 for as_dir in $PATH
11927 test -z "$as_dir" && as_dir=.
11928 for ac_exec_ext in '' $ac_executable_extensions; do
11929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11930 ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext"
11931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11938 test -z "$ac_cv_path_PAX" && ac_cv_path_PAX=":"
11942 PAX=$ac_cv_path_PAX
11943 if test -n "$PAX"; then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $PAX" >&5
11945 $as_echo "$PAX" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11948 $as_echo "no
" >&6; }
11952 if test "$ac_cv_path_PAX" != ":"; then
11953 ac_cv_pax_tar_tool="pax
"
11955 # Extract the first word of "gnutar
", so it can be a program name with args.
11956 set dummy gnutar; ac_word=$2
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11958 $as_echo_n "checking
for $ac_word...
" >&6; }
11959 if ${ac_cv_path_GNUTAR+:} false; then :
11960 $as_echo_n "(cached
) " >&6
11964 ac_cv_path_GNUTAR="$GNUTAR" # Let the user override the test with a path.
11967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11968 for as_dir in $PATH
11971 test -z "$as_dir" && as_dir=.
11972 for ac_exec_ext in '' $ac_executable_extensions; do
11973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11974 ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
11975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11982 test -z "$ac_cv_path_GNUTAR" && ac_cv_path_GNUTAR=":"
11986 GNUTAR=$ac_cv_path_GNUTAR
11987 if test -n "$GNUTAR"; then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GNUTAR" >&5
11989 $as_echo "$GNUTAR" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11992 $as_echo "no
" >&6; }
11996 if test "$ac_cv_path_GNUTAR" != ":"; then
11997 ac_cv_pax_tar_tool="gnutar
"
11999 # Extract the first word of "gtar
", so it can be a program name with args.
12000 set dummy gtar; ac_word=$2
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12002 $as_echo_n "checking
for $ac_word...
" >&6; }
12003 if ${ac_cv_path_GTAR+:} false; then :
12004 $as_echo_n "(cached
) " >&6
12008 ac_cv_path_GTAR="$GTAR" # Let the user override the test with a path.
12011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12012 for as_dir in $PATH
12015 test -z "$as_dir" && as_dir=.
12016 for ac_exec_ext in '' $ac_executable_extensions; do
12017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12018 ac_cv_path_GTAR="$as_dir/$ac_word$ac_exec_ext"
12019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12026 test -z "$ac_cv_path_GTAR" && ac_cv_path_GTAR=":"
12030 GTAR=$ac_cv_path_GTAR
12031 if test -n "$GTAR"; then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GTAR" >&5
12033 $as_echo "$GTAR" >&6; }
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12036 $as_echo "no
" >&6; }
12040 if test "$ac_cv_path_GTAR" != ":"; then
12041 ac_cv_pax_tar_tool="gtar
"
12043 # Extract the first word of "tar", so it can be a program name with args.
12044 set dummy tar; ac_word=$2
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12046 $as_echo_n "checking
for $ac_word...
" >&6; }
12047 if ${ac_cv_path_TAR+:} false; then :
12048 $as_echo_n "(cached
) " >&6
12052 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
12055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12056 for as_dir in $PATH
12059 test -z "$as_dir" && as_dir=.
12060 for ac_exec_ext in '' $ac_executable_extensions; do
12061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12062 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
12063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12070 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR=":"
12074 TAR=$ac_cv_path_TAR
12075 if test -n "$TAR"; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $TAR" >&5
12077 $as_echo "$TAR" >&6; }
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12080 $as_echo "no
" >&6; }
12084 if test "$ac_cv_path_TAR" != ":"; then
12085 ac_cv_pax_tar_tool="tar"
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for portable
tar tool
" >&5
12089 $as_echo_n "checking
for portable
tar tool...
" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_pax_tar_tool" >&5
12091 $as_echo "$ac_cv_pax_tar_tool" >&6; }
12095 if test "$ac_cv_pax_tar_tool$ax_pax_single_archive" = "pax
"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for pax single archive option
" >&5
12097 $as_echo_n "checking
for pax single archive option...
" >&6; }
12098 echo foo > conftest.txt ; rm -f conftest.tar
12099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \"\
$ac_cv_path_PAX\" -w -O -f conftest.
tar conftest.txt
"; } >&5
12100 ("$ac_cv_path_PAX" -w -O -f conftest.tar conftest.txt) 2>&5
12102 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
12103 test $ac_status = 0; }
12104 if test -s conftest.tar; then
12105 ax_pax_single_archive="-O" ; ac_hint="(probably a BSD pax
)"
12107 ax_pax_single_archive=" " ; ac_hint="(the
-O option did not work
)"
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_pax_single_archive $ac_hint" >&5
12110 $as_echo "$ax_pax_single_archive $ac_hint" >&6; }
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for command to extract portable
tar archives
" >&5
12114 $as_echo_n "checking
for command to extract portable
tar archives...
" >&6; }
12115 if test "$ac_cv_pax_tar_tool" = "gnutar
"; then
12116 ax_pax_tar_extract="'$ac_cv_path_GNUTAR' xf
"
12117 elif test "$ac_cv_pax_tar_tool" = "gtar
"; then
12118 ax_pax_tar_extract="'$ac_cv_path_GTAR' xf
"
12119 elif test "$ac_cv_pax_tar_tool" = "pax
"; then
12120 ax_pax_tar_extract="'$ac_cv_path_PAX' -r $ax_pax_single_archive -f"
12121 elif test "$ac_cv_pax_tar_tool" = "tar"; then
12122 ax_pax_tar_extract="'$ac_cv_path_TAR' xf
"
12124 ax_pax_tar_extract=": 'unknown pax tar tool $ac_cv_pax_tar_tool'"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ax_pax_tar_extract" >&5
12127 $as_echo "$ax_pax_tar_extract" >&6; }
12129 PAX_TAR_EXTRACT="$ax_pax_tar_extract"
12133 for ac_prog in perl5 perl
12135 # Extract the first word of "$ac_prog", so it can be a program name with args.
12136 set dummy $ac_prog; ac_word=$2
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12138 $as_echo_n "checking
for $ac_word...
" >&6; }
12139 if ${ac_cv_path_PERL+:} false; then :
12140 $as_echo_n "(cached
) " >&6
12144 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12154 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12165 PERL=$ac_cv_path_PERL
12166 if test -n "$PERL"; then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $PERL" >&5
12168 $as_echo "$PERL" >&6; }
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12171 $as_echo "no
" >&6; }
12175 test -n "$PERL" && break
12177 test -n "$PERL" || PERL="echo no perl found
for"
12179 for ac_prog in python
12181 # Extract the first word of "$ac_prog", so it can be a program name with args.
12182 set dummy $ac_prog; ac_word=$2
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12184 $as_echo_n "checking
for $ac_word...
" >&6; }
12185 if ${ac_cv_path_PYTHON+:} false; then :
12186 $as_echo_n "(cached
) " >&6
12190 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194 for as_dir in $PATH
12197 test -z "$as_dir" && as_dir=.
12198 for ac_exec_ext in '' $ac_executable_extensions; do
12199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12211 PYTHON=$ac_cv_path_PYTHON
12212 if test -n "$PYTHON"; then
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $PYTHON" >&5
12214 $as_echo "$PYTHON" >&6; }
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12217 $as_echo "no
" >&6; }
12221 test -n "$PYTHON" && break
12223 test -n "$PYTHON" || PYTHON="echo no python found
for"
12225 for ac_prog in zip pkzip
12227 # Extract the first word of "$ac_prog", so it can be a program name with args.
12228 set dummy $ac_prog; ac_word=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12230 $as_echo_n "checking
for $ac_word...
" >&6; }
12231 if ${ac_cv_path_MKZIP+:} false; then :
12232 $as_echo_n "(cached
) " >&6
12236 ac_cv_path_MKZIP="$MKZIP" # Let the user override the test with a path.
12239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12240 for as_dir in $PATH
12243 test -z "$as_dir" && as_dir=.
12244 for ac_exec_ext in '' $ac_executable_extensions; do
12245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12246 ac_cv_path_MKZIP="$as_dir/$ac_word$ac_exec_ext"
12247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12257 MKZIP=$ac_cv_path_MKZIP
12258 if test -n "$MKZIP"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MKZIP" >&5
12260 $as_echo "$MKZIP" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12263 $as_echo "no
" >&6; }
12267 test -n "$MKZIP" && break
12269 test -n "$MKZIP" || MKZIP=":"
12271 for ac_prog in xmlto
12273 # Extract the first word of "$ac_prog", so it can be a program name with args.
12274 set dummy $ac_prog; ac_word=$2
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12276 $as_echo_n "checking
for $ac_word...
" >&6; }
12277 if ${ac_cv_path_XMLTO+:} false; then :
12278 $as_echo_n "(cached
) " >&6
12282 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
12285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $PATH
12289 test -z "$as_dir" && as_dir=.
12290 for ac_exec_ext in '' $ac_executable_extensions; do
12291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12292 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
12293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12303 XMLTO=$ac_cv_path_XMLTO
12304 if test -n "$XMLTO"; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $XMLTO" >&5
12306 $as_echo "$XMLTO" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12309 $as_echo "no
" >&6; }
12313 test -n "$XMLTO" && break
12315 test -n "$XMLTO" || XMLTO=":"
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for inline
" >&5
12319 $as_echo_n "checking
for inline...
" >&6; }
12320 if ${ac_cv_c_inline+:} false; then :
12321 $as_echo_n "(cached
) " >&6
12324 for ac_kw in inline __inline__ __inline; do
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12327 #ifndef __cplusplus
12329 static $ac_kw foo_t static_foo () {return 0; }
12330 $ac_kw foo_t foo () {return 0; }
12334 if ac_fn_c_try_compile "$LINENO"; then :
12335 ac_cv_c_inline=$ac_kw
12337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12338 test "$ac_cv_c_inline" != no && break
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_inline" >&5
12343 $as_echo "$ac_cv_c_inline" >&6; }
12345 case $ac_cv_c_inline in
12348 case $ac_cv_c_inline in
12350 *) ac_val=$ac_cv_c_inline;;
12352 cat >>confdefs.h <<_ACEOF
12353 #ifndef __cplusplus
12354 #define inline $ac_val
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for an ANSI C-conforming const
" >&5
12361 $as_echo_n "checking
for an ANSI C-conforming const...
" >&6; }
12362 if ${ac_cv_c_const+:} false; then :
12363 $as_echo_n "(cached
) " >&6
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12371 /* FIXME: Include the comments suggested by Paul. */
12372 #ifndef __cplusplus
12373 /* Ultrix mips cc rejects this. */
12374 typedef int charset[2];
12376 /* SunOS 4.1.1 cc rejects this. */
12377 char const *const *pcpcc;
12379 /* NEC SVR4.0.2 mips cc rejects this. */
12380 struct point {int x, y;};
12381 static struct point const zero = {0,0};
12382 /* AIX XL C 1.02.0.0 rejects this.
12383 It does not let you subtract one const X* pointer from another in
12384 an arm of an if-expression whose if-part is not a constant
12386 const char *g = "string
";
12387 pcpcc = &g + (g ? g-g : 0);
12388 /* HPUX 7.0 cc rejects these. */
12390 ppc = (char**) pcpcc;
12391 pcpcc = (char const *const *) ppc;
12392 { /* SCO 3.2v4 cc rejects this. */
12394 char const *s = 0 ? (char *) 0 : (char const *) 0;
12399 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12400 int x[] = {25, 17};
12401 const int *foo = &x[0];
12404 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12405 typedef const int *iptr;
12409 { /* AIX XL C 1.02.0.0 rejects this saying
12410 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12411 struct s { int j; const int *ap[3]; };
12412 struct s *b; b->j = 5;
12414 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12415 const int foo = 10;
12416 if (!foo) return 0;
12418 return !cs[0] && !zero.x;
12425 if ac_fn_c_try_compile "$LINENO"; then :
12430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_const" >&5
12433 $as_echo "$ac_cv_c_const" >&6; }
12434 if test $ac_cv_c_const = no; then
12436 $as_echo "#define const /**/" >>confdefs.h
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C restrict keyword" >&5
12441 $as_echo_n "checking for C restrict keyword... " >&6; }
12442 if ${acx_cv_c_restrict+:} false
; then :
12443 $as_echo_n "(cached) " >&6
12445 acx_cv_c_restrict
=unsupported
12448 ac_cpp
='$CPP $CPPFLAGS'
12449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12453 # Try the official restrict keyword, then gcc's __restrict__, then
12454 # SGI's __restrict. __restrict has slightly different semantics than
12455 # restrict (it's a bit stronger, in that __restrict pointers can't
12456 # overlap even with non __restrict pointers), but I think it should be
12457 # okay under the circumstances where restrict is normally used.
12458 for acx_kw
in restrict __restrict__ __restrict
; do
12459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12470 if ac_fn_c_try_compile
"$LINENO"; then :
12471 acx_cv_c_restrict
=$acx_kw; break
12473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12476 ac_cpp
='$CPP $CPPFLAGS'
12477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_c_restrict" >&5
12484 $as_echo "$acx_cv_c_restrict" >&6; }
12485 if test "$acx_cv_c_restrict" != "restrict"; then
12486 acx_kw
="$acx_cv_c_restrict"
12487 if test "$acx_kw" = unsupported
; then acx_kw
=""; fi
12489 cat >>confdefs.h
<<_ACEOF
12490 #define restrict $acx_kw
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12496 $as_echo_n "checking for ANSI C header files... " >&6; }
12497 if ${ac_cv_header_stdc+:} false
; then :
12498 $as_echo_n "(cached) " >&6
12500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12502 #include <stdlib.h>
12503 #include <stdarg.h>
12504 #include <string.h>
12515 if ac_fn_c_try_compile
"$LINENO"; then :
12516 ac_cv_header_stdc
=yes
12518 ac_cv_header_stdc
=no
12520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12522 if test $ac_cv_header_stdc = yes; then
12523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12526 #include <string.h>
12529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12530 $EGREP "memchr" >/dev
/null
2>&1; then :
12533 ac_cv_header_stdc
=no
12539 if test $ac_cv_header_stdc = yes; then
12540 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 #include <stdlib.h>
12546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12547 $EGREP "free" >/dev
/null
2>&1; then :
12550 ac_cv_header_stdc
=no
12556 if test $ac_cv_header_stdc = yes; then
12557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12558 if test "$cross_compiling" = yes; then :
12561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12564 #include <stdlib.h>
12565 #if ((' ' & 0x0FF) == 0x020)
12566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12569 # define ISLOWER(c) \
12570 (('a' <= (c) && (c) <= 'i') \
12571 || ('j' <= (c) && (c) <= 'r') \
12572 || ('s' <= (c) && (c) <= 'z'))
12573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12581 for (i = 0; i < 256; i++)
12582 if (XOR (islower (i), ISLOWER (i))
12583 || toupper (i) != TOUPPER (i))
12588 if ac_fn_c_try_run
"$LINENO"; then :
12591 ac_cv_header_stdc
=no
12593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12600 $as_echo "$ac_cv_header_stdc" >&6; }
12601 if test $ac_cv_header_stdc = yes; then
12603 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12607 ac_header_dirent
=no
12608 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
12609 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12611 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12612 if eval \
${$as_ac_Header+:} false
; then :
12613 $as_echo_n "(cached) " >&6
12615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12617 #include <sys/types.h>
12629 if ac_fn_c_try_compile
"$LINENO"; then :
12630 eval "$as_ac_Header=yes"
12632 eval "$as_ac_Header=no"
12634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12636 eval ac_res
=\$
$as_ac_Header
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12638 $as_echo "$ac_res" >&6; }
12639 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12640 cat >>confdefs.h
<<_ACEOF
12641 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12644 ac_header_dirent
=$ac_hdr; break
12648 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12649 if test $ac_header_dirent = dirent.h
; then
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12651 $as_echo_n "checking for library containing opendir... " >&6; }
12652 if ${ac_cv_search_opendir+:} false
; then :
12653 $as_echo_n "(cached) " >&6
12655 ac_func_search_save_LIBS
=$LIBS
12656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12659 /* Override any GCC internal prototype to avoid an error.
12660 Use char because int might match the return type of a GCC
12661 builtin and then its argument prototype would still apply. */
12674 for ac_lib
in '' dir
; do
12675 if test -z "$ac_lib"; then
12676 ac_res
="none required"
12679 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12681 if ac_fn_c_try_link
"$LINENO"; then :
12682 ac_cv_search_opendir
=$ac_res
12684 rm -f core conftest.err conftest.
$ac_objext \
12686 if ${ac_cv_search_opendir+:} false
; then :
12690 if ${ac_cv_search_opendir+:} false
; then :
12693 ac_cv_search_opendir
=no
12695 rm conftest.
$ac_ext
12696 LIBS
=$ac_func_search_save_LIBS
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12699 $as_echo "$ac_cv_search_opendir" >&6; }
12700 ac_res
=$ac_cv_search_opendir
12701 if test "$ac_res" != no
; then :
12702 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12708 $as_echo_n "checking for library containing opendir... " >&6; }
12709 if ${ac_cv_search_opendir+:} false
; then :
12710 $as_echo_n "(cached) " >&6
12712 ac_func_search_save_LIBS
=$LIBS
12713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12731 for ac_lib
in '' x
; do
12732 if test -z "$ac_lib"; then
12733 ac_res
="none required"
12736 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12738 if ac_fn_c_try_link
"$LINENO"; then :
12739 ac_cv_search_opendir
=$ac_res
12741 rm -f core conftest.err conftest.
$ac_objext \
12743 if ${ac_cv_search_opendir+:} false
; then :
12747 if ${ac_cv_search_opendir+:} false
; then :
12750 ac_cv_search_opendir
=no
12752 rm conftest.
$ac_ext
12753 LIBS
=$ac_func_search_save_LIBS
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12756 $as_echo "$ac_cv_search_opendir" >&6; }
12757 ac_res
=$ac_cv_search_opendir
12758 if test "$ac_res" != no
; then :
12759 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12765 for ac_header
in stdint.h unistd.h windows.h winnt.h winbase.h sys
/int_types.h
12767 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12768 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12769 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12770 cat >>confdefs.h
<<_ACEOF
12771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12778 for ac_header
in sys
/types.h sys
/mman.h sys
/stat.h sys
/param.h
12780 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12781 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12782 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12783 cat >>confdefs.h
<<_ACEOF
12784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12790 for ac_header
in io.h direct.h zlib.h byteswap.h
12792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12793 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12794 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12795 cat >>confdefs.h
<<_ACEOF
12796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12803 for ac_header
in fnmatch.h
12805 ac_fn_c_check_header_mongrel
"$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
12806 if test "x$ac_cv_header_fnmatch_h" = xyes
; then :
12807 cat >>confdefs.h
<<_ACEOF
12808 #define HAVE_FNMATCH_H 1
12815 for ac_func
in strcasecmp strndup
12817 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12818 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12819 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12820 cat >>confdefs.h
<<_ACEOF
12821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12828 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12829 if test "x$ac_cv_type_off_t" = xyes
; then :
12833 cat >>confdefs.h
<<_ACEOF
12834 #define off_t long int
12839 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12840 if test "x$ac_cv_type_size_t" = xyes
; then :
12844 cat >>confdefs.h
<<_ACEOF
12845 #define size_t unsigned int
12850 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12851 if test "x$ac_cv_type_ssize_t" = xyes
; then :
12855 cat >>confdefs.h
<<_ACEOF
12856 #define ssize_t int
12861 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
12862 if test "x$ac_cv_type_off64_t" = xyes
; then :
12866 cat >>confdefs.h
<<_ACEOF
12867 #define off64_t _zzip_off_t
12872 ac_fn_c_check_type
"$LINENO" "__int64" "ac_cv_type___int64" "$ac_includes_default"
12873 if test "x$ac_cv_type___int64" = xyes
; then :
12877 cat >>confdefs.h
<<_ACEOF
12878 #define __int64 long long
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12884 $as_echo_n "checking size of short... " >&6; }
12885 if ${ac_cv_sizeof_short+:} false
; then :
12886 $as_echo_n "(cached) " >&6
12888 for ac_size
in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
12889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12891 #include "confdefs.h"
12892 #include <sys/types.h>
12898 switch (0) case 0: case (sizeof (short) == $ac_size):;
12903 if ac_fn_c_try_compile
"$LINENO"; then :
12904 ac_cv_sizeof_short
=$ac_size
12906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12907 if test x
$ac_cv_sizeof_short != x
; then break; fi
12912 if test x
$ac_cv_sizeof_short = x
; then
12913 as_fn_error $?
"cannot determine a size for short" "$LINENO" 5
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12916 $as_echo "$ac_cv_sizeof_short" >&6; }
12918 cat >>confdefs.h
<<_ACEOF
12919 #define SIZEOF_SHORT $ac_cv_sizeof_short
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12924 $as_echo_n "checking size of int... " >&6; }
12925 if ${ac_cv_sizeof_int+:} false
; then :
12926 $as_echo_n "(cached) " >&6
12928 for ac_size
in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
12929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12931 #include "confdefs.h"
12932 #include <sys/types.h>
12938 switch (0) case 0: case (sizeof (int) == $ac_size):;
12943 if ac_fn_c_try_compile
"$LINENO"; then :
12944 ac_cv_sizeof_int
=$ac_size
12946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12947 if test x
$ac_cv_sizeof_int != x
; then break; fi
12952 if test x
$ac_cv_sizeof_int = x
; then
12953 as_fn_error $?
"cannot determine a size for int" "$LINENO" 5
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12956 $as_echo "$ac_cv_sizeof_int" >&6; }
12958 cat >>confdefs.h
<<_ACEOF
12959 #define SIZEOF_INT $ac_cv_sizeof_int
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12964 $as_echo_n "checking size of long... " >&6; }
12965 if ${ac_cv_sizeof_long+:} false
; then :
12966 $as_echo_n "(cached) " >&6
12968 for ac_size
in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
12969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12971 #include "confdefs.h"
12972 #include <sys/types.h>
12978 switch (0) case 0: case (sizeof (long) == $ac_size):;
12983 if ac_fn_c_try_compile
"$LINENO"; then :
12984 ac_cv_sizeof_long
=$ac_size
12986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12987 if test x
$ac_cv_sizeof_long != x
; then break; fi
12992 if test x
$ac_cv_sizeof_long = x
; then
12993 as_fn_error $?
"cannot determine a size for long" "$LINENO" 5
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12996 $as_echo "$ac_cv_sizeof_long" >&6; }
12998 cat >>confdefs.h
<<_ACEOF
12999 #define SIZEOF_LONG $ac_cv_sizeof_long
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13004 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13005 if ${ac_cv_c_bigendian+:} false
; then :
13006 $as_echo_n "(cached) " >&6
13008 ac_cv_c_bigendian
=unknown
13009 # See if we're dealing with a universal compiler.
13010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13012 #ifndef __APPLE_CC__
13013 not a universal capable compiler
13018 if ac_fn_c_try_compile
"$LINENO"; then :
13020 # Check for potential -arch flags. It is not universal unless
13021 # there are at least two -arch flags with different values.
13024 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13025 if test -n "$ac_prev"; then
13027 i?
86 | x86_64 | ppc | ppc64
)
13028 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13031 ac_cv_c_bigendian
=universal
13037 elif test "x$ac_word" = "x-arch"; then
13042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13043 if test $ac_cv_c_bigendian = unknown
; then
13044 # See if sys/param.h defines the BYTE_ORDER macro.
13045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13047 #include <sys/types.h>
13048 #include <sys/param.h>
13053 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13054 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13056 bogus endian macros
13063 if ac_fn_c_try_compile
"$LINENO"; then :
13064 # It does; now see whether it defined to BIG_ENDIAN or not.
13065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13067 #include <sys/types.h>
13068 #include <sys/param.h>
13073 #if BYTE_ORDER != BIG_ENDIAN
13081 if ac_fn_c_try_compile
"$LINENO"; then :
13082 ac_cv_c_bigendian
=yes
13084 ac_cv_c_bigendian
=no
13086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13090 if test $ac_cv_c_bigendian = unknown
; then
13091 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13094 #include <limits.h>
13099 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13100 bogus endian macros
13107 if ac_fn_c_try_compile
"$LINENO"; then :
13108 # It does; now see whether it defined to _BIG_ENDIAN or not.
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13111 #include <limits.h>
13116 #ifndef _BIG_ENDIAN
13124 if ac_fn_c_try_compile
"$LINENO"; then :
13125 ac_cv_c_bigendian
=yes
13127 ac_cv_c_bigendian
=no
13129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13133 if test $ac_cv_c_bigendian = unknown
; then
13134 # Compile a test program.
13135 if test "$cross_compiling" = yes; then :
13136 # Try to guess by grepping values from an object file.
13137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13139 short int ascii_mm[] =
13140 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13141 short int ascii_ii[] =
13142 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13143 int use_ascii (int i) {
13144 return ascii_mm[i] + ascii_ii[i];
13146 short int ebcdic_ii[] =
13147 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13148 short int ebcdic_mm[] =
13149 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13150 int use_ebcdic (int i) {
13151 return ebcdic_mm[i] + ebcdic_ii[i];
13158 return use_ascii (foo) == use_ebcdic (foo);
13163 if ac_fn_c_try_compile
"$LINENO"; then :
13164 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
13165 ac_cv_c_bigendian
=yes
13167 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
13168 if test "$ac_cv_c_bigendian" = unknown
; then
13169 ac_cv_c_bigendian
=no
13171 # finding both strings is unlikely to happen, but who knows?
13172 ac_cv_c_bigendian
=unknown
13176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13180 $ac_includes_default
13185 /* Are we little or big endian? From Harbison&Steele. */
13189 char c[sizeof (long int)];
13192 return u.c[sizeof (long int) - 1] == 1;
13198 if ac_fn_c_try_run
"$LINENO"; then :
13199 ac_cv_c_bigendian
=no
13201 ac_cv_c_bigendian
=yes
13203 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13204 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13210 $as_echo "$ac_cv_c_bigendian" >&6; }
13211 case $ac_cv_c_bigendian in #(
13213 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13219 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13223 as_fn_error $?
"unknown endianness
13224 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pointers to integers require aligned access" >&5
13228 $as_echo_n "checking if pointers to integers require aligned access... " >&6; }
13229 if ${ax_cv_have_aligned_access_required+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 if test "$cross_compiling" = "yes"; then
13233 case "$host_cpu" in alpha
*|arm
*|bfin
*|hp
*|mips
*|sh
*|sparc
*|ia64|nv1
)
13234 ax_cv_have_aligned_access_required
="yes"
13237 if test "$cross_compiling" = yes; then :
13238 ax_cv_have_aligned_access_required
=no
13240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13244 #include <stdlib.h>
13248 char* string = malloc(40);
13250 for (i=0; i < 40; i++) string[[i]] = i;
13256 if (*p == *q) { return 1; }
13262 if ac_fn_c_try_run
"$LINENO"; then :
13263 ax_cv_have_aligned_access_required
=yes
13265 ax_cv_have_aligned_access_required
=no
13267 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13268 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_aligned_access_required" >&5
13274 $as_echo "$ax_cv_have_aligned_access_required" >&6; }
13276 if test "$ax_cv_have_aligned_access_required" = yes ; then
13278 $as_echo "#define HAVE_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
13282 # the default is _disabled_!! anyway, result is prefixed in zzip/_config.h!!
13283 # Check whether --enable-largefile was given.
13284 if test "${enable_largefile+set}" = set; then :
13285 enableval
=$enable_largefile;
13288 if test "$enable_largefile" != no
; then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
13291 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
13292 if ${ac_cv_sys_largefile_CC+:} false
; then :
13293 $as_echo_n "(cached) " >&6
13295 ac_cv_sys_largefile_CC
=no
13296 if test "$GCC" != yes; then
13299 # IRIX 6.2 and later do not support large files by default,
13300 # so use the C compiler's -n32 option if that helps.
13301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13303 #include <sys/types.h>
13304 /* Check that off_t can represent 2**63 - 1 correctly.
13305 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13306 since some C++ compilers masquerading as C compilers
13307 incorrectly reject 9223372036854775807. */
13308 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13309 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13310 && LARGE_OFF_T % 2147483647 == 1)
13320 if ac_fn_c_try_compile
"$LINENO"; then :
13323 rm -f core conftest.err conftest.
$ac_objext
13325 if ac_fn_c_try_compile
"$LINENO"; then :
13326 ac_cv_sys_largefile_CC
=' -n32'; break
13328 rm -f core conftest.err conftest.
$ac_objext
13332 rm -f conftest.
$ac_ext
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
13336 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
13337 if test "$ac_cv_sys_largefile_CC" != no
; then
13338 CC
=$CC$ac_cv_sys_largefile_CC
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13342 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13343 if ${ac_cv_sys_file_offset_bits+:} false
; then :
13344 $as_echo_n "(cached) " >&6
13347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13349 #include <sys/types.h>
13350 /* Check that off_t can represent 2**63 - 1 correctly.
13351 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13352 since some C++ compilers masquerading as C compilers
13353 incorrectly reject 9223372036854775807. */
13354 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13355 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13356 && LARGE_OFF_T % 2147483647 == 1)
13366 if ac_fn_c_try_compile
"$LINENO"; then :
13367 ac_cv_sys_file_offset_bits
=no
; break
13369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13372 #define _FILE_OFFSET_BITS 64
13373 #include <sys/types.h>
13374 /* Check that off_t can represent 2**63 - 1 correctly.
13375 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13376 since some C++ compilers masquerading as C compilers
13377 incorrectly reject 9223372036854775807. */
13378 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13379 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13380 && LARGE_OFF_T % 2147483647 == 1)
13390 if ac_fn_c_try_compile
"$LINENO"; then :
13391 ac_cv_sys_file_offset_bits
=64; break
13393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13394 ac_cv_sys_file_offset_bits
=unknown
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13399 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13400 case $ac_cv_sys_file_offset_bits in #(
13403 cat >>confdefs.h
<<_ACEOF
13404 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13409 if test $ac_cv_sys_file_offset_bits = unknown
; then
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13411 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13412 if ${ac_cv_sys_large_files+:} false
; then :
13413 $as_echo_n "(cached) " >&6
13416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <sys/types.h>
13419 /* Check that off_t can represent 2**63 - 1 correctly.
13420 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13421 since some C++ compilers masquerading as C compilers
13422 incorrectly reject 9223372036854775807. */
13423 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13424 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13425 && LARGE_OFF_T % 2147483647 == 1)
13435 if ac_fn_c_try_compile
"$LINENO"; then :
13436 ac_cv_sys_large_files
=no
; break
13438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13441 #define _LARGE_FILES 1
13442 #include <sys/types.h>
13443 /* Check that off_t can represent 2**63 - 1 correctly.
13444 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13445 since some C++ compilers masquerading as C compilers
13446 incorrectly reject 9223372036854775807. */
13447 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13448 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13449 && LARGE_OFF_T % 2147483647 == 1)
13459 if ac_fn_c_try_compile
"$LINENO"; then :
13460 ac_cv_sys_large_files
=1; break
13462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13463 ac_cv_sys_large_files
=unknown
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13468 $as_echo "$ac_cv_sys_large_files" >&6; }
13469 case $ac_cv_sys_large_files in #(
13472 cat >>confdefs.h
<<_ACEOF
13473 #define _LARGE_FILES $ac_cv_sys_large_files
13481 # we know about some internals of ac_sys_largefile here...
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system differentiates 64bit off_t by defines" >&5
13483 $as_echo_n "checking whether system differentiates 64bit off_t by defines... " >&6; }
13484 ac_cv_sys_largefile_sensitive
="no"
13485 if test ".${ac_cv_sys_file_offset_bits-no}${ac_cv_sys_large_files-no}" != ".nono"
13486 then ac_cv_sys_largefile_sensitive
="yes"
13488 $as_echo "#define LARGEFILE_SENSITIVE 1" >>confdefs.h
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_sensitive" >&5
13492 $as_echo "$ac_cv_sys_largefile_sensitive" >&6; }
13494 test ".$LARGEFILE_CFLAGS" = "." && LARGEFILE_CFLAGS
=""
13496 # Check whether --with-largefile was given.
13497 if test "${with_largefile+set}" = set; then :
13498 withval
=$with_largefile;
13500 with_largefile
="no"
13503 if test ".$ac_cv_sys_largefile_sensitive" = ".no" ; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: compiles library with the only off_t seen" >&5
13505 $as_echo "compiles library with the only off_t seen" >&6; }
13506 elif test ".$with_largefile" != ".no" ; then
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: compiles library as 64bit off_t variant - and renaming some function names" >&5
13508 $as_echo "compiles library as 64bit off_t variant - and renaming some function names" >&6; }
13509 LARGEFILE_CFLAGS
="$LARGEFILE_CFLAGS -D_LARGEFILE_SOURCE"
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS $LARGEFILE_CFLAGS" >&5
13511 $as_echo "..adding CFLAGS $LARGEFILE_CFLAGS" >&6; }
13512 CFLAGS
="$CFLAGS $LARGEFILE_CFLAGS"
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding 64 into RELEASE_INFO for the libraries" >&5
13514 $as_echo "..adding 64 into RELEASE_INFO for the libraries" >&6; }
13515 RELEASE_INFO
="$RELEASE_INFO-64"
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: compiles library as 32bit off_t variant - largefile is not the default here" >&5
13518 $as_echo "compiles library as 32bit off_t variant - largefile is not the default here" >&6; }
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib being found" >&5
13522 $as_echo_n "checking for zlib being found... " >&6; }
13523 if test "_$ac_cv_header_zlib_h" != "_yes" ; then
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...oops: zlib.h not found - try adding some CPPFLAGS to configure call" >&5
13525 $as_echo "...oops: zlib.h not found - try adding some CPPFLAGS to configure call" >&6; }
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: and when linkage fails you might also need to set some LDFLAGS" >&5
13527 $as_echo "...note: and when linkage fails you might also need to set some LDFLAGS" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: both can be set by specifying the install prefix of the zlib library" >&5
13531 $as_echo "...note: both can be set by specifying the install prefix of the zlib library" >&6; }
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: via --with-zlib=path ... it will test for -Ipath/include -Lpath/lib" >&5
13533 $as_echo "...note: via --with-zlib=path ... it will test for -Ipath/include -Lpath/lib" >&6; }
13535 *) if test -d $prefix/include
; then
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: -I$prefix/include is not added to CPPFLAGS automatically and" >&5
13537 $as_echo "...note: -I$prefix/include is not added to CPPFLAGS automatically and" >&6; }
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: neither is -L$prefix/lib for LDFLAGS .. both will be if you specify" >&5
13539 $as_echo "...note: neither is -L$prefix/lib for LDFLAGS .. both will be if you specify" >&6; }
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ...note: --with-zlib to configure call" >&5
13541 $as_echo "...note: --with-zlib to configure call" >&6; }
13545 as_fn_error $?
"zlib.h not found: \"zlib\" is required to build \"$PACKAGE\"" "$LINENO" 5
13548 cat >conftest.c
<<EOF
13550 const char* zlib_VeRsIoN = ZLIB_VERSION "dEtEcT";
13552 ZLIB_VERSION
=`(eval "$ac_cpp conftest.c") 2>/dev/null \
13553 | grep zlib_VeRsIoN | sed -e 's,.*= *.,,' -e 's,. *.dEtEcT.*,,'`
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - $ZLIB_VERSION" >&5
13557 $as_echo "yes - $ZLIB_VERSION" >&6; }
13558 # ----------------------------------------------------------------
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking docdir default" >&5
13560 $as_echo_n "checking docdir default... " >&6; }
13562 # Check whether --with-docdir was given.
13563 if test "${with_docdir+set}" = set; then :
13564 withval
=$with_docdir;
13569 case "${with_docdir}" in
13570 prefix
/*) docdir
=` echo "$withval" | sed 's/^prefix/${prefix}'` ;;
13571 datadir
/*) docdir
=` echo "$withval" | sed 's/^datadir/${datadir}'` ;;
13572 yes) docdir
='${prefix}/doc' ;;
13573 no
) docdir
='${datadir}/doc' ;;
13574 /*|
\\*|a-zA-Z
:*) docdir
="$with_docdir" ;;
13575 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops" >&5
13576 $as_echo "oops" >&6; }
13577 as_fn_error $?
"bad value ${withval} for --with-docdir" "$LINENO" 5
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
13582 $as_echo "$docdir" >&6; }
13583 # ----------------------------------------------------------------
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using debugging messages in libraries" >&5
13585 $as_echo_n "checking whether using debugging messages in libraries... " >&6; }
13587 # Check whether --with-debug was given.
13588 if test "${with_debug+set}" = set; then :
13589 withval
=$with_debug; case "${withval}" in
13590 yes|no
) with_debug
="$withval" ;;
13591 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops" >&5
13592 $as_echo "oops" >&6; }
13593 as_fn_error $?
"bad value ${withval} for --with-debug" "$LINENO" 5 ;;
13599 test "$with_debug" != "yes" && with_debug
="no" # yes or no
13600 test "$with_debug" = "yes" && export CFLAGS
="$CFLAGS -DDEBUG"
13601 result
="$with_debug" ; test "$result" = "yes" && result
="yes, added -DDEBUG"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13603 $as_echo "$result" >&6; }
13604 if test "$with_debug" = "yes" ; then if test -n "$RELEASE_INFO" ; then
13605 RELEASE_INFO
="$RELEASE_INFO-dbg"
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: modified release" >&5
13607 $as_echo "modified release" >&6; }
13609 # ----------------------------------------------------------------
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether thread stack is too small for bufsiz buffers" >&5
13611 $as_echo_n "checking whether thread stack is too small for bufsiz buffers... " >&6; }
13612 # many embedded platforms, superthreaded systems and kernel usage
13613 # will severely limit the stackspace for its threads. Use _LOWSTK
13614 # compile-define on those platforms.
13616 # Check whether --with-lowstk was given.
13617 if test "${with_lowstk+set}" = set; then :
13618 withval
=$with_lowstk; case "${withval}" in
13619 yes|no|auto
) with_lowstk
="$withval" ;;
13620 *) as_fn_error $?
"bad value ${withval} for --with-lowstk" "$LINENO" 5 ;;
13626 if test "$with_lowstk" = "auto"; then
13628 *-palmos-*) $with_lowstk="yes" ;;
13631 test "$with_lowstk" != "yes" && with_lowstk
="no" # yes or no
13632 test "$with_lowstk" = "yes" && CFLAGS
="$CFLAGS -D_LOWSTK"
13633 result
="$with_lowstk" ; test "$result" = "yes" && result
="yes, added -D_LOWSTK"
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_lowstk" >&5
13635 $as_echo "$with_lowstk" >&6; }
13636 # ---------------------------------------------------------------
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether can use mmap for file scanning" >&5
13638 $as_echo_n "checking whether can use mmap for file scanning... " >&6; }
13639 # system with mmap are probably better performing an searching
13640 # and parsing - atleast memory consumption is far better
13641 # Check whether --enable-mmap was given.
13642 if test "${enable_mmap+set}" = set; then :
13643 enableval
=$enable_mmap; case "${enableval}" in
13644 yes|no|auto
) enable_mmap
="${enableval}" ;;
13645 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: oops" >&5
13646 $as_echo "oops" >&6; }
13647 as_fn_error $?
"bad value ${enableval} for --disable-mmap" "$LINENO" 5 ;;
13653 if test "$enable_mmap" = "auto"
13655 test "$ac_cv_header_winbase_h" && enable_mmap
="yes, winbase.h"
13656 test "$ac_cv_header_sys_mman_h" && enable_mmap
="yes, sys/mman.h"
13658 case "$enable_mmap" in
13659 yes|
yes,*) CFLAGS
="$CFLAGS -D_USE_MMAP"
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_mmap" >&5
13661 $as_echo "$enable_mmap" >&6; } ;;
13662 *) enable_mmap
="no"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (just a bit slower)" >&5
13664 $as_echo "no (just a bit slower)" >&6; } ;;
13666 # ---------------------------------------------------------------
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether making SDL parts" >&5
13668 $as_echo_n "checking whether making SDL parts... " >&6; }
13671 # Check whether --enable-sdl was given.
13672 if test "${enable_sdl+set}" = set; then :
13673 enableval
=$enable_sdl;
13678 if test "$enable_sdl" = "no" ; then
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabled" >&5
13680 $as_echo "no, disabled" >&6; }
13682 enable_sdl
=`pkg-config --modversion sdl 2>/dev/null`
13683 if test -z "$enable_sdl"; then
13684 enable_sdl
=`sdl-config --version 2>/dev/null`
13685 SDL_GENERATE
="sdl-uninstalled.pc"
13686 enable_sdl
="$enable_sdl (sdl-config)"
13688 enable_sdl
="$enable_sdl (pkgconfig)"
13690 enable_sdl
="$enable_sdl."
13691 case ".$enable_sdl" in
13692 .1.
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using SDL $enable_sdl" >&5
13693 $as_echo "yes, using SDL $enable_sdl" >&6; }
13695 .2.
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, untested $enable_sdl" >&5
13696 $as_echo "yes, untested $enable_sdl" >&6; }
13698 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, $enable_sdl" >&5
13699 $as_echo "no, $enable_sdl" >&6; } ;;
13701 if test -n "$SDL_GENERATE"; then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled SDL generation of... $SDL_GENERATE" >&5
13703 $as_echo "enabled SDL generation of... $SDL_GENERATE" >&6; }
13708 # ---------------------------------------------------------------
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking running extra tests on make check" >&5
13710 $as_echo_n "checking running extra tests on make check... " >&6; }
13711 if test "MKZIP" != ":" ; then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13713 $as_echo "yes" >&6; }
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13717 $as_echo "no" >&6; }
13721 # ---------------------------------------------------------------
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking link options" >&5
13723 $as_echo_n "checking link options... " >&6; }
13725 case "$host_os" in mingw
*)
13726 # we may assume that the backend is gnu-ld but DLLs need full resolution
13727 ZZIPLIB_LDFLAGS
="${wl}-no-undefined ${wl}-export-all-symbols -mconsole"
13730 # darwin never uses gnu-ld but the linker can do it anyway
13731 ZZIPLIB_LDFLAGS
="-export-dynamic"
13734 if test ".$can_build_shared" != ".no" ; then
13735 ZZIPLIB_LDFLAGS
="-export-dynamic"
13736 if test ".$lt_cv_prog_gnu_ld" == ".yes" ; then
13737 ZZIPLIB_LDFLAGS
="${wl}--export-dynamic"
13738 # TODO: that is for backward compatibility only
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZZIPLIB_LDFLAGS $RESOLVES" >&5
13744 $as_echo "$ZZIPLIB_LDFLAGS $RESOLVES" >&6; }
13748 # Check whether --with-defines was given.
13749 if test "${with_defines+set}" = set; then :
13750 withval
=$with_defines;
13752 with_defines
="normal"
13757 case ",$with_defines," in *,easy
,*)
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS -DZZIP_EASY" >&5
13759 $as_echo "..adding CFLAGS -DZZIP_EASY" >&6; }
13760 CFLAGS
="$CFLAGS -DZZIP_EASY"
13762 case ",$with_defines," in *,harden
,*)
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS -DZZIP_HARDEN" >&5
13764 $as_echo "..adding CFLAGS -DZZIP_HARDEN" >&6; }
13765 CFLAGS
="$CFLAGS -DZZIP_HARDEN"
13767 case ",$with_defines," in *,allow_modulo_entries
,*)
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ..adding CFLAGS -DZZIP_ALLOW_MODULO_ENTRIES" >&5
13769 $as_echo "..adding CFLAGS -DZZIP_ALLOW_MODULO_ENTRIES" >&6; }
13770 CFLAGS
="$CFLAGS -DZZIP_ALLOW_MODULO_ENTRIES"
13773 # ---------------------------------------------------------------
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking auto silent in maintainer mode" >&5
13775 $as_echo_n "checking auto silent in maintainer mode... " >&6; }
13776 if test "$USE_MAINTAINER_MODE" = "no" ; then
13777 test ".$TIMEOUT" = "." && TIMEOUT
="9"
13778 AUTOHEADER
="sleep $TIMEOUT ; true || autoheader || skipped"
13779 AUTOMAKE
="sleep $TIMEOUT ; true || automake || skipped"
13780 AUTOCONF
="sleep $TIMEOUT ; true || autoconf || skipped"
13781 if test ".$LIBTOOL" != "." ; then
13782 LIBTOOL
="$LIBTOOL --silent"
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtool-silent, auto-sleep-9" >&5
13784 $as_echo "libtool-silent, auto-sleep-9" >&6; }
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto-sleep-9" >&5
13787 $as_echo "auto-sleep-9" >&6; }
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13791 $as_echo "no" >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS frame-pointer" >&5
13795 $as_echo_n "checking CFLAGS frame-pointer... " >&6; }
13796 # Check whether --enable-frame-pointer was given.
13797 if test "${enable_frame_pointer+set}" = set; then :
13798 enableval
=$enable_frame_pointer;
13801 case ".$enable_frame_pointer" in
13802 .|.no|.no
,*) test ".$enable_frame_pointer" = "." && enable_frame_pointer
="no"
13803 CFLAGS
=`echo " $CFLAGS " | sed -e 's/ -g / /'`
13804 if test ".$GCC" = ".yes" ; then
13805 CFLAGS
="$CFLAGS -fomit-frame-pointer"
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frame_pointer, -fomit-frame-pointer added" >&5
13807 $as_echo "$enable_frame_pointer, -fomit-frame-pointer added" >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frame_pointer, -g removed" >&5
13810 $as_echo "$enable_frame_pointer, -g removed" >&6; }
13812 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frame_pointer, kept" >&5
13813 $as_echo "$enable_frame_pointer, kept" >&6; } ;;
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
13817 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
13818 if ${ac_cv_cflags_warn_all+:} false
; then :
13819 $as_echo_n "(cached) " >&6
13821 ac_cv_cflags_warn_all
="no, unknown"
13824 ac_cpp
='$CPP $CPPFLAGS'
13825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13829 ac_save_CFLAGS
="$CFLAGS"
13830 for ac_arg
in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
13831 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
13832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13843 if ac_fn_c_try_compile
"$LINENO"; then :
13844 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
13846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13848 CFLAGS
="$ac_save_CFLAGS"
13850 ac_cpp
='$CPP $CPPFLAGS'
13851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
13858 $as_echo "$ac_cv_cflags_warn_all" >&6; }
13859 case ".$ac_cv_cflags_warn_all" in
13864 if echo " $CFLAGS " |
grep " $ac_cv_cflags_warn_all " 2>&1 >/dev
/null
13865 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_warn_all"; } >&5
13866 (: CFLAGS does contain
$ac_cv_cflags_warn_all) 2>&5
13868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13869 test $ac_status = 0; }
13870 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
13871 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
13873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13874 test $ac_status = 0; }
13875 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wpointer-arith" >&5
13881 $as_echo_n "checking CFLAGS for gcc -Wpointer-arith... " >&6; }
13882 if ${ac_cv_cflags_gcc_option__Wpointer_arith+:} false
; then :
13883 $as_echo_n "(cached) " >&6
13885 ac_cv_cflags_gcc_option__Wpointer_arith
="no, unknown"
13888 ac_cpp
='$CPP $CPPFLAGS'
13889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13893 ac_save_CFLAGS
="$CFLAGS"
13894 for ac_arg
in "-pedantic -Werror % -Wpointer-arith" "-pedantic % -Wpointer-arith %% no, obsolete" #
13895 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
13896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13907 if ac_fn_c_try_compile
"$LINENO"; then :
13908 ac_cv_cflags_gcc_option__Wpointer_arith
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
13910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13912 CFLAGS
="$ac_save_CFLAGS"
13914 ac_cpp
='$CPP $CPPFLAGS'
13915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wpointer_arith" >&5
13922 $as_echo "$ac_cv_cflags_gcc_option__Wpointer_arith" >&6; }
13923 case ".$ac_cv_cflags_gcc_option__Wpointer_arith" in
13927 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__Wpointer_arith " 2>&1 >/dev
/null
13928 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wpointer_arith"; } >&5
13929 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__Wpointer_arith) 2>&5
13931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13932 test $ac_status = 0; }
13933 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wpointer_arith\""; } >&5
13934 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wpointer_arith") 2>&5
13936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13937 test $ac_status = 0; }
13938 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wpointer_arith"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wsign-compare" >&5
13944 $as_echo_n "checking CFLAGS for gcc -Wsign-compare... " >&6; }
13945 if ${ac_cv_cflags_gcc_option__Wsign_compare+:} false
; then :
13946 $as_echo_n "(cached) " >&6
13948 ac_cv_cflags_gcc_option__Wsign_compare
="no, unknown"
13951 ac_cpp
='$CPP $CPPFLAGS'
13952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13956 ac_save_CFLAGS
="$CFLAGS"
13957 for ac_arg
in "-pedantic -Werror % -Wsign-compare" "-pedantic % -Wsign-compare %% no, obsolete" #
13958 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
13959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13970 if ac_fn_c_try_compile
"$LINENO"; then :
13971 ac_cv_cflags_gcc_option__Wsign_compare
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
13973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13975 CFLAGS
="$ac_save_CFLAGS"
13977 ac_cpp
='$CPP $CPPFLAGS'
13978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wsign_compare" >&5
13985 $as_echo "$ac_cv_cflags_gcc_option__Wsign_compare" >&6; }
13986 case ".$ac_cv_cflags_gcc_option__Wsign_compare" in
13990 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__Wsign_compare " 2>&1 >/dev
/null
13991 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wsign_compare"; } >&5
13992 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__Wsign_compare) 2>&5
13994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13995 test $ac_status = 0; }
13996 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wsign_compare\""; } >&5
13997 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wsign_compare") 2>&5
13999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14000 test $ac_status = 0; }
14001 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wsign_compare"
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wmissing-declarations" >&5
14007 $as_echo_n "checking CFLAGS for gcc -Wmissing-declarations... " >&6; }
14008 if ${ac_cv_cflags_gcc_option__Wmissing_declarations+:} false
; then :
14009 $as_echo_n "(cached) " >&6
14011 ac_cv_cflags_gcc_option__Wmissing_declarations
="no, unknown"
14014 ac_cpp
='$CPP $CPPFLAGS'
14015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14019 ac_save_CFLAGS
="$CFLAGS"
14020 for ac_arg
in "-pedantic -Werror % -Wmissing-declarations" "-pedantic % -Wmissing-declarations %% no, obsolete" #
14021 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14023 /* end confdefs.h. */
14033 if ac_fn_c_try_compile
"$LINENO"; then :
14034 ac_cv_cflags_gcc_option__Wmissing_declarations
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14038 CFLAGS
="$ac_save_CFLAGS"
14040 ac_cpp
='$CPP $CPPFLAGS'
14041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wmissing_declarations" >&5
14048 $as_echo "$ac_cv_cflags_gcc_option__Wmissing_declarations" >&6; }
14049 case ".$ac_cv_cflags_gcc_option__Wmissing_declarations" in
14053 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__Wmissing_declarations " 2>&1 >/dev
/null
14054 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wmissing_declarations"; } >&5
14055 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__Wmissing_declarations) 2>&5
14057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14058 test $ac_status = 0; }
14059 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wmissing_declarations\""; } >&5
14060 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wmissing_declarations") 2>&5
14062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14063 test $ac_status = 0; }
14064 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wmissing_declarations"
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wdeclaration-after-statement" >&5
14070 $as_echo_n "checking CFLAGS for gcc -Wdeclaration-after-statement... " >&6; }
14071 if ${ac_cv_cflags_gcc_option__Wdeclaration_after_statement+:} false
; then :
14072 $as_echo_n "(cached) " >&6
14074 ac_cv_cflags_gcc_option__Wdeclaration_after_statement
="no, unknown"
14077 ac_cpp
='$CPP $CPPFLAGS'
14078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14082 ac_save_CFLAGS
="$CFLAGS"
14083 for ac_arg
in "-pedantic -Werror % -Wdeclaration-after-statement" "-pedantic % -Wdeclaration-after-statement %% no, obsolete" #
14084 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14096 if ac_fn_c_try_compile
"$LINENO"; then :
14097 ac_cv_cflags_gcc_option__Wdeclaration_after_statement
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14101 CFLAGS
="$ac_save_CFLAGS"
14103 ac_cpp
='$CPP $CPPFLAGS'
14104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wdeclaration_after_statement" >&5
14111 $as_echo "$ac_cv_cflags_gcc_option__Wdeclaration_after_statement" >&6; }
14112 case ".$ac_cv_cflags_gcc_option__Wdeclaration_after_statement" in
14116 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__Wdeclaration_after_statement " 2>&1 >/dev
/null
14117 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wdeclaration_after_statement"; } >&5
14118 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__Wdeclaration_after_statement) 2>&5
14120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14121 test $ac_status = 0; }
14122 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wdeclaration_after_statement\""; } >&5
14123 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wdeclaration_after_statement") 2>&5
14125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14126 test $ac_status = 0; }
14127 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wdeclaration_after_statement"
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Werror-implicit-function-declaration" >&5
14133 $as_echo_n "checking CFLAGS for gcc -Werror-implicit-function-declaration... " >&6; }
14134 if ${ac_cv_cflags_gcc_option__Werror_implicit_function_declaration+:} false
; then :
14135 $as_echo_n "(cached) " >&6
14137 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration
="no, unknown"
14140 ac_cpp
='$CPP $CPPFLAGS'
14141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14145 ac_save_CFLAGS
="$CFLAGS"
14146 for ac_arg
in "-pedantic -Werror % -Werror-implicit-function-declaration" "-pedantic % -Werror-implicit-function-declaration %% no, obsolete" #
14147 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14159 if ac_fn_c_try_compile
"$LINENO"; then :
14160 ac_cv_cflags_gcc_option__Werror_implicit_function_declaration
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14164 CFLAGS
="$ac_save_CFLAGS"
14166 ac_cpp
='$CPP $CPPFLAGS'
14167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&5
14174 $as_echo "$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" >&6; }
14175 case ".$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration" in
14179 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration " 2>&1 >/dev
/null
14180 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"; } >&5
14181 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration) 2>&5
14183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14184 test $ac_status = 0; }
14185 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Werror_implicit_function_declaration\""; } >&5
14186 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration") 2>&5
14188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14189 test $ac_status = 0; }
14190 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Werror_implicit_function_declaration"
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Wstrict-aliasing" >&5
14196 $as_echo_n "checking CFLAGS for gcc -Wstrict-aliasing... " >&6; }
14197 if ${ac_cv_cflags_gcc_option__Wstrict_aliasing+:} false
; then :
14198 $as_echo_n "(cached) " >&6
14200 ac_cv_cflags_gcc_option__Wstrict_aliasing
="no, unknown"
14203 ac_cpp
='$CPP $CPPFLAGS'
14204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14208 ac_save_CFLAGS
="$CFLAGS"
14209 for ac_arg
in "-pedantic -Werror % -Wstrict-aliasing" "-pedantic % -Wstrict-aliasing %% no, obsolete" #
14210 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14222 if ac_fn_c_try_compile
"$LINENO"; then :
14223 ac_cv_cflags_gcc_option__Wstrict_aliasing
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14227 CFLAGS
="$ac_save_CFLAGS"
14229 ac_cpp
='$CPP $CPPFLAGS'
14230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Wstrict_aliasing" >&5
14237 $as_echo "$ac_cv_cflags_gcc_option__Wstrict_aliasing" >&6; }
14238 case ".$ac_cv_cflags_gcc_option__Wstrict_aliasing" in
14242 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__Wstrict_aliasing " 2>&1 >/dev
/null
14243 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wstrict_aliasing"; } >&5
14244 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__Wstrict_aliasing) 2>&5
14246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14247 test $ac_status = 0; }
14248 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wstrict_aliasing\""; } >&5
14249 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wstrict_aliasing") 2>&5
14251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14252 test $ac_status = 0; }
14253 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Wstrict_aliasing"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -Warray-bounds" >&5
14259 $as_echo_n "checking CFLAGS for gcc -Warray-bounds... " >&6; }
14260 if ${ac_cv_cflags_gcc_option__Warray_bounds+:} false
; then :
14261 $as_echo_n "(cached) " >&6
14263 ac_cv_cflags_gcc_option__Warray_bounds
="no, unknown"
14266 ac_cpp
='$CPP $CPPFLAGS'
14267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14271 ac_save_CFLAGS
="$CFLAGS"
14272 for ac_arg
in "-pedantic -Werror % -Warray-bounds" "-pedantic % -Warray-bounds %% no, obsolete" #
14273 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14285 if ac_fn_c_try_compile
"$LINENO"; then :
14286 ac_cv_cflags_gcc_option__Warray_bounds
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14290 CFLAGS
="$ac_save_CFLAGS"
14292 ac_cpp
='$CPP $CPPFLAGS'
14293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_gcc_option__Warray_bounds" >&5
14300 $as_echo "$ac_cv_cflags_gcc_option__Warray_bounds" >&6; }
14301 case ".$ac_cv_cflags_gcc_option__Warray_bounds" in
14305 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__Warray_bounds " 2>&1 >/dev
/null
14306 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Warray_bounds"; } >&5
14307 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__Warray_bounds) 2>&5
14309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14310 test $ac_status = 0; }
14311 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Warray_bounds\""; } >&5
14312 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Warray_bounds") 2>&5
14314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14315 test $ac_status = 0; }
14316 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__Warray_bounds"
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS making strings readonly" >&5
14322 $as_echo_n "checking CFLAGS making strings readonly... " >&6; }
14323 if ${ac_cv_cflags_no_writable_strings+:} false
; then :
14324 $as_echo_n "(cached) " >&6
14326 ac_cv_cflags_no_writable_strings
="no, unknown"
14329 ac_cpp
='$CPP $CPPFLAGS'
14330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14334 ac_save_CFLAGS
="$CFLAGS"
14336 # -use_readonly_const is the default for IRIX C,
14337 # puts them into .rodata, but they are copied later.
14338 # need to be "-G0 -rdatashared" for strictmode but
14339 # I am not sure what effect that has really. - guidod
14340 for ac_arg
in "-pedantic % -fno-writable-strings -Wwrite-strings" "-pedantic % -fconst-strings -Wwrite-strings" "-v -Xc % -xstrconst" "+w1 -Aa % +ESlit" "-w0 -std1 % -readonly_strings" "-fullwarn -use_readonly_const %% ok, its the default" #
14341 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14353 if ac_fn_c_try_compile
"$LINENO"; then :
14354 ac_cv_cflags_no_writable_strings
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14358 case ".$ac_cv_cflags_no_writable_strings" in
14360 *) # sanity check - testing strcpy() from string.h
14361 cp config.log config.tmp
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 #include <string.h>
14370 if (strcpy (test, "test")) return 1;
14375 if ac_fn_c_try_compile
"$LINENO"; then :
14376 if test `diff config.log config.tmp | grep -i warning | wc -l` != 0
14377 then ac_cv_cflags_no_writable_strings
="no, suppressed, string.h," ; fi
14379 ac_cv_cflags_no_writable_strings
="no, suppressed, string.h"
14381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14385 CFLAGS
="$ac_save_CFLAGS"
14387 ac_cpp
='$CPP $CPPFLAGS'
14388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_no_writable_strings" >&5
14395 $as_echo "$ac_cv_cflags_no_writable_strings" >&6; }
14396 case ".$ac_cv_cflags_no_writable_strings" in
14401 if echo " $CFLAGS " |
grep " $ac_cv_cflags_no_writable_strings " 2>&1 >/dev
/null
14402 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_no_writable_strings"; } >&5
14403 (: CFLAGS does contain
$ac_cv_cflags_no_writable_strings) 2>&5
14405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14406 test $ac_status = 0; }
14407 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_no_writable_strings\""; } >&5
14408 (: CFLAGS
="$CFLAGS $ac_cv_cflags_no_writable_strings") 2>&5
14410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14411 test $ac_status = 0; }
14412 CFLAGS
="$CFLAGS $ac_cv_cflags_no_writable_strings"
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for strict prototypes" >&5
14418 $as_echo_n "checking CFLAGS for strict prototypes... " >&6; }
14419 if ${ac_cv_cflags_strict_prototypes+:} false
; then :
14420 $as_echo_n "(cached) " >&6
14422 ac_cv_cflags_strict_prototypes
="no, unknown"
14425 ac_cpp
='$CPP $CPPFLAGS'
14426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14430 ac_save_CFLAGS
="$CFLAGS"
14431 for ac_arg
in "-pedantic % -fstrict-prototypes -Wstrict-prototypes" "-pedantic % -Wstrict-prototypes" "-pedantic % -Wmissing-prototypes" "-pedantic % -Werror-implicit-function-declaration" "-pedantic % -Wimplicit-function-declaration" #
14432 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
14433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14434 /* end confdefs.h. */
14444 if ac_fn_c_try_compile
"$LINENO"; then :
14445 ac_cv_cflags_strict_prototypes
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
14447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14449 case ".$ac_cv_cflags_strict_prototypes" in
14451 *) # sanity check with signal() from sys/signal.h
14452 cp config.log config.tmp
14453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14455 #include <signal.h>
14460 if (signal (SIGINT, SIG_IGN) == SIG_DFL) return 1;
14461 if (signal (SIGINT, SIG_IGN) != SIG_DFL) return 2;
14466 if ac_fn_c_try_compile
"$LINENO"; then :
14467 if test `diff config.log config.tmp | grep -i warning | wc -l` != 0
14468 then if test `diff config.log config.tmp | grep -i warning | wc -l` != 1
14469 then ac_cv_cflags_strict_prototypes
="no, suppressed, signal.h," ; fi ; fi
14471 ac_cv_cflags_strict_prototypes
="no, suppressed, signal.h"
14473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14477 CFLAGS
="$ac_save_CFLAGS"
14479 ac_cpp
='$CPP $CPPFLAGS'
14480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_strict_prototypes" >&5
14487 $as_echo "$ac_cv_cflags_strict_prototypes" >&6; }
14488 case ".$ac_cv_cflags_strict_prototypes" in
14493 if echo " $CFLAGS " |
grep " $ac_cv_cflags_strict_prototypes " 2>&1 >/dev
/null
14494 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$ac_cv_cflags_strict_prototypes"; } >&5
14495 (: CFLAGS does contain
$ac_cv_cflags_strict_prototypes) 2>&5
14497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14498 test $ac_status = 0; }
14499 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_strict_prototypes\""; } >&5
14500 (: CFLAGS
="$CFLAGS $ac_cv_cflags_strict_prototypes") 2>&5
14502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14503 test $ac_status = 0; }
14504 CFLAGS
="$CFLAGS $ac_cv_cflags_strict_prototypes"
14509 # ---------------------------------------------------------------
14510 # The prefix default can be set in configure.ac (otherwise it is /usr/local)
14511 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14512 # Let make expand exec_prefix. Allows to override the makevar 'prefix' later
14513 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14515 # Check whether --enable-enable-default-pkgconfigdir was given.
14516 if test "${enable_enable_default_pkgconfigdir+set}" = set; then :
14517 enableval
=$enable_enable_default_pkgconfigdir;
14520 test ".$enable_default_pkgconfigdir" = "." && enable_default_pkgconfigdir
="no"
14521 case ".$enable_default_pkgconfigdir" in
14522 .no
) ax_warning_default_pkgconfig_def
='${libdir}/pkgconfig' ;;
14524 if test ".$PKG_CONFIG" = "." ; then # we use the same default as in pkg.m4
14525 # Extract the first word of "pkg-config", so it can be a program name with args.
14526 set dummy pkg-config
; ac_word
=$2
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14528 $as_echo_n "checking for $ac_word... " >&6; }
14529 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14530 $as_echo_n "(cached) " >&6
14532 case $PKG_CONFIG in
14534 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14538 for as_dir
in $PATH
14541 test -z "$as_dir" && as_dir
=.
14542 for ac_exec_ext
in '' $ac_executable_extensions; do
14543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14544 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14552 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14556 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14557 if test -n "$PKG_CONFIG"; then
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14559 $as_echo "$PKG_CONFIG" >&6; }
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14562 $as_echo "no" >&6; }
14567 if test "$PKG_CONFIG" = "no"
14568 then ax_warning_default_pkgconfig_def
="/tmp" ; test -d "/usr/lib/pkgconfig" && ax_warning_default_pkgconfig_def
="/usr/lib/pkgconfig"
14569 else ax_warning_default_pkgconfig_bin
=`$as_dirname -- "$ax_warning_default_pkgconfig_def" ||
14570 $as_expr X"$ax_warning_default_pkgconfig_def" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14571 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)[^/]' \| \
14572 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)$' \| \
14573 X"$ax_warning_default_pkgconfig_def" : 'X\(/\)' \| . 2>/dev/null ||
14574 $as_echo X"$ax_warning_default_pkgconfig_def" |
14575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14579 /^X\(\/\/\)[^/].*/{
14592 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14593 ax_warning_default_pkgconfig_def
="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14594 else ax_warning_default_pkgconfig_bin
=`$as_dirname -- "$ax_warning_default_pkgconfig_def" ||
14595 $as_expr X"$ax_warning_default_pkgconfig_def" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14596 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)[^/]' \| \
14597 X"$ax_warning_default_pkgconfig_def" : 'X\(//\)$' \| \
14598 X"$ax_warning_default_pkgconfig_def" : 'X\(/\)' \| . 2>/dev/null ||
14599 $as_echo X"$ax_warning_default_pkgconfig_def" |
14600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14604 /^X\(\/\/\)[^/].*/{
14617 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14618 ax_warning_default_pkgconfig_def
="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14620 if test -d "/usr/lib/pkgconfig" ; then
14621 ax_warning_default_pkgconfig_def
="/usr/lib/pkgconfig"
14623 ax_warning_default_pkgconfig_def
="/tmp"
14626 *) ax_warning_default_pkgconfig_def
="$enable_default_pkgconfigdir" ;;
14628 ax_warning_default_pkgconfig_loc
='$ax_warning_default_pkgconfig_def'
14630 if test ".$PKG_CONFIG" = "." ; then # we use the same default as in pkg.m4
14631 # Extract the first word of "pkg-config", so it can be a program name with args.
14632 set dummy pkg-config
; ac_word
=$2
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14634 $as_echo_n "checking for $ac_word... " >&6; }
14635 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14636 $as_echo_n "(cached) " >&6
14638 case $PKG_CONFIG in
14640 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14644 for as_dir
in $PATH
14647 test -z "$as_dir" && as_dir
=.
14648 for ac_exec_ext
in '' $ac_executable_extensions; do
14649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14650 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14662 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14663 if test -n "$PKG_CONFIG"; then
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14665 $as_echo "$PKG_CONFIG" >&6; }
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14668 $as_echo "no" >&6; }
14673 if test "$PKG_CONFIG" = "no"
14674 then ax_warning_default_pkgconfig_dir
="/" ; test -d "/usr/lib/pkgconfig" && ax_warning_default_pkgconfig_dir
="/usr/lib/pkgconfig"
14675 else ax_warning_default_pkgconfig_bin
=`$as_dirname -- "$ax_warning_default_pkgconfig_dir" ||
14676 $as_expr X"$ax_warning_default_pkgconfig_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14677 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)[^/]' \| \
14678 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)$' \| \
14679 X"$ax_warning_default_pkgconfig_dir" : 'X\(/\)' \| . 2>/dev/null ||
14680 $as_echo X"$ax_warning_default_pkgconfig_dir" |
14681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14685 /^X\(\/\/\)[^/].*/{
14698 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14699 ax_warning_default_pkgconfig_dir
="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14700 else ax_warning_default_pkgconfig_bin
=`$as_dirname -- "$ax_warning_default_pkgconfig_dir" ||
14701 $as_expr X"$ax_warning_default_pkgconfig_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14702 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)[^/]' \| \
14703 X"$ax_warning_default_pkgconfig_dir" : 'X\(//\)$' \| \
14704 X"$ax_warning_default_pkgconfig_dir" : 'X\(/\)' \| . 2>/dev/null ||
14705 $as_echo X"$ax_warning_default_pkgconfig_dir" |
14706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14710 /^X\(\/\/\)[^/].*/{
14723 if test -d "$ax_warning_default_pkgconfig_bin/lib/pkgconfig" ; then
14724 ax_warning_default_pkgconfig_dir
="$ax_warning_default_pkgconfig_bin/lib/pkgconfig"
14726 if test -d "/usr/lib/pkgconfig" ; then
14727 ax_warning_default_pkgconfig_dir
="/usr/lib/pkgconfig"
14729 ax_warning_default_pkgconfig_dir
="/"
14732 { { $as_echo "$as_me:${as_lineno-$LINENO}: : last pkgconfig dir is assumed as \"\$ax_warning_default_pkgconfig_dir\""; } >&5
14733 (: last pkgconfig dir is assumed as
"$ax_warning_default_pkgconfig_dir") 2>&5
14735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14736 test $ac_status = 0; }
14737 ax_warning_default_pkgconfig_dir
=`eval "echo $ax_warning_default_pkgconfig_dir"`
14738 ax_warning_default_pkgconfig_dir
=`eval "echo $ax_warning_default_pkgconfig_dir"`
14739 ax_warning_default_pkgconfig_loc
=`eval "echo $ax_warning_default_pkgconfig_loc"`
14740 ax_warning_default_pkgconfig_loc
=`eval "echo $ax_warning_default_pkgconfig_loc"`
14741 ax_warning_default_pkgconfig_loc
=`eval "echo $ax_warning_default_pkgconfig_loc"`
14742 ax_warning_default_pkgconfig_loc
=`eval "echo $ax_warning_default_pkgconfig_loc"`
14743 for ax_warning_default_pkgconfig_dir
in `echo "$PKG_CONFIG_PATH:$ax_warning_default_pkgconfig_dir" | sed -e 's,:, ,g'` ; do
14744 { { $as_echo "$as_me:${as_lineno-$LINENO}: : test \".\$ax_warning_default_pkgconfig_loc\" = \".\$ax_warning_default_pkgconfig_dir\""; } >&5
14745 (: test ".$ax_warning_default_pkgconfig_loc" = ".$ax_warning_default_pkgconfig_dir") 2>&5
14747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14748 test $ac_status = 0; }
14749 test ".$ax_warning_default_pkgconfig_loc" = ".$ax_warning_default_pkgconfig_dir" && break
14751 if test "$ax_warning_default_pkgconfig_loc" != "$ax_warning_default_pkgconfig_dir" ; then
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: pkgconfigdir=$ax_warning_default_pkgconfig_loc (see config.log)" >&5
14753 $as_echo "$as_me: warning: pkgconfigdir=$ax_warning_default_pkgconfig_loc (see config.log)" >&6;}
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: perhaps: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir" >&5
14755 $as_echo "$as_me: perhaps: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir" >&6;}
14757 pkgconfigdir: the default pkgconfigdir of $ax_warning_default_pkgconfig_loc
14758 pkgconfigdir: is not listed in the dirlist where pkg-config will look for
14759 pkgconfigdir: package-configs - you can override the install-path using
14760 pkgconfigdir: make install pkgconfigdir=$ax_warning_default_pkgconfig_dir
14761 pkgconfigdir: or set/append the directory to the environment variable
14762 pkgconfigdir: PKG_CONFIG_PATH="$ax_warning_default_pkgconfig_loc"
14766 pkgconfigdir
="$ax_warning_default_pkgconfig_dir"
14769 # Check whether --enable-enable-default-aclocaldir was given.
14770 if test "${enable_enable_default_aclocaldir+set}" = set; then :
14771 enableval
=$enable_enable_default_aclocaldir;
14774 test ".$enable_default_aclocaldir" = "." && enable_default_aclocaldir
="no"
14775 case ".$enable_default_aclocaldir" in
14776 .no
) ax_warning_default_aclocal_def
='${datadir}/aclocal' ;;
14778 if test ".$ACLOCAL" = "." ; then
14779 # Extract the first word of "aclocal", so it can be a program name with args.
14780 set dummy aclocal
; ac_word
=$2
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14782 $as_echo_n "checking for $ac_word... " >&6; }
14783 if ${ac_cv_path_ACLOCAL+:} false
; then :
14784 $as_echo_n "(cached) " >&6
14788 ac_cv_path_ACLOCAL
="$ACLOCAL" # Let the user override the test with a path.
14791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14792 for as_dir
in $PATH
14795 test -z "$as_dir" && as_dir
=.
14796 for ac_exec_ext
in '' $ac_executable_extensions; do
14797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14798 ac_cv_path_ACLOCAL
="$as_dir/$ac_word$ac_exec_ext"
14799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14806 test -z "$ac_cv_path_ACLOCAL" && ac_cv_path_ACLOCAL
=":"
14810 ACLOCAL
=$ac_cv_path_ACLOCAL
14811 if test -n "$ACLOCAL"; then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
14813 $as_echo "$ACLOCAL" >&6; }
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14816 $as_echo "no" >&6; }
14821 ax_warning_default_aclocal_bin
="$ACLOCAL"
14822 test ".$ax_warning_default_aclocal_bin" = "." && ax_warning_default_aclocal_bin
="aclocal"
14823 ax_warning_default_aclocal_def
=`test ".$SHELL" = "." && SHELL="'sh'" ; eval "$ax_warning_default_aclocal_bin --print-ac-dir"`
14824 test ".$ax_warning_default_aclocal_def" = "." && test -d "/usr/share/aclocal" && ax_warning_default_aclocal_def
="/usr/share/aclocal"
14825 test ".$ax_warning_default_aclocal_def" = "." && ax_warning_default_aclocal_def
="/tmp" ;;
14826 *) ax_warning_default_aclocal_def
="$enable_default_aclocaldir" ;;
14828 ax_warning_default_aclocal_loc
='$ax_warning_default_aclocal_def'
14830 if test ".$ACLOCAL" = "." ; then
14831 # Extract the first word of "aclocal", so it can be a program name with args.
14832 set dummy aclocal
; ac_word
=$2
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14834 $as_echo_n "checking for $ac_word... " >&6; }
14835 if ${ac_cv_path_ACLOCAL+:} false
; then :
14836 $as_echo_n "(cached) " >&6
14840 ac_cv_path_ACLOCAL
="$ACLOCAL" # Let the user override the test with a path.
14843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14844 for as_dir
in $PATH
14847 test -z "$as_dir" && as_dir
=.
14848 for ac_exec_ext
in '' $ac_executable_extensions; do
14849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14850 ac_cv_path_ACLOCAL
="$as_dir/$ac_word$ac_exec_ext"
14851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14858 test -z "$ac_cv_path_ACLOCAL" && ac_cv_path_ACLOCAL
=":"
14862 ACLOCAL
=$ac_cv_path_ACLOCAL
14863 if test -n "$ACLOCAL"; then
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
14865 $as_echo "$ACLOCAL" >&6; }
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14868 $as_echo "no" >&6; }
14873 ax_warning_default_aclocal_bin
="$ACLOCAL"
14874 test ".$ax_warning_default_aclocal_bin" = "." && ax_warning_default_aclocal_bin
="aclocal"
14875 ax_warning_default_aclocal_dir
=`test ".$SHELL" = "." && SHELL="'sh'" ; eval "$ax_warning_default_aclocal_bin --print-ac-dir"`
14876 test ".$ax_warning_default_aclocal_dir" = "." && test -d "/usr/share/aclocal" && ax_warning_default_aclocal_dir
="/usr/share/aclocal"
14877 test ".$ax_warning_default_aclocal_dir" = "." && ax_warning_default_aclocal_dir
="/tmp"
14878 ax_warning_default_aclocal_dir
=`eval "echo $ax_warning_default_aclocal_dir"` # we need to expand
14879 ax_warning_default_aclocal_dir
=`eval "echo $ax_warning_default_aclocal_dir"`
14880 ax_warning_default_aclocal_loc
=`eval "echo $ax_warning_default_aclocal_loc"`
14881 ax_warning_default_aclocal_loc
=`eval "echo $ax_warning_default_aclocal_loc"`
14882 ax_warning_default_aclocal_loc
=`eval "echo $ax_warning_default_aclocal_loc"`
14883 ax_warning_default_aclocal_loc
=`eval "echo $ax_warning_default_aclocal_loc"`
14884 { { $as_echo "$as_me:${as_lineno-$LINENO}: : test \"\$ax_warning_default_aclocal_loc\" = \"\$ax_warning_default_aclocal_dir\""; } >&5
14885 (: test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir") 2>&5
14887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14888 test $ac_status = 0; }
14889 if test "$ax_warning_default_aclocal_loc" != "$ax_warning_default_aclocal_dir" ; then
14890 if test -f "$ax_warning_default_aclocal_dir/dirlist" ; then
14891 for ax_warning_default_aclocal_dir
in `cat $ax_warning_default_aclocal_dir/dirlist` $ax_warning_default_aclocal_dir ; do
14892 { { $as_echo "$as_me:${as_lineno-$LINENO}: : test \"\$ax_warning_default_aclocal_loc\" = \"\$ax_warning_default_aclocal_dir\""; } >&5
14893 (: test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir") 2>&5
14895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14896 test $ac_status = 0; }
14897 test "$ax_warning_default_aclocal_loc" = "$ax_warning_default_aclocal_dir" && break
14900 if test "$ax_warning_default_aclocal_loc" != "$ax_warning_default_aclocal_dir" ; then
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: aclocaldir=$ax_warning_default_aclocal_loc (see config.log)" >&5
14902 $as_echo "$as_me: warning: aclocaldir=$ax_warning_default_aclocal_loc (see config.log)" >&6;}
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: perhaps: make install aclocaldir=$ax_warning_default_aclocal_dir" >&5
14904 $as_echo "$as_me: perhaps: make install aclocaldir=$ax_warning_default_aclocal_dir" >&6;}
14906 aclocaldir: the default aclocaldir of $ax_warning_default_aclocal_loc
14907 aclocaldir: is not listed in the dirlist where aclocal will look
14908 aclocaldir: for macros - you can override the install-path using
14909 aclocaldir: make install aclocaldir=$ax_warning_default_aclocal_dir
14910 aclocaldir: or append the directory to aclocal reconfigures later as
14911 aclocaldir: aclocal -I $ax_warning_default_aclocal_loc
14912 aclocaldir: when an autoconf macro is needed from that directory
14917 aclocaldir
="$ax_warning_default_aclocal_dir"
14921 ac_config_files
="$ac_config_files Makefile zzip/Makefile zzipwrap/Makefile SDL/Makefile docs/Makefile test/Makefile bins/Makefile"
14923 cat >confcache
<<\_ACEOF
14924 # This file is a shell script that caches the results of configure
14925 # tests run on this system so they can be shared between configure
14926 # scripts and configure runs, see configure's option --config-cache.
14927 # It is not useful on other systems. If it contains results you don't
14928 # want to keep, you may remove or edit it.
14930 # config.status only pays attention to the cache file if you give it
14931 # the --recheck option to rerun configure.
14933 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14934 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14935 # following values.
14939 # The following way of writing the cache mishandles newlines in values,
14940 # but we know of no workaround that is simple, portable, and efficient.
14941 # So, we kill variables containing newlines.
14942 # Ultrix sh set writes to stderr and can't be redirected directly,
14943 # and sets the high bit in the cache file unless we assign to the vars.
14945 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14946 eval ac_val
=\$
$ac_var
14950 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14954 _ | IFS | as_nl
) ;; #(
14955 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14956 *) { eval $ac_var=; unset $ac_var;} ;;
14962 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14963 *${as_nl}ac_space
=\
*)
14964 # `set' does not quote correctly, so add quotes: double-quote
14965 # substitution turns \\\\ into \\, and sed turns \\ into \.
14968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14971 # `set' quotes correctly as required by POSIX, so do not add quotes.
14972 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14983 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14985 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14986 if test -w "$cache_file"; then
14987 if test "x$cache_file" != "x/dev/null"; then
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14989 $as_echo "$as_me: updating cache $cache_file" >&6;}
14990 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
14991 cat confcache
>"$cache_file"
14993 case $cache_file in #(
14995 mv -f confcache
"$cache_file"$$
&&
14996 mv -f "$cache_file"$$
"$cache_file" ;; #(
14998 mv -f confcache
"$cache_file" ;;
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15004 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15009 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15010 # Let make expand exec_prefix.
15011 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15013 DEFS
=-DHAVE_CONFIG_H
15018 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15019 # 1. Remove the extension, and $U if already installed.
15020 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15021 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15022 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15023 # will be set to the directory where LIBOBJS objects are built.
15024 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15025 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15027 LIBOBJS
=$ac_libobjs
15029 LTLIBOBJS
=$ac_ltlibobjs
15032 if test -n "$EXEEXT"; then
15034 am__EXEEXT_FALSE
='#'
15036 am__EXEEXT_TRUE
='#'
15040 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15041 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15044 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15045 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15048 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15049 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15054 : "${CONFIG_STATUS=./config.status}"
15056 ac_clean_files_save
=$ac_clean_files
15057 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15059 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15061 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15063 # Generated by $as_me.
15064 # Run this file to recreate the current configuration.
15065 # Compiler output produced by configure, useful for debugging
15066 # configure, is in config.log if it exists.
15069 ac_cs_recheck=false
15072 SHELL=\${CONFIG_SHELL-$SHELL}
15075 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15076 ## -------------------- ##
15077 ## M4sh Initialization. ##
15078 ## -------------------- ##
15080 # Be more Bourne compatible
15081 DUALCASE
=1; export DUALCASE
# for MKS sh
15082 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15085 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15086 # is contrary to our usage. Disable this feature.
15087 alias -g '${1+"$@"}'='"$@"'
15088 setopt NO_GLOB_SUBST
15090 case `(set -o) 2>/dev/null` in #(
15102 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15103 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15104 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15105 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15106 # Prefer a ksh shell builtin over an external printf program on Solaris,
15107 # but without wasting forks for bash or zsh.
15108 if test -z "$BASH_VERSION$ZSH_VERSION" \
15109 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15110 as_echo='print
-r --'
15111 as_echo_n='print
-rn --'
15112 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15113 as_echo='printf %s
\n'
15114 as_echo_n='printf %s
'
15116 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15117 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15118 as_echo_n='/usr
/ucb
/echo -n'
15120 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15121 as_echo_n_body='eval
15125 expr "X$arg" : "X\\(.*\\)$as_nl";
15126 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15128 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15130 export as_echo_n_body
15131 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15133 export as_echo_body
15134 as_echo='sh
-c $as_echo_body as_echo
'
15137 # The user is always right.
15138 if test "${PATH_SEPARATOR+set}" != set; then
15140 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15141 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15148 # We need space, tab and new line, in precisely that order. Quoting is
15149 # there to prevent editors from complaining about space-tab.
15150 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15151 # splitting by setting IFS to empty value.)
15154 # Find who we are. Look in the path if we contain no directory separator.
15157 *[\\/]* ) as_myself=$0 ;;
15158 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15159 for as_dir in $PATH
15162 test -z "$as_dir" && as_dir=.
15163 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15169 # We did not find ourselves, most probably we were run as `sh COMMAND'
15170 # in which case we are not to be found in the path.
15171 if test "x$as_myself" = x
; then
15174 if test ! -f "$as_myself"; then
15175 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15179 # Unset variables that we do not need and which cause bugs (e.g. in
15180 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15181 # suppresses any "Segmentation fault" message there. '((' could
15182 # trigger a bug in pdksh 5.2.14.
15183 for as_var
in BASH_ENV ENV MAIL MAILPATH
15184 do eval test x\
${$as_var+set} = xset \
15185 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15198 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15201 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15202 # ----------------------------------------
15203 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15204 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15205 # script with STATUS, using 1 if that was 0.
15208 as_status
=$1; test $as_status -eq 0 && as_status
=1
15210 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15211 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15213 $as_echo "$as_me: error: $2" >&2
15214 as_fn_exit
$as_status
15218 # as_fn_set_status STATUS
15219 # -----------------------
15220 # Set $? to STATUS, without forking.
15221 as_fn_set_status
()
15224 } # as_fn_set_status
15226 # as_fn_exit STATUS
15227 # -----------------
15228 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15232 as_fn_set_status
$1
15238 # Portably unset VAR.
15241 { eval $1=; unset $1;}
15243 as_unset
=as_fn_unset
15244 # as_fn_append VAR VALUE
15245 # ----------------------
15246 # Append the text in VALUE to the end of the definition contained in VAR. Take
15247 # advantage of any shell optimizations that allow amortized linear growth over
15248 # repeated appends, instead of the typical quadratic growth present in naive
15250 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15251 eval 'as_fn_append ()
15262 # as_fn_arith ARG...
15263 # ------------------
15264 # Perform arithmetic evaluation on the ARGs, and store the result in the
15265 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15266 # must be portable across $(()) and expr.
15267 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15268 eval 'as_fn_arith ()
15275 as_val
=`expr "$@" || test $? -eq 1`
15280 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15281 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15287 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15288 as_basename
=basename
15293 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15299 as_me
=`$as_basename -- "$0" ||
15300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15301 X"$0" : 'X\(//\)$' \| \
15302 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15304 sed '/^.*\/\([^/][^/]*\)\/*$/{
15318 # Avoid depending upon Character Ranges.
15319 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15320 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15321 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15322 as_cr_digits
='0123456789'
15323 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15325 ECHO_C
= ECHO_N
= ECHO_T
=
15326 case `echo -n x` in #(((((
15328 case `echo 'xy\c'` in
15329 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15331 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15338 rm -f conf$$ conf$$.exe conf$$.
file
15339 if test -d conf$$.dir
; then
15340 rm -f conf$$.dir
/conf$$.
file
15343 mkdir conf$$.dir
2>/dev
/null
15345 if (echo >conf$$.
file) 2>/dev
/null
; then
15346 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15348 # ... but there are two gotchas:
15349 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15350 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15351 # In both cases, we have to default to `cp -p'.
15352 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15354 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15362 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15363 rmdir conf$$.dir
2>/dev
/null
15368 # Create "$as_dir" as a directory, including parents if necessary.
15373 -*) as_dir
=.
/$as_dir;;
15375 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15379 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15380 *) as_qdir
=$as_dir;;
15382 as_dirs
="'$as_qdir' $as_dirs"
15383 as_dir
=`$as_dirname -- "$as_dir" ||
15384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15385 X"$as_dir" : 'X\(//\)[^/]' \| \
15386 X"$as_dir" : 'X\(//\)$' \| \
15387 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15388 $as_echo X"$as_dir" |
15389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15393 /^X\(\/\/\)[^/].*/{
15406 test -d "$as_dir" && break
15408 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15409 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15413 if mkdir
-p .
2>/dev
/null
; then
15414 as_mkdir_p
='mkdir -p "$as_dir"'
15416 test -d .
/-p && rmdir .
/-p
15420 if test -x / >/dev
/null
2>&1; then
15421 as_test_x
='test -x'
15423 if ls -dL / >/dev
/null
2>&1; then
15430 if test -d "$1"; then
15436 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15437 ???[sx]*):;;*)false;;esac;fi
15441 as_executable_p
=$as_test_x
15443 # Sed expression to map a string onto a valid CPP name.
15444 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15446 # Sed expression to map a string onto a valid variable name.
15447 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15451 ## ----------------------------------- ##
15452 ## Main body of $CONFIG_STATUS script. ##
15453 ## ----------------------------------- ##
15455 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15458 # Save the log message, to keep $0 and so on meaningful, and to
15459 # report actual input values of CONFIG_FILES etc. instead of their
15460 # values after options handling.
15462 This file was extended by $as_me, which was
15463 generated by GNU Autoconf 2.68. Invocation command line was
15465 CONFIG_FILES = $CONFIG_FILES
15466 CONFIG_HEADERS = $CONFIG_HEADERS
15467 CONFIG_LINKS = $CONFIG_LINKS
15468 CONFIG_COMMANDS = $CONFIG_COMMANDS
15471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15476 case $ac_config_files in *"
15477 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15480 case $ac_config_headers in *"
15481 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15486 # Files that config.status was made for.
15487 config_files="$ac_config_files"
15488 config_headers="$ac_config_headers"
15489 config_commands="$ac_config_commands"
15493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15495 \`$as_me' instantiates files and other configuration actions
15496 from templates according to the current configuration. Unless the files
15497 and actions are specified as TAGs, all are instantiated by default.
15499 Usage: $0 [OPTION]... [TAG]...
15501 -h, --help print this help, then exit
15502 -V, --version print version number and configuration settings, then exit
15503 --config print configuration, then exit
15504 -q, --quiet, --silent
15505 do not print progress messages
15506 -d, --debug don't remove temporary files
15507 --recheck update $as_me by reconfiguring in the same conditions
15508 --file=FILE[:TEMPLATE]
15509 instantiate the configuration file FILE
15510 --header=FILE[:TEMPLATE]
15511 instantiate the configuration header FILE
15513 Configuration files:
15516 Configuration headers:
15519 Configuration commands:
15522 Report bugs to the package provider."
15525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15526 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15529 configured by $0, generated by GNU Autoconf 2.68,
15530 with options \\"\$ac_cs_config\\"
15532 Copyright (C) 2010 Free Software Foundation, Inc.
15533 This config.status script is free software; the Free Software Foundation
15534 gives unlimited permission to copy, distribute and modify it."
15541 test -n "\$AWK" || AWK=awk
15544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15545 # The default lists apply if the user does not specify any file.
15551 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15552 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15556 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15568 # Handling of the options.
15569 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15571 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15572 $as_echo "$ac_cs_version"; exit ;;
15573 --config |
--confi |
--conf |
--con |
--co |
--c )
15574 $as_echo "$ac_cs_config"; exit ;;
15575 --debug |
--debu |
--deb |
--de |
--d |
-d )
15577 --file |
--fil |
--fi |
--f )
15580 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15581 '') as_fn_error $?
"missing file argument" ;;
15583 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15584 ac_need_defaults
=false
;;
15585 --header |
--heade |
--head |
--hea )
15588 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15590 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15591 ac_need_defaults
=false
;;
15593 # Conflict between --help and --header
15594 as_fn_error $?
"ambiguous option: \`$1'
15595 Try \`$0 --help' for more information.";;
15596 --help |
--hel |
-h )
15597 $as_echo "$ac_cs_usage"; exit ;;
15598 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15599 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15602 # This is an error.
15603 -*) as_fn_error $?
"unrecognized option: \`$1'
15604 Try \`$0 --help' for more information." ;;
15606 *) as_fn_append ac_config_targets
" $1"
15607 ac_need_defaults
=false
;;
15613 ac_configure_extra_args
=
15615 if $ac_cs_silent; then
15617 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15622 if \$ac_cs_recheck; then
15623 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15625 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15626 CONFIG_SHELL='$SHELL'
15627 export CONFIG_SHELL
15632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15636 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15637 ## Running $as_me. ##
15643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15647 ax_enable_builddir_srcdir="$srcdir" # $srcdir
15648 ax_enable_builddir_host="$HOST" # $HOST / $host
15649 ax_enable_builddir_version="$VERSION" # $VERSION
15650 ax_enable_builddir_package="$PACKAGE" # $PACKAGE
15651 ax_enable_builddir_sed="$ax_enable_builddir_sed" # $SED
15652 ax_enable_builddir="$ax_enable_builddir" # $SUB
15654 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15657 # The HP-UX ksh and POSIX shell print the target directory to stdout
15658 # if CDPATH is set.
15659 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15661 sed_quote_subst='$sed_quote_subst'
15662 double_quote_subst='$double_quote_subst'
15663 delay_variable_subst='$delay_variable_subst'
15664 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15665 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15666 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15667 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15668 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15669 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15670 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15671 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15672 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15673 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15674 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15675 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15676 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15677 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15678 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15679 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15680 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15681 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15682 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15683 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15684 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15685 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15686 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15687 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15688 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15689 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15690 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15691 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15692 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15693 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15694 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15695 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15696 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15697 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15698 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15699 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15700 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15701 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15702 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15703 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15704 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15705 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15706 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15707 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15708 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15709 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15710 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15711 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15712 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15713 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15714 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15715 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15716 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15717 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15718 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15719 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15720 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15721 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15722 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15723 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15724 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15725 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15726 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15727 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15728 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15729 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15730 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15731 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15732 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15733 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15734 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15735 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15736 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15737 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15738 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15739 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15740 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15741 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15742 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15743 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15744 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15745 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15746 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15747 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15748 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15749 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15750 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15751 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15752 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15753 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15754 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15755 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15756 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15757 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15758 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15759 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15760 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15761 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15762 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15763 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15764 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15765 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15766 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15767 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15768 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15769 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15770 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15771 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15772 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15773 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15774 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15775 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15776 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15777 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15778 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15779 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15780 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15781 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15782 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15783 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15786 LTCFLAGS='$LTCFLAGS'
15787 compiler='$compiler_DEFAULT'
15789 # Quote evaled strings.
15800 deplibs_check_method \
15809 lt_cv_sys_global_symbol_pipe \
15810 lt_cv_sys_global_symbol_to_cdecl \
15811 lt_cv_sys_global_symbol_to_c_name_address \
15812 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15815 lt_prog_compiler_no_builtin_flag \
15816 lt_prog_compiler_wl \
15817 lt_prog_compiler_pic \
15818 lt_prog_compiler_static \
15819 lt_cv_prog_compiler_c_o \
15827 export_dynamic_flag_spec \
15828 whole_archive_flag_spec \
15829 compiler_needs_object \
15831 allow_undefined_flag \
15832 no_undefined_flag \
15833 hardcode_libdir_flag_spec \
15834 hardcode_libdir_flag_spec_ld \
15835 hardcode_libdir_separator \
15840 variables_saved_for_relink \
15842 library_names_spec \
15847 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15848 *[\\\\\\\`\\"\\\$]*)
15849 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15852 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15857 # Double-quote double-evaled strings.
15858 for var in reload_cmds \
15859 old_postinstall_cmds \
15860 old_postuninstall_cmds \
15862 extract_expsyms_cmds \
15863 old_archive_from_new_cmds \
15864 old_archive_from_expsyms_cmds \
15866 archive_expsym_cmds \
15868 module_expsym_cmds \
15869 export_symbols_cmds \
15872 postuninstall_cmds \
15874 sys_lib_search_path_spec \
15875 sys_lib_dlsearch_path_spec; do
15876 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15877 *[\\\\\\\`\\"\\\$]*)
15878 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15881 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15886 # Fix-up fallback echo if it was mangled by the above quoting rules.
15888 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15892 ac_aux_dir='$ac_aux_dir'
15893 xsi_shell='$xsi_shell'
15894 lt_shell_append='$lt_shell_append'
15896 # See if we are running on zsh, and set the options which allow our
15897 # commands through without removal of \ escapes INIT.
15898 if test -n "\${ZSH_VERSION+set}" ; then
15899 setopt NO_GLOB_SUBST
15905 TIMESTAMP='$TIMESTAMP'
15914 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
15915 pkgconfig_prefix='$prefix'
15916 pkgconfig_execprefix='$exec_prefix'
15917 pkgconfig_bindir='$bindir'
15918 pkgconfig_libdir='$libdir'
15919 pkgconfig_includedir='$includedir'
15920 pkgconfig_datarootdir='$datarootdir'
15921 pkgconfig_datadir='$datadir'
15922 pkgconfig_sysconfdir='$sysconfdir'
15923 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
15924 pkgconfig_package='$PACKAGE_NAME'
15925 pkgconfig_libname='$ax_create_pkgconfig_libname'
15926 pkgconfig_description='$ax_create_pkgconfig_description'
15927 pkgconfig_version='$ax_create_pkgconfig_version'
15928 pkgconfig_requires='$ax_create_pkgconfig_requires'
15929 pkgconfig_libs='$ax_create_pkgconfig_libs'
15930 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
15931 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
15932 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
15933 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
15938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15940 # Handling of arguments.
15941 for ac_config_target
in $ac_config_targets
15943 case $ac_config_target in
15944 "buildir") CONFIG_COMMANDS
="$CONFIG_COMMANDS buildir" ;;
15945 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15946 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15947 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15948 "zzip/_config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS zzip/_config.h" ;;
15949 "zzip/_msvc.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS zzip/_msvc.h" ;;
15950 "$ax_create_pkgconfig_generate") CONFIG_COMMANDS
="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
15951 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15952 "zzip/Makefile") CONFIG_FILES
="$CONFIG_FILES zzip/Makefile" ;;
15953 "zzipwrap/Makefile") CONFIG_FILES
="$CONFIG_FILES zzipwrap/Makefile" ;;
15954 "SDL/Makefile") CONFIG_FILES
="$CONFIG_FILES SDL/Makefile" ;;
15955 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
15956 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
15957 "bins/Makefile") CONFIG_FILES
="$CONFIG_FILES bins/Makefile" ;;
15959 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15964 # If the user did not use the arguments to specify the items to instantiate,
15965 # then the envvar interface is used. Set only those that are not.
15966 # We use the long form for the default assignment because of an extremely
15967 # bizarre bug on SunOS 4.1.3.
15968 if $ac_need_defaults; then
15969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15974 # Have a temporary directory for convenience. Make it in the build tree
15975 # simply because there is no reason against having it here, and in addition,
15976 # creating and moving files from /tmp can sometimes cause problems.
15977 # Hook for its removal unless debugging.
15978 # Note that there is a small window in which the directory will not be cleaned:
15979 # after its creation but before its name has been assigned to `$tmp'.
15983 trap 'exit_status=$?
15984 : "${ac_tmp:=$tmp}"
15985 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15987 trap 'as_fn_exit 1' 1 2 13 15
15989 # Create a (secure) tmp directory for tmp files.
15992 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15996 tmp
=.
/conf$$
-$RANDOM
15997 (umask 077 && mkdir
"$tmp")
15998 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16001 # Set up the scripts for CONFIG_FILES section.
16002 # No need to generate them if there are no CONFIG_FILES.
16003 # This happens for instance with `./config.status config.h'.
16004 if test -n "$CONFIG_FILES"; then
16007 ac_cr
=`echo X | tr X '\015'`
16008 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16009 # But we know of no other shell where ac_cr would be empty at this
16010 # point, so we can use a bashism as a fallback.
16011 if test "x$ac_cr" = x
; then
16012 eval ac_cr
=\$
\'\\r
\'
16014 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16015 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16018 ac_cs_awk_cr
=$ac_cr
16021 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16026 echo "cat >conf$$subs.awk <<_ACEOF" &&
16027 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16029 } >conf$$subs.sh ||
16030 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16031 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16033 for ac_last_try in false false false false false :; do
16034 . ./conf$$subs.sh ||
16035 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16037 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16038 if test $ac_delim_n = $ac_delim_num; then
16040 elif $ac_last_try; then
16041 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16043 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16046 rm -f conf$$subs.sh
16048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16049 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16053 s/^/S["/; s
/!.
*/"]=/
16063 s/\(.\{148\}\)..*/\1/
16065 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16070 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16077 s/\(.\{148\}\)..*/\1/
16079 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16083 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16088 ' <conf$$subs.awk | sed '
16093 ' >>$CONFIG_STATUS || ac_write_fail=1
16094 rm -f conf$$subs.awk
16095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16098 for (key in S) S_is_set[key] = 1
16104 nfields = split(line, field, "@
")
16106 len = length(field[1])
16107 for (i = 2; i < nfields; i++) {
16109 keylen = length(key)
16110 if (S_is_set[key]) {
16112 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16113 len += length(value) + length(field[++i])
16124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16125 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16126 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16129 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16130 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16133 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16134 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16135 # trailing colons and then remove the whole line if VPATH becomes empty
16136 # (actually we leave an empty line to preserve line numbers).
16137 if test "x
$srcdir" = x.; then
16138 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16157 fi # test -n "$CONFIG_FILES"
16159 # Set up the scripts for CONFIG_HEADERS section.
16160 # No need to generate them if there are no CONFIG_HEADERS.
16161 # This happens for instance with `./config.status Makefile'.
16162 if test -n "$CONFIG_HEADERS"; then
16163 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16167 # Transform confdefs.h into an awk script `defines.awk', embedded as
16168 # here-document in config.status, that substitutes the proper values into
16169 # config.h.in to produce config.h.
16171 # Create a delimiter string that does not exist in confdefs.h, to ease
16172 # handling of long lines.
16174 for ac_last_try in false false :; do
16175 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16176 if test -z "$ac_tt"; then
16178 elif $ac_last_try; then
16179 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16181 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16185 # For the awk script, D is an array of macro values keyed by name,
16186 # likewise P contains macro parameters if any. Preserve backslash
16187 # newline sequences.
16189 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16191 s/.\{148\}/&'"$ac_delim"'/g
16194 s/^[ ]*#[ ]*define[ ][ ]*/ /
16201 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16203 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16207 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16208 D["\
1"]=" \
3\\\\\\n
"\\/p
16210 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16215 s/.\{148\}/&'"$ac_delim"'/g
16220 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16223 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16225 ' <confdefs.h | sed '
16226 s/'"$ac_delim"'/"\\\
16227 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16230 for (key in D) D_is_set[key] = 1
16233 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16235 split(line, arg, " ")
16236 if (arg[1] == "#") {
16240 defundef
= substr
(arg
[1], 2)
16243 split(mac1
, mac2
, "(") #)
16245 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16246 if (D_is_set
[macro
]) {
16247 # Preserve the white space surrounding the "#".
16248 print prefix
"define", macro P
[macro
] D
[macro
]
16251 # Replace #undef with comments. This is necessary, for example,
16252 # in the case of _POSIX_SOURCE, which is predefined and required
16253 # on some systems where configure will not decide to define it.
16254 if (defundef
== "undef") {
16255 print
"/*", prefix defundef
, macro
, "*/"
16263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16264 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16265 fi # test -n "$CONFIG_HEADERS"
16268 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16273 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16275 case $ac_mode$ac_tag in
16277 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16278 :[FH
]-) ac_tag
=-:-;;
16279 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16296 -) ac_f
="$ac_tmp/stdin";;
16297 *) # Look for the file first in the build tree, then in the source tree
16298 # (if the path is not absolute). The absolute path cannot be DOS-style,
16299 # because $ac_f cannot contain `:'.
16303 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16305 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16307 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16308 as_fn_append ac_file_inputs
" '$ac_f'"
16311 # Let's still pretend it is `configure' which instantiates (i.e., don't
16312 # use $as_me), people would be surprised to read:
16313 # /* config.h. Generated by config.status. */
16314 configure_input
='Generated from '`
16315 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16317 if test x
"$ac_file" != x-
; then
16318 configure_input
="$ac_file. $configure_input"
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16320 $as_echo "$as_me: creating $ac_file" >&6;}
16322 # Neutralize special characters interpreted by sed in replacement strings.
16323 case $configure_input in #(
16324 *\
&* |
*\|
* |
*\\* )
16325 ac_sed_conf_input
=`$as_echo "$configure_input" |
16326 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16327 *) ac_sed_conf_input
=$configure_input;;
16331 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16332 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16337 ac_dir
=`$as_dirname -- "$ac_file" ||
16338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16339 X"$ac_file" : 'X\(//\)[^/]' \| \
16340 X"$ac_file" : 'X\(//\)$' \| \
16341 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16342 $as_echo X"$ac_file" |
16343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16347 /^X\(\/\/\)[^/].*/{
16360 as_dir
="$ac_dir"; as_fn_mkdir_p
16364 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16366 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16367 # A ".." for each directory in $ac_dir_suffix.
16368 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16369 case $ac_top_builddir_sub in
16370 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16371 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16374 ac_abs_top_builddir
=$ac_pwd
16375 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16376 # for backward compatibility:
16377 ac_top_builddir
=$ac_top_build_prefix
16380 .
) # We are building in place.
16382 ac_top_srcdir
=$ac_top_builddir_sub
16383 ac_abs_top_srcdir
=$ac_pwd ;;
16384 [\\/]* | ?
:[\\/]* ) # Absolute name.
16385 ac_srcdir
=$srcdir$ac_dir_suffix;
16386 ac_top_srcdir
=$srcdir
16387 ac_abs_top_srcdir
=$srcdir ;;
16388 *) # Relative name.
16389 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16390 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16391 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16393 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16403 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16404 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16406 ac_MKDIR_P
=$MKDIR_P
16408 [\\/$
]* | ?
:[\\/]* ) ;;
16409 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16414 # If the template does not know about datarootdir, expand it.
16415 # FIXME: This hack should be removed a few years after 2.60.
16416 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16427 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16428 *datarootdir
*) ac_datarootdir_seen
=yes;;
16429 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16431 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16434 ac_datarootdir_hack='
16435 s&@datadir@&$datadir&g
16436 s&@docdir@&$docdir&g
16437 s&@infodir@&$infodir&g
16438 s&@localedir@&$localedir&g
16439 s&@mandir@&$mandir&g
16440 s&\\\${datarootdir}&$datarootdir&g' ;;
16444 # Neutralize VPATH when `$srcdir' = `.'.
16445 # Shell code in configure.ac might set extrasub.
16446 # FIXME: do we really want to maintain this feature?
16447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16448 ac_sed_extra="$ac_vpsub
16451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16453 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16454 s|@configure_input@|
$ac_sed_conf_input|
;t t
16455 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16456 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16457 s
&@srcdir@
&$ac_srcdir&;t t
16458 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16459 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16460 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16461 s
&@builddir@
&$ac_builddir&;t t
16462 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16463 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16464 s
&@INSTALL@
&$ac_INSTALL&;t t
16465 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16466 $ac_datarootdir_hack
16468 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16469 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16471 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16472 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16473 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16474 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16476 which seems to be undefined. Please make sure it is defined" >&5
16477 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16478 which seems to be undefined. Please make sure it is defined" >&2;}
16480 rm -f "$ac_tmp/stdin"
16482 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16483 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16485 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16491 if test x"$ac_file" != x-; then
16493 $as_echo "/* $configure_input */" \
16494 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16495 } >"$ac_tmp/config.h" \
16496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16497 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16499 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16502 mv "$ac_tmp/config.h" "$ac_file" \
16503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16506 $as_echo "/* $configure_input */" \
16507 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16508 || as_fn_error $? "could not create -" "$LINENO" 5
16510 # Compute "$ac_file"'s index
in $config_headers.
16513 for _am_header
in $config_headers :; do
16514 case $_am_header in
16515 $_am_arg |
$_am_arg:* )
16518 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16521 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16522 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16523 X"$_am_arg" : 'X\(//\)[^/]' \| \
16524 X"$_am_arg" : 'X\(//\)$' \| \
16525 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16526 $as_echo X"$_am_arg" |
16527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16531 /^X\(\/\/\)[^/].*/{
16543 s/.*/./; q'`/stamp-h
$_am_stamp_count
16546 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16547 $as_echo "$as_me: executing $ac_file commands" >&6;}
16552 case $ac_file$ac_mode in
16553 "buildir":C
) ac_top_srcdir
="$ax_enable_builddir_srcdir"
16554 if test ".$ax_enable_builddir" = "." ; then
16555 if test -f "$top_srcdir/Makefile" ; then
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: skipping top_srcdir/Makefile - left untouched" >&5
16557 $as_echo "$as_me: skipping top_srcdir/Makefile - left untouched" >&6;}
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: skipping top_srcdir/Makefile - not created" >&5
16560 $as_echo "$as_me: skipping top_srcdir/Makefile - not created" >&6;}
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: create top_srcdir/Makefile guessed from local Makefile" >&5
16564 $as_echo "$as_me: create top_srcdir/Makefile guessed from local Makefile" >&6;}
16565 x
='`' ; cat >$tmp/conftemp.
sed <<_EOF
16578 s/\\(\\n\\) /\\1 /g
16582 s/^srcdir *=.*/srcdir = ./
16583 s/^top_srcdir *=.*/top_srcdir = ./
16589 /^.*[=]/!s%\$% ; (cd \$(BUILD) \\&\\& \$(ISNOTSRCDIR) \\&\\& \$(MAKE) "\$\@") || exit ; \$(MAKE) done "RULE=\$\@"%
16591 test ".$USE_MAINTAINER_MODE" = ".no" || \
16592 cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefile.sed~" ## DEBUGGING
16593 echo 'BUILD=`uname -msr | tr " /" "__"`.d' >$ac_top_srcdir/Makefile
16594 echo 'ISNOTSRCDIR=test ! -f configure' >>$ac_top_srcdir/Makefile
16595 $ax_enable_builddir_sed -f $tmp/conftemp.
sed Makefile
>>$ac_top_srcdir/Makefile
16596 echo 'done: ;@ if grep "$(RULE)-done .*:" Makefile > /dev/null; then echo $(MAKE) $(RULE)-done ; $(MAKE) $(RULE)-done ; else true ; fi' >> $ac_top_srcdir/Makefile
16597 if test -f "$ac_top_srcdir/Makefile.mk" ; then
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&5
16599 $as_echo "$as_me: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&6;}
16600 cat $ac_top_srcdir/Makefile.mk
>>$ac_top_srcdir/Makefile
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: make uses BUILD=$ax_enable_builddir (on $ax_enable_builddir_host:)" >&5
16603 $as_echo "$as_me: make uses BUILD=$ax_enable_builddir (on $ax_enable_builddir_host:)" >&6;}
16606 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16607 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16608 # are listed without --file. Let's play safe and only enable the eval
16609 # if we detect the quoting.
16610 case $CONFIG_FILES in
16611 *\'*) eval set x
"$CONFIG_FILES" ;;
16612 *) set x
$CONFIG_FILES ;;
16617 # Strip MF so we end up with the name of the file.
16618 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16619 # Check whether this is an Automake generated Makefile or not.
16620 # We used to match only the files named `Makefile.in', but
16621 # some people rename them; so instead we look at the file content.
16622 # Grep'ing the first line is not enough: some people post-process
16623 # each Makefile.in and add a new line on top of each file to say so.
16624 # Grep'ing the whole file is not good either: AIX grep has a line
16625 # limit of 2048, but all sed's we know have understand at least 4000.
16626 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16627 dirpart
=`$as_dirname -- "$mf" ||
16628 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16629 X"$mf" : 'X\(//\)[^/]' \| \
16630 X"$mf" : 'X\(//\)$' \| \
16631 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16637 /^X\(\/\/\)[^/].*/{
16653 # Extract the definition of DEPDIR, am__include, and am__quote
16654 # from the Makefile without running `make'.
16655 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16656 test -z "$DEPDIR" && continue
16657 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16658 test -z "am__include" && continue
16659 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16660 # When using ansi2knr, U may be empty or an underscore; expand it
16661 U
=`sed -n 's/^U = //p' < "$mf"`
16662 # Find all dependency output files, they are included files with
16663 # $(DEPDIR) in their names. We invoke sed twice because it is the
16664 # simplest approach to changing $(DEPDIR) to its actual value in the
16666 for file in `sed -n "
16667 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16668 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16669 # Make sure the directory exists.
16670 test -f "$dirpart/$file" && continue
16671 fdir
=`$as_dirname -- "$file" ||
16672 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16673 X"$file" : 'X\(//\)[^/]' \| \
16674 X"$file" : 'X\(//\)$' \| \
16675 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16676 $as_echo X"$file" |
16677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16681 /^X\(\/\/\)[^/].*/{
16694 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16695 # echo "creating $dirpart/$file"
16696 echo '# dummy' > "$dirpart/$file"
16703 # See if we are running on zsh, and set the options which allow our
16704 # commands through without removal of \ escapes.
16705 if test -n "${ZSH_VERSION+set}" ; then
16706 setopt NO_GLOB_SUBST
16709 cfgfile
="${ofile}T"
16710 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16713 cat <<_LT_EOF >> "$cfgfile"
16716 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16717 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16718 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16719 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16721 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16722 # 2006, 2007, 2008 Free Software Foundation, Inc.
16723 # Written by Gordon Matzigkeit, 1996
16725 # This file is part of GNU Libtool.
16727 # GNU Libtool is free software; you can redistribute it and/or
16728 # modify it under the terms of the GNU General Public License as
16729 # published by the Free Software Foundation; either version 2 of
16730 # the License, or (at your option) any later version.
16732 # As a special exception to the GNU General Public License,
16733 # if you distribute this file as part of a program or library that
16734 # is built using GNU Libtool, you may include this file under the
16735 # same distribution terms that you use for the rest of that program.
16737 # GNU Libtool is distributed in the hope that it will be useful,
16738 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16739 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16740 # GNU General Public License for more details.
16742 # You should have received a copy of the GNU General Public License
16743 # along with GNU Libtool; see the file COPYING. If not, a copy
16744 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16745 # obtained by writing to the Free Software Foundation, Inc.,
16746 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16749 # The names of the tagged configurations supported by this script.
16752 # ### BEGIN LIBTOOL CONFIG
16754 # Assembler program.
16757 # DLL creation program.
16760 # Object dumper program.
16763 # Which release of libtool.m4 was used?
16764 macro_version=$macro_version
16765 macro_revision=$macro_revision
16767 # Whether or not to build shared libraries.
16768 build_libtool_libs=$enable_shared
16770 # Whether or not to build static libraries.
16771 build_old_libs=$enable_static
16773 # What type of objects to build.
16776 # Whether or not to optimize for fast installation.
16777 fast_install=$enable_fast_install
16780 host_alias=$host_alias
16784 # The build system.
16785 build_alias=$build_alias
16789 # A sed program that does not truncate output.
16792 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16793 Xsed="\$SED -e 1s/^X//"
16795 # A grep program that handles long lines.
16801 # A literal string matcher.
16804 # A BSD- or MS-compatible name lister.
16807 # Whether we need soft or hard links.
16810 # What is the maximum length of a command?
16811 max_cmd_len=$max_cmd_len
16813 # Object file suffix (normally "o").
16816 # Executable file suffix (normally "").
16819 # whether the shell understands "unset".
16822 # turn spaces into newlines.
16825 # turn newlines into spaces.
16828 # How to create reloadable object files.
16829 reload_flag=$lt_reload_flag
16830 reload_cmds=$lt_reload_cmds
16832 # Method to check whether dependent libraries are shared objects.
16833 deplibs_check_method=$lt_deplibs_check_method
16835 # Command to use when deplibs_check_method == "file_magic".
16836 file_magic_cmd=$lt_file_magic_cmd
16840 AR_FLAGS=$lt_AR_FLAGS
16842 # A symbol stripping program.
16845 # Commands used to install an old-style archive.
16847 old_postinstall_cmds=$lt_old_postinstall_cmds
16848 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16853 # LTCC compiler flags.
16854 LTCFLAGS=$lt_CFLAGS
16856 # Take the output of nm and produce a listing of raw symbols and C names.
16857 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16859 # Transform the output of nm in a proper C declaration.
16860 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16862 # Transform the output of nm in a C name address pair.
16863 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16865 # Transform the output of nm in a C name address pair when lib prefix is needed.
16866 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16868 # The name of the directory that contains temporary libtool files.
16871 # Shell to use when invoking shell scripts.
16874 # An echo program that does not interpret backslashes.
16877 # Used to examine libraries when file_magic_cmd begins with "file".
16878 MAGIC_CMD=$MAGIC_CMD
16880 # Must we lock files when doing compilation?
16881 need_locks=$lt_need_locks
16883 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16884 DSYMUTIL=$lt_DSYMUTIL
16886 # Tool to change global to local symbols on Mac OS X.
16889 # Tool to manipulate fat objects and archives on Mac OS X.
16892 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16895 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16896 OTOOL64=$lt_OTOOL64
16898 # Old archive suffix (normally "a").
16901 # Shared library suffix (normally ".so").
16902 shrext_cmds=$lt_shrext_cmds
16904 # The commands to extract the exported symbol list from a shared archive.
16905 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16907 # Variables whose values should be saved in libtool wrapper scripts and
16908 # restored at link time.
16909 variables_saved_for_relink=$lt_variables_saved_for_relink
16911 # Do we need the "lib" prefix for modules?
16912 need_lib_prefix=$need_lib_prefix
16914 # Do we need a version for libraries?
16915 need_version=$need_version
16917 # Library versioning type.
16918 version_type=$version_type
16920 # Shared library runtime path variable.
16921 runpath_var=$runpath_var
16923 # Shared library path variable.
16924 shlibpath_var=$shlibpath_var
16926 # Is shlibpath searched before the hard-coded library search path?
16927 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16929 # Format of library name prefix.
16930 libname_spec=$lt_libname_spec
16932 # List of archive names. First name is the real one, the rest are links.
16933 # The last name is the one that the linker finds with -lNAME
16934 library_names_spec=$lt_library_names_spec
16936 # The coded name of the library, if different from the real name.
16937 soname_spec=$lt_soname_spec
16939 # Command to use after installation of a shared archive.
16940 postinstall_cmds=$lt_postinstall_cmds
16942 # Command to use after uninstallation of a shared archive.
16943 postuninstall_cmds=$lt_postuninstall_cmds
16945 # Commands used to finish a libtool library installation in a directory.
16946 finish_cmds=$lt_finish_cmds
16948 # As "finish_cmds", except a single script fragment to be evaled but
16950 finish_eval=$lt_finish_eval
16952 # Whether we should hardcode library paths into libraries.
16953 hardcode_into_libs=$hardcode_into_libs
16955 # Compile-time system search path for libraries.
16956 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16958 # Run-time system search path for libraries.
16959 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16961 # Whether dlopen is supported.
16962 dlopen_support=$enable_dlopen
16964 # Whether dlopen of programs is supported.
16965 dlopen_self=$enable_dlopen_self
16967 # Whether dlopen of statically linked programs is supported.
16968 dlopen_self_static=$enable_dlopen_self_static
16970 # Commands to strip libraries.
16971 old_striplib=$lt_old_striplib
16972 striplib=$lt_striplib
16975 # The linker used to build libraries.
16978 # Commands used to build an old-style archive.
16979 old_archive_cmds=$lt_old_archive_cmds
16981 # A language specific compiler.
16984 # Is the compiler the GNU compiler?
16987 # Compiler flag to turn off builtin functions.
16988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16990 # How to pass a linker flag through the compiler.
16991 wl=$lt_lt_prog_compiler_wl
16993 # Additional compiler flags for building library objects.
16994 pic_flag=$lt_lt_prog_compiler_pic
16996 # Compiler flag to prevent dynamic linking.
16997 link_static_flag=$lt_lt_prog_compiler_static
16999 # Does compiler simultaneously support -c and -o options?
17000 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17002 # Whether or not to add -lc for building shared libraries.
17003 build_libtool_need_lc=$archive_cmds_need_lc
17005 # Whether or not to disallow shared libs when runtime libs are static.
17006 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17008 # Compiler flag to allow reflexive dlopens.
17009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17011 # Compiler flag to generate shared objects directly from archives.
17012 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17014 # Whether the compiler copes with passing no objects directly.
17015 compiler_needs_object=$lt_compiler_needs_object
17017 # Create an old-style archive from a shared archive.
17018 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17020 # Create a temporary old-style archive to link instead of a shared archive.
17021 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17023 # Commands used to build a shared archive.
17024 archive_cmds=$lt_archive_cmds
17025 archive_expsym_cmds=$lt_archive_expsym_cmds
17027 # Commands used to build a loadable module if different from building
17028 # a shared archive.
17029 module_cmds=$lt_module_cmds
17030 module_expsym_cmds=$lt_module_expsym_cmds
17032 # Whether we are building with GNU ld or not.
17033 with_gnu_ld=$lt_with_gnu_ld
17035 # Flag that allows shared libraries with undefined symbols to be built.
17036 allow_undefined_flag=$lt_allow_undefined_flag
17038 # Flag that enforces no undefined symbols.
17039 no_undefined_flag=$lt_no_undefined_flag
17041 # Flag to hardcode \$libdir into a binary during linking.
17042 # This must work even if \$libdir does not exist
17043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17045 # If ld is used when linking, flag to hardcode \$libdir into a binary
17046 # during linking. This must work even if \$libdir does not exist.
17047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17049 # Whether we need a single "-rpath" flag with a separated argument.
17050 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17053 # DIR into the resulting binary.
17054 hardcode_direct=$hardcode_direct
17056 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17057 # DIR into the resulting binary and the resulting library dependency is
17058 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17059 # library is relocated.
17060 hardcode_direct_absolute=$hardcode_direct_absolute
17062 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17063 # into the resulting binary.
17064 hardcode_minus_L=$hardcode_minus_L
17066 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17067 # into the resulting binary.
17068 hardcode_shlibpath_var=$hardcode_shlibpath_var
17070 # Set to "yes" if building a shared library automatically hardcodes DIR
17071 # into the library and all subsequent libraries and executables linked
17073 hardcode_automatic=$hardcode_automatic
17075 # Set to yes if linker adds runtime paths of dependent libraries
17076 # to runtime path list.
17077 inherit_rpath=$inherit_rpath
17079 # Whether libtool must link a program against all its dependency libraries.
17080 link_all_deplibs=$link_all_deplibs
17082 # Fix the shell variable \$srcfile for the compiler.
17083 fix_srcfile_path=$lt_fix_srcfile_path
17085 # Set to "yes" if exported symbols are required.
17086 always_export_symbols=$always_export_symbols
17088 # The commands to list exported symbols.
17089 export_symbols_cmds=$lt_export_symbols_cmds
17091 # Symbols that should not be listed in the preloaded symbols.
17092 exclude_expsyms=$lt_exclude_expsyms
17094 # Symbols that must always be exported.
17095 include_expsyms=$lt_include_expsyms
17097 # Commands necessary for linking programs (against libraries) with templates.
17098 prelink_cmds=$lt_prelink_cmds
17100 # Specify filename containing input files.
17101 file_list_spec=$lt_file_list_spec
17103 # How to hardcode a shared library path into an executable.
17104 hardcode_action=$hardcode_action
17106 # ### END LIBTOOL CONFIG
17112 cat <<\_LT_EOF
>> "$cfgfile"
17113 # AIX sometimes has problems with the GCC collect2 program. For some
17114 # reason, if we set the COLLECT_NAMES environment variable, the problems
17115 # vanish in a puff of smoke.
17116 if test "X${COLLECT_NAMES+set}" != Xset
; then
17118 export COLLECT_NAMES
17125 ltmain
="$ac_aux_dir/ltmain.sh"
17128 # We use sed instead of cat because bash on DJGPP gets confused if
17129 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17130 # text mode, it properly converts lines to CR/LF. This bash problem
17131 # is reportedly fixed, but why not run on old versions too?
17132 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17133 ||
(rm -f "$cfgfile"; exit 1)
17137 cat << \_LT_EOF
>> "$cfgfile"
17139 # func_dirname file append nondir_replacement
17140 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17141 # otherwise set result to NONDIR_REPLACEMENT.
17145 */*) func_dirname_result
="${1%/*}${2}" ;;
17146 * ) func_dirname_result
="${3}" ;;
17150 # func_basename file
17153 func_basename_result
="${1##*/}"
17156 # func_dirname_and_basename file append nondir_replacement
17157 # perform func_basename and func_dirname in a single function
17159 # dirname: Compute the dirname of FILE. If nonempty,
17160 # add APPEND to the result, otherwise set result
17161 # to NONDIR_REPLACEMENT.
17162 # value returned in "$func_dirname_result"
17163 # basename: Compute filename of FILE.
17164 # value retuned in "$func_basename_result"
17165 # Implementation must be kept synchronized with func_dirname
17166 # and func_basename. For efficiency, we do not delegate to
17167 # those functions but instead duplicate the functionality here.
17168 func_dirname_and_basename
()
17171 */*) func_dirname_result
="${1%/*}${2}" ;;
17172 * ) func_dirname_result
="${3}" ;;
17174 func_basename_result
="${1##*/}"
17177 # func_stripname prefix suffix name
17178 # strip PREFIX and SUFFIX off of NAME.
17179 # PREFIX and SUFFIX must not contain globbing or regex special
17180 # characters, hashes, percent signs, but SUFFIX may contain a leading
17181 # dot (in which case that matches only a dot).
17184 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17185 # positional parameters, so assign one to ordinary parameter first.
17186 func_stripname_result
=${3}
17187 func_stripname_result
=${func_stripname_result#"${1}"}
17188 func_stripname_result
=${func_stripname_result%"${2}"}
17194 func_opt_split_opt
=${1%%=*}
17195 func_opt_split_arg
=${1#*=}
17202 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17203 *) func_lo2o_result
=${1} ;;
17207 # func_xform libobj-or-source
17210 func_xform_result
=${1%.*}.lo
17213 # func_arith arithmetic-term...
17216 func_arith_result
=$
(( $
* ))
17220 # STRING may not start with a hyphen.
17223 func_len_result
=${#1}
17228 *) # Bourne compatible functions.
17229 cat << \_LT_EOF
>> "$cfgfile"
17231 # func_dirname file append nondir_replacement
17232 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17233 # otherwise set result to NONDIR_REPLACEMENT.
17236 # Extract subdirectory from the argument.
17237 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17238 if test "X$func_dirname_result" = "X${1}"; then
17239 func_dirname_result
="${3}"
17241 func_dirname_result
="$func_dirname_result${2}"
17245 # func_basename file
17248 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
17252 # func_stripname prefix suffix name
17253 # strip PREFIX and SUFFIX off of NAME.
17254 # PREFIX and SUFFIX must not contain globbing or regex special
17255 # characters, hashes, percent signs, but SUFFIX may contain a leading
17256 # dot (in which case that matches only a dot).
17257 # func_strip_suffix prefix name
17261 .
*) func_stripname_result
=`$ECHO "X${3}" \
17262 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17263 *) func_stripname_result
=`$ECHO "X${3}" \
17264 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17269 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17270 my_sed_long_arg
='1s/^-[^=]*=//'
17275 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17276 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17282 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17285 # func_xform libobj-or-source
17288 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17291 # func_arith arithmetic-term...
17294 func_arith_result
=`expr "$@"`
17298 # STRING may not start with a hyphen.
17301 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17307 case $lt_shell_append in
17309 cat << \_LT_EOF
>> "$cfgfile"
17311 # func_append var value
17312 # Append VALUE to the end of shell variable VAR.
17320 cat << \_LT_EOF
>> "$cfgfile"
17322 # func_append var value
17323 # Append VALUE to the end of shell variable VAR.
17334 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17335 ||
(rm -f "$cfgfile"; exit 1)
17337 mv -f "$cfgfile" "$ofile" ||
17338 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17342 "zzip/_config.h":C
) ac_prefix_conf_OUT
=`echo zzip/_config.h`
17343 ac_prefix_conf_DEF
=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
17344 ac_prefix_conf_PKG
=`echo zzip`
17345 ac_prefix_conf_LOW
=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
17346 ac_prefix_conf_UPP
=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
17347 ac_prefix_conf_INP
=`echo "config.h" | sed -e 's/ *//'`
17348 if test ".$ac_prefix_conf_INP" = "."; then
17349 for ac_file
in : $CONFIG_HEADERS; do test "_$ac_file" = _
: && continue
17351 *.h
) ac_prefix_conf_INP
=$ac_file ;;
17354 test ".$ac_prefix_conf_INP" != "." && break
17357 if test ".$ac_prefix_conf_INP" = "."; then
17358 case "$ac_prefix_conf_OUT" in
17359 */*) ac_prefix_conf_INP
=`basename "$ac_prefix_conf_OUT"`
17361 *-*) ac_prefix_conf_INP
=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
17363 *) ac_prefix_conf_INP
=config.h
17367 if test -z "$ac_prefix_conf_PKG" ; then
17368 as_fn_error $?
"no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
17370 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
17371 ac_prefix_conf_INP
="$srcdir/$ac_prefix_conf_INP"
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
17374 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
17375 if test -f $ac_prefix_conf_INP ; then
17376 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
17377 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
17378 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
17379 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
17380 echo "#endif/" >>conftest.prefix
17381 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
17382 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
17383 echo "#endif/" >> conftest.prefix
17384 # now executing _script on _DEF input to create _OUT output file
17385 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
17386 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
17387 echo ' ' >>$tmp/pconfig.h
17388 echo /'*' $ac_prefix_conf_OUT. Generated automatically
at end of configure.
'*'/ >>$tmp/pconfig.h
17390 sed -f conftest.prefix
$ac_prefix_conf_INP >>$tmp/pconfig.h
17391 echo ' ' >>$tmp/pconfig.h
17392 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
17393 echo "#endif" >>$tmp/pconfig.h
17394 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h
2>/dev
/null
; then
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
17396 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
17398 ac_dir
=`$as_dirname -- "$ac_prefix_conf_OUT" ||
17399 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17400 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
17401 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
17402 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
17403 $as_echo X"$ac_prefix_conf_OUT" |
17404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17408 /^X\(\/\/\)[^/].*/{
17421 as_dir
="$ac_dir"; as_fn_mkdir_p
17422 rm -f "$ac_prefix_conf_OUT"
17423 mv $tmp/pconfig.h
"$ac_prefix_conf_OUT"
17425 cp conftest.prefix _configs.
sed
17427 as_fn_error $?
"input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
17432 "zzip/_msvc.h":C
) ac_prefix_conf_OUT
=`echo zzip/_msvc.h`
17433 ac_prefix_conf_DEF
=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
17434 ac_prefix_conf_PKG
=`echo zzip`
17435 ac_prefix_conf_LOW
=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
17436 ac_prefix_conf_UPP
=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
17437 ac_prefix_conf_INP
=`echo "zzip/_msvc.in" | sed -e 's/ *//'`
17438 if test ".$ac_prefix_conf_INP" = "."; then
17439 for ac_file
in : $CONFIG_HEADERS; do test "_$ac_file" = _
: && continue
17441 *.h
) ac_prefix_conf_INP
=$ac_file ;;
17444 test ".$ac_prefix_conf_INP" != "." && break
17447 if test ".$ac_prefix_conf_INP" = "."; then
17448 case "$ac_prefix_conf_OUT" in
17449 */*) ac_prefix_conf_INP
=`basename "$ac_prefix_conf_OUT"`
17451 *-*) ac_prefix_conf_INP
=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
17453 *) ac_prefix_conf_INP
=config.h
17457 if test -z "$ac_prefix_conf_PKG" ; then
17458 as_fn_error $?
"no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
17460 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
17461 ac_prefix_conf_INP
="$srcdir/$ac_prefix_conf_INP"
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
17464 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
17465 if test -f $ac_prefix_conf_INP ; then
17466 echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
17467 echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
17468 echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
17469 echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
17470 echo "#endif/" >>conftest.prefix
17471 echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
17472 echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
17473 echo "#endif/" >> conftest.prefix
17474 # now executing _script on _DEF input to create _OUT output file
17475 echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
17476 echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
17477 echo ' ' >>$tmp/pconfig.h
17478 echo /'*' $ac_prefix_conf_OUT. Generated automatically
at end of configure.
'*'/ >>$tmp/pconfig.h
17480 sed -f conftest.prefix
$ac_prefix_conf_INP >>$tmp/pconfig.h
17481 echo ' ' >>$tmp/pconfig.h
17482 echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
17483 echo "#endif" >>$tmp/pconfig.h
17484 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h
2>/dev
/null
; then
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
17486 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
17488 ac_dir
=`$as_dirname -- "$ac_prefix_conf_OUT" ||
17489 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17490 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
17491 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
17492 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
17493 $as_echo X"$ac_prefix_conf_OUT" |
17494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17498 /^X\(\/\/\)[^/].*/{
17511 as_dir
="$ac_dir"; as_fn_mkdir_p
17512 rm -f "$ac_prefix_conf_OUT"
17513 mv $tmp/pconfig.h
"$ac_prefix_conf_OUT"
17515 cp conftest.prefix _configs.
sed
17517 as_fn_error $?
"input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
17522 "$ax_create_pkgconfig_generate":C
)
17523 pkgconfig_generate
="$ax_create_pkgconfig_generate"
17524 if test ! -f "$pkgconfig_generate.in"
17525 then generate
="true"
17526 elif grep ' generated by configure ' $pkgconfig_generate.
in >/dev
/null
17527 then generate
="true"
17528 else generate
="false";
17530 if $generate ; then
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
17532 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
17533 cat > $pkgconfig_generate.
in <<AXEOF
17534 # generated by configure / remove this line to disable regeneration
17536 exec_prefix=@exec_prefix@
17539 datarootdir=@datarootdir@
17541 sysconfdir=@sysconfdir@
17542 includedir=@includedir@
17546 Name: @PACKAGE_NAME@
17547 Description: @PACKAGE_DESCRIPTION@
17548 Version: @PACKAGE_VERSION@
17549 Requires: @PACKAGE_REQUIRES@
17550 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
17551 Cflags: -I\${includedir} @CPPFLAGS@
17553 fi # DONE generate $pkgconfig_generate.in
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
17555 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
17556 cat >conftest.
sed <<AXEOF
17557 s|@prefix@|${pkgconfig_prefix}|
17558 s|@exec_prefix@|${pkgconfig_execprefix}|
17559 s|@bindir@|${pkgconfig_bindir}|
17560 s|@libdir@|${pkgconfig_libdir}|
17561 s|@datarootdir@|${pkgconfig_datarootdir}|
17562 s|@datadir@|${pkgconfig_datadir}|
17563 s|@sysconfdir@|${pkgconfig_sysconfdir}|
17564 s|@includedir@|${pkgconfig_includedir}|
17565 s|@suffix@|${pkgconfig_suffix}|
17566 s|@PACKAGE@|${pkgconfig_package}|
17567 s|@PACKAGE_NAME@|${pkgconfig_libname}|
17568 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
17569 s|@PACKAGE_VERSION@|${pkgconfig_version}|
17570 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
17571 s|@LIBS@|${pkgconfig_libs}|
17572 s|@LDFLAGS@|${pkgconfig_ldflags}|
17573 s|@CPPFLAGS@|${pkgconfig_cppflags}|
17575 sed -f conftest.
sed $pkgconfig_generate.
in > $pkgconfig_generate
17576 if test ! -s $pkgconfig_generate ; then
17577 as_fn_error $?
"$pkgconfig_generate is empty" "$LINENO" 5
17578 fi ; rm conftest.
sed # DONE generate $pkgconfig_generate
17579 pkgconfig_uninstalled
=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
17581 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
17582 cat >conftest.
sed <<AXEOF
17583 s|@prefix@|${pkgconfig_prefix}|
17584 s|@exec_prefix@|${pkgconfig_execprefix}|
17585 s|@bindir@|${pkgconfig_bindir}|
17586 s|@libdir@|${pkgconfig_src_libdir}|
17587 s|@datarootdir@|${pkgconfig_datarootdir}|
17588 s|@datadir@|${pkgconfig_datadir}|
17589 s|@sysconfdir@|${pkgconfig_sysconfdir}|
17590 s|@includedir@|${pkgconfig_src_headers}|
17591 s|@suffix@|${pkgconfig_suffix}|
17592 s|@PACKAGE@|${pkgconfig_package}|
17593 s|@PACKAGE_NAME@|${pkgconfig_libname}|
17594 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
17595 s|@PACKAGE_VERSION@|${pkgconfig_version}|
17596 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
17597 s|@LIBS@|${pkgconfig_libs}|
17598 s|@LDFLAGS@|${pkgconfig_ldflags}|
17599 s|@CPPFLAGS@|${pkgconfig_cppflags}|
17601 sed -f conftest.
sed $pkgconfig_generate.
in > $pkgconfig_uninstalled
17602 if test ! -s $pkgconfig_uninstalled ; then
17603 as_fn_error $?
"$pkgconfig_uninstalled is empty" "$LINENO" 5
17604 fi ; rm conftest.
sed # DONE generate $pkgconfig_uninstalled
17605 pkgconfig_requires_add
=`echo ${pkgconfig_requires}`
17606 if test ".$pkgconfig_requires_add" != "." ; then
17607 pkgconfig_requires_add
="pkg-config $pkgconfig_requires_add"
17608 else pkgconfig_requires_add
=":" ; fi
17609 pkgconfig_uninstalled
=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
17611 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
17612 cat >conftest.
sed <<AXEOF
17613 s|@prefix@|\"${pkgconfig_prefix}\"|
17614 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
17615 s|@bindir@|\"${pkgconfig_bindir}\"|
17616 s|@libdir@|\"${pkgconfig_src_libdir}\"|
17617 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
17618 s|@datadir@|\"${pkgconfig_datadir}\"|
17619 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
17620 s|@includedir@|\"${pkgconfig_src_headers}\"|
17621 s|@suffix@|\"${pkgconfig_suffix}\"|
17622 s|@PACKAGE@|\"${pkgconfig_package}\"|
17623 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
17624 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
17625 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
17626 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
17627 s|@LIBS@|\"${pkgconfig_libs}\"|
17628 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
17629 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
17630 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
17631 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
17632 s>Version: *>\\;\\; --modversion|--version) echo >
17633 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
17634 s>Libs: *>\\;\\; --libs) echo >
17635 s>Cflags: *>\\;\\; --cflags) echo >
17637 $pkgconfig_requires_add
17639 $pkgconfig_requires_add\\
17640 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
17641 ;; --uninstalled) exit 0 \\
17644 sed -f conftest.
sed $pkgconfig_generate.
in > $pkgconfig_uninstalled
17645 if test ! -s $pkgconfig_uninstalled ; then
17646 as_fn_error $?
"$pkgconfig_uninstalled is empty" "$LINENO" 5
17647 fi ; rm conftest.
sed # DONE generate $pkgconfig_uninstalled
17656 ac_clean_files
=$ac_clean_files_save
17658 test $ac_write_fail = 0 ||
17659 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17662 # configure is writing to config.log, and then calls config.status.
17663 # config.status does its own redirection, appending to config.log.
17664 # Unfortunately, on DOS this fails, as config.log is still kept open
17665 # by configure, so config.status won't be able to write to it; its
17666 # output is simply discarded. So we exec the FD to /dev/null,
17667 # effectively closing config.log, so it can be properly (re)opened and
17668 # appended to by config.status. When coming back to configure, we
17669 # need to make the FD available again.
17670 if test "$no_create" != yes; then
17672 ac_config_status_args
=
17673 test "$silent" = yes &&
17674 ac_config_status_args
="$ac_config_status_args --quiet"
17676 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17678 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17679 # would make configure fail if this is the last instruction.
17680 $ac_cs_success || as_fn_exit
1
17682 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17684 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17687 # libtool-1.4 specific, on zsh target the final requoting does one too much
17690 if grep "1.92" libtool
>/dev
/null
; then
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: patching libtool on .so-sharedlib creation (zsh overquoting)" >&5
17692 $as_echo "patching libtool on .so-sharedlib creation (zsh overquoting)" >&6; }
17693 test -f libtool.old ||
(mv libtool libtool.old
&& cp libtool.old libtool
)
17694 sed -e '/archive_cmds=/s:[\\][\\][\\]*":\\":g' libtool
>libtool.new
17695 (test -s libtool.new ||
rm libtool.new
) 2>/dev
/null
17696 test -f libtool.new
&& mv libtool.new libtool
# not 2>/dev/null !!
17697 test -f libtool ||
mv libtool.old libtool
17702 # patch libtool to fix sys_lib_search_path (e.g. crosscompiling a win32 dll)
17703 if test "_$PATH_SEPARATOR" = "_:" ; then
17704 if grep "^sys_lib_search_path_spec.*:" libtool
>/dev
/null
; then
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: patching libtool to fix sys_lib_search_path_spec" >&5
17706 $as_echo "patching libtool to fix sys_lib_search_path_spec" >&6; }
17707 test -f libtool.old ||
(mv libtool libtool.old
&& cp libtool.old libtool
)
17708 sed -e "/^sys_lib_search_path_spec/s/:/ /g" libtool
>libtool.new
17709 (test -s libtool.new ||
rm libtool.new
) 2>/dev
/null
17710 test -f libtool.new
&& mv libtool.new libtool
# not 2>/dev/null !!
17711 test -f libtool ||
mv libtool.old libtool
17715 # patch libtool to add HOST_CC sometimes needed in crosscompiling a win32 dll
17716 if grep "HOST_CC" libtool
>/dev
/null
; then
17717 if test "$build" != "$host" ; then
17718 if test "_$HOST_CC" = "_" ; then
17720 for i
in `echo $PATH | sed 's,:, ,g'` ; do
17721 test -x $i/cc
&& HOST_CC
=$i/cc
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: patching libtool to add HOST_CC=$HOST_CC" >&5
17725 $as_echo "patching libtool to add HOST_CC=$HOST_CC" >&6; }
17726 test -f libtool.old ||
(mv libtool libtool.old
&& cp libtool.old libtool
)
17727 sed -e "/BEGIN.*LIBTOOL.*CONFIG/a\\
17728 HOST_CC=$HOST_CC" libtool
>libtool.new
17729 (test -s libtool.new ||
rm libtool.new
) 2>/dev
/null
17730 test -f libtool.new
&& mv libtool.new libtool
# not 2>/dev/null !!
17731 test -f libtool ||
mv libtool.old libtool
17735 # ---------------------------------------------------------------
17736 echo '-----' $PACKAGE $VERSION $prefix
17737 $SHELL libtool
--features || true
17738 echo "CPPFLAGS=$CPPFLAGS"
17739 echo "CFLAGS=$CFLAGS"
17740 test "$enable_mmap" != "no" && echo "enable mmap ($enable_mmap)"
17741 test "$enable_mmap" = "no" && echo "disable mmap ($enable_mmap)"
17742 test "$with_lowstk" != "no" && echo "with lowstk ($with_lowstk)"
17743 test "$with_lowstk" = "no" && echo "without lowstk ($with_lowstk)"
17744 test "$with_debug" != "no" && echo "with debug ($with_debug)"
17745 test "$with_debug" = "no" && echo "without debug ($with_debug)"
17746 # test -f ./zziplib.spec && echo warning - do not build in the source dirs
17747 echo '# make && make check && make install'